Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to count for new sides?
#1
Lets look at an AI trigger

Quote:NAME0001-G=AI Trigger,XXXXXXXX-G,YuriCountry,10,1,YACNST,0000000002000000000000000000000000000000000000000000000000000000,70.000000,60.000000,70.000000,1,0,3,0,<none>,1,1,1

The red number, that means number side. In original game, Allied is 1, Soviet 2 and Yuri is 3.
But when adding new sides, this counting get wierd.

From my mod:

Quote:[Sides]
GDI=British,French,Germans,Americans,GDI;1
Nod=Russians,Africans,Arabs,Latin,Nod;2
GLA=GLA;3
Robot=Robot;4
ThirdSide=YuriCountry,Confederation;5

So in my mod, ThirdSide is at position 5, but when I change the red number to 5 for my Yuri AI, they wont use it. But if I set it to 3(which they dont are), they will attack. So how do this counting work?
Java student.
Reply
#2
Show your Countries list.

The actual Sides order is composed from the sides appearing in the Country list. I guess Robot is AFTER YuriCountry there, so ThirdSide will be 3.

EDIT: http://modenc.renegadeprojects.com/AIBasePlanningSide was updated 2 months ago with that, because EriicAnimeFreak ran into the same issue.
Reply




Users browsing this thread: 1 Guest(s)