Search found 49 matches

by Bogdan
16 Jul 2018, 17:27
Forum: EE2 files, modding, maps, testing, etc.
Topic: Making a scenario using "Regicide" type of victory
Replies: 71
Views: 701

Re: Making a scenario using "Regicide" type of victory



Added after 48 minutes 59 seconds:
So it was tough, but we did it! Hope someone will enjoy
by Bogdan
16 Jul 2018, 16:16
Forum: EE2 files, modding, maps, testing, etc.
Topic: Making a scenario using "Regicide" type of victory
Replies: 71
Views: 701

Re: Making a scenario using "Regicide" type of victory

It looks like historicalInfo is limited to only 321 characters :( Do you know the max size of it in symbols?

Added after 1 hour 39 minutes 33 seconds:
Also, I see other scenarios have description more than 321 characters. How it could be?
by Bogdan
16 Jul 2018, 14:35
Forum: EE2 files, modding, maps, testing, etc.
Topic: Making a scenario using "Regicide" type of victory
Replies: 71
Views: 701

Re: Making a scenario using "Regicide" type of victory

<r><DOUBLE><s>[double]</s> 11 minutes 34 seconds<e>[/double]</e></DOUBLE><CODE><s>[code]</s>historicalInfo = "At dawn on Sunday, 25 June 1950, Kim Il-sung ordered the communist Korean armies to cross the 38th parallel. The North Koreans had a combined arms force including tanks supported by heavy ar...
by Bogdan
16 Jul 2018, 12:47
Forum: EE2 files, modding, maps, testing, etc.
Topic: Making a scenario using "Regicide" type of victory
Replies: 71
Views: 701

Re: Making a scenario using "Regicide" type of victory

I really don't think it's a temporary state of things, since if script had any issues, scenario had never finished good. So it must be over. Hooray!
by Bogdan
16 Jul 2018, 12:42
Forum: EE2 files, modding, maps, testing, etc.
Topic: Making a scenario using "Regicide" type of victory
Replies: 71
Views: 701

Re: Making a scenario using "Regicide" type of victory

Hm, everything seems to be repaired by changing AddUnitsByAttributeToGroup("Group_Korea_1", "MobileUnits", 2, kPlayerMode_Self, NULL); AddUnitsByTypeToGroup("Group_Korea_1", "BareBoneBuilding", 2, kPlayerMode_Self, NULL); to AddUnitsByTypeToGroup("Group_Korea_1", "BareBoneBuilding", 2, kPlayerMode_S...
by Bogdan
16 Jul 2018, 11:24
Forum: EE2 files, modding, maps, testing, etc.
Topic: Making a scenario using "Regicide" type of victory
Replies: 71
Views: 701

Re: Making a scenario using "Regicide" type of victory

<r><DOUBLE><s>[double]</s> 27 minutes 55 seconds<e>[/double]</e></DOUBLE>Here's the whole script:<br/> <CODE><s>[code]</s><i> </i>ACTION KingDeadAction5 SCRIPT WORLD if ((PlayerInGame(5)) &&(!IsPlayerHumanControlled(5))){ SetAIDiplomacyEnabled(5,true); ForceSurrenderOffer(5, 1); SetAIDiploma...
by Bogdan
15 Jul 2018, 22:26
Forum: EE2 files, modding, maps, testing, etc.
Topic: Making a scenario using "Regicide" type of victory
Replies: 71
Views: 701

Re: Making a scenario using "Regicide" type of victory

Did you finish playing the whole scenario? How lond did you play?
by Bogdan
15 Jul 2018, 22:16
Forum: EE2 files, modding, maps, testing, etc.
Topic: Making a scenario using "Regicide" type of victory
Replies: 71
Views: 701

Re: Making a scenario using "Regicide" type of victory

<r>Yep)<DOUBLE><s>[double]</s> 7 minutes 43 seconds<e>[/double]</e></DOUBLE>So it’s like<br/> <CODE><s>[code]</s><i> </i>ACTION KingDeadAction2 SCRIPT WORLD if (PlayerInGame(2)){ if(!IsPlayerHumanControlled(2)){ SetAIDiplomacyEnabled(2,true); ForceSurrenderOffer(2, 1); SetAIDiplomacyEnabled(2,false)...
by Bogdan
15 Jul 2018, 22:06
Forum: EE2 files, modding, maps, testing, etc.
Topic: Making a scenario using "Regicide" type of victory
Replies: 71
Views: 701

Re: Making a scenario using "Regicide" type of victory

Even if I code victory conditions, how the “script say so” setting will prevent “not AI” errors?

Added after 4 minutes 2 seconds:
Hm, didn’t know about PlayerInGame. How can it help and where to isert it?