crash
Posted: 28 Dec 2017, 16:14
Hi and happy 2018 all.
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:
I open A.vlo and I change the first non-comment line like below:
I run wz:
Single player -> Start skirmish game -> start hosting game
From the list of bots I choose A and I click on ready button.
The game crashes.
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.