What's new

Discussion Possible new find.

  • Thread starter BaBaBaseline
  • Start date
  • Views 406
B

BaBaBaseline

Enthusiast
Messages
156
Reaction score
25
Points
85
Sin$
0
Well I have no idea if this works and can't test it but if someone has tryed it before please state weather or not it worked. Anyways I was scrolling through the createfx.gsc when I noticed this
Code:
set_anglemod_move_vector()
{
rate = 2;

if (buttonDown("kp_uparrow", "DPAD_UP"))
{
if (level.selectedRotate_pitch < 0)
level.selectedRotate_pitch = 0;

level.selectedRotate_pitch = level.selectedRotate_pitch + rate;
}
else
if (buttonDown("kp_downarrow", "DPAD_DOWN"))
{
if (level.selectedRotate_pitch > 0)
level.selectedRotate_pitch = 0;
level.selectedRotate_pitch = level.selectedRotate_pitch - rate;
}
else
level.selectedRotate_pitch = 0;

if (buttonDown("kp_leftarrow", "DPAD_LEFT"))
{
if (level.selectedRotate_yaw < 0)
level.selectedRotate_yaw = 0;

level.selectedRotate_yaw = level.selectedRotate_yaw + rate;
}
else
if (buttonDown("kp_rightarrow", "DPAD_RIGHT"))
{
if (level.selectedRotate_yaw > 0)
level.selectedRotate_yaw = 0;
level.selectedRotate_yaw = level.selectedRotate_yaw - rate;
}
else
level.selectedRotate_yaw = 0;

if (buttonDown("BUTTON_Y"))
{
if (level.selectedRotate_roll < 0)
level.selectedRotate_roll = 0;

level.selectedRotate_roll = level.selectedRotate_roll + rate;
}
else
if (buttonDown("BUTTON_B"))
{
if (level.selectedRotate_roll > 0)
level.selectedRotate_roll = 0;
level.selectedRotate_roll = level.selectedRotate_roll - rate;
}
else
level.selectedRotate_roll = 0;

}
Now most of that is useless it's just there for Trayarch when there making fx but what got my attention was
Code:
if (buttonDown("kp_uparrow", "DPAD_UP"))

if (buttonDown("kp_downarrow", "DPAD_DOWN"))

if (buttonDown("kp_leftarrow", "DPAD_LEFT"))

if (buttonDown("kp_rightarrow", "DPAD_RIGHT"))

if (buttonDown("BUTTON_Y"))

if (buttonDown("BUTTON_B"))

}
Like I said probably won;'t work but it's woth a shot.
 
P

oO Di2eamZz

Enthusiast
Messages
1,364
Reaction score
245
Points
165
Sin$
0
Im pretty sure this was a type of notify on command type of thing, the strings to which they operate have been removed in the extract... I doubt this will work, but nice find
 
B

BaBaBaseline

Enthusiast
Messages
156
Reaction score
25
Points
85
Sin$
0
Im pretty sure this was a type of notify on command type of thing, the strings to which they operate have been removed in the extract... I doubt this will work, but nice find
Thanks, like I said it probably won't work but anythings worth a try once.
 
B

BaBaBaseline

Enthusiast
Messages
156
Reaction score
25
Points
85
Sin$
0
Bump - I would really appreciate if someone with a jtag could test this, I'm asking for someone with a jtag because I'm not confident enough about this working to ask someone to waste a disk.
 
Top Bottom
Login
Register