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

Help me with modding of GTASA


kakaroto262
 Share

Recommended Posts

kakaroto262

Anyone know how to mod this one? or just give me a link that has this code inserted

 

Mod was not created by me it was converted by spaceenstein and the original coder is Demarest

------------------------

 

CONVERTED FOR SAN ANDREAS!

 

Created by Demarest for Vice City. Cropped for my Vice City All In One Mod. Converted to San Andreas by spaceeinstein.

 

This is a script mod that lets you be in bullet time (adrenaline mode). Press AIM + H to activate it. It'll lasts for 20 in-game seconds. The game will become very slow and your punch will be more powerful due to this drug. Press SPRINT to end bullet time.

 

First add this to the define objects area

CODE

DEFINE OBJECT ADRENALINE

 

Remember to increase the number of defined objects by one.

 

CODE

004F: create_thread ££LabelNEO

 

------------

 

:LabelNEO

03A4: name_thread 'NEOTIME'

0004: $NEOTIMER = 0

 

:LabelNEOLOOPSTART

0001: wait 20 ms

00D6: if 0

0256: player $PLAYER_CHAR defined

004D: jump_if_false ££LabelNEOLOOPSTART2

00D6: if 0

8449: NOT actor $PLAYER_ACTOR in_a_car

004D: jump_if_false ££LabelNEOLOOPSTART2

00D6: if 0

00DF: actor $PLAYER_ACTOR driving

004D: jump_if_false ££LabelISONFOOT

 

:LabelNEOLOOPSTART2

0050: gosub ££LabelKILLNEOTIMER

0002: jump ££LabelNEOLOOPSTART

 

:LabelISONFOOT

00D6: if 1

00E1: key_pressed 0 6

00E1: key_pressed 0 9

004D: jump_if_false ££LabelNEORAGE

0050: gosub ££LabelNEOADRENALINE

0002: jump ££LabelNEOLOOPSTART

 

:LabelNEORAGE

00D6: if 2

00E1: key_pressed 0 16

80E1: NOT key_pressed 0 0

80E1: NOT key_pressed 0 1

004D: jump_if_false ££LabelNEOLOOPSTART

01B4: set_player $PLAYER_CHAR frozen_state 0

0050: gosub ££LabelKILLNEOTIMER

01B4: set_player $PLAYER_CHAR frozen_state 1

0002: jump ££LabelNEOLOOPSTART

 

:LabelNEOADRENALINE

00A0: store_actor $PLAYER_ACTOR position_to @0 @1 @2

0213: @15 = create_pickup #ADRENALINE type 15 at @0 @1 @2

0363: toggle_model_render_at @0 @1 @2 radius 50.0 object #ADRENALINE 0

0006: @33 = 0

 

:LabelNEOADRENALOOP

0001: wait 20 ms

00D6: if 0

001B: 201 > @33

004D: jump_if_false ££LabelNEOMISSED

00D6: if 0

0214: pickup @15 picked_up

004D: jump_if_false ££LabelNEOADRENALOOP

0004: $NEOTIMER = 20000

014E: set_timer_to $NEOTIMER type 1

 

:LabelNEOMISSED

0215: destroy_pickup @15

0051: return

 

:LabelKILLNEOTIMER

00D6: if 0

0018: $NEOTIMER > 0

004D: jump_if_false ££LabelKILLNEOTIMEREND

014F: stop_timer $NEOTIMER

0004: $NEOTIMER = 0

 

:LabelKILLNEOTIMEREND

0051: return

 

 

This post has been edited by spaceeinstein on Aug 8 2005, 14:45

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.