Can't seem to get Evol Changes to work via data or control.

Place to get help with not working mods / modding interface.
User avatar
StoneLegion
Filter Inserter
Filter Inserter
Posts: 687
Joined: Fri Sep 05, 2014 7:34 pm
Contact:

Can't seem to get Evol Changes to work via data or control.

Post by StoneLegion »

I'm not the brightest person around. Been trying to get things working and was hoping for a control file to load the following:

Code: Select all

function On_Load()
	game.map_settings.enemy_evolution.time_factor = 0
end
I actually am just learning / playing around depending if I can get things working I would add all this to it too:

Code: Select all

/c game.create_force('force 1')
/c game.create_force('force 2')
/c game.create_force('force 3')
/c game.create_force('force 4')
/c game.forces['force 1'].set_cease_fire('force 2', true)
/c game.forces['force 1'].set_cease_fire('force 3', true)
/c game.forces['force 1'].set_cease_fire('force 4', true)
/c game.forces['force 2'].set_cease_fire('force 1', true)
/c game.forces['force 2'].set_cease_fire('force 3', true)
/c game.forces['force 2'].set_cease_fire('force 4', true)
/c game.forces['force 3'].set_cease_fire('force 1', true)
/c game.forces['force 3'].set_cease_fire('force 2', true)
/c game.forces['force 3'].set_cease_fire('force 4', true)
/c game.forces['force 4'].set_cease_fire('force 1', true)
/c game.forces['force 4'].set_cease_fire('force 2', true)
/c game.forces['force 4'].set_cease_fire('force 3', true)

/c game.get_player('Kane').force = game.forces['force 1']
/c game.get_player('Togy').force = game.forces['force 2']
/c game.get_player('BennerKaj').force = game.forces['force 3']
/c game.get_player('Sgt').force = game.forces['force 4']
I'm trying to go away from commands and just have this run first time making map mainly because like the commands not to trigger the achievements to disable (local ones)

I also tried the evolution stuff via data without luck:

Code: Select all

data.raw["map-settings"]["map-settings"]["enemy_evolution"].time_factor = 0
Post Reply

Return to “Modding help”