Enix’s Breakable Objects
Breakable objects in Overgrowth! Original mod made by Gyrth (this is a complete remake), read the steam page for a tutorial.
Big thanks to Omegakatze for making the trailer video!
Currently contains 4 breakable object types:
1. Breakable post (short);
2. Breakable post (long);
3. Breakable board;
4. Breakable wall;
How this works:
Every breakable object is a group that contains 2 children:
1. Br.Obj. Hotspot;
2. A static object;
When a character enters the hotspot, the static objects is deleted and replaced with physics items (only if the character exceeds the speed threshold – defined in the hotspot’s parameters);
||
V
Hotspot parameters:
1. Object name to disappear – if a static object has a parameter called ‘Name’ and it’s the same as defined in the hotspot parameters, it will disappear and get replaced (read ‘How this works’);
Note: if there are 2 object with the same ‘Name’ parameter it will break the mod so make sure that is not the case;
2. Ragdoll player – will the player get ragdoll 100% (you still could ragdoll if one of the broken off pieces hits your character);
3. Kill NPCs/Player – does the hotspot kill the NPC/Player 100%?
4. Min Speed to break – minimal speed threshold required to break the object;
5. Type of breakable object – what kind of physics object the static object will be replaced with (read ‘How this works’):
– 1. Post1 – short post – spawns 2 broken post pieces;
– 2. Post2 – long post – spawns 2 static post pieces and 1 broken piece in the middle;
– 3. Wall – wall – spawns a static wall base object and 2 broken off pieces;
– 4. Board – board – spawns 2 broken board pieces;
6. Amount of hits to break – minial amount of hits the object can take before being destroyed (NOTE: this also takes into account the speed threshold);
Q/A:
Q: How do I add a new parameter / edit parameters in a static object?
A: Go into editor mode by pressing f1, select an object and press ‘U’ to open object parameters, there, click ‘Create New Parameter’ and edit it.
Q: HaLp!1 IT DoESn’T WrK!11!
A: ReAD the DesCrIpTiOn.
Q: Help, it doesn’t work.
A: If you have read the description and still having problems, report to bug report station.
Q: How do I add new breakable objects?
A: Unfortunatley that’s not possible without extra programming.
Q: When I spawn a breakable object from the editor, it is a single piece, how do I edit the static object and hotspot parameters seperatly?
A: Press Ctrl+Shift+G to ungroup objects. There’s no need for them to be grouped but that way it’s easier to move them.