To recreate:
- Spawn an effect marker (under the others section of markers)
- Select the marker and change the effect template to any one of the templates in EffectTemplates.lua
- Save the map.
- Start a game on the map with the effect marker.
- Check the game log and you will see this error in the log:
WARNING: BeginSession() failed: ...ogramdata\faforever\gamedata\lua.nx2\lua\siminit.lua(549): access to nonexistent global variable ""
stack traceback:
[C]: in function `error'
...ata\faforever\gamedata\lua.nx2\lua\system\config.lua(58): in function <...ata\faforever\gamedata\lua.nx2\lua\system\config.lua:57>
...ogramdata\faforever\gamedata\lua.nx2\lua\siminit.lua(549): in function `BeginSessionEffects'
...ogramdata\faforever\gamedata\lua.nx2\lua\siminit.lua(310): in function `BeginSession'
It turns out that the map editor will set the EffectTemplate for that marker defined in the save file to an empty string which causes the above error.
Best way around it is modifying the save file manually and setting the effect template that way without saving the map.
I have attached the editor log in case it sheds some light on this issue.
Player.log
To recreate:
It turns out that the map editor will set the EffectTemplate for that marker defined in the save file to an empty string which causes the above error.
Best way around it is modifying the save file manually and setting the effect template that way without saving the map.
I have attached the editor log in case it sheds some light on this issue.
Player.log