Ashwin.Star Posted November 24, 2010 Share Posted November 24, 2010 i need some help in making some buildings buyable & then some save pickups because i am making a new mod for gta vc my all buildings, roads, etc are ready but * i dont know the code to write in main.scm for pickup save buildings * also pls tell me how to make some garage without door like in maryed island * some thing wrong ..... no cars & people are comming on the roads that i have made pls. help me Link to comment Share on other sites More sharing options...
toonskull Posted November 25, 2010 Share Posted November 25, 2010 i need some help in making some buildings buyable & then some save pickupsbecause i am making a new mod for gta vc my all buildings, roads, etc are ready but * i dont know the code to write in main.scm for pickup save buildings * also pls tell me how to make some garage without door like in maryed island * some thing wrong ..... no cars & people are comming on the roads that i have made pls. help me Ok, for starters, my hat is off to you for modding VC because I like it more than SA. It is just easier to mod SA using CLEO than to rebuild the entire MAIN.SCM of Vice City. I will assume you have Sannybuilder and decompiled the main.scm correct? If not please do so. Down on line # 245 you can find this: DEFINE MISSION 36 AT @BUYPRO1 If you park your cursor after the @ symbol and hit CRTL + 2 on the numpad it will jump down to line # 115226 and the beginning of mission 36. This is where you buy the Print Works. But now we need to find the trigger. So I do a search on 'start_mission 36' and I find this code. 00D6: if 0214: pickup $Print_Works_asset picked_up 004D: jump_if_false @COUBUY_87 0417: start_mission 36 004E: end_thread Next I need to find the pickup $Print_Works_asset so I search that and find the unavailable icon is created on line # 553 0517: $Print_Works_asset = create_unavailable_asset_pickup 'PRNT_NO' at $549 $550 $551 // You cannot buy the Print Works at this time, come back later. Later during another mission it gets activated like this: 0215: destroy_pickup $Print_Works_asset 0570: $634 = create_asset_radar_marker_with_icon 25 at $549 $550 $551 018B: show_on_radar $634 2 0518: $Print_Works_asset = create_available_asset_pickup 'PRNT_L' at $549 $550 $551 price $635 // Press the ~h~~k~~PED_ANSWER_PHONE~ ~w~button to purchase the Print Works for $~1~004F: create_thread @COUBUY Once active and the item is picked up then mission 36 runs and you get the cut scene. Study the main.scm and you should be able to either create your own pickups or modify an existing one. Cars and people follow paths or nodes, if your map editor has the ability to edit these nodes then the game will create peds and cars on the paths. I don't know about the garage door. Link to comment Share on other sites More sharing options...
Ashwin.Star Posted December 9, 2010 Author Share Posted December 9, 2010 (edited) can you tell me which software has the ability to create pathsi have twoMEdv032mapeditor (ipl editor)they both dont have any ability like that <--- Ked it is ---> Thanks M8, Edited May 10, 2014 by Ashwin.Star 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