Last active
August 29, 2015 14:02
-
-
Save ChadSki/4c5dc76e6644a11b587e to your computer and use it in GitHub Desktop.
Alternative Plugin Syntax?
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Invalid plugin, for syntax demonstration only --> | |
<plugin name="weap" struct_size="0x504"> | |
<float32 name="initial_rounds_per_second" offset="0x4" /> | |
<float32 name="final_rounds_per_second" offset="0x8" /> | |
<float32 name="rounds_per_second_acceleration" offset="0xA" /> | |
<float32 name="rounds_per_second_deceleration" offset="0xC" /> | |
<uint16 name="projectiles_per_shot" offset="0x6E" /> | |
<struct_array name="magazines" offset="0xF0" struct_size='112'> | |
<uint16 name="rounds_recharged" offset="0x4" /> | |
<uint16 name="rounds_total_initial" offset="0x6" /> | |
<uint16 name="rounds_total_maximum" offset="0x8" /> | |
<uint16 name="rounds_loaded_maximum" offset="0xA" /> | |
</struct_array> | |
</plugin> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Invalid plugin, for syntax demonstration only --> | |
<plugin name="weap"> | |
<struct size="0x504"> | |
<float32 name="initial_rounds_per_second" offset="0x4" /> | |
<float32 name="final_rounds_per_second" offset="0x8" /> | |
<float32 name="rounds_per_second_acceleration" offset="0xA" /> | |
<float32 name="rounds_per_second_deceleration" offset="0xC" /> | |
<uint16 name="projectiles_per_shot" offset="0x6E" /> | |
<arrayptr name="magazines" offset="0xF0"> | |
<struct size='112'> | |
<uint16 name="rounds_recharged" offset="0x4" /> | |
<uint16 name="rounds_total_initial" offset="0x6" /> | |
<uint16 name="rounds_total_maximum" offset="0x8" /> | |
<uint16 name="rounds_loaded_maximum" offset="0xA" /> | |
</struct> | |
</arrayptr> | |
</struct> | |
</plugin> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Invalid plugin, for syntax demonstration only --> | |
<plugin name="weap" struct_size="0x504"> | |
<float32 name="initial_rounds_per_second" offset="0x4" /> | |
<float32 name="final_rounds_per_second" offset="0x8" /> | |
<float32 name="rounds_per_second_acceleration" offset="0xA" /> | |
<float32 name="rounds_per_second_deceleration" offset="0xC" /> | |
<uint16 name="projectiles_per_shot" offset="0x6E" /> | |
<reflexive name="magazines" offset="0xF0" struct_size='112'> | |
<uint16 name="rounds_recharged" offset="0x4" /> | |
<uint16 name="rounds_total_initial" offset="0x6" /> | |
<uint16 name="rounds_total_maximum" offset="0x8" /> | |
<uint16 name="rounds_loaded_maximum" offset="0xA" /> | |
</reflexive> | |
</plugin> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment