Discussion in 'Modding' started by darchon, May 6, 2020.
Does anyone know how to mod the ai to make it build more units or at a faster rate?
You can change the rate at which units are produced, go to data\scripts\lib\unit.script then look for the unit you want to be produced quicker, for example the Pikeman, look for this line; SetObjBaseSearchBuildVisionScore(objprop, objbase, 1000, 320, 1, 10); the 2nd number (320) depicts how quickly the unit will be produced, make this larger and the unit will take longer to emerge, make this smaller and it will come out sooner.
i only want the ai to be able to build faster to make it more aggressive, wouldn't that change affect everyone?
Yes that is true, making the A.I more aggressive is I'm afraid way beyond me.
oh thanks for your help anyway, i'm going to take a look at your mod. i'm sure i'll learn tons of stuff from it.
Separate names with a comma.