Post: WHY does the UFO hack work?
08-01-2009, 06:27 PM #1
shaun92
Bounty hunter
(adsbygoogle = window.adsbygoogle || []).push({}); NOTE: I know how to do the UFO hack, the thread's purpose is to pose questions I have which could possibly lead to developments with the hack

Anyway,

I added the UFO hack to my GPAD0_CM and all worked fine, but I started feeling guilty that I'd just ripped someone's hard work from the net and was using it to my own advantage.

But, I soon tired of aerial teabags and decided to go back to looking at the code in an attempt to see what made it function.

So firstly there's
    "set gpad_buttonsConfig "createfx" 
which is essentially the UFO glitch itself. That's fine and well, but could another command such as "createpaths" or "default_splitscreen" be added to include the use of another hack such as switch teams? Or could it change the whole function of the hack entirely? Or would it just not work? :P


But the next two (or four depending on which hack setup you're using) are really confusing.
    "set gpad_button_lstick_deflect_max "1"
set gpad_button_rstick_deflect_max "1"

and possibly
    set gpad_button_lshldr_deflect_max "1"
set gpad_button_rshldr_deflect_max "1"


Now my burning question is what does this part do? I've read that the second part turns L1 and R1 on so you can go up and down in UFO mode and lstick and rstick keeps the analog sticks functioning; but I changed all values to zero and even deleted this section of code earlier but still had full movement and control in UFO mode. So do these commands have another, more obscure purpose?

(The next part concerning r_gamma, snd_volume and such has no real link with the function of the hack I believe and so I have not tampered with this so far.)

Finally, the strangest section of all is
    set gpad_sticksConfig "default_mp" 
Now, only knowing one other stick layout "splitscreen_default" I substituted it in only to find I couldn't use anything other than my analog sticks. Now I'm not sure if this is a step backwards because I know the earlier forms of the UFO hack required the controller to be turned off in order to access the options menu which is precisely what you need to do if your running "splitscreen_default". But, the interesting thing is that whenever you come across a gun or a window which you could normally press "X" to jump out of, the game now say press "unbound". I know that the initial response is that binds were patched in the 1.3 update, but maybe there's a workaround by finding someway to change what functions each stick layout includes.

Hopefully this thread can be used as a discussion to shed light on how the code works and how it could be improved (like shooting WHILST IN UFO mode)

I know I've asked a lot here, but any help would be greatly appreciated! Smile
(adsbygoogle = window.adsbygoogle || []).push({});
08-01-2009, 07:22 PM #2
Dopey
NGU :/
wow ive never been so confused in my life. seriously man copy and paste
08-01-2009, 07:50 PM #3
shaun92
Bounty hunter
Sorry, what do you mean? :S
08-01-2009, 09:21 PM #4
sikhbeatz
Bounty hunter
i know what your tryin to say..
Safeitsme and I put together the shooting part of the UFO hack....
basically what default_mp does is it is a command that binds all the buttons back to normal when UFO mode is off. default_mp stands default multiplayer. This is what allows you to shoot when UFO mode is off.
Really who cares though because Infinity Ward is Patching this up as we speak...
SAY GOODBYE TO UFO....
08-01-2009, 09:28 PM #5
shaun92
Bounty hunter
Right, that clears a lot up, thanks man Smile
To be honest I'd actually be glad to see the back of the UFO hack. Its fairly pointless and just damn annoying :P

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo