Posted: Thu Sep 20, 2018 5:09 pm Post subject:
AI not using chrono APC
Subject description: I guess its something to do with LOCOMOTOR and MOVEMENT codes
here is my RULES code
===========================================
[IFV5]
UIName=IFV5
[/u]Name=IFV5
Image=CHOTRAN
Prerequisite=GAWEAP
Primary=HMG
Strength=300
Category=Transport
Armor=light
TechLevel=1
Sight=8
PipScale=Passengers
Passengers=15
DeployTime=.022
Speed=10
CrateGoodie=no
Owner=British,French,Germans,Americans,Alliance
AllowedToStartInMultiplayer=no
Cost=750
Points=20
ROT=5
TooBigToFitUnderBridge=true
Turret=yes
IsSelectableCombatant=yes
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
VoiceSelect=GenAllVehicleSelect
VoiceMove=GenAllVehicleMove
VoiceAttack=GenAllVehicleAttackCommand
VoiceFeedback=
DieSound=GenVehicleDie
MoveSound=IFVMoveStart
Maxdebris=2
DebrisTypes=AXLE
DebrisMaximums=2
Unsellable=false
Crusher=yes
Teleporter=yes
Locomotor={4A582747-9839-11d1-B709-00A024DDAFD1} ;teleport locomotor
;Locomotor={4A582747-9839-11d1-B709-00A024DDAFD1}
MovementZone=AmphibiousDestroyer
MovementRestrictedTo=Clear
ThreatPosed=60 ; This value MUST be 0 for all building addons
DamageParticleSystems=SparkSys,SmallGreySSys
SpecialThreatValue=1
ZFudgeColumn=10
ZFudgeTunnel=13
ImmuneToRadiation=no
ImmuneToPsionics=no
Size=3
Weight=3
SizeLimit=1
VeteranAbilities=STRONGER,FIREPOWER,SIGHT,FASTER
EliteAbilities=SELF_HEAL,STRONGER,FIREPOWER,ROF
Accelerates=false
ElitePrimary=HMGE
;Bombable=no
pssssst the code is copied from ERADICATION WARS mod by SMRT133
==============================================
It works fine for me I mean it chrono moves perfectly but when I added it to the AI as a team they build it but never load the other members of the task force into it while I can as I mentioned
and here is the AI codes
====================================
TASKFORCE
[0CE3754C-G]
Name=SUCIDE TEAM 1
0=13,ROCKET
1=2,TANY
2=1,IFV5
Group=-1
[0C954B4C-G]
Name=Allied Transport vs Sov Conyard
0=14,0 -----> load onto transport
1=43,0 -----> wait until fully loaded
2=53,0 -----> gather at enemy base
3=8,0 -----> unload& keep units and transport
4=5,25 -----> guard
unfortunately it didn't work too, I just don't understand why when it moves normally the AI use it and load the task-force onto it while not the same when it chrono move or teleport QUICK_EDIT
Try setting the MovementZone to Fly and remove the MovementZoneRestrictedTo. A unit teleports only because of its Locomotor, MovementZone is used for pathfinding purpose, which maybe causing your problem. QUICK_EDIT
Taskforce rearrangement was to queue the vehicle first and the Recruiter=no was generic suggestion.
Teleporting locomotor is not a problem, it works. IFV are supposed to be used with 1 passenger. The more the passengers for a transport, the more the chances of the loading getting interrupted.
Can remove Teleporter=yes and MovementRestrictedTo=Clear. MovementZone is fine, could just use Normal.
Your formatting is confusing. Underlines and a [/u]. Are your script action meanings in comment, keep it just like 0=14,0. QUICK_EDIT
Try setting the MovementZone to Fly and remove the MovementZoneRestrictedTo. A unit teleports only because of its Locomotor, MovementZone is used for pathfinding purpose, which maybe causing your problem.
YEEEEEEES YES YES YES, I swear man I been trying to find what was wrong for days
U R MY HERO
And now its time for the subterranean APC for soviet side just like I made the chrono for the allies
hmmmmm...ToProtect on a subterannean unit isnt a good idea. And why autocrush and insignificant? I guess there is no problem with the locomotor or movementzone things. QUICK_EDIT
hmmmmm...ToProtect on a subterannean unit isnt a good idea. And why autocrush and insignificant?
OMG LOL I just copied a harvester code and forgot to delete these codes
my bad sorry
Quote:
I guess there is no problem with the locomotor or movementzone things
I dunno I just took a subterranean APC code from a weird mod called KEATING KONFLICT for RA2 and here it is "IT'S VERY WEIRD AND I DUNNO HOW IT WORKS IN GAME PERFECTLY"
and as I said I took it to my mod the way it is BUT have u noticed the 2 IMAGES CODE he gave to the unit because I removed it from my code, Could it be the secret behind the crash that I get when ever I move my unit ??AND Can't you see that its a weird code generally?
[AudioVisual]
Dig=DIG ; anim to play when unit digs into ground
[/quote]
THANK YOU BUDDY but OMG that what was all about
some silly Anim ???
any way TS is not familiar to me, unfortunately I haven't played any one of this EPIC series too fictional to me or so I suppose, Any way THANKS QUICK_EDIT
and as I said I took it to my mod the way it is BUT have u noticed the 2 IMAGES CODE he gave to the unit because I removed it from my code, Could it be the secret behind the crash that I get when ever I move my unit ??AND Can't you see that its a weird code generally?
.
[/quote]
IIRC the game engine only read one of them and ignore the other one, so this should be his mistake. I also had done something like before and the game just run ok (using ronco's tank destroyer and forgoting to remove Turret=no in the original code, the result is a tnkd without his head. )
ModEnc has already given out the problem with dig animation in https://www.modenc.renegadeprojects.com/Dig ,however I didnt notice it as I'm not using subterannean units and never coded it before QUICK_EDIT
IIRC the game engine only read one of them and ignore the other one, so this should be his mistake. I also had done something like before and the game just run ok (using ronco's tank destroyer and forgoting to remove Turret=no in the original code, the result is a tnkd without his head. )
Hahaha it's okay this always happens you just have no idea how many mistakes or errors I got when I started modding back in 2007
Quote:
ModEnc has already given out the problem with dig animation in https://www.modenc.renegadeprojects.com/Dig ,however I didnt notice it as I'm not using subterannean units and never coded it before
Do you know that I have never knew about the existence of https://www.modenc.renegadeprojects.com untill just a week earlier just by luck while I did started modding in 2006 or 2007, I don't know how but I swear this what happened which made me suffer alot along this journey
Any way thank you for your great interacting with me AND AGAIN THIS COMMUNITY IS ALL ABOUT INTERACTING AND SHARING KNOWLEDGE
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