RUNNING WITH RIFLES

RUNNING WITH RIFLES

Running in the Bug War
donkeymon 8 Jun, 2017 @ 6:09am
Server script bug reporting
I want to host a mod server with this mod, but there are some problems I cant solve.
1. there is no AI and bug in map.
2.cannot invade any area, when count to 0, it restart count again.
< >
Showing 1-1 of 1 comments
donkeymon 8 Jun, 2017 @ 6:09am 
here is my script NEED HELP :D
//by Unit G17

#include "path://media/packages/vanilla/scripts"
// --------------------------------------------
// TODO: replace with your package path here
// --------------------------------------------
#include "path://media/packages/Running_in_the_Bug_War/scripts"

#include "my_gamemode.as"

void main(dictionary@ inputData) {
XmlElement inputSettings(inputData);

// --------------------------------------------
// NOTE: feel free copy vanilla/scripts/simple/user_settings_simple.as to your mod folder and extend it if needed
// --------------------------------------------
UserSettings settings;
settings.fromXmlElement(inputSettings);
settings.m_startServerCommand = """
<command class='start_server'
server_name='CN2 - Bug War'
server_port='1240'
comment='Need MOD: Running in the Bug War'
url=''
register_in_serverlist='1'
mode='PvE'
max_players='14'>
</command>
""";
settings.m_factionChoice = 0;
_setupLog(inputSettings);
settings.print();

// --------------------------------------------
// TODO: replace with your package's folder here
// --------------------------------------------
array<string> overlays = {
"media/packages/Running_in_the_Bug_War"
};
settings.m_overlayPaths = overlays;

MyGameMode metagame(settings);

metagame.init();
metagame.run();
metagame.uninit();

_log("ending execution");
}
< >
Showing 1-1 of 1 comments
Per page: 1530 50