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

Get CJ High Mod, San Andreas, question


stickemup
 Share

Recommended Posts

yes.....

 

I know this mod is pretty old, it's for San Andreas and was made by rollajj (his name on here)

 

if you don't know, it enables you to smoke a blunt/drink some liquor and get drunk/stoned effects in your game, this happens by picking up alcohol bottles / joints (just like you pick up the floating wanted stars to reduce your wanted level)

 

thats all good and well now, but rollajj only placed these icons in the house next to the alley where the game starts, in Ryder's backyard and in the local Grove Street watering hole.

 

and I was wondering if there was an easy way to place these icons elsewhere too, so you don't have to go to Grove Street/Los Santos every time you want to get CJ high.

 

it's just for my personal use, don't worry. the mod consists only of a main.scm so it's one of those that doesn't work with savegames.

 

any replies are welcome.

Link to comment
Share on other sites

YES! this is most likely possible!

 

I have three and four scenarios that I could explain, all of which will require

a new game, and I would like to peek at it before I speak.

*This will Only be able to be done by altering the code.

 

I think the topic was called simply (and elegantly tounge.gif) "Get CJ High and Drunk Mod"

or something close, I'll look for it.

 

Edit: I googled his name... and when I did I got kind of bitter, stickemup...

 

Because the first result that was GTArelated that turned up was the post...

I was wrong, it is called "Get CJ High Mod, and make him smoke a blunt too!"

The one I named was by a "MrTi" fella.

 

HE would be the person to ask, and google/GTAF Search would have been

the place to ask. However, since I took it upon myself to point out how search

would have saved you the wait cause you could PM rollajj, I will also follow through

with my offer and help you to figure this out. If you decide to do it on your own

with whatever help I post back for you, cool. If you just PM rollajj about it

instead, cool too, but please let me know that's the plan to save me the effort wink.gif

 

Whatever you do, happy modding and tbyp

 

http://www.gtaforums.com/index.php?showtopic=201449&st=0

 

// ok, I'm trying.

when I decompile I get this when I search the coords found in his source code package

(mod is apparently now open source, greetz and cheers rollajj):

 

[email protected] = Pickup.Create(#KB_BEER, 3, 2251.814, -1255.919, 25.45161)[email protected] = Pickup.Create(#KB_BEER, 3, 2450.654, -1710.004, 13.56381)[email protected] = Pickup.Create(#KB_BEER, 3, 499.9867, -76.86562, 999.6047)[email protected] = Pickup.Create(#CJ_BEAR_BOTTLE, 3, 2254.729, -1254.212, 25.45676)[email protected] = Pickup.Create(#CJ_BEAR_BOTTLE, 3, 2450.213, -1716.74, 13.6833)[email protected] = Pickup.Create(#CJ_BEAR_BOTTLE, 3, 499.0795, -73.34201, 998.7578)

 

 

After that, I find next in the code, this:

 

 

:DRINK_204wait 500 if or  Pickup.Picked_up([email protected])  Pickup.Picked_up([email protected])  Pickup.Picked_up([email protected])else_jump @DRINK_276 Pickup.Destroy([email protected])Pickup.Destroy([email protected])Pickup.Destroy([email protected])&43837 = 2 fade 0 500 wait 1000 jump @DRINK_386 :DRINK_276if or  Pickup.Picked_up([email protected])  Pickup.Picked_up([email protected])  Pickup.Picked_up([email protected])else_jump @DRINK_704 Pickup.Destroy([email protected])Pickup.Destroy([email protected])Pickup.Destroy([email protected])&43837 = 1 fade 0 500 wait 1000 [email protected] = -389 [email protected] = 0 [email protected] = 0 Player.SetHandlingResponsiveness($PLAYER_CHAR, 1)Player.SetDrunkVisuals($PLAYER_CHAR, 0)015D: set_gamespeed 1.0 jump @DRINK_553 

 

 

There is A LOT more lines of code, ctrl+F is your friend, and so is rollajj for including his source!

 

Now, you go get Sanny Builder and install it, I did a minimum install, No cleo, etc

 

We're going to add our own pick up to a modded code and I am NO coder, believe me,

we could even break it, but someone will help us, just like I'm trying to help you. smile.gif

 

You also will need to get his source code too, gtagarage link in his post I linked.

 

There's no 9 or 10 in HIS code, so we'll add a bottle centre of GS Circle just to

test and see... Get these items, check back.

 

//bah, I give up

 

"Local variable 78 is out of range. In threads max variable is [email protected]"

 

I didn't touch that, but it's from his code. I can't code, I tried. SOmeone will help.

Edited by derty
Link to comment
Share on other sites

um... yes, thanks first of all for the reply.

 

I sent rollajj a PM but he hasn't posted on here in several months and I haven't gotten an answer as well.

 

and the whole coding thing.... seriously, it's like business russian for me..... I don't really understand anything you spoke of, I have absolutely no idea of modding beyond making new textures and importing new mods, so I would probably just screw it up.

 

from your reply it looks like it's rather complicated, at least to me, so unless I misunderstood I would just leave it like it is I guess....

Link to comment
Share on other sites

what I think I understood is, in the first code excerpt you posted it shows the pickup 'ID' first (what it is) and then the coordinates in San Andreas.

 

so if it is possible to edit this in a simple fashion, like basically cutting and pasting the ID part and adding new coordinates I would probably be able to find the coordinates I want the stuff to be in and you could write it up in the code so the game doesn't get messed up.... if it as easy as that

 

if its more complicated than that I'd leave it alone, I think.

Link to comment
Share on other sites

It's as easy as that. Just get the new coords and paste in the new line with those coords.

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.