PlotinusRedux
Warlord
- Joined
- Jul 11, 2013
- Messages
- 196
Riddle me this:
PlotTest.lua:
PlotTest2.lua:
PlotTest.modinfo version 1:
Firaxis Tuner Results:
Map Script: -------------------------------
PlotTest: Got Here PlotTest
WorldInput: Creating PopupDialog 'ConfirmWarPopup'
PlotTest.modinfo version 2:
Firaxis Tuner Results:
Map Script: -------------------------------
PlotTest: Got Here PlotTest
PlotTest2: Got Here PlotTest2
WorldInput: Creating PopupDialog 'ConfirmWarPopup'
So am I losing my mind, or do we really have to use a separate <GameplayScripts> component for every file? I keep thinking I'm making some obvious typo or something, but I verified in the first case both files were in mods.sqlite attached to the GameplayScripts component.
Anyone else run into this, or see what obvious mistake I'm making?
PlotTest.lua:
Code:
print("Got Here PlotTest");
Code:
print("Got Here PlotTest2");
Code:
<?xml version="1.0" encoding="utf-8"?>
<Mod id="PlotTest" version = "1">
<Properties>
<Name>PlotTest</Name>
<Teaser>PlotTest</Teaser>
</Properties>
<Components>
<GameplayScripts>
<Items>
<File>PlotTest.lua</File>
<File>PlotTest2.lua</File>
</Items>
</GameplayScripts>
</Components>
<Files>
<File>PlotTest.lua</File>
<File>PlotTest2.lua</File>
</Files>
</Mod>
Map Script: -------------------------------
PlotTest: Got Here PlotTest
WorldInput: Creating PopupDialog 'ConfirmWarPopup'
PlotTest.modinfo version 2:
Code:
<?xml version="1.0" encoding="utf-8"?>
<Mod id="PlotTest" version = "1">
<Properties>
<Name>PlotTest</Name>
<Teaser>PlotTest</Teaser>
</Properties>
<Components>
<GameplayScripts>
<Items>
<File>PlotTest.lua</File>
</Items>
</GameplayScripts>
<GameplayScripts>
<Items>
<File>PlotTest2.lua</File>
</Items>
</GameplayScripts>
</Components>
<Files>
<File>PlotTest.lua</File>
<File>PlotTest2.lua</File>
</Files>
</Mod>
Map Script: -------------------------------
PlotTest: Got Here PlotTest
PlotTest2: Got Here PlotTest2
WorldInput: Creating PopupDialog 'ConfirmWarPopup'
So am I losing my mind, or do we really have to use a separate <GameplayScripts> component for every file? I keep thinking I'm making some obvious typo or something, but I verified in the first case both files were in mods.sqlite attached to the GameplayScripts component.
Anyone else run into this, or see what obvious mistake I'm making?