Pure Libertonian Posted July 6, 2009 Share Posted July 6, 2009 Does anybody know how to add a garage to the safe house without a garage? For example, safe house in Jefferson doesnt have a garage. Can anybody tell me how to improve it? Link to comment Share on other sites More sharing options...
Herne Posted July 6, 2009 Share Posted July 6, 2009 you would need to do some SCM coding for this and it might well require that you start a new game. Link to comment Share on other sites More sharing options...
supermortalhuman Posted July 6, 2009 Share Posted July 6, 2009 Hi, you can refer to GRGE entries in IPL here: http://www.gtamodding.com/index.php?title=Grge This does not require SCM coding however I do believe a new game is indeed compulsory. Link to comment Share on other sites More sharing options...
Pure Libertonian Posted July 7, 2009 Author Share Posted July 7, 2009 Hi, you can refer to GRGE entries in IPL here: http://www.gtamodding.com/index.php?title=Grge This does not require SCM coding however I do believe a new game is indeed compulsory. LineX, LineY, CubeX, CubeY, CubeZ how to get know these coords? can I add the garage by only adding one line to the ipl file, like parked car? Link to comment Share on other sites More sharing options...
supermortalhuman Posted July 7, 2009 Share Posted July 7, 2009 PosX, PosY, PosZ, LineX, LineY, CubeX, CubeY, CubeZ, DoorType, GarageType, Name Here is the format for a garage - turns out there will need to be a cleo script or scm change of sorts, unless you can just start a NEW game and make it to a save point - perhaps it will write functionality. I'm not exactly sure yet as I haven't used them. I am pretty sure you only need the SCM to unlock and lock them (including on-mission). PosX, PosY, PosZ is the coordinate of the master corner vertex of your garage culling. So refer to the picture, yellow is vertex, red is an edge: LineX, LineY "Those values are added to the first position values. They define one edge of the box" I think this is drawing from your first defined vertex and defining a 2D plane, remember Z is height. X left right, Y north south. CubeX, CubeY, CubeZ "Another world coordinate. Together with the abstract line created with the first 5 coordinates this forms a cube in the world." You'll need to refer to other garages in the game's files, might need to go look in vice city or gtaIII if they are on hand, or in binary IPL's. But there may be some garage's in regular IPLs too - hunt them down because you'll need those to see exactly how this is setup. This is the second set of coords that defines the height, and another xy perimiter to the box (I guess this means they don't have to be perfect). At the picture above, this is the top of the box (if that's how you complete the instruction - it appears that since you build from a vertex, you've got flexibility there. I think 3DSMax would be easier, or maybe map editor does this. Still, I push on awaiting corrections if any: DoorType The type of the door[1] This or the next one is for a garage that opens up and down, or rotates outward (the door that goes down into the ground at LV Airport - this was probably a clever setup of the geometry defined earlier - clever to us, a flipped box in Max) GarageType The type of the door[2] This might be like the above, and the above might instead be skinning/generic model selection - I'm really unsure - But that's what the forum is for, so we'll see. Name A string which is used to manipulate the garages behaviour through the main.scm[3] This lets you lock and unlock the garage, open it only certain times, give the player access that sort of thing. Link to comment Share on other sites More sharing options...
Pure Libertonian Posted July 9, 2009 Author Share Posted July 9, 2009 Thanks I got it! And maybe you know how to add a save disc? I didnt find information about it on gtamodding Link to comment Share on other sites More sharing options...
gtasearcher Posted July 10, 2009 Share Posted July 10, 2009 Read Dutchy3010's Mission Coding For Dummies! It's the best for new SCM coders, and you can find a section for savediscs. 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