Posted: Mon Dec 11, 2023 1:56 am Post subject:
YAGGUN wont use Krato's ExtraFire tag
I made two dummy weapons to simulate bullet trace fire and used the ExtraFire tag to add it to some units. Most of them worked except for Yuris Gattling Cannon and its literally just the same code copied over. Used it on another defense building Soviet Sentry Gun and didnt work either so it seems like its some kind of limitation? Or maybe ive been looking at this for a while and need another set of eyes
Rulesmd
Code:
; Sentry Gun
[NALASR]
UIName=Name:NALASR
Name=Soviet Sentry Gun
BuildCat=Combat
Strength=400
Armor=steel
Prerequisite=BARRACKS,NACNST
TechLevel=1
Adjacent=4
ROT=10
Sight=7
DetectDisguise=no
Owner=British,French,Germans,Americans,Alliance,Russians,Confederation,Africans,Arabs,YuriCountry
AIBasePlanningSide=1 ;gs 0 for Good, 1 for Evil
Cost=500
BaseNormal=no
Points=30
Power=0
Crewed=no
Capturable=false
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60,TWLT125,TWLT150,TWLT200
DebrisAnims=DBRIS4LG,DBRIS4SM,DBRIS6LG
MaxDebris=2
MinDebris=1
Primary=Vulcan
Powered=yes
Turret=yes
TurretAnim=LASER
TurretAnimIsVoxel=true
;TurretAnimX=-8
TurretAnimY=10
TurretAnimZAdjust=-20
ThreatPosed=30 ; This value MUST be 0 for all building addons
;DamageParticleSystems=SparkSys,LGSparkSys
IsBaseDefense=yes
HasStupidGuardMode=false
ImmuneToPsionics=no ; defaults to yes for buildings, no for others
AntiInfantryValue=25
AntiArmorValue=10
AntiAirValue=0
;gs these three are in abstract units and just help the AI pick the right base defense. (see AIForcePredictionFudge)
Oh, I had a similar problem for a long time...
I managed to solve it like this:
adding the [WeaponTypes] section to RulesMD.ini (Ares feature) and adding new weapons to it.
PS: I apologize in advance for the "necroposting" QUICK_EDIT
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum