Quantcast
Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
    1. Welcome to GTAForums!

    1. Red Dead Redemption 2

      1. PC
      2. Gameplay
      3. Missions
      4. Help & Support
    2. Red Dead Online

      1. Gameplay
      2. Find Lobbies & Outlaws
      3. Help & Support
      4. Frontier Pursuits
    1. Crews & Posses

      1. Recruitment
    2. Events

    1. GTA Online

      1. Diamond Casino & Resort
      2. DLC
      3. Find Lobbies & Players
      4. Guides & Strategies
      5. Vehicles
      6. Content Creator
      7. Help & Support
    2. Grand Theft Auto Series

    3. GTA 6

    4. GTA V

      1. PC
      2. Guides & Strategies
      3. Help & Support
    5. GTA IV

      1. Episodes from Liberty City
      2. Multiplayer
      3. Guides & Strategies
      4. Help & Support
      5. GTA IV Mods
    6. GTA Chinatown Wars

    7. GTA Vice City Stories

    8. GTA Liberty City Stories

    9. GTA San Andreas

      1. Guides & Strategies
      2. Help & Support
      3. GTA SA Mods
    10. GTA Vice City

      1. Guides & Strategies
      2. Help & Support
      3. GTA VC Mods
    11. GTA III

      1. Guides & Strategies
      2. Help & Support
      3. GTA III Mods
    12. Top Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    13. Wiki

      1. Merchandising
    1. GTA Modding

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Mod Showroom

      1. Scripts & Plugins
      2. Maps
      3. Total Conversions
      4. Vehicles
      5. Textures
      6. Characters
      7. Tools
      8. Other
      9. Workshop
    3. Featured Mods

      1. DYOM
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Red Dead Redemption

    2. Rockstar Games

    1. Off-Topic

      1. General Chat
      2. Gaming
      3. Technology
      4. Programming
      5. Movies & TV
      6. Music
      7. Sports
      8. Vehicles
    2. Expression

      1. Graphics / Visual Arts
      2. GFX Requests & Tutorials
      3. Writers' Discussion
      4. Debates & Discussion
    1. News

    2. Forum Support

    3. Site Suggestions

Please be aware that this is not a tutorial request forum! Use the appropriate topic for the effect.
TheHeggy

Adding Car Spawn Locations

Recommended Posts

coin-god

 

014B: $tower_hotdog = init_parked_car_generator 588 -1 -1 1 alarm 0 door_lock 0 0 10000 at 1555.183 -1352.873 329.4553 angle 90.0

 

Alarm 1 = alarm activated

door_lock 1 = doors locked

 

And colors are in carcolors.dat

Share this post


Link to post
Share on other sites
Ricky12
Im sorry if this is been posted but looking thru 8 pages of text all night is not something I was looking forward too but if anyone can help it would be nice.

 

When I try and open the Place Manager it says this everytime

 

Component 'GTA.ocx' or one of its dependencies not correctly registered: a file is missing or invalid

 

I installed it a couple times downloaded it from different places still get the same thing any help?

You dont really have to install the place manager, another way is to simply use a map program (like MEd) to find the right cordinates.

Thats what i did (Place manager didnt ork for me either....)

Share this post


Link to post
Share on other sites
BaCKiNBLaCK

Links are broken, can you please reupload? Thanks in advance

Share this post


Link to post
Share on other sites
BaCKiNBLaCK

links are broken for me.

Share this post


Link to post
Share on other sites
BaCKiNBLaCK

OMFG THE LINKS ARE BROKEN YOU LAZY F***

Share this post


Link to post
Share on other sites
xhunter

You can watch the cordinates in Med and you can watch the ID in GGMM.

I have 2 cars XD nice tutorial cookie.gifcookie.gifcookie.gif

Share this post


Link to post
Share on other sites
jake0207

everytime i try to download san andreas place manager off a site it downloads and when i click on it to run a

message pops up saying "Component 'GTA.ocx' or one of its dependencies not correctly registered: a file is missing or invalid"

what do i do?

 

 

Share this post


Link to post
Share on other sites
blackshadow610

i downloaded the place manager and it tells me "component 'GTA.ocx' or one of its dependencies not correctly registered: a file is missing or invalid".

whats the problem?

Share this post


Link to post
Share on other sites
d0mm2k8

Sanny builder comes with its own coords manager.

Just press ctrl+ alt + 1 and it tells you where you are in game.

Share this post


Link to post
Share on other sites
cometsrock

I'm new to this, sooo...I need help

My codes:

 

014B: $10949 = init_parked_car_generator #ANDROM color -1 -1  1 alarm  0 door_lock  0  0  10000 at -1136.663 -210.4238  14.04271 angle  120.0 014C: set_parked_car_generator $10949 cars_to_generate_to  101 014B: $10950.25 = init_parked_car_generator  612 color -1 -1  1 alarm  0 door_lock  0  0  10000 at  2019.212 -2444.205  14.00634 angle  180.0 014C: set_parked_car_generator $10950.25 cars_to_generate_to  101 014B: $10948 = init_parked_car_generator #TROPIC color -1 -1  1 alarm  0 door_lock  0  0  10000 at  754.5152 -2709.763 -3.6576 angle  90.0 014C: set_parked_car_generator $10948 cars_to_generate_to  101 

 

 

My ANDROM code works, but the other 2... when I get within view of them, they spawn then vanish! notify.gifnotify.gif

is there something worng with my code or do you people thing its something else?

Share this post


Link to post
Share on other sites
Georgegtasa

I have a problem.I can't open sa place manager because it says Component 'GTA.ocx' or one of its dependencies not correctly registered: a file is missing or invalid what do i have to do?Also i have been searching for this because i have made a i mod for the abandoned airfield to make it look like a modern secret airbase.Do i have a problem because of the mod?Is there any way i can fix this problem so i can do what you say?Thank you happy.gif

Share this post


Link to post
Share on other sites
Georgegtasa

Can somebody help me please i dont know what to do. When i try to open place manager it says that component GTA.ocx or one of its dependencies not correctly registered:a file is missing or invalid.What can i do for this?Also i have putted a mod for the airfield which makes it a secret airfield(Actually i made it)Does this makes the problem?Thank you

Share this post


Link to post
Share on other sites
cometsrock

again, i could use some help...

 

My codes:

 

014B: $10949 = init_parked_car_generator #ANDROM color -1 -1  1 alarm  0 door_lock  0  0  10000 at -1136.663 -210.4238  14.04271 angle  120.0 014C: set_parked_car_generator $10949 cars_to_generate_to  101 014B: $10950.25 = init_parked_car_generator  612 color -1 -1  1 alarm  0 door_lock  0  0  10000 at  2019.212 -2444.205  14.00634 angle  180.0 014C: set_parked_car_generator $10950.25 cars_to_generate_to  101 014B: $10948 = init_parked_car_generator #TROPIC color -1 -1  1 alarm  0 door_lock  0  0  10000 at  754.5152 -2709.763 -3.6576 angle  90.0 014C: set_parked_car_generator $10948 cars_to_generate_to  101 

 

 

My ANDROM code works, but the other 2... when I get within view of them, they spawn then vanish! suicidal.gifnotify.gifsuicidal.gif

is there something worng with my code or do you people think its something else?

plz respond cryani.gif

Share this post


Link to post
Share on other sites
ZAZ

 

again, i could use some help...

 

My codes:

 

014B: $10949 = init_parked_car_generator #ANDROM color -1 -1  1 alarm  0 door_lock  0  0  10000 at -1136.663 -210.4238  14.04271 angle  120.0 014C: set_parked_car_generator $10949 cars_to_generate_to  101 014B: $10950.25 = init_parked_car_generator  612 color -1 -1  1 alarm  0 door_lock  0  0  10000 at  2019.212 -2444.205  14.00634 angle  180.0 014C: set_parked_car_generator $10950.25 cars_to_generate_to  101 014B: $10948 = init_parked_car_generator #TROPIC color -1 -1  1 alarm  0 door_lock  0  0  10000 at  754.5152 -2709.763 -3.6576 angle  90.0 014C: set_parked_car_generator $10948 cars_to_generate_to  101 

 

 

My ANDROM code works, but the other 2... when I get within view of them, they spawn then vanish!  suicidal.gif  notify.gif   suicidal.gif

is there something worng with my code or do you people think its something else?

plz respond cryani.gif

 

this is not good

 

$10950.25

 

and this is wrong because vehicle ID 612 don't exist

try this

 

$10950

 

and this

 

602

 

 

014B: $10950 = init_parked_car_generator  602 color -1 -1  1 alarm  0 door_lock  0  0  10000 at  2019.212 -2444.205  14.00634 angle  180.0

 

but this tutorial is not up to date

Last post of TheHeggy was on Jul 4 2005

 

If you're new you should learn to work with Sannybuilder

Syntax is a bit other than Missionbuilder

get sannybuilder here: sannybuilder

 

read informations and tutorials:

SCM Coding FAQ

Coding Bible Part I and Part II

CLEO Script Tutorial

Mission Coding for Dummies

 

If you have questions, post in mission coding forum

 

 

Edited by ZAZ

Share this post


Link to post
Share on other sites
at72

@cometsrock & ZAZ: ID 612 most probably is an added car. It should work. IDs 400 to 614 can be spawned with parked_car_generator, for others

you need the kind of script I use (at least this is what I experienced). I think cometsrock has a problem with his handling-files. Cars that appear and then suddenly vanish if you get close to them mostly have a corrupted handling. Check the lines you added!

 

 

I'm facing a strange problem. This is a script for spawning a car:

 

thread "PCAR"

 

:PCAR_12

wait 0

if and

Player.Defined($PLAYER_CHAR)

00FE: actor $PLAYER_ACTOR sphere 0 in_sphere -2042.082 780.779 60.24 radius 280.0 280.0 280.0

else_jump @PCAR_12

0395: clear_area 5 at -2042.082 780.779 60.24 radius 15.0

Model.Load(#ADD004)

038B: load_requested_models

 

:PCAR_120

wait 0

if

Model.Available(#ADD004)

else_jump @PCAR_120

[email protected] = Car.Create(#ADD004, -2042.082, 780.779, 60.242)

Car.Angle([email protected]) = 180.337

0229: set_car [email protected] primary_color_to 174 secondary_color_to 32

Model.Destroy(#ADD004)

 

:PCAR_402

wait 0

if and

Player.Defined($PLAYER_CHAR)

80FE: not actor $PLAYER_ACTOR sphere 0 in_sphere -2042.082 780.779 60.24 radius 5900.0 5900.0 1000.0

else_jump @PCAR_402

Car.RemoveReferences([email protected])

wait 1000

jump @PCAR_12

 

If I load a saved game, the car is at its location. If I start a new game, it is about 40 units off on one axis and heading to another direction. Why? I use the same script on 4 other cars, but they all spawn correctly in both cases. What could cause this bug?

 

Cheers,

Andrej

 

Edit: solved! I set the z-coordinate 0.5 units down and it works! Wtf? There was no hill the car could roll down ...

Edited by at72

Share this post


Link to post
Share on other sites
CJohnson second

i did everything like u said, here is the code:

 

014B: $PARKED_BULLET = init_parked_car_generator 541 1-1 1 alarm 0 door_lock 0 0 10000 at 2207,88 1292,6 10,82031 angle 0.0

014C: set_parked_car_generator $PARKED_BULLET cars_to_generate_to 101

and when i hit compile i keep getting the message:

 

014B: $PARKED_BULLET = init_parked_car_generator 541 1-1 1 alarm 0 door_lock 0 0 10000 at 2207,88 1292,6 10,82031 angle 0.0

Parameter 1 not set

what am i doing wrong?

does it not work if u have mods installed?

Share this post


Link to post
Share on other sites
rodney117

hey man this dont work with already modded main.scm

an if it does work u gotta start a new game it dont work with save games sad.gif

Share this post


Link to post
Share on other sites
CJohnson second

thanks man, the next time i re-install gta sa i'll try

Share this post


Link to post
Share on other sites
kingfofo666

Hello,

 

I have a problem with the PlaceManager, eventhough it says "SA Status: Found" when i go to any place ingame, then alt+tab out of the game, click add place and then insert current position the x,y,z remain all 0.

I have SA Version 1.01, ive tried with a modded version of the game aswell as with an unmodded version.

 

Please help and thanks for any helpful reply.

 

Kingfofo

Share this post


Link to post
Share on other sites
rodney117

well dude some versions of the place manager does that an some works fine

so try downloading a different one use http://www.gtainside.com/en/news.php look through tools u should find a working one there enjoy

Share this post


Link to post
Share on other sites
teresap989
Having a problem when adding more than 2 car spawns:

 

"Memory beyond the defined range has been accessed. Use

 

DEFINE MEMORY 43805

 

or higher to allocate enough memory. Then recompile." cry.gif

 

here is the code so far:

014B: $car1 = init_parked_car_generator 542 -1 -1 1 alarm 0 door_lock 0 0 10000 at 2490.912 -1682.663 12.9954 angle -90.0

014C: set_parked_car_generator $car1 cars_to_generate_to 101

014B: $car2 = init_parked_car_generator 418 -1 -1 1 alarm 0 door_lock 0 0 10000 at 2284.25 -1676.621 14.64518 angle 0.0

014C: set_parked_car_generator $car2 cars_to_generate_to 101

014B: $car3 = init_parked_car_generator 422 -1 -1 1 alarm 0 door_lock 0 0 10000 at 2290.221 -1676.236 14.42062 angle 0.0

014C: set_parked_car_generator $car3 cars_to_generate_to 101

 

Do I need to increase the defined memory... I wouldn't think so, if that's even possible... Nothing is still running in the background. Works fine with 2 car spawns, when I add the third I get that error when I try to compile. Am I missing something here? Please let me know if you have any ideas. dontgetit.gif

 

 

Edit: Well, I got it working... I compiled with 2, exited re-opened added the new one above the first and re-compiled and it worked. Not sure why it was said that it had to be an unedited SCM, seems to me (at least in my case) it had to be one that was already edited by me. tounge2.gif Strange... But cool. Thank you very much for the tutorial Heggy!

Thank you so much for the post. It's really informative!

 

 

 

 

__________________

watch free movies online

Share this post


Link to post
Share on other sites
bmx rule

love it gonna try it, but can someone make one on guns. i wanna pimp out Grove with the best stuff, hydras, hunters, tanks, RPG towers and lots more. + can someone give me the link of a tut on how to put like a SAM site on grove street, or a openable gate.

Share this post


Link to post
Share on other sites
rodney117

hey this will only work if u start a new game because your editing the ipl files but what i use is sanni builder an i put my codes in cleo as CS files here is sanny builder to edit or create a CS file http://sannybuilder.com/ < sanny builder

http://cleo.sannybuilder.com/ <cleo libary

here is one of the code:

 

// This file was decompiled using sascm.ini published by Rodney (http://sannybuilder.com/files/SASCM.rar) on 13.10.2007

 

{$VERSION 3.1.0027}

{$CLEO .CS}

 

//-------------MAIN---------------

0000: NOP

014B: $PARKED_2 = init_parked_car_generator #HUNTER color -1 -1 1 alarm 0 door_lock 0 0 10000 at X Y Z angle 0

014C: set_parked_car_generator $PARKED_2 cars_to_generate_to 101

 

:NONAME_52

wait 0

jump @NONAME_52

 

 

 

 

Put in your own XYZ position an ur angle

save it as a CS file an place in cleo floder in gta directory

AN BMX U CAN USE MAP EDITOR TO PLACE THOSE ITEMS BUT NOT GUNS AN CARS ILL DO A SANNY SCRIPT FOR GUNS FOR U

Edited by rodney117

Share this post


Link to post
Share on other sites
rodney117

Here is a gun script u may use as again put in your own xyz position

 

//-------------MAIN---------------

0000: NOP

032B: [email protected] = create_weapon_pickup #MINIGUN group 15 ammo 3000 at X Y Z

032B: [email protected] = create_weapon_pickup #SNIPER group 15 ammo 3000 at X Y Z

032B: [email protected] = create_weapon_pickup #DESERT_EAGLE group 15 ammo 3000 at X Y Z

 

:NONAME_1248

wait 0

jump @NONAME_1248

 

You can change the type of gun to what ever you like just make sure an get the name correct smile.gif

 

Share this post


Link to post
Share on other sites
1stresponse

Can i SPAWN an ADDED CAR, BIKES, SHIPS, AIRPLANES in a SPAWN LOCATION using this method in GTA SA mercie_blink.gif ?

Share this post


Link to post
Share on other sites
rodney117

yes you can but the car # must be defined an added in main scm its best to just replace the org cars in game

Share this post


Link to post
Share on other sites
TheGuyWithTheBigGuns

If i type in the search of the mission builder: 014B: $2777 = init_parked_car_generator it says that match not found mad.gifmad.gifmad.gif

 

Can you help?

Share this post


Link to post
Share on other sites
ZAZ

 

If i type in the search of the mission builder: 014B: $2777 = init_parked_car_generator it says that match not found  mad.gif  mad.gif  mad.gif

 

Can you help?

This tutorial is not up to date. Are you using Bart Waterducks Missionbuilder?

We are using sannybuilder since some years

Actually Tutorial: >click<

 

Share this post


Link to post
Share on other sites
rodney117

ok well i didnt know exactly where to post this but i was thinking the traffic in GTA Sanandreas well it totally sucks cant drive a modded car around for too long some noob computer driver always comes an hit me an blow me up sad.gif .So is it possible to put vice city traffic flow in san andreas using the same san andreas cars but just the flow is different so if u stop on the roads any where the car behind will stop an not hit u THANKS ALOT

P.S Sorry for bad english

Share this post


Link to post
Share on other sites
cvan41890

what do i do when i dont have the 014B: $2777 line?

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • 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.