Jump to content

Resources/Particle Location: Difference between revisions

From HEModdingWiki
Ashrindy (talk | contribs)
No edit summary
Ashrindy (talk | contribs)
No edit summary
Line 1: Line 1:
{{Infobox Resource|type=[[Resources#Effects|Effects]]|extension=.effdb|games=* [[Games/Sonic Forces|Sonic Forces]]
{{Infobox Resource|type=[[Resources#Effects|Effects]]|extension=.effdb|games=* [[Sonic Forces|Sonic Forces]]
* [[Games/Sonic Origins|Sonic Origins]]
* [[Sonic Origins|Sonic Origins]]
* [[Games/Sonic Frontiers|Sonic Frontiers]]  
* [[Sonic Frontiers|Sonic Frontiers]]  
* [[Games/Shadow Generations|Shadow Generations]]|tools=* [[Tools/AshDumpTool|AshDumpTool]]|status=Done|container=BINA|name=Particle Location}}'''Particle Location''' ''(also known as effdb and Particle Locator)'' is the so called Effect Database format that coincides with the '''[[Resources/Animation State Machine|Animation State Machine]]''' format as it contains an array containing every state.
* [[Shadow Generations|Shadow Generations]]|tools=* [[Tools/AshDumpTool|AshDumpTool]]|status=Done|container=BINA|name=Particle Location}}'''Particle Location''' ''(also known as effdb and Particle Locator)'' is the so called Effect Database format that coincides with the '''[[Resources/Animation State Machine|Animation State Machine]]''' format as it contains an array containing every state.


Every state can have any amount of [[Resources/Cyan Effect|particles]] and/or sounds ''(in [[Games/Sonic Forces|Sonic Forces]] only one sound can be used per state)'' attached to it, every particle can have its own offset in terms of position, rotation and scale.
Every state can have any amount of [[Resources/Cyan Effect|particles]] and/or sounds ''(in [[Sonic Forces]] only one sound can be used per state)'' attached to it, every particle can have its own offset in terms of position, rotation and scale.


== File Format ==
== File Format ==
Line 15: Line 15:
- '''Particles''', list of the particles that should be added
- '''Particles''', list of the particles that should be added


- '''Sounds''', list of the sounds that should be used, a simple list of sound names, ''(in [[Games/Sonic Forces|Sonic Forces]] this is not an array but just a singular sound name)''
- '''Sounds''', list of the sounds that should be used, a simple list of sound names, ''(in [[Sonic Forces]] this is not an array but just a singular sound name)''


Now, each particle contains:
Now, each particle contains:

Revision as of 14:01, 26 January 2025

Particle Location
Resource TypeEffects
File Extension.effdb
Used In Games
Container FormatBINA
Editing Tools
Reverse Engineering StatusDone

Particle Location (also known as effdb and Particle Locator) is the so called Effect Database format that coincides with the Animation State Machine format as it contains an array containing every state.

Every state can have any amount of particles and/or sounds (in Sonic Forces only one sound can be used per state) attached to it, every particle can have its own offset in terms of position, rotation and scale.

File Format

It's made up of a list of states each containing a list of particles and sounds.

Each state containing:

- State name, the name of the state it should add onto

- Particles, list of the particles that should be added

- Sounds, list of the sounds that should be used, a simple list of sound names, (in Sonic Forces this is not an array but just a singular sound name)

Now, each particle contains:

- Attached to bone, decides whetever it should be attached to a bone

- Use Position, decides if it should use the position value

- Use Rotation, decides if it should use the rotation value

- Use Scale, decides if it should use the scale value

- Particle Name, the name of the particle (.cemt) it should use

- Bone name, the name of the bone it should attach to, won't be used if the Attached to bone is set to false

- Position, a position offset it should attach with, won't be used if the Use Position is set to false

- Rotation, a rotation offset it should attach with, won't be used if the Use Rotation is set to false

- Scale, a scale offset it should attach with, won't be used if the Use Scale is set to false