Jump to content
    1. Welcome to GTAForums!

    1. GTANet.com

    1. GTA Online

      1. Los Santos Drug Wars
      2. Updates
      3. Find Lobbies & Players
      4. Guides & Strategies
      5. Vehicles
      6. Content Creator
      7. Help & Support
    2. Red Dead Online

      1. Blood Money
      2. Frontier Pursuits
      3. Find Lobbies & Outlaws
      4. Help & Support
    3. Crews

    1. Grand Theft Auto Series

      1. Bugs*
      2. St. Andrews Cathedral
    2. GTA VI

    3. GTA V

      1. Guides & Strategies
      2. Help & Support
    4. GTA IV

      1. The Lost and Damned
      2. The Ballad of Gay Tony
      3. Guides & Strategies
      4. Help & Support
    5. GTA San Andreas

      1. Classic GTA SA
      2. Guides & Strategies
      3. Help & Support
    6. GTA Vice City

      1. Classic GTA VC
      2. Guides & Strategies
      3. Help & Support
    7. GTA III

      1. Classic GTA III
      2. Guides & Strategies
      3. Help & Support
    8. Portable Games

      1. GTA Chinatown Wars
      2. GTA Vice City Stories
      3. GTA Liberty City Stories
    9. Top-Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    1. Red Dead Redemption 2

      1. PC
      2. Help & Support
    2. Red Dead Redemption

    1. GTA Mods

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Red Dead Mods

      1. Documentation
    3. Mod Showroom

      1. Scripts & Plugins
      2. Maps
      3. Total Conversions
      4. Vehicles
      5. Textures
      6. Characters
      7. Tools
      8. Other
      9. Workshop
    4. Featured Mods

      1. Design Your Own Mission
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Rockstar Games

    2. Rockstar Collectors

    1. Off-Topic

      1. General Chat
      2. Gaming
      3. Technology
      4. Movies & TV
      5. Music
      6. Sports
      7. Vehicles
    2. Expression

      1. Graphics / Visual Arts
      2. GFX Requests & Tutorials
      3. Writers' Discussion
      4. Debates & Discussion
    1. Announcements

    2. Support

    3. Suggestions

Simple Bullet time!Just press look behind!


sueey
 Share

Recommended Posts

 

004F: create_thread ££Slow

 

 

 

:slow0001: wait  50 ms00D6: if 000E1:   key_pressed  0  19004D: jump_if_false ££slow:slow1015D: set_gamespeed  .30002: jump ££slow 

 

 

Press 'look behind',then time is being slow!

make another thread to set gamespeed normal! catloaf_by_anuj.gif

Link to comment
Share on other sites

There's no if player defined. There's no provision for exiting. And look behind is already a command, which is why key combos are better. For that matter, even Neo v1 was better. You can't create a thread about a single opcode as if it's some discovery or release sly.gif
Link to comment
Share on other sites

Thats the difference between mission script and normal threads:

In normal threads, the LOOP have to beginn with a wait and the If player defined check.

And don´t forget the named_thread line.

After a keypress it´s helpful to set a long wait. Otherwise the keypress will activate to fast again and again the action.

 

004F: create_thread ££Slow

 

2 loops:

 

:slow03A4: name_thread 'SLW':slow00001: wait  0 ms00D6: if  00256:   player $PLAYER_CHAR defined004D: jump_if_false ££slow000D6: if 000E1:   key_pressed  0  19004D: jump_if_false ££slow0015D: set_gamespeed  .30001: wait  1000 ms:slow10001: wait  0 ms00D6: if  00256:   player $PLAYER_CHAR defined004D: jump_if_false ££slow100D6: if 000E1:   key_pressed  0  19004D: jump_if_false ££slow1015D: set_gamespeed  1.00001: wait  1000 ms0002: jump ££slow0

 

Other variation:

1 loop:

 

:slow03A4: name_thread 'SLW'0004: $sw1 =  0 ;; integer values:slow00001: wait  0 ms00D6: if  00256:   player $PLAYER_CHAR defined004D: jump_if_false ££slow000D6: if 000E1:   key_pressed  0  19004D: jump_if_false ££slow000D6: if  00038:   $sw1 ==  0 ;; integer values004D: jump_if_false ££slow1015D: set_gamespeed  .30004: $sw1 =  1 ;; integer values0001: wait  1000 ms0002: jump ££slow0:slow100D6: if  00038:   $sw1 ==  1 ;; integer values004D: jump_if_false ££slow0015D: set_gamespeed  1.00004: $sw1 =  0 ;; integer values0001: wait  1000 ms0002: jump ££slow0

 

 

Link to comment
Share on other sites

Rather than a wait 1000, you could gosub to a button release sniff loop for the best accuracy.

 

Those familiar with Neo v1 (or later) can tell you multiple reasons why using adrenaline over set game speed is superior. I think starting in v3, you were even given the ability to pull yourself out of it thanks to an unexpected side effect I discovered.

 

Still doesn't change the fact that a thread should not be made about a single opcode, especially when it is made incorrectly.

Link to comment
Share on other sites

 

an unexpected side effect I discovered.

 

 

I didn´t post the script to give sueey a slowmotion mod.

I posted the script to show him the basic script structure of threads.

 

Which side effect do you mean ?

I noticed that CJ won´t walk during aiming while gamespeed 0.3

Link to comment
Share on other sites

I wasn't talking about gamespeed. I was talking about using Adrenaline for TRUE bullet time. Freezing player and immediately unfreezing him will release the hardcoded Adrenaline effects without any conspicuous effect to the player.
Link to comment
Share on other sites

 

I wasn't talking about gamespeed. I was talking about using Adrenaline for TRUE bullet time. Freezing player and immediately unfreezing him will release the hardcoded Adrenaline effects without any conspicuous effect to the player.

 

I know~~~For 1 thing,I just test~~~ tounge2.gifph34r.gif

Link to comment
Share on other sites

 

I wasn't talking about gamespeed. I was talking about using Adrenaline for TRUE bullet time. Freezing player and immediately unfreezing him will release the hardcoded Adrenaline effects without any conspicuous effect to the player.

Interesting. Didn´t know that. Have to test it by occasion.

 

Edited by ZAZ
Link to comment
Share on other sites

 

I wasn't talking about gamespeed. I was talking about using Adrenaline for TRUE bullet time. Freezing player and immediately unfreezing him will release the hardcoded Adrenaline effects without any conspicuous effect to the player.

COOL ! cookie.gif

 

But whats key_pressed 0 0 ?

 

By the way, I don´t like key combos, because it makes the gameplay more complicate.

 

For the next I´ll make a slowmotion script, but in car in assaciation to "Speed Breaker" of NFSU Most Wanted

This feature seems to be popular by the kids.

So it must be possible to press just one key in a easy way.

Edited by ZAZ
Link to comment
Share on other sites

I made a topic on detecting keypresses in SA, but my attempts to port CyQs methods used in it to SA haven't been succsesful.
Link to comment
Share on other sites

I use key combos because individual keypresses already have functions.

Which is why my thing is uesful as it can use keys not normally used in the game, which don't already have functions.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • 1 User Currently Viewing
    0 members, 0 Anonymous, 1 Guest

×
×
  • Create New...

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.