News: Welcome back to Bullworth! If you haven't already, you will need to reset your password..


Author Topic: SuperHero MOD  (Read 9099 times)

0 Members and 1 Guest are viewing this topic.

Offline DaBOSS54320

  • Hero Member
  • ****
  • Posts: 3,398
  • Gender: Female
    • View Profile
Re: SuperHero MOD
« Reply #15 on: October 12, 2013, 12:33:55 PM »
Disable gravity, change coordinates and rotation based on stick value and bam. Flying mod.

Offline c00ld0c26

  • The D0c
  • Can't Get Enough
  • *****
  • Posts: 5,137
  • Gender: Male
  • Just a dood doing dood things.
    • View Profile
    • My channel.
Re: SuperHero MOD
« Reply #16 on: October 12, 2013, 12:38:39 PM »
What do you mean by stick value? Like a xbox controller stick? Cuz u can use keyboard too ya know.

Offline WhenLifeGivesYouLemons

  • xfire: 1emonthatsme
  • Sr. Member
  • ***
  • Posts: 971
  • Gender: Male
  • 波動バースト
    • View Profile
Re: SuperHero MOD
« Reply #17 on: October 12, 2013, 12:46:27 PM »
What do you mean by stick value? Like a xbox controller stick? Cuz u can use keyboard too ya know.
ya but on keyboard you can't control how fast you move like from walk to jogging

Offline c00ld0c26

  • The D0c
  • Can't Get Enough
  • *****
  • Posts: 5,137
  • Gender: Male
  • Just a dood doing dood things.
    • View Profile
    • My channel.
Re: SuperHero MOD
« Reply #18 on: October 12, 2013, 12:47:55 PM »
What do you mean by stick value? Like a xbox controller stick? Cuz u can use keyboard too ya know.
ya but on keyboard you can't control how fast you move like from walk to jogging

Eh? So what? KEYBOARD RULES!  ;D

Offline DaBOSS54320

  • Hero Member
  • ****
  • Posts: 3,398
  • Gender: Female
    • View Profile
Re: SuperHero MOD
« Reply #19 on: October 12, 2013, 02:18:09 PM »
Keyboard sucks compared to usb controller. Stick value works for controls that can receive input that isnt a full 0 or 1 value. Ex: pressing r2 or rt button half way is a 0.5 value. Full press is 1. None is 0 of course. The function is GetStickValue. I never seen it used before so I may be founder.  It works like IsButtonPressed. Put the button/input number in first parameter then controler number in 2nd. 16 is horizontal   movement (left n right arrow keys or left analog stick) 1-15 are buttons used in IsButtonPressed. With 16 pressing right isnt going to be 1. Is actually 0.9. Also it returns inverted value then what you'd think. pressing left returns positive number and right a negative. use TextPrintString(GetStickValue(16,0),1,1) if u want to see. Typing this was super annoying on my fucking phone keyboard took about 10 mins btw. Will rewrite on computer later
« Last Edit: October 12, 2013, 02:19:50 PM by DaBOSS54320 »

Offline Rambo7

  • "Awesomely Kick-Ass Troll"
  • Full Member
  • ***
  • Posts: 404
  • Gender: Male
  • #ZAMBess
    • View Profile
    • My ModDB Page
Re: SuperHero MOD
« Reply #20 on: October 12, 2013, 11:26:15 PM »
^ Does this means, u can't fly with a keyboard?
and I think GTA SA flying mod work for keyboard

Offline DaBOSS54320

  • Hero Member
  • ****
  • Posts: 3,398
  • Gender: Female
    • View Profile
Re: SuperHero MOD
« Reply #21 on: October 13, 2013, 12:12:33 AM »
it means it will work on keyboard, but with a analog stick it'd allow more intricate movement.

Offline KsaxNop

  • Newbie
  • *
  • Posts: 0
    • View Profile
Re: SuperHero MOD
« Reply #22 on: October 18, 2013, 10:27:15 AM »
 8) 8) :( :blush: