stickemup Posted January 24, 2008 Share Posted January 24, 2008 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 More sharing options...
derty Posted January 24, 2008 Share Posted January 24, 2008 (edited) 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 ) "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 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. 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 January 24, 2008 by derty Link to comment Share on other sites More sharing options...
SteaVor Posted January 25, 2008 Share Posted January 25, 2008 The error message is totally accurate: just replace the instances of [email protected] with a lower value, e.g. [email protected] Should compile now. Link to comment Share on other sites More sharing options...
stickemup Posted January 26, 2008 Author Share Posted January 26, 2008 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 More sharing options...
stickemup Posted January 26, 2008 Author Share Posted January 26, 2008 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 More sharing options...
Supra4 Posted January 26, 2008 Share Posted January 26, 2008 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now