Posted: Sun Jul 05, 2009 4:17 am Post subject:
Ai Problem again......
Subject description: this time is a Unit
i have added Flame tank for soviets placed in the AI, i just added the Tank on existing TaskForces but Soviet AI dont build it any help plz
btw its List number is 86 if it has something to do
Unit Code:
Code:
[FTNK]
UIName=Name:HTNK
Name=Rhino Heavy Tank
Prerequisite=NAWEAP
Primary=TankFlameThrower
Strength=600
Category=AFV
Armor=heavy
Turret=yes
IsTilter=yes
TargetLaser=no
TooBigToFitUnderBridge=true
TechLevel=2
Sight=8
Speed=5
CrateGoodie=no
Crusher=yes
Owner=Russians,Confederation,Africans,Arabs
Cost=900
Soylent=900
Points=25
ROT=5
IsSelectableCombatant=yes
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
VoiceSelect=GenSovVehicleSelect
VoiceMove=GenSovVehicleMove
VoiceAttack=GenSovVehicleAttackCommand
VoiceFeedback=
DieSound=GenVehicleDie
MoveSound=RhinoTankMoveStart
CrushSound=TankCrush
Maxdebris=3
;origional - Locomotor={55D141B8-DB94-11d1-AC98-006008055BB5}
Locomotor={4A582741-9839-11d1-B709-00A024DDAFD1}
MovementZone=Destroyer
ThreatPosed=40 ; This value MUST be 0 for all building addons
DamageParticleSystems=SparkSys,SmallGreySSys
DamageSmokeOffset=100, 100, 275
Weight=3.5
VeteranAbilities=STRONGER,FIREPOWER,SIGHT,FASTER
EliteAbilities=SELF_HEAL,STRONGER,FIREPOWER,ROF
Accelerates=false
ZFudgeColumn=8
ZFudgeTunnel=13
Size=3
OpportunityFire=yes
ElitePrimary=TankFlameThrower
BuildTimeMultiplier=1.3;Individual control of build time
Maxdebris=3
MinDebris=2
AllowedToStartInMultiplayer=no
i just added them on the TaskForces i havent edited the ScriptTypes, Teamtypes and TriggerTypes i think it can be a Code error since soviet AI starts building the rest of the tanks when it reaches the certian ammount of rhinos/flacktracks he forgots the taskForce and start building a different one.. QUICK_EDIT
i think it can be a Code error since soviet AI starts building the rest of the tanks when it reaches the certian ammount of rhinos/flacktracks he forgots the taskForce and start building a different one..
Hmm. So your flame tanks combined with the other units in these taskforces may simply take too long to build, and this makes them fall past DissolveUnfilledTeamDelay= and subsequently the AI doesn't finish them. At least, what you have described seems to indicate this.
I reccommend you try and see if this is indeed the problem, by testing these taskforces with less of the other units. QUICK_EDIT
save a backup
make all taksforces have just the flametank
see if that works
work backwards, retrofilling the taskforces. _________________ Please, read the signature rules of the forum. QUICK_EDIT
thanks DaFool if it wasnt for you i would not have discovered this:
i putted the FTNK on all Soviet TaskForces when playing soviet AI never attacked but IE apperars, and IEP sayed that a vehicle type is missing...damn im an idiot, and i couldn't notice this since i have resently just modded the Allies...anyways a long story
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