Posted: Sat Mar 22, 2003 12:09 pm Post subject:
AI Nation help
Can somebody of you post a complete script trigger taskforce and whatsoever to make ONLY FRANCE create 2 VEH003 at any time?
PLZ, i give you MUCH credit when my mod finishes! _________________ Please, read the signature rules of the forum. QUICK_EDIT
and now, for the allmighty AI Trigger Types... prepare your hearts people, this is pure emotion ...
DASTRIKE=2 Vehicle Model 003 will hunt everything,VEH3TEAM-G,2,-1,French,0000000000000000000000000000000000000000000000000000000000000000,60.000000,60.000000,60.000000,1,0,1,0,<none>,1,1,1
Just remember that you need to declare the task force, script type and team type above. Last edited by Banshee on Fri Mar 28, 2003 6:07 pm; edited 1 time in total QUICK_EDIT
Thank you banshee , but it is a siege unit what do i need to change that it will attack the base? _________________ Please, read the signature rules of the forum. QUICK_EDIT
NO, just a normal unit with massive range and firepower but has low strength _________________ Please, read the signature rules of the forum. QUICK_EDIT
Well i can add more units to the force, are those "numbers" the only thing i must edit? if yes i can go on from here _________________ Please, read the signature rules of the forum. QUICK_EDIT
Also Known As: banshee_revora (Steam) Joined: 15 Aug 2002 Location: Brazil
Posted: Sun Mar 23, 2003 11:51 pm Post subject:
You only need to edit the task force to add more units. Try adding units that have the same speed as your veh003, so the attack will be more syncroned. Check the tutorial I posted in EE about messing up with Task Forces:
[NEWTEAM]
Name=2 VEH003
0=2,VEH003 ; 2 veh003 will be built by this task force
Group=-1
Now, for a new team type:
[VEH3TEAM-G]
Name=2 Vehicle Model 003 will hunt everything
VeteranLevel=1
MindControlDecision=0
Loadable=no
Full=no
Annoyance=no
GuardSlower=no
House=<none>
Recruiter=no
Autocreate=yes; so it will build more often
Prebuild=no
Reinforce=no
Droppod=no
Whiner=yes
LooseRecruit=no
Aggressive=yes
Suicide=no
Priority=5
Max=2
TechLevel=0
Group=-1
OnTransOnly=no
AvoidThreats=no
IonImmune=no
TransportsReturnOnUnload=no
AreTeamMembersRecruitable=yes
IsBaseDefense=no
OnlyTargetHouseEnemy=yes
Script=(some script that exists)
TaskForce=NEWTEAM
and now, for the allmighty AI Trigger Types... prepare your hearts people, this is pure emotion ...
DASTRIKE=2 Vehicle Model 003 will hunt everything,VEH3TEAM-G,2,-1,French,0000000000000000000000000000000000000000000000000000000000000000,60.000000,60.000000,60.000000,1,0,1,0,<none>,1,1,1 _________________ Please, read the signature rules of the forum. QUICK_EDIT
How do you mean it doesn't work? Remember the AI prioritises the team types and picks them according to priority (I can't remember which value the priority is) if its got multiple ones at the same priority then it'll pick at random I think so you may need to test for a while before you see any results. QUICK_EDIT
Also Known As: banshee_revora (Steam) Joined: 15 Aug 2002 Location: Brazil
Posted: Fri Mar 28, 2003 6:10 pm Post subject:
My mistake...
the AI Trigger Type I sent you had 2 big mistakes:
- 2 followed commas (which you fixed)
- French was in the place of the object. So, the requirements to the trigger be launched would never happen and it would never be launched.
So, here's a fixed version:
DASTRIKE=2 Vehicle Model 003 will hunt everything,VEH3TEAM-G,French,2,-1,<none>,0000000000000000000000000000000000000000000000000000000000000000,60.000000,60.000000,60.000000,1,0,1,0,<none>,1,1,1 QUICK_EDIT
Thank you banshee it works it builded it now after a looooooooooooonnnng time: about 40 mins(game speed 6)
anyone knows a way to let it build earlier in the game? _________________ Please, read the signature rules of the forum. QUICK_EDIT
As i said before, one of the values in the trigger type (i think) is a priority value, i altered said value on the Mammoth Mk 2 team types in TS to make life a bit more interesting. As to which value it is you'll have toi ask banshee QUICK_EDIT
Also Known As: banshee_revora (Steam) Joined: 15 Aug 2002 Location: Brazil
Posted: Sat Mar 29, 2003 1:27 pm Post subject:
the second of the big numbers 60.000000 should be altered to 10.000000.... I'm not sure... just mess up with these numbers and it might improve it... 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