I want to create a mod that add a bot identical to Nexus but with different name.
So I copy-paste nexus.slo, nexus.vlo and nexus.json to warzone2100-3.2/mods/global/A/multiplay/skirmish/
I rename the files to A.slo, A.vlo and A.json.
I open A.json and I change the fields like below:
Code: Select all
{
"AI": {
"name": "A",
"slo": "A.slo",
"tip": "A",
"vlo": "A.vlo"
}
}
Code: Select all
/////////////////////////////////////////////////////////////////////
// ai for skirmish game
/////////////////////////////////////////////////////////////////////
script "A.slo"
run
{
Code: Select all
$ warzone2100 --mod=A
From the list of bots I choose A and I click on ready button.
The game crashes.