SamHarrison Posted May 21, 2007 Share Posted May 21, 2007 when it says press Ctrl + F and search for 014B: $2777 = init_parked_car_generator it says match not found what do i do i really need help Link to comment https://gtaforums.com/topic/195143-adding-car-spawn-locations/page/5/#findComment-4249945 Share on other sites More sharing options...
_Rob_ Posted June 2, 2007 Share Posted June 2, 2007 is there anything similar for vc? Link to comment https://gtaforums.com/topic/195143-adding-car-spawn-locations/page/5/#findComment-4272238 Share on other sites More sharing options...
Noob4Life Posted June 6, 2007 Share Posted June 6, 2007 Not sure if this thread is still running but I'm having a problem with this. When I go to load the main.scm it gets to were it loads PLANES and says parameters not set. Can anyone help me? Link to comment https://gtaforums.com/topic/195143-adding-car-spawn-locations/page/5/#findComment-4279704 Share on other sites More sharing options...
ptkamikaz Posted July 19, 2007 Share Posted July 19, 2007 Can i use the saved games that i saved with these spawn locations? Link to comment https://gtaforums.com/topic/195143-adding-car-spawn-locations/page/5/#findComment-4395429 Share on other sites More sharing options...
graw2killer Posted July 31, 2007 Share Posted July 31, 2007 i have no clue what i am doing wrong i don't even know if the vehicle is even there it just freezes when i come close please help this is my code 014B: $2785 = init_parked_car_generator #HUNTER color -1 -1 1 alarm 0 door_lock 0 0 10000 at 2349.518 -1660.714 68.79378 angle 178.8279 014C: set_parked_car_generator $2785 cars_to_generate_to 0 Link to comment https://gtaforums.com/topic/195143-adding-car-spawn-locations/page/5/#findComment-4422461 Share on other sites More sharing options...
string227 Posted August 14, 2007 Share Posted August 14, 2007 Uhhhh when i try to compile it, it says "pirmiter 4 not set".Heres what my code looks like, 014B: $PARKED_INFERNUS = init_parked_car_generator 411 -1 -1 1 alarm 0 door_lock 0 0 10000 at -1977.463 269.2383 angle 90.0014C: set_parked_car_generator $INFERNUS cars_to_generate_to 101 Link to comment https://gtaforums.com/topic/195143-adding-car-spawn-locations/page/5/#findComment-4464464 Share on other sites More sharing options...
cart94 Posted September 24, 2007 Share Posted September 24, 2007 Im getting a "parameter 2 not set" error anyone know what's wrong? Big n00b here sorry =) my code looks like this... 014B: $Feltzer = init_parked_car_generator 533 -1 -1 1 alarm 0 door_lock 0 0 10000 at 2486,339 -1655,602 13,3359 angle -90.0 014C: set_parked_car_generator $Feltzer cars_to_generate_to 101 014B: $SJ_Home1 = init_parked_car_generator 536 -1 -1 1 alarm 0 door_lock 0 0 10000 at 2491,237 -1682,849 13,33689 angle -90.0 014C: set_parked_car_generator $SJ_Home1 cars_to_generate_to 101 014B: $2777 = init_parked_car_generator 432 -1 -1 1 alarm 0 door_lock 0 0 10000 at 2435.302 -1671.848 12.8007 angle 90.0 014C: set_parked_car_generator $2777 cars_to_generate_to 0 014B: $PARKED_HYDRA = init_parked_car_generator 520 -1 -1 1 alarm 0 door_lock 0 0 10000 at 2527.2 -1677.1 19.2 angle 90.0 014C: set_parked_car_generator $PARKED_HYDRA cars_to_generate_to 0 NM i found the problem, I had "," instead of "." between the coordinates i did that too the first time Link to comment https://gtaforums.com/topic/195143-adding-car-spawn-locations/page/5/#findComment-1057186843 Share on other sites More sharing options...
cart94 Posted September 24, 2007 Share Posted September 24, 2007 Uhhhh when i try to compile it, it says "pirmiter 4 not set".Heres what my code looks like, 014B: $PARKED_INFERNUS = init_parked_car_generator 411 -1 -1 1 alarm 0 door_lock 0 0 10000 at -1977.463 269.2383 angle 90.0014C: set_parked_car_generator $INFERNUS cars_to_generate_to 101 You must write the "Z" -coord Link to comment https://gtaforums.com/topic/195143-adding-car-spawn-locations/page/5/#findComment-1057186845 Share on other sites More sharing options...
kronos Posted October 3, 2007 Share Posted October 3, 2007 Also you can spawn weapons and cars by the ipl!!! Create an ipl and put this. x- y- z- 90- id of the car- -1, 0,0,0,0-1 ex: 1083.34, 2143.64, 1342.76, 90, 445, -1, 0, 0, 0, 0, -1 I think that it works without starting a new savegame!!! Link to comment https://gtaforums.com/topic/195143-adding-car-spawn-locations/page/5/#findComment-1057201818 Share on other sites More sharing options...
pdescobar Posted October 3, 2007 Share Posted October 3, 2007 Also you can spawn weapons and cars by the ipl!!![...] I think that it works without starting a new savegame!!! Nope. Car (or pickup) entries in the text IPLs will not work until you start a new game; only car generators defined in the binary IPLs will affect existing games. Please see the pinned topic in the map forum for more on IPL editing as it's a bit off-topic for this tutorial. Link to comment https://gtaforums.com/topic/195143-adding-car-spawn-locations/page/5/#findComment-1057202667 Share on other sites More sharing options...
m1 raceing Posted November 13, 2007 Share Posted November 13, 2007 (edited) this works but you can use the '''ipl helper by xmen''' to add cars spawn locatons here is a link to the page its in misc http://www.gtaforums.com/index.php?showtopic=267202 Edited November 13, 2007 by m1 raceing Link to comment https://gtaforums.com/topic/195143-adding-car-spawn-locations/page/5/#findComment-1057258777 Share on other sites More sharing options...
Dzsekszon Posted December 26, 2007 Share Posted December 26, 2007 Hy! Somebody knows wich is the Launch's coordinate line? I think this one: 00A5: @153 = create_vehicle #LAUNCH at -2162.333 1754.176 0.0 ;; Load the vehicle model before using this But if I rewrite the coordinates, it still spawn at the hangar next to the carrier :| Or how can I change the Launch's spawn point? Thanks Link to comment https://gtaforums.com/topic/195143-adding-car-spawn-locations/page/5/#findComment-1057357361 Share on other sites More sharing options...
kkzippo Posted February 1, 2008 Share Posted February 1, 2008 i can't do it when i hit ok in the second window it gives me a message: upcode out of range:C903h Adress: 0005BD86h help me please (my english is a crap! i'm Brazilian xD) Link to comment https://gtaforums.com/topic/195143-adding-car-spawn-locations/page/5/#findComment-1057458159 Share on other sites More sharing options...
james227uk Posted February 8, 2008 Share Posted February 8, 2008 i open the mission builder and search for that line he says to search for. it just says it cant be found. please, i reallt need help Link to comment https://gtaforums.com/topic/195143-adding-car-spawn-locations/page/5/#findComment-1057483402 Share on other sites More sharing options...
gtasbigfoot Posted February 8, 2008 Share Posted February 8, 2008 adding parks cars is quiet simple can be hard for beginers it will go something like this //-------------MAIN--------------- 014B: 0@ = init_parked_car_generator #ANDROM color -1 -1 1 alarm 0 door_lock 0 0 10000 at 62.5 2432.7 17.6 angle 0.0 014C: set_parked_car_generator 0@ cars_to_generate_to 101 0A93: end_custom_thread put the code {$CLEO .cs} to save as a cs file Link to comment https://gtaforums.com/topic/195143-adding-car-spawn-locations/page/5/#findComment-1057483737 Share on other sites More sharing options...
IAMKnight Posted February 10, 2008 Share Posted February 10, 2008 is there a program that will make a spawn poin by a few clicks thanks Link to comment https://gtaforums.com/topic/195143-adding-car-spawn-locations/page/5/#findComment-1057488922 Share on other sites More sharing options...
gtasbigfoot Posted February 10, 2008 Share Posted February 10, 2008 not that i know of but its simple get sanny builder add the code like i have done you have to find the cods for the place you want it to spawn and the vehicle id name Link to comment https://gtaforums.com/topic/195143-adding-car-spawn-locations/page/5/#findComment-1057490405 Share on other sites More sharing options...
IAMKnight Posted February 11, 2008 Share Posted February 11, 2008 I cant seem to do it. but could u tell me where to find new missions for gta im getting sick of the old missions Thats why i cant wait for gta iv to come out Thanks Link to comment https://gtaforums.com/topic/195143-adding-car-spawn-locations/page/5/#findComment-1057493842 Share on other sites More sharing options...
Supra4 Posted February 11, 2008 Share Posted February 11, 2008 I cant seem to do it. but could u tell me where to find new missions for gta im getting sick of the old missions Thats why i cant wait for gta iv to come out Thanks You tried starting a new game already? That might help, as IPL placement will not work with saved games. Link to comment https://gtaforums.com/topic/195143-adding-car-spawn-locations/page/5/#findComment-1057494257 Share on other sites More sharing options...
gtasbigfoot Posted February 14, 2008 Share Posted February 14, 2008 ipl spawns are harder if you are new to this i would start with car spawns with sannybuilder they are much more easy then ipls Link to comment https://gtaforums.com/topic/195143-adding-car-spawn-locations/page/5/#findComment-1057507394 Share on other sites More sharing options...
Bad~Boy#17 Posted April 12, 2008 Share Posted April 12, 2008 (edited) Sorry for the bump, but I get an error: "Can't compile" "Set parameter to 3" And when I search for the code, which the topic starter said to search, It doesn't find it. I use v2 scripts, but have a v1 game Edited April 12, 2008 by Bad~Boy#17 Link to comment https://gtaforums.com/topic/195143-adding-car-spawn-locations/page/5/#findComment-1057786374 Share on other sites More sharing options...
OrionSR Posted April 12, 2008 Share Posted April 12, 2008 (edited) Sorry, I am unfamiliar with SAMB so I can't provide much help with this particular error. Also, the information you provided was not very complete so I'm not sure if I understand the problem correctly. Here's what I've gleaned from scanning the initial post: This is a very old topic. There is a very good chance that the program has changed to a point where it will be necessary to understand the steps in order to follow the directions and make adjustments. The author requests that you search for global variable $2777. This variable is usually associated with the Parked Rhino earned at Grove Street for 100%. The coding programs often include variable definition tables that provide easy to recognize names for common global variables. In Sanny's I see $PARKED_RHINO instead of $2777, and when Sanny compiles the code it uses this table to translate the variable names back into numbers. Chances are SAMB is doing something similar and you will either need the old definitions for the old code, or you'll need to update the code with the new definitions. However, I would suggest that you look for another guide, or at least read through the comments on this guide to see what happens next. The Parked Rhino ($2777) is defined in the MAIN section of the script and the author is suggesting this as a place to begin editing. This seems like a very bad idea. If you change anything other than the values used in this mission, or make edits other that carefully planned Darkpact edits, then you will lose all compatibility with previous saves. How to continue depends on your goals. If you are working on a full blown mod, or don't intend to share the saves that can only be used with that particular compilation of the script, then changing main won't be as much of a concern. Otherwise you need a better place to make your edits. If you want to load existing saves and make modifications, or if you want to be able to run certain codes every time you start the game, you'll want to start with a Darkpact template. If you want to have a run-once script that creates a custom starter save that is compatible with a normal game script then start with the proper version of the script and be very careful about modifications to the MAIN section of the script. BTW, why are you using v2 scripts? That increases the risk of incompatibility with most documentation. So, where to make new edits? If anyone has a better suggestion please let me know. This is where I placed my modification for PS2 scripts, and it seems to be working fairly well. This is from a default PCv2 script and decompiled with Sanny Builder. Mission 2 is where the cut-scene with Tenpenny occurs. //-------------Mission 2---------------// Originally: Intro:INTROthread 'INTRO' gosub @INTRO_47 if wasted_or_busted jf @INTRO_38 gosub @INTRO_9994 :INTRO_38gosub @INTRO_9996 end_thread I placed all new code between "gosub @INTRO_9996" and "end_thread". The new game will start normally and CJ eventually ends up in the alley next to a bike with a blue marker. Move away from the bike and the new code will execute just before the thread ends. This allows a little in-game control of triggering the changes. When mission 2 is complete this section of script should not be run again so testing of old and new saves is a little easier. Also, this is very close to where a lot of the Darkpact edits are placed, so it's less confusing when comparing the two formats. Edited April 12, 2008 by OrionSR Link to comment https://gtaforums.com/topic/195143-adding-car-spawn-locations/page/5/#findComment-1057787007 Share on other sites More sharing options...
Maros185 Posted April 19, 2008 Share Posted April 19, 2008 Ok everything is great but how to do this in CLEO (.cs) file? I don't want to start new game for one or ten cars... Link to comment https://gtaforums.com/topic/195143-adding-car-spawn-locations/page/5/#findComment-1057851316 Share on other sites More sharing options...
psy145 Posted April 19, 2008 Share Posted April 19, 2008 (edited) Ok everything is great but how to do this in CLEO (.cs) file? I don't want to start new game for one or ten cars... {$CLEO .cs}//-------------MAIN---------------014B: 13@ = init_parked_car_generator #CAR color -1 -1 1 alarm 0 door_lock 0 0 10000 at X Y Z angle 0.0 014C: set_parked_car_generator 13@ cars_to_generate_to 101 0A95: enable_thread_saving 0A93: end_custom_thread replace #CAR with the cars number and X Y Z with it's cords (open sanny builder, paste this then compile it) Edited April 19, 2008 by psy145 Link to comment https://gtaforums.com/topic/195143-adding-car-spawn-locations/page/5/#findComment-1057851420 Share on other sites More sharing options...
Joe Freeman Posted October 4, 2008 Share Posted October 4, 2008 (edited) mmm i need help, when i try to compile, i cant. A message appear saying "Parameter 2 not set" 014B: $LSPD_Enforcer = init_parked_car_generator 427 color -1 -1 1 alarm 0 door_lock 0 0 10000 at 1562,573 -1613,578 13,38281 angle 90.0014C: set_parked_car_generator $LSPD_Enforcer cars_to_generate_to 101 Edited October 4, 2008 by Joe Freeman Link to comment https://gtaforums.com/topic/195143-adding-car-spawn-locations/page/5/#findComment-1058575325 Share on other sites More sharing options...
OrionSR Posted October 5, 2008 Share Posted October 5, 2008 You are using commas instead of decimal points (periods) in the coordinates. I read a message describing how to change this option but can't remember any of the details. Link to comment https://gtaforums.com/topic/195143-adding-car-spawn-locations/page/5/#findComment-1058577692 Share on other sites More sharing options...
Slap-A-Hoe Posted October 28, 2008 Share Posted October 28, 2008 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? Link to comment https://gtaforums.com/topic/195143-adding-car-spawn-locations/page/5/#findComment-1058617952 Share on other sites More sharing options...
Monitor57 Posted November 19, 2008 Share Posted November 19, 2008 Got a problem with the mission builder The script .img is in the right place and has no 'Read-only' value.. I can also open and extract files from the script.img absolutly fine, the MB even opens up the script.img.. Just not the Main Please reply asap, cheers. -M57 Link to comment https://gtaforums.com/topic/195143-adding-car-spawn-locations/page/5/#findComment-1058664432 Share on other sites More sharing options...
spaceeinstein Posted November 21, 2008 Share Posted November 21, 2008 It's probably best to use Sanny Builder. It's more up-to-date. Link to comment https://gtaforums.com/topic/195143-adding-car-spawn-locations/page/5/#findComment-1058668541 Share on other sites More sharing options...
Arablau Posted December 30, 2008 Share Posted December 30, 2008 How exactly to I set up the alarm and door lock and color of the car? Link to comment https://gtaforums.com/topic/195143-adding-car-spawn-locations/page/5/#findComment-1058824623 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