Scrap Mechanic

Scrap Mechanic

Crashlander: Square One
MaxStone 21 Jun, 2024 @ 1:28pm
How to re-enable bots?
I've looked at the code, and it seems that wolves are spawned whenever a bot would, with bears being the farmbot, and it removers the bots afterwards, or something along those effects.

Is there a way to adjust the code to NOT remove the bots? Maybe a future update or addon patch or something?

I just like the idea of fighting wildlife AND remnants of an automated workforce that got left behind in order to do the campaign, but i dont know what to do with the code.
< >
Showing 1-3 of 3 comments
beny.h 29 Jun, 2024 @ 12:21am 
that would be awsome :) i missed the bots overall
The Red Builder  [developer] 29 Jun, 2024 @ 1:39pm 
survival_spawns.lua in Scripts\game, line 110. This is where it binds the tags (which are the nodes) to what units it spawns, the vanilla ones are: unit_tapebot, unit_tapebot_red, unit_tapebot_taped_(1,2,3), unit_haybot and unit_farmbot. Just change them to values you want, if oyu know lua enough, you cna make it have a chance to either be an animal or a bot. For raids go into unit_manager.lua in Scripts\game\managers, where the raiders are stored, just change them again.
MaxStone 2 Jul, 2024 @ 9:18pm 
Originally posted by The Red Builder:
survival_spawns.lua in Scripts\game, line 110. This is where it binds the tags (which are the nodes) to what units it spawns, the vanilla ones are: unit_tapebot, unit_tapebot_red, unit_tapebot_taped_(1,2,3), unit_haybot and unit_farmbot. Just change them to values you want, if oyu know lua enough, you cna make it have a chance to either be an animal or a bot. For raids go into unit_manager.lua in Scripts\game\managers, where the raiders are stored, just change them again.

awesome. however, i have very little knowledge on lua, and while i now know a little more about whats going on here, i dont know enough to feel confident in changing it yet.
< >
Showing 1-3 of 3 comments
Per page: 1530 50