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

Happy Holidays from the GTANet team!

Help with a script


Th3MaN1
 Share

Recommended Posts

Can I edit something in this script so when I aim it rotates the camera to the left?If yes,where do I write the opcode?

 

 

// This file was decompiled using sascm.ini published by Seemann (http://sannybuilder.com/files/SASCM.rar) on 13.10.2007{$VERSION 3.1.0027}{$CLEO .cs}//-------------MAIN---------------0662: NOP "GOGGLES" :NONAME_11wait 0 if 0AB0:   key_pressed 17 else_jump @NONAME_62 Camera.SetPosition(664.9277, -479.6112, 16.1668, 400.0, 200.0, 0.0):NONAME_62if   Player.Defined($PLAYER_CHAR)else_jump @NONAME_11 if   Actor.Defined($PLAYER_ACTOR)else_jump @NONAME_11 if   not Actor.Dead($PLAYER_ACTOR)else_jump @NONAME_11 if   not Actor.Driving($PLAYER_ACTOR)else_jump @NONAME_11 if or02D8:   actor $PLAYER_ACTOR current_weapon == 22 02D8:   actor $PLAYER_ACTOR current_weapon == 23 02D8:   actor $PLAYER_ACTOR current_weapon == 24 02D8:   actor $PLAYER_ACTOR current_weapon == 25 02D8:   actor $PLAYER_ACTOR current_weapon == 26 02D8:   actor $PLAYER_ACTOR current_weapon == 27 02D8:   actor $PLAYER_ACTOR current_weapon == 28 02D8:   actor $PLAYER_ACTOR current_weapon == 29 else_jump @NONAME_217 if 00E1:   player 0 pressed_key 6 else_jump @NONAME_11 jump @NONAME_305 :NONAME_217wait 0 if or02D8:   actor $PLAYER_ACTOR current_weapon == 30 02D8:   actor $PLAYER_ACTOR current_weapon == 31 02D8:   actor $PLAYER_ACTOR current_weapon == 32 02D8:   actor $PLAYER_ACTOR current_weapon == 33 02D8:   actor $PLAYER_ACTOR current_weapon == 37 02D8:   actor $PLAYER_ACTOR current_weapon == 38 02D8:   actor $PLAYER_ACTOR current_weapon == 41 02D8:   actor $PLAYER_ACTOR current_weapon == 42 else_jump @NONAME_11 if 00E1:   player 0 pressed_key 6 else_jump @NONAME_11 :NONAME_305wait 0 if 00E1:   player 0 pressed_key 6 else_jump @NONAME_414 if   not Actor.Dead($PLAYER_ACTOR)else_jump @NONAME_11 if   not Actor.Driving($PLAYER_ACTOR)else_jump @NONAME_11 0A8D: [email protected] = read_memory 12006407 size 1 virtual_protect 0 if  [email protected] == 0 else_jump @NONAME_454 0922: set_camera_zoom_in_factor 20.0 out_factor 20.0 timelimit 1000 mode 1 jump @NONAME_305 :NONAME_414wait 0 0922: set_camera_zoom_in_factor 20.0 out_factor 70.0 timelimit 1000 mode 1 [email protected] = -1 wait 700 jump @NONAME_11 :NONAME_454wait 0 0922: set_camera_zoom_in_factor 20.0 out_factor 10.0 timelimit 300 mode 1 wait 250 :NONAME_480wait 0 if 00E1:   player 0 pressed_key 6 else_jump @NONAME_414 if   not Actor.Dead($PLAYER_ACTOR)else_jump @NONAME_11 if   not Actor.Driving($PLAYER_ACTOR)else_jump @NONAME_11 0A8D: [email protected] = read_memory 12006408 size 1 virtual_protect 0 if  [email protected] == 0 else_jump @NONAME_589 0922: set_camera_zoom_in_factor 10.0 out_factor 10.0 timelimit 1000 mode 1 jump @NONAME_480 :NONAME_589wait 0 0922: set_camera_zoom_in_factor 10.0 out_factor 20.0 timelimit 300 mode 1 wait 250 jump @NONAME_305 

 

Edited by Th3MaN1
Link to comment
Share on other sites

Come onnnn,no one?

Link to comment
Share on other sites

No.The script works perfectly,what it does is to zoom the camera in when I aim just like in Gta 4.But the problem is:It only zooms straight,something like this:

http://imageshack.us/photo/my-images/225/g...2717143360.png/

It's ok,but I want it to be something like this:

http://playstationlifestyle.net/wp-content...aiv-screen4.jpg

In short,all I want is an opcode for the script so the camera rotates to the left.Not much,only a little.And I would like to know WHERE to write the opcode.

Edited by Th3MaN1
Link to comment
Share on other sites

Kweckzilber

I don't think there is a documented opcode for rotating a zoomed camera sideways. Not in the specific way you need, anyway. Did you try 015F &/ 0160 relative to the player?

Link to comment
Share on other sites

fireguy109

You could use sine/cosine to move the camera one unit to the right of the guy and point it where he's aiming. whatsthat.gif

pkmTc.gif

Link to comment
Share on other sites

The script has been not done by me,I just got permission to modify it,so please don't think I know how to make a script.

 

EDIT:Ok I got this

0172: [email protected] = actor $PLAYER_ACTOR Z_angle

02F6: [email protected] = sine [email protected]

02F7: [email protected] = cosine [email protected]

 

Now I have two questions,then maybe I can get what I want.

1)Do the values [email protected] change the angles?

2)Where do I write this opcode in the script?Anywhere?

Edited by Th3MaN1
Link to comment
Share on other sites

  • 2 weeks later...

Lock this.Looks like neither do people want to help or they don't know the solution.

P.S:I know I double-posted,I did it so it will be on the top of the forum.

Link to comment
Share on other sites

aStiffSausage
Lock this.Looks like neither do people want to help or they don't know the solution.

P.S:I know I double-posted,I did it so it will be on the top of the forum.

You could have just reported the post instead of doing one week bump on it sigh.gif

Link to comment
Share on other sites

Actually Adler pm'ed me and he said that it's no problem if I do a 1 week bump on it.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 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.