Dec 22, 2010 at 10:59 AM
Join Date: Aug 19, 2009
Location: UK
Posts: 85
Age: 30
Right, now I've got my improved rank image, I feel it is time to post my development thread for the idea in the title.
Basically my hack will consist of the following:
- More efficient code for each NPC
- 'Debug' Save and Load menu items, enabled via the start flags
- The integral FPS counter enabled via a menu button
- A max FPS option included in DoConfig
- A mute button that works properly, for Music, General SFX and Text scroll SFX
- Various extra TSC commands:
- <SNPXXXX : Save game to XXXX.dat
- <LNPXXXX : Load XXXX.dat
- <LI-XXXX : Reduce hitpoints by X
- <CREXXXX:YYYY:ZZZZ:AAAA : Create an entity of type A and EID A at X:Y
- <AE-XXXX : Remove X ammo
- <AX+XXXX : Add X Exp to current weapon
- <AX-XXXX : Remove X Exp from current weapon
- <MAM : Max Arms, all weapons to Level 3 MAX
- <CMC:XXXX:YYYY:ZZZZ : Integration of CarrotLord's code above
Thanks for your feedback. I realise that <X- can be done with negative numbers, but I just thought there should be an easier way than referring to the ascii table all the time, and all it would take is a copy of the original command, replacing ADD with SUB.
So, I've removed everything that has been done before, which thankfully wasn't too much. Again, any ideas would be much appreciated.
Basically my hack will consist of the following:
- More efficient code for each NPC
- 'Debug' Save and Load menu items, enabled via the start flags
- The integral FPS counter enabled via a menu button
- A max FPS option included in DoConfig
- A mute button that works properly, for Music, General SFX and Text scroll SFX
- Various extra TSC commands:
- <SNPXXXX : Save game to XXXX.dat
- <LNPXXXX : Load XXXX.dat
- <LI-XXXX : Reduce hitpoints by X
- <CREXXXX:YYYY:ZZZZ:AAAA : Create an entity of type A and EID A at X:Y
- <AE-XXXX : Remove X ammo
- <AX+XXXX : Add X Exp to current weapon
- <AX-XXXX : Remove X Exp from current weapon
- <MAM : Max Arms, all weapons to Level 3 MAX
- <CMC:XXXX:YYYY:ZZZZ : Integration of CarrotLord's code above
Thanks for your feedback. I realise that <X- can be done with negative numbers, but I just thought there should be an easier way than referring to the ascii table all the time, and all it would take is a copy of the original command, replacing ADD with SUB.
So, I've removed everything that has been done before, which thankfully wasn't too much. Again, any ideas would be much appreciated.