Forged Alliance Forever Forged Alliance Forever Forums 2019-04-20T21:40:12+02:00 /feed.php?f=41&t=17428 2019-04-20T21:40:12+02:00 2019-04-20T21:40:12+02:00 /viewtopic.php?t=17428&p=173670#p173670 <![CDATA[Re: HardFFA causes civilians to spawn twice?]]> Statistics: Posted by UnorthodoxBox — 20 Apr 2019, 21:40


]]>
2019-04-20T21:14:56+02:00 2019-04-20T21:14:56+02:00 /viewtopic.php?t=17428&p=173669#p173669 <![CDATA[Re: HardFFA causes civilians to spawn twice?]]> If you do so, then the map won't work without the mod.

Statistics: Posted by Uveso — 20 Apr 2019, 21:14


]]>
2019-04-20T21:03:54+02:00 2019-04-20T21:03:54+02:00 /viewtopic.php?t=17428&p=173668#p173668 <![CDATA[Re: HardFFA causes civilians to spawn twice?]]> Statistics: Posted by UnorthodoxBox — 20 Apr 2019, 21:03


]]>
2019-04-20T19:10:00+02:00 2019-04-20T19:10:00+02:00 /viewtopic.php?t=17428&p=173646#p173646 <![CDATA[Re: HardFFA causes civilians to spawn twice?]]>
It is a sim mod, and everyone needs the same change/file or it will desync at the first tick.

Statistics: Posted by Uveso — 20 Apr 2019, 19:10


]]>
2019-04-20T18:20:33+02:00 2019-04-20T18:20:33+02:00 /viewtopic.php?t=17428&p=173635#p173635 <![CDATA[Re: HardFFA causes civilians to spawn twice?]]> Statistics: Posted by UnorthodoxBox — 20 Apr 2019, 18:20


]]>
2019-04-20T12:16:01+02:00 2019-04-20T12:16:01+02:00 /viewtopic.php?t=17428&p=173620#p173620 <![CDATA[Re: HardFFA causes civilians to spawn twice?]]> but CreateArmyGroup() is also called from the map script file (alpha_7_battle_royale_script.lua)
( ScenarioUtils.InitializeArmies() is already executing CreateArmyGroup() )

That's why all units from the map file are created twice.

Go to the mod file:
Code:
[...]\Mods\Hard FFA (ACUS spawn in T2 transport in center)\hook\lua\simInit.lua

change line 23 from:

Code:
local tblGroup = ScenarioUtils.CreateArmyGroup( strArmy, 'INITIAL')
to:

Code:
local tblGroup = tblData

Statistics: Posted by Uveso — 20 Apr 2019, 12:16


]]>
2019-04-20T02:36:54+02:00 2019-04-20T02:36:54+02:00 /viewtopic.php?t=17428&p=173616#p173616 <![CDATA[Re: HardFFA causes civilians to spawn twice?]]> https://gyazo.com/3039579c504754a50679952c34af290a << From this screenshot, you can see only two armies (neutral and 17) spawn for the civilians. It is the same as without the mod, having both armies. Without the mod, civilian structures spawn once, with the mod, they spawn twice.

Statistics: Posted by UnorthodoxBox — 20 Apr 2019, 02:36


]]>
2019-04-19T21:50:31+02:00 2019-04-19T21:50:31+02:00 /viewtopic.php?t=17428&p=173611#p173611 <![CDATA[Re: HardFFA causes civilians to spawn twice?]]> What options do i need to set ?

What map are you using ?

If you press [ALT]+[F2] ingame, how many civilian armies do you see ? Mabye 2 ?

Civilian: ARMY_9
Cicilian: NEUTRAL_ARMY

Statistics: Posted by Uveso — 19 Apr 2019, 21:50


]]>
2019-04-19T05:22:51+02:00 2019-04-19T05:22:51+02:00 /viewtopic.php?t=17428&p=173594#p173594 <![CDATA[HardFFA causes civilians to spawn twice?]]> The log from the game WITHOUT the mod: https://pastebin.com/cfeaJYkd .
The log from the game WITH Hard FFA mod: https://pastebin.com/dwvEFQUN

I would greatly appreciate if anyone could help me figure out what causes this.

Statistics: Posted by UnorthodoxBox — 19 Apr 2019, 05:22


]]>