Jump to content

Resources/ObjectWorld / GEdit: Difference between revisions

From HEModdingWiki
Ashrindy (talk | contribs)
mNo edit summary
No edit summary
Line 27: Line 27:
- '''Components''', a list of Game Object Components ''(more known as tags),'' they are used to spawn GOComponents for the Game Object such as GOCActivator (RangeSpawning), to determine the Game Objects spawning distance
- '''Components''', a list of Game Object Components ''(more known as tags),'' they are used to spawn GOComponents for the Game Object such as GOCActivator (RangeSpawning), to determine the Game Objects spawning distance


- '''Parameters''', these are just the parameters of the object, every Object Type has a set of their own, e.g. Springs have a parameter for the velocity for when the player touches them. These are using [[Resources/Reflection|Reflection]]
- '''Parameters''', these are just the parameters of the object, every Object Type has a set of their own, e.g. Springs have a parameter for the velocity for when the player touches them. These are using [[Resources/Reflection|Reflection]]. The reflection resources are included in their entirety (minus BinaryFile container), but the parameter pointer points directly to the data. I.e., in games that use Reflection v2, which contains a small header, the headers are included in the gedit resource, but the pointers point to the internal data object.

Revision as of 15:02, 12 January 2025

Object World
Resource TypeSet Objects
File Extension.gedit
Used In Games
Container FormatBINA
Editing Tools
Reverse Engineering StatusDone

Object World (more well known as GEdit) is the set object data format for Hedgehog Engine 2 games. Set object data is a list of objects that should spawn in the stage, such as Springs, Rings, Goal Rings and more.

File Format

It's made up of a list of objects using Reflection for their parameters.

Each object containing:

- GUID, unique for every object as its their identifier

- Parent GUID, the object its parented to, referenced by a GUID

- Object Name, the name of the object

- Type Name, name of the object type

- Position, the position of the object

- Rotation, the rotation of the object

- Components, a list of Game Object Components (more known as tags), they are used to spawn GOComponents for the Game Object such as GOCActivator (RangeSpawning), to determine the Game Objects spawning distance

- Parameters, these are just the parameters of the object, every Object Type has a set of their own, e.g. Springs have a parameter for the velocity for when the player touches them. These are using Reflection. The reflection resources are included in their entirety (minus BinaryFile container), but the parameter pointer points directly to the data. I.e., in games that use Reflection v2, which contains a small header, the headers are included in the gedit resource, but the pointers point to the internal data object.