• If you have a mod, tool or prefab, please use the Resources section. Click Mods at the top of the forums.

Any way to spawn an animal by placing a block?

emantzipator

Refugee
Zombie have a "Territorial" AI-task(3) that i'd like to take advantage of. I'd like to place a block, which disappears and creates a static animal with no animations, acting as a land mine. The key is getting that block converted into a 'animal' class that fits in the 'Territorial' task.

Otherwise, any way of assigning some kind of 'animal' tag to a block itself might be sufficient.

I'd just think it'd be cool to set up a fake deer that they see, then attack, with a nice kaboom waiting inside.

Any help or suggestions are appreciated.

 
Try using the cop class that explodes when damaged. have the game spawn a deer prefab with that class, and remove the wander and attack tasks. Alternatively, make a copy the landmine but swap in the deer prefab for the model. One of those might work.

 
Back
Top