Oki,
Can anyone confirm that night battles work using single player?
Since it works fine here.
Also,
ebconfig.xml
content
<?xml version="1.0" standalone="yes" ?>
<?xml-stylesheet href="file://C:/Program Files/EBTrivialScript/Examples/Foobar Control/transform.xsl" type="text/xml" ?>
- <root>
- <!-- This Is Element Section. Look of the aplication is defined in this section
-->
- <!-- Elements Planed: Frame ( Main Window ),Panel, 3 ComboBoxes (Each with static box providing descriptions)
Static box with RTW command line siwtches, 4 command line switches, 2 buttons
-->
- <Element>
<ID>MainFrame</ID>
<Type>Frame</Type>
<Parent>NULL</Parent>
<Label>EB Configuration</Label>
<Image>ebicon.ico</Image>
- <Look>
<X>200</X>
<Y>200</Y>
<Height>400</Height>
<Width>430</Width>
</Look>
</Element>
- <Element>
<ID>MainPanel</ID>
<Type>Panel</Type>
<Parent>MainFrame</Parent>
- <!--
<BackgroundColor>
<R>200</R>
<G>149</G>
<B>83</B>
</BackgroundColor>
-->
- <ForegroundColor>
<R>0</R>
<G>0</G>
<B>0</B>
</ForegroundColor>
</Element>
- <Element>
<ID>SpMpStaticBox</ID>
<Type>StaticBox</Type>
<Parent>MainPanel</Parent>
<Label>Game type</Label>
- <Look>
<X>10</X>
<Y>10</Y>
<Height>40</Height>
<Width>400</Width>
</Look>
</Element>
- <Element>
<ID>SpMpCombo</ID>
<Type>ReadOnlyComboBox</Type>
<Parent>SpMpStaticBox</Parent>
<CmdLine>type</CmdLine>
- <Look>
<X>%2</X>
<Y>%38</Y>
<Height>%40</Height>
<Width>%96</Width>
</Look>
- <Values>
<Text>Single Player</Text>
<Text>Multi Player</Text>
</Values>
</Element>
- <Element>
<ID>LightingStaticBox</ID>
<Type>StaticBox</Type>
<Parent>MainPanel</Parent>
<Label>Lighting</Label>
- <Look>
<X>10</X>
<Y>70</Y>
<Height>40</Height>
<Width>400</Width>
</Look>
</Element>
- <Element>
<ID>LightingCombo</ID>
<Type>ReadOnlyComboBox</Type>
<Parent>LightingStaticBox</Parent>
<CmdLine>Lighting</CmdLine>
- <Look>
<X>%2</X>
<Y>%38</Y>
<Height>%40</Height>
<Width>%96</Width>
</Look>
- <Values>
<Text>Recommended</Text>
<Text>Bit Lighter</Text>
<Text>Even Lighter</Text>
<Text>Brightest</Text>
</Values>
</Element>
- <Element>
<ID>ModestyStaticBox</ID>
<Type>StaticBox</Type>
<Parent>MainPanel</Parent>
<Label>Units nudity</Label>
- <Look>
<X>10</X>
<Y>130</Y>
<Height>40</Height>
<Width>400</Width>
</Look>
</Element>
- <Element>
<ID>ModestyCombo</ID>
<Type>ReadOnlyComboBox</Type>
<Parent>ModestyStaticBox</Parent>
<CmdLine>modesty</CmdLine>
- <Look>
<X>%2</X>
<Y>%38</Y>
<Height>%40</Height>
<Width>%96</Width>
</Look>
- <Values>
<Text>Censored</Text>
<Text>Naked</Text>
</Values>
</Element>
- <Element>
<ID>RtwStaticBox</ID>
<Type>StaticBox</Type>
<Parent>MainPanel</Parent>
<Label>RTW command line options</Label>
- <Look>
<X>10</X>
<Y>215</Y>
<Height>70</Height>
<Width>400</Width>
</Look>
</Element>
- <Element>
<ID>ShowVideoCheck</ID>
<Type>CheckBox</Type>
<Parent>RtwStaticBox</Parent>
<Label>Turn off movies</Label>
<CmdLine>nm</CmdLine>
- <Look>
<X>%10</X>
<Y>%30</Y>
<Height>%20</Height>
<Width>%27</Width>
</Look>
</Element>
- <Element>
<ID>WindowModeCheck</ID>
<Type>CheckBox</Type>
<Parent>RtwStaticBox</Parent>
<Label>Window mode on</Label>
<CmdLine>ne</CmdLine>
- <Look>
<X>%60</X>
<Y>%30</Y>
<Height>%20</Height>
<Width>%25</Width>
</Look>
</Element>
- <Element>
<ID>ShowErrorCheck</ID>
<Type>CheckBox</Type>
<Parent>RtwStaticBox</Parent>
<Label>Show Errors</Label>
<CmdLine>show_error</CmdLine>
- <Look>
<X>%10</X>
<Y>%60</Y>
<Height>%20</Height>
<Width>%25</Width>
</Look>
</Element>
- <Element>
<ID>EnableEditorCheck</ID>
<Type>CheckBox</Type>
<Parent>RtwStaticBox</Parent>
<Label>Enable Editor</Label>
<CmdLine>enable_editor</CmdLine>
- <Look>
<X>%60</X>
<Y>%60</Y>
<Height>%20</Height>
<Width>%25</Width>
</Look>
</Element>
- <Element>
<ID>StartEB</ID>
<Type>Button</Type>
<Label>Play EB</Label>
<Parent>MainPanel</Parent>
- <Look>
<X>90</X>
<Y>300</Y>
<Height>30</Height>
<Width>80</Width>
</Look>
</Element>
- <Element>
<ID>ExitSave</ID>
<Type>Button</Type>
<Label>Save and Exit</Label>
<Parent>MainPanel</Parent>
- <Look>
<X>240</X>
<Y>300</Y>
<Height>30</Height>
<Width>85</Width>
</Look>
</Element>
- <Element>
<ID>RtwStart</ID>
<Type>String</Type>
- <Values>
<Text>RomeTW.exe -mod:eb</Text>
</Values>
</Element>
- <Element>
<ID>PreferencesBtn</ID>
<Type>Button</Type>
<Parent>MainPanel</Parent>
<Label>Preferences</Label>
- <Look>
<X>175</X>
<Y>180</Y>
<Height>30</Height>
<Width>80</Width>
</Look>
</Element>
- <Element>
<ID>RtwOptions</ID>
<CmdLine>rtwoptions</CmdLine>
<Type>String</Type>
</Element>
- <!-- This Is Action Section. Custom actions are defined in this section
-->
- <!-- Save Selected data to file
-->
- <Action>
<ID>SetLighting</ID>
- <Action>
<ID>CopyDefaultLighting</ID>
- <If>
<ID>CompareValue</ID>
<ElementValue>LightingCombo</ElementValue>
<Text>Recommended</Text>
</If>
- <Action>
<ID>CopyFile</ID>
<Text>EB\Lighting\Recommended\descr_battle_map_lighting_and_fog_control.txt</Text>
<Text>EB\Data\descr_battle_map_lighting_and_fog_control.txt</Text>
<Text>True</Text>
</Action>
</Action>
- <Action>
<ID>CopyBitLighterLighting</ID>
- <If>
<ID>CompareValue</ID>
<ElementValue>LightingCombo</ElementValue>
<Text>Bit Lighter</Text>
<Text>True</Text>
</If>
- <Action>
<ID>CopyFile</ID>
<Text>EB\Lighting\Bit lighter\descr_battle_map_lighting_and_fog_control.txt</Text>
<Text>EB\Data\descr_battle_map_lighting_and_fog_control.txt</Text>
<Text>True</Text>
</Action>
</Action>
- <Action>
<ID>CopyEvenLighterLighting</ID>
- <If>
<ID>CompareValue</ID>
<ElementValue>LightingCombo</ElementValue>
<Text>Even Lighter</Text>
</If>
- <Action>
<ID>CopyFile</ID>
<Text>EB\Lighting\Even lighter\descr_battle_map_lighting_and_fog_control.txt</Text>
<Text>EB\Data\descr_battle_map_lighting_and_fog_control.txt</Text>
<Text>True</Text>
</Action>
</Action>
- <Action>
<ID>CopyBrightestLighting</ID>
- <If>
<ID>CompareValue</ID>
<ElementValue>LightingCombo</ElementValue>
<Text>Brightest</Text>
</If>
- <Action>
<ID>CopyFile</ID>
<Text>EB\Lighting\Brightest\descr_battle_map_lighting_and_fog_control.txt</Text>
<Text>EB\Data\descr_battle_map_lighting_and_fog_control.txt</Text>
<Text>True</Text>
</Action>
</Action>
</Action>
- <Action>
<ID>SetGameType</ID>
- <Action>
<ID>MakeSinglePlayer</ID>
- <If>
- <!-- Check if SpMpComboBox has selected value "Single Player"
-->
<ID>CompareValue</ID>
<ElementValue>SpMpCombo</ElementValue>
<Text>Single Player</Text>
</If>
- <Action>
<ID>CopyFile</ID>
- <!-- Copy SP EDU
-->
<Text>EB\sp game edu backup\export_descr_unit.txt</Text>
<Text>EB\Data\export_descr_unit.txt</Text>
- <!-- Copy Menu Settings
-->
<Text>EB\sp game edu backup\Rome.lnt</Text>
<Text>EB\Data\menu\Rome.lnt</Text>
- <!-- Copy SP map.rwm
-->
<Text>EB\sp game edu backup\map.rwm</Text>
<Text>EB\Data\world\maps\base\map.rwm</Text>
<Text>True</Text>
</Action>
- <!-- <TO DO> Change Loading Screen to default
-->
</Action>
- <Action>
<ID>MakeMultiPlayer</ID>
- <If>
<ID>CompareValue</ID>
<ElementValue>SpMpCombo</ElementValue>
<Text>Multi Player</Text>
</If>
- <Action>
<ID>CopyFile</ID>
- <!-- Copy EDU
-->
<Text>EB\mp game edu backup\export_descr_unit.txt</Text>
<Text>EB\Data\export_descr_unit.txt</Text>
- <!-- Copy Menu Settings
-->
<Text>EB\mp game edu backup\Rome.lnt</Text>
<Text>EB\Data\menu\Rome.lnt</Text>
- <!-- Beckup SP map.rwm
-->
- <!-- <Text>EB\Data\world\maps\base\map.rwm</Text>
<Text>EB\sp game edu backup\map.rwm</Text>
-->
- <!-- Copy MP map.rwm
-->
<Text>EB\mp game edu backup\map.rwm</Text>
<Text>EB\Data\world\maps\base\map.rwm</Text>
<Text>True</Text>
</Action>
- <!-- Rename Saves extension so game cant be loaded
-->
</Action>
</Action>
- <Action>
<ID>SetModesty</ID>
- <Action>
<ID>ApplyModestyPatch</ID>
- <If>
<ID>CompareValue</ID>
<ElementValue>ModestyCombo</ElementValue>
<Text>Censored</Text>
</If>
- <Action>
<ID>CopyDir</ID>
<Text>EB\Modesty\Censored\Data</Text>
<Text>EB\Data</Text>
<Text>True</Text>
<Text>True</Text>
</Action>
</Action>
- <Action>
<ID>FullFrontal</ID>
- <If>
<ID>CompareValue</ID>
<ElementValue>ModestyCombo</ElementValue>
<Text>Naked</Text>
</If>
- <Action>
<ID>CopyDir</ID>
<Text>EB\Modesty\Default\Data</Text>
<Text>EB\Data</Text>
<Text>True</Text>
<Text>True</Text>
</Action>
</Action>
</Action>
- <Action>
<ID>StartEB</ID>
- <Action>
<ID>AddShowError</ID>
- <If>
<ID>CompareValue</ID>
<ElementValue>ShowErrorCheck</ElementValue>
<Text>True</Text>
</If>
- <Action>
<ID>AddData</ID>
<Text>RtwStart</Text>
<Text>$s-show_error</Text>
</Action>
</Action>
- <Action>
<ID>AddEditor</ID>
- <If>
<ID>CompareValue</ID>
<ElementValue>EnableEditorCheck</ElementValue>
<Text>True</Text>
</If>
- <Action>
<ID>AddData</ID>
<Text>RtwStart</Text>
<Text>$s-enable_editor</Text>
</Action>
</Action>
- <Action>
<ID>AddWinwodMode</ID>
- <If>
<ID>CompareValue</ID>
<ElementValue>WindowModeCheck</ElementValue>
<Text>True</Text>
</If>
- <Action>
<ID>AddData</ID>
<Text>RtwStart</Text>
<Text>$s-ne</Text>
</Action>
</Action>
- <Action>
<ID>AddWideo</ID>
- <If>
<ID>CompareValue</ID>
<ElementValue>ShowVideoCheck</ElementValue>
<Text>True</Text>
</If>
- <Action>
<ID>AddData</ID>
<Text>RtwStart</Text>
<Text>$s-nm</Text>
</Action>
</Action>
- <Action>
<ID>AddData</ID>
<Text>RtwStart</Text>
<Text>$s</Text>
<ElementValue>RtwOptions</ElementValue>
</Action>
- <Action>
<ID>RunProgram</ID>
<ElementValue>RtwStart</ElementValue>
</Action>
</Action>
- <Action>
<ID>SaveConfiguration</ID>
- <Action>
<ID>SaveData</ID>
<Text>ebconfig.dat</Text>
<Text>EnableEditorCheck</Text>
<Text>ShowErrorCheck</Text>
<Text>WindowModeCheck</Text>
<Text>ShowVideoCheck</Text>
<Text>ModestyCombo</Text>
<Text>LightingCombo</Text>
<Text>SpMpCombo</Text>
</Action>
</Action>
- <Action>
<ID>ApplySettings</ID>
- <Action>
<ID>SetLighting</ID>
</Action>
- <Action>
<ID>SetGameType</ID>
</Action>
- <Action>
<ID>SetModesty</ID>
</Action>
</Action>
- <Action>
<ID>StartEBFromCmdLine</ID>
<CmdLine>runeb</CmdLine>
- <Action>
<ID>ApplySettings</ID>
</Action>
- <Action>
<ID>StartEB</ID>
</Action>
- <Action>
<ID>CloseFrame</ID>
<Text>MainFrame</Text>
</Action>
</Action>
- <!-- This Is Trigger Section. Behaviour of the aplication is defined in this section
-->
- <Trigger>
<ElementID>MainFrame</ElementID>
<Event>ProgramStarts</Event>
- <If>
<ID>FileExists</ID>
<Text>ebconfig.dat</Text>
</If>
- <Action>
<ID>LoadData</ID>
<Text>ebconfig.dat</Text>
</Action>
</Trigger>
- <Trigger>
<ElementID>ExitSave</ElementID>
<Event>ButtonPressed</Event>
- <Action>
<ID>SaveConfiguration</ID>
</Action>
- <Action>
<ID>ApplySettings</ID>
</Action>
- <Action>
<ID>CloseFrame</ID>
<Text>MainFrame</Text>
</Action>
</Trigger>
- <Trigger>
<ElementID>StartEB</ElementID>
<Event>ButtonPressed</Event>
- <Action>
<ID>SaveConfiguration</ID>
</Action>
- <Action>
<ID>ApplySettings</ID>
</Action>
- <Action>
<ID>StartEB</ID>
</Action>
- <Action>
<ID>CloseFrame</ID>
<Text>MainFrame</Text>
</Action>
</Trigger>
- <Trigger>
<ElementID>PreferencesBtn</ElementID>
<Event>ButtonPressed</Event>
- <Action>
<ID>RunProgram</ID>
<RegistryValue>HKEY_CURRENT_USER\Software\EB\EBTrivialScript\path</RegistryValue>
<Text>$s-s preferences.xml</Text>
</Action>
</Trigger>
</root>
Its RTW configured, I will need to install it first and test (which I will not do soon since I am testing alxeb on eb12 mod)
in some time sure
Bookmarks