QA Puma Posted March 16, 2007 Share Posted March 16, 2007 (edited) I need some help. What file do I edit to place car spawns and weapons? I looked in main.scm with a mission builder but I couldn't find them. Is it in another file where you can find them? Edited March 16, 2007 by QA Puma Link to comment https://gtaforums.com/topic/269683-placing-cars-and-weapons/ Share on other sites More sharing options...
JostVice Posted March 16, 2007 Share Posted March 16, 2007 There are two ways to add cars to the game, Via IPL (look at the doc topic stored in the map's subforum on editing discussion) or via SCM, add this code in any place of your SCM... the best thing is to find some codes like this and place your one near them. 014B: $name = init_parked_car_generator #AMBULAN -1 -1 0 alarm 0 door_lock 0 0 10000 at 91.7616 -127.7833 14.0261 angle 270.0 014C: set_parked_car_generator $name cars_to_generate_to 101 the $name is the name of your car, name it like you want, just remind that the 014C must have the same name. #ambulan is the name of the car, to know the name go to the vehicles.ide, the two characters behind the car name are the colors, looks in the carcols.dat for values, and the 'at x x x angle x' are the position of the vehicle. Bye Link to comment https://gtaforums.com/topic/269683-placing-cars-and-weapons/#findComment-4098067 Share on other sites More sharing options...
QA Puma Posted March 16, 2007 Author Share Posted March 16, 2007 Okay, thanks. Link to comment https://gtaforums.com/topic/269683-placing-cars-and-weapons/#findComment-4098220 Share on other sites More sharing options...
PLPynton Posted March 18, 2007 Share Posted March 18, 2007 and that are opcodes to create weapon (and items) pickups: 0213, 032B. look as well here to know more about pickups. Link to comment https://gtaforums.com/topic/269683-placing-cars-and-weapons/#findComment-4101565 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