TangoR34 Posted December 8, 2007 Share Posted December 8, 2007 Hi, I just got a bit bored of playing so i thought i want to add more cars and other objects in the whole game. it's abit life groove for life mod really but i want to mod my own one. I know i will need to use a new script and main files but i don't know how to create them. I have all those IPL helper and other things that help me to get cords and stuff. Link to comment Share on other sites More sharing options...
JohnPro Posted December 10, 2007 Share Posted December 10, 2007 Using IPL helper, Open your IPL file. Click Vehicles Placer Using Med or Exact Coords teller get the coords of the area you want the car to be Click the drop down box and enter the car then enter the coords and fill in the rest. Save Play and it might not spawn first time so keep going back to that area every now and then. Good Luck Link to comment Share on other sites More sharing options...
TangoR34 Posted December 10, 2007 Author Share Posted December 10, 2007 I tried to spawn a sabre but it never does. how can the greewood spawn and it says nothing in any ipl data? Have you actually tried to do that before? I do remember that some1 say you have to create a new main.scm to fiddle with these things in the game.... Link to comment Share on other sites More sharing options...
OrionSR Posted December 10, 2007 Share Posted December 10, 2007 <Car Place Guide Request> There are a couple of ways cars can be added to a game. Coding in the main.scm is a very common method, but cars can also be added with text IPL files. The link above has a description on how to add cars through IPL editing. Coding questions belong in a different forum. FYI, many of the cars, particularly the mission controlled vehicles, are entered into the save when the script starts a new game. Most of the cars are controlled by binary IPL files, and... you can dig into that later if you are interested. Link to comment Share on other sites More sharing options...
TangoR34 Posted December 10, 2007 Author Share Posted December 10, 2007 I am Link to comment Share on other sites More sharing options...
TangoR34 Posted January 10, 2008 Author Share Posted January 10, 2008 now i ahave another problem. i want to spwan objects but which i don't know the object ids. i kow that there are millions when I mod maps in MTA. Actually, does MTA creates ipl files for saving modded maps? Link to comment Share on other sites More sharing options...
OrionSR Posted January 10, 2008 Share Posted January 10, 2008 Use something like MEd or steve-m's Map Viewer to view the map. Select the object in question and the program will provide the model IDs for you. Link to comment Share on other sites More sharing options...
TangoR34 Posted January 13, 2008 Author Share Posted January 13, 2008 I tried to put a fence on the LA/vegas high way bridge: 5077, sjmctfnce8_las, 0, 1708.16, 410.176, 31.7422, 0.799848, 0.599848, 19.2002, 1.0, -1 and it froze. Also I placed a tank on the bridge but it likes to bounce and flip itself: 1717.372, 435.0815, 30.83792, 2.6, 432, -1, -1, 0, 0, 0, -1, -1 and you help me what's wrong for both? Link to comment Share on other sites More sharing options...
OrionSR Posted January 13, 2008 Share Posted January 13, 2008 I tried to put a fence on the LA/vegas high way bridge:5077, sjmctfnce8_las, 0, 1708.16, 410.176, 31.7422, 0.799848, 0.599848, 19.2002, 1.0, -1 and it froze. Also I placed a tank on the bridge but it likes to bounce and flip itself: 1717.372, 435.0815, 30.83792, 2.6, 432, -1, -1, 0, 0, 0, -1, -1 and you help me what's wrong for both? The tank seems fine. I have no problems with it flipping or bouncing. The fence object has rotation values that appear to confuse the game when CJ travels towards Hampton Barns and Blueberry. I don't really understand the rotation values at all, and rely on MEd to place these objects for me. I loaded your object with MEd, moved it around a little, changed the rotation values to zero, saved the IPL, and restarted the game. The object appears as expected and the game didn't crash when traveling to Hampton and Blueberry. I suspect this fence object will not do what you expect. This object includes just the glass, door, and wire mesh for the LS Airport Gatehouse. It has no collision file so CJ drives right through it. Also, the fence is missing it's support bars and the glass and door are missing the building, so it looks fairly strange. Link to comment Share on other sites More sharing options...
TangoR34 Posted January 14, 2008 Author Share Posted January 14, 2008 1. how did you move the fence to make it appear? because i 'turned off' the rotation and it doesn't come up. 2. how do i get the collision files? do I need to copy the fence bar and the walls as well? Link to comment Share on other sites More sharing options...
OrionSR Posted January 14, 2008 Share Posted January 14, 2008 I moved the fence object to the open grass because I was worried about it spawning inside of the bridge barriers, and it was difficult to check things on the bridge. This made no difference. The object still did not appear, and the game still crashed if I drove towards Hampton Barns. Using MEd, I clicked on the rotation values and set each one to 0.0, saved, and loaded the game; the object appeared in the field and the game didn't crash. If you try to include the rest of the airport gatehouse that includes the collision files then I think you will also be copying many other objects from that part of the airport - the object is more than just the gatehouse, but I didn't investigate too closely. I suspect that you may need to look around for a similar object to achieve the effect you are after. I don't know what's wrong with the rotation values for your object, but the numbers provided with your example don't look at all like the numbers associated with other objects. How did you arrive at these values? Are you using MEd for placement? Link to comment Share on other sites More sharing options...
TangoR34 Posted January 14, 2008 Author Share Posted January 14, 2008 yes I used Med to get these values, moved it, saved it. and it just won't show up and still the game is more likely to crash with the values on so i just put the # in fornt to 'turn it off' for now. Link to comment Share on other sites More sharing options...
OrionSR Posted January 14, 2008 Share Posted January 14, 2008 I entered your line in my IPL, loaded it with MEd, and then set all 3 rotation values to 0. This left the object in the same unrotated position is was in before, but for some reason these numbers seem more polite about displaying without crashing. 5077, sjmctfnce8_las, 0, 1708.16, 410.176, 31.7422, 0, 0, 0, 1, -1 Link to comment Share on other sites More sharing options...
TangoR34 Posted January 16, 2008 Author Share Posted January 16, 2008 o well, stuff the gate for now. I have another stuff to worry about, how can I disable street lights? Some ppl said to change the texture and some said the main.scm. I tried to find txds that deals with light but one file 'coronastar' interfers with cars headlights as well which i don't want. even i change that texture to dark it won't remove the light on the ground either which is very strange. Link to comment Share on other sites More sharing options...
TangoR34 Posted January 16, 2008 Author Share Posted January 16, 2008 o well, stuff the gate for now. I have another stuff to worry about, how can I disable street lights? Some ppl said to change the texture and some said the main.scm. I tried to find txds that deals with light but one file 'coronastar' interfers with cars headlights as well which i don't want. even i change that texture to dark it won't remove the light on the ground either which is very strange. 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