| Change the parked cars location ? | |
|
|
|
Author | Message |
---|
RazvanWWA New Commer
Number of posts : 47 Age : 36 Warning : Points : Registration date : 2009-05-04
| Subject: Change the parked cars location ? Wed May 20, 2009 6:10 pm | |
| Hy there ! Just wondering if someone knows how to change or create a spot for parked cars ! I mean creating a new spot for a parked car and the car model (and that it spawns always there, like Sweet's or Ryder's cars )
It's there possible ? | |
|
| |
XSB Godfather
Number of posts : 1064 Age : 33 Location : Hungary Warning : Points : Registration date : 2008-01-14
| Subject: Re: Change the parked cars location ? Wed May 20, 2009 6:58 pm | |
| ya. Either by tweakin the main SCM, or creating a CLEO carspawner script. Browse around KCS, i'm sure someone wrote a tutorial on it. I used to know it,but know i dont remember.:S | |
|
| |
emontero Pro
Number of posts : 461 Age : 54 Location : San Jose Costa Rica Warning : Personalized field : Now that the base ain't getting pushed up in their faces...Maybe these fools should be up for some real bangin'! Points : Registration date : 2008-09-26
| Subject: Re: Change the parked cars location ? Wed May 20, 2009 8:48 pm | |
| yeah i am releasing a cleo that i call parkedcars... stay tuned for it comming soon dude One pic for you | |
|
| |
Kotton High Carbs
Number of posts : 318 Location : super-CALI-fragilisticexpialidocious Warning : Personalized field : SUSPECT ...EVERYTHING Points : Registration date : 2008-04-01
| Subject: Re: Change the parked cars location ? Wed May 20, 2009 9:08 pm | |
| what if he doesn't like your chosen areas mr emontero>?
why don't you teach him how to do it eh?
creating a parked car is some of the simplest code creating there is, so there's no need to bogart
on a side note.. why does every1 call it KCS? how is any1 gonna know wtf KCS is!? lol | |
|
| |
emontero Pro
Number of posts : 461 Age : 54 Location : San Jose Costa Rica Warning : Personalized field : Now that the base ain't getting pushed up in their faces...Maybe these fools should be up for some real bangin'! Points : Registration date : 2008-09-26
| Subject: Re: Change the parked cars location ? Wed May 20, 2009 9:12 pm | |
| my released works can be edited and i can share the cleo code too | |
|
| |
Kotton High Carbs
Number of posts : 318 Location : super-CALI-fragilisticexpialidocious Warning : Personalized field : SUSPECT ...EVERYTHING Points : Registration date : 2008-04-01
| Subject: Re: Change the parked cars location ? Wed May 20, 2009 9:20 pm | |
| yeah.. like you just did? xD j/k man LOL here, break this one down for him- just change the locations, how many and which ones you want to spawn - Code:
-
{$CLEO .cs}
//-------------MAIN--------------- thread 'CAR'
:CAR_1 wait 0 00D6: if Player.Defined($PLAYER_CHAR) 004D: jump_if_false @CAR_1 0A95: enable_thread_saving // CarPar Code Created By Kotton
:CAR_2 wait 1000 if 00FE: actor $PLAYER_ACTOR sphere 0 in_sphere 430.2396 2483.3582 16.4844 radius 200.0 200.0 200.0 004D: jump_if_false @CAR_6 0247: load_model 451 0247: load_model 587 0247: load_model 603 0247: load_model 415 0247: load_model 480 0247: load_model 602
:CAR_3 wait 0 if and 0248: model 451 available 0248: model 587 available 0248: model 603 available 0248: model 415 available 0248: model 480 available 0248: model 602 available 004D: jump_if_false @CAR_3 00A5: 1@ = create_car 451 at 430.2396 2483.3582 15.8717 00A5: 2@ = create_car 587 at 430.2396 2488.3582 15.8717 00A5: 3@ = create_car 603 at 430.2396 2493.3582 15.8717 00A5: 4@ = create_car 415 at 430.2396 2498.3582 15.8717 00A5: 5@ = create_car 480 at 430.2396 2503.3582 15.8717 00A5: 6@ = create_car 602 at 430.2396 2508.3582 15.8717 0175: set_car 1@ Z_angle_to 49.6087 0175: set_car 2@ Z_angle_to 49.6087 0175: set_car 3@ Z_angle_to 49.6087 0175: set_car 4@ Z_angle_to 49.6087 0175: set_car 5@ Z_angle_to 49.6087 0175: set_car 6@ Z_angle_to 49.6087 wait 0 0249: release_model 451 0249: release_model 587 0249: release_model 603 0249: release_model 415 0249: release_model 480 0249: release_model 602
:CAR_5 wait 0 if 80FE: not actor $PLAYER_ACTOR sphere 0 in_sphere 430.2396 2483.3582 16.4844 radius 220.0 220.0 220.0 004D: jump_if_false @CAR_5 01C3: remove_references_to_car 1@ // Like turning a car into any random car 01C3: remove_references_to_car 2@ // Like turning a car into any random car 01C3: remove_references_to_car 3@ // Like turning a car into any random car 01C3: remove_references_to_car 4@ // Like turning a car into any random car 01C3: remove_references_to_car 5@ // Like turning a car into any random car 01C3: remove_references_to_car 6@ // Like turning a car into any random car 0395: clear_area 1 at 430.2396 2493.3582 16.4844 radius 120.0
:CAR_6 wait 1000 if 00FE: actor $PLAYER_ACTOR sphere 0 in_sphere -1936.299 260.6052 41.0469 radius 100.0 100.0 100.0 004D: jump_if_false @CAR_10 0247: load_model 405 0247: load_model 507 0247: load_model 426 0247: load_model 551 0247: load_model 445 0247: load_model 550
:CAR_7 wait 0 if and 0248: model 405 available 0248: model 507 available 0248: model 426 available 0248: model 551 available 0248: model 445 available 0248: model 550 available 004D: jump_if_false @CAR_7 00A5: 1@ = create_car 405 at -1936.299 272.6052 41.0469 00A5: 2@ = create_car 507 at -1936.299 267.6052 41.0469 00A5: 3@ = create_car 426 at -1936.299 262.6052 41.0469 00A5: 4@ = create_car 551 at -1936.299 257.6052 41.0469 00A5: 5@ = create_car 445 at -1936.299 252.6052 41.0469 00A5: 6@ = create_car 550 at -1921.0465 247.6155 41.0469 0175: set_car 1@ Z_angle_to 242.9819 0175: set_car 2@ Z_angle_to 242.9819 0175: set_car 3@ Z_angle_to 242.9819 0175: set_car 4@ Z_angle_to 242.9819 0175: set_car 5@ Z_angle_to 242.9819 0175: set_car 6@ Z_angle_to 1.9059 wait 0 0249: release_model 405 0249: release_model 507 0249: release_model 426 0249: release_model 551 0249: release_model 445 0249: release_model 550
:CAR_9 wait 0 if 80FE: not actor $PLAYER_ACTOR sphere 0 in_sphere -1936.299 260.6052 41.0469 radius 120.0 120.0 120.0 004D: jump_if_false @CAR_9 01C3: remove_references_to_car 1@ // Like turning a car into any random car 01C3: remove_references_to_car 2@ // Like turning a car into any random car 01C3: remove_references_to_car 3@ // Like turning a car into any random car 01C3: remove_references_to_car 4@ // Like turning a car into any random car 01C3: remove_references_to_car 5@ // Like turning a car into any random car 01C3: remove_references_to_car 6@ // Like turning a car into any random car 0395: clear_area 1 at -1936.299 260.6052 41.0469 radius 90.0
:CAR_10 0001: wait 1000 ms 00D6: if 00FE: actor $PLAYER_ACTOR sphere 0 in_sphere 1919.535 962.4566 10.8127 radius 100.0 100.0 100.0 004D: jump_if_false @CAR_13 0247: load_model #ELEGY 0247: load_model #FORTUNE 0247: load_model #INFERNUS 0247: load_model #STAFFORD 0247: load_model #HUNTLEY
:CAR_11 0001: wait 0 ms 00D6: if and 0248: model #ELEGY available 0248: model #FORTUNE available 0248: model #INFERNUS available 0248: model #STAFFORD available 0248: model #HUNTLEY available 004D: jump_if_false @CAR_11 00A5: 1@ = create_car #ELEGY at 1920.083 952.3878 10.8127 00A5: 2@ = create_car #FORTUNE at 1920.441 957.3964 10.8127 00A5: 3@ = create_car #INFERNUS at 1919.535 962.4566 10.8127 00A5: 4@ = create_car #STAFFORD at 1914.443 962.8798 10.8127 00A5: 5@ = create_car #HUNTLEY at 1910.443 962.8798 10.8127 0175: set_car 1@ Z_angle_to 67.7812 0175: set_car 2@ Z_angle_to 89.7775 0175: set_car 3@ Z_angle_to 134.5845 0175: set_car 4@ Z_angle_to 163.5479 0175: set_car 5@ Z_angle_to 176.4045 0001: wait 0 ms 0249: release_model #ELEGY 0249: release_model #FORTUNE 0249: release_model #INFERNUS 0249: release_model #STAFFORD 0249: release_model #HUNTLEY
:CAR_12 0001: wait 0 ms 00D6: if 80FE: not actor $PLAYER_ACTOR sphere 0 in_sphere 1919.535 962.4566 10.8127 radius 120.0 120.0 120.0 004D: jump_if_false @CAR_12 01C3: remove_references_to_car 1@ // Like turning a car into any random car 01C3: remove_references_to_car 2@ // Like turning a car into any random car 01C3: remove_references_to_car 3@ // Like turning a car into any random car 01C3: remove_references_to_car 4@ // Like turning a car into any random car 01C3: remove_references_to_car 5@ // Like turning a car into any random car 0395: clear_area 1 at -1936.299 260.6052 41.0469 radius 90.0
:CAR_13 0002: jump @CAR_2 | |
|
| |
RazvanWWA New Commer
Number of posts : 47 Age : 36 Warning : Points : Registration date : 2009-05-04
| Subject: Re: Change the parked cars location ? Wed May 20, 2009 11:06 pm | |
| Kotton your right about KCS.....First I to thought I :huh: "I must bee the only stupid arownd here " ...because nobody explained to me what's KCS ! Thanks for your support ! | |
|
| |
RazvanWWA New Commer
Number of posts : 47 Age : 36 Warning : Points : Registration date : 2009-05-04
| Subject: Re: Change the parked cars location ? Wed May 20, 2009 11:12 pm | |
| I'm getting lost arownd those rows What and where exactly I must replace ? Can anybody do something else for me : I will put a san andreas map here and put the location 1,2,3,4,5, and the cars (elegy...bla bla bla ) that correspond ! What you say ? | |
|
| |
emontero Pro
Number of posts : 461 Age : 54 Location : San Jose Costa Rica Warning : Personalized field : Now that the base ain't getting pushed up in their faces...Maybe these fools should be up for some real bangin'! Points : Registration date : 2008-09-26
| Subject: Re: Change the parked cars location ? Wed May 20, 2009 11:24 pm | |
| First do you know what cleo is it? you have to have sanny builder 3 installed on your pc or make a search for it, download it and install it this going to create a folder calls "cleo" on your main GTA San Andreas directory folder fire up the sanny builder hit new copy the code that kotton wrote hit F7 save the file into the cleo folder now go and check the new spawned cars into the game or wait until i release my parked cars | |
|
| |
VladyF Administrator
Number of posts : 3414 Age : 30 Location : Romania Navodari Warning : Personalized field : Nope Points : Registration date : 2008-01-18
| Subject: Re: Change the parked cars location ? Wed May 20, 2009 11:30 pm | |
| look here: http://s1.zetaboards.com/Kottons_Chop_Shop/topic/1083916/1/#new if you can't see the page register and wait an admin to accept you account | |
|
| |
RazvanWWA New Commer
Number of posts : 47 Age : 36 Warning : Points : Registration date : 2009-05-04
| Subject: Re: Change the parked cars location ? Wed May 20, 2009 11:39 pm | |
| About KCS I am registred ...now What? | |
|
| |
VladyF Administrator
Number of posts : 3414 Age : 30 Location : Romania Navodari Warning : Personalized field : Nope Points : Registration date : 2008-01-18
| Subject: Re: Change the parked cars location ? Wed May 20, 2009 11:42 pm | |
| click on the link ( http://s1.zetaboards.com/Kottons_Chop_Shop/topic/1083916/1/#new ) it is a tutorial about creating cleo scripts | |
|
| |
Kotton High Carbs
Number of posts : 318 Location : super-CALI-fragilisticexpialidocious Warning : Personalized field : SUSPECT ...EVERYTHING Points : Registration date : 2008-04-01
| Subject: Re: Change the parked cars location ? Thu May 21, 2009 12:55 am | |
| if you give me the location and the car names, I'll hook you up right quick in the meantime, lets break down the first few simple labels: - Code:
-
:CAR_2 wait 1000 if 00FE: actor $PLAYER_ACTOR sphere 0 in_sphere 430.2396 2483.3582 16.4844 radius 200.0 200.0 200.0 004D: jump_if_false @CAR_6 this ^ is called a conditional check- it tells the game to check if the player (cj/you) is in the given coordinates (inside the invisible sphere we've created) and what to do if he is not - coordinates are X, Y and Z values - in this case, I've created a big sphere next to the verdant meadows hangar - if you are not inside of that sphere, it jumps to the next check (label 6) - Code:
-
0247: load_model 451 0247: load_model 587 0247: load_model 603 0247: load_model 415 0247: load_model 480 0247: load_model 602 this ^ and the next label are telling the game what to do if you are inside of the defined sphere - the 3 digit numbers after the load_model command represent vehicles (IDE #'s) - basically, the load_model check is preparing the model to be created - Code:
-
:CAR_3 wait 0 if and 0248: model 451 available 0248: model 587 available 0248: model 603 available 0248: model 415 available 0248: model 480 available 0248: model 602 available 004D: jump_if_false @CAR_3 00A5: 1@ = create_car 451 at 430.2396 2483.3582 15.8717 00A5: 2@ = create_car 587 at 430.2396 2488.3582 15.8717 00A5: 3@ = create_car 603 at 430.2396 2493.3582 15.8717 00A5: 4@ = create_car 415 at 430.2396 2498.3582 15.8717 00A5: 5@ = create_car 480 at 430.2396 2503.3582 15.8717 00A5: 6@ = create_car 602 at 430.2396 2508.3582 15.8717 0175: set_car 1@ Z_angle_to 49.6087 0175: set_car 2@ Z_angle_to 49.6087 0175: set_car 3@ Z_angle_to 49.6087 0175: set_car 4@ Z_angle_to 49.6087 0175: set_car 5@ Z_angle_to 49.6087 0175: set_car 6@ Z_angle_to 49.6087 wait 0 0249: release_model 451 0249: release_model 587 0249: release_model 603 0249: release_model 415 0249: release_model 480 0249: release_model 602 this ^ label and it's commands ask IF the model is loaded and available, to create the vehicle at the given coordinates (obviously, the coordinates must be inside of the previously created sphere), then it sets the desired rotation (set_car Z_angle) and releases it into the game hmm.. maybe I'll continue with this @the Shop, breakn it down further and releasing it as a modifiable script - ye, think I'll do that today sometime (after my nap LOL) | |
|
| |
RazvanWWA New Commer
Number of posts : 47 Age : 36 Warning : Points : Registration date : 2009-05-04
| Subject: Re: Change the parked cars location ? Thu May 21, 2009 1:20 am | |
| THANKS a lot Kotton ! Right now I have some problems with my 2th memory hard and there I had all my paintjobs ,all my projects ......so I can't get you the coordonates....let's just hope the hard is not deteriorated CUZ I will be verrrrrrryyy angry if that's the problem :idiot: !
When I resolve the problem I'll send you the coordonates and the cars !
Thanks 4 explaining me ! I start to learn something but without practices is nothing !
So thanks !
THANKS to VladyF, you Kotton ,Emontero ,XSB..all those who have time for nobs ! | |
|
| |
RazvanWWA New Commer
Number of posts : 47 Age : 36 Warning : Points : Registration date : 2009-05-04
| Subject: Re: Change the parked cars location ? Wed May 27, 2009 2:28 am | |
| Hy again ! My hard is working now ! So anybody who can make a script post back and I'll send you details (Coordonates & cars ) | |
|
| |
emontero Pro
Number of posts : 461 Age : 54 Location : San Jose Costa Rica Warning : Personalized field : Now that the base ain't getting pushed up in their faces...Maybe these fools should be up for some real bangin'! Points : Registration date : 2008-09-26
| Subject: Re: Change the parked cars location ? Wed May 27, 2009 2:45 am | |
| ok go ahead dude!! i help you | |
|
| |
RazvanWWA New Commer
Number of posts : 47 Age : 36 Warning : Points : Registration date : 2009-05-04
| Subject: Re: Change the parked cars location ? Wed May 27, 2009 5:30 am | |
| http://www.mediafire.com/?sharekey=e96035392382ac5cc2b435915e8821d7e04e75f6e8ebb871
Thanks a lot man ! | |
|
| |
RazvanWWA New Commer
Number of posts : 47 Age : 36 Warning : Points : Registration date : 2009-05-04
| Subject: Re: Change the parked cars location ? Thu May 28, 2009 4:47 am | |
| Anybody tried something ? | |
|
| |
emontero Pro
Number of posts : 461 Age : 54 Location : San Jose Costa Rica Warning : Personalized field : Now that the base ain't getting pushed up in their faces...Maybe these fools should be up for some real bangin'! Points : Registration date : 2008-09-26
| Subject: Re: Change the parked cars location ? Thu May 28, 2009 4:51 am | |
| tomorrow i will post your list friend | |
|
| |
RazvanWWA New Commer
Number of posts : 47 Age : 36 Warning : Points : Registration date : 2009-05-04
| Subject: Re: Change the parked cars location ? Thu May 28, 2009 5:36 am | |
| | |
|
| |
emontero Pro
Number of posts : 461 Age : 54 Location : San Jose Costa Rica Warning : Personalized field : Now that the base ain't getting pushed up in their faces...Maybe these fools should be up for some real bangin'! Points : Registration date : 2008-09-26
| Subject: Re: Change the parked cars location ? Thu May 28, 2009 9:39 pm | |
| here you go dude download
but they go with 0.0 angle you have to check them and if you want to edit their angles You have to open this file with Sanny Builder and change the angle as you like.
then hit save and F7 to save the file
btw if you see that those car are not in good angle do not save your game becuase when you save, the game keeps the original angle lol!!! so first check their angles | |
|
| |
RazvanWWA New Commer
Number of posts : 47 Age : 36 Warning : Points : Registration date : 2009-05-04
| Subject: Re: Change the parked cars location ? Fri May 29, 2009 2:47 am | |
| All right man
A lot of Thanks.....and when I say a lot I mean a LOOOOOOOOOOOOOTTTTTTTTTTTTTTTT !] | |
|
| |
Kotton High Carbs
Number of posts : 318 Location : super-CALI-fragilisticexpialidocious Warning : Personalized field : SUSPECT ...EVERYTHING Points : Registration date : 2008-04-01
| Subject: Re: Change the parked cars location ? Fri May 29, 2009 7:23 am | |
| all you need to do with a saved script is go outside the area in which the cars (or w/e) are created then come back and it'll be fixed - tho idk what kind of checks you're using | |
|
| |
emontero Pro
Number of posts : 461 Age : 54 Location : San Jose Costa Rica Warning : Personalized field : Now that the base ain't getting pushed up in their faces...Maybe these fools should be up for some real bangin'! Points : Registration date : 2008-09-26
| Subject: Re: Change the parked cars location ? Fri May 29, 2009 10:53 pm | |
| Kotton do you know if is possible parked them with mods and paintjobs? | |
|
| |
Kotton High Carbs
Number of posts : 318 Location : super-CALI-fragilisticexpialidocious Warning : Personalized field : SUSPECT ...EVERYTHING Points : Registration date : 2008-04-01
| Subject: Re: Change the parked cars location ? Sat May 30, 2009 4:11 am | |
| of course.. search the main, you'll find it (search "car_component" and "paintjob") | |
|
| |
RazvanWWA New Commer
Number of posts : 47 Age : 36 Warning : Points : Registration date : 2009-05-04
| Subject: Re: Change the parked cars location ? Sun May 31, 2009 11:24 pm | |
| IS POSSIBLE to park them with parts and paintjobs ??? WOOOWW Awesome ! but where i must add the specific line ?!??!? :huh:
EXEMPLE :
014B: $PARKED_GRGR3 = init_parked_car_generator #ELEGY color -1 -1 1 alarm 0 door_lock 0 0 10000 at 2748.316 -2447.768 13.24982 angle 0.0 014C: set_parked_car_generator $PARKED_GRGR3 cars_to_generate_to 101
Can anybody explain me by remodeling the upper exemple ?
THHHANNNNKSSS ! | |
|
| |
RazvanWWA New Commer
Number of posts : 47 Age : 36 Warning : Points : Registration date : 2009-05-04
| Subject: Re: Change the parked cars location ? Mon Jun 01, 2009 5:42 pm | |
| Nobody ? | |
|
| |
Kotton High Carbs
Number of posts : 318 Location : super-CALI-fragilisticexpialidocious Warning : Personalized field : SUSPECT ...EVERYTHING Points : Registration date : 2008-04-01
| Subject: Re: Change the parked cars location ? Mon Jun 01, 2009 6:06 pm | |
| well, I was mainly replying to emontero because he seems to have some scripting experience - at least enough experience to know now where the answer awaits him - the components can be a bit complex to even a novice, but the pj's are extremely simple- if you really want it, search the main and you'll find what you're looking for | |
|
| |
emontero Pro
Number of posts : 461 Age : 54 Location : San Jose Costa Rica Warning : Personalized field : Now that the base ain't getting pushed up in their faces...Maybe these fools should be up for some real bangin'! Points : Registration date : 2008-09-26
| Subject: Re: Change the parked cars location ? Mon Jun 01, 2009 9:13 pm | |
| @RazvanWWA not yet my friend we are wainting too this code we just can the change the color with these colored number that i show you
014B: $PARKED_GRGR3 = init_parked_car_generator #ELEGY color -1 -1 1 alarm 0 door_lock 0 0 10000 at 2748.316 -2447.768 13.24982 angle 0.0 014C: set_parked_car_generator $PARKED_GRGR3 cars_to_generate_to 101
use the carcol.dat as reference to change those numbers | |
|
| |
RazvanWWA New Commer
Number of posts : 47 Age : 36 Warning : Points : Registration date : 2009-05-04
| Subject: Re: Change the parked cars location ? Mon Jun 01, 2009 10:16 pm | |
| About the color i know....I just read upper and got me I cute Idea with the possible vinyls ! Thanks anyway ! | |
|
| |
Sponsored content
| Subject: Re: Change the parked cars location ? | |
| |
|
| |
| Change the parked cars location ? | |
|