Modding Entity Behavior
Posted: Thu Mar 13, 2014 4:42 am
I'm planning a mod which introduces the concept of agriculture to the game. One of the requirements for this to work would be an ag-bot entity that flies around, planting seeds and harvesting grown plants.
I've looked at the game's code, and it seems all entities have hard-coded behavior. Is it still possible to mess around with an entity's behavior, perhaps by redefining a method? In this case, it would be whatever is called to get a construction robot's construction/destruction targets.
I've looked at the game's code, and it seems all entities have hard-coded behavior. Is it still possible to mess around with an entity's behavior, perhaps by redefining a method? In this case, it would be whatever is called to get a construction robot's construction/destruction targets.