Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Question to old renegade HUD
Re: Question to old renegade HUD [message #371323 is a reply to message #371309] Mon, 09 February 2009 16:53 Go to previous messageGo to previous message
jnz is currently offline  jnz
Messages: 3396
Registered: July 2006
Location: 30th century
Karma:
General (3 Stars)
Saberhawk wrote on Mon, 09 February 2009 23:00

RoShamBo wrote on Mon, 09 February 2009 16:16

cAmpa wrote on Mon, 09 February 2009 20:17

Is there a way to disable this weapon list?



Ofcourse there is!
You need to find the code that draws it and block it.

A good way is to backup the original instruction at the beginning of the function and just ret. When you want to restore it just write your backed up stuff back onto it.



A very *bad* way is to overwrite the first instruction in the function with ret as it can unbalance the stack.


meh just jmp it to your own and return; then.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: XCC Tools?
Next Topic: King Tiger nearly finished only one bug!!
Goto Forum:
  


Current Time: Mon Dec 23 22:22:26 MST 2024

Total time taken to generate the page: 0.00713 seconds