Need Help with Modding |
Need Help with Modding |
Jan 3 2009, 00:46
Post
#1
|
|
New Member Group: Members Posts: 3 Joined: 3-January 09 Member No.: 4,817 |
I am trying to edit a mod me and my friends play (the warfare mod) but we would like to add more weapons and vehicles to the deployment buy lists. We have all the mods already, but I need to know how to edit the mod so these are in the buy lists.
I have searched on google for modding guides and tutorials, and all of them deal with making models rather then modding the files. Sorry if this is a repeat post, but I am pulling my hair out over this one. |
|
|
Jan 3 2009, 01:04
Post
#2
|
|
New Member Group: Members Posts: 3 Joined: 3-January 09 Member No.: 4,817 |
Ok, so I extracted the mission pbo for our mod, and looking in the files I came across the files I believe I need to add the lines of code to. Now I just need some help explaining some things.
First conformation that the files in common/config is the right files. Second is explaining some things in the code. CODE _u = _u + ["AV8B2"] _d = _d + [Localize "STR_DN_AV8B2"] _c = _c + [7500] _m = _m + [7500 + (westBarracksCosts Select WPILOTTYPE)] _o = _o + [true] _t = _t + [45] _p = _p + [45] _i = _i + ["\ca\air\data\ico\av8b_CA.paa"] Ok, so I understand what all the stuff on the right is, but what I need explained is the info on the left like _u = _u. Any info would be great appreciated. Thanks. EDIT: Sorry guys, I didn't notice that these where defined in the code... I found these- CODE westWingedAircraftUnits = _u westWingedAircraftDescriptions = _d westWingedAircraftCosts = _c westWingedAircraftMannedCosts = _m westWingedAircraftTimes = _t westWingedAircraftPoints = _p westWingedAircraftImages = _i So from there I believe I can handle it from here. Just one thing... the images from the icon. Where do I get these? While these be in the CA dir in my arma dir? Thanks again. This post has been edited by Mercnet: Jan 3 2009, 01:09 |
|
|
Jan 3 2009, 12:47
Post
#3
|
|
New Member Group: Members Posts: 3 Joined: 3-January 09 Member No.: 4,817 |
Ok, so after many hours of fiddle and error, I was able to import a T-90 successfully into the mission pbo file. One hurdle down. I can do this for any vehicle I want. Now I have a new challenge: getting the guns in there.
Looking about the pbo, I do not see any place where the guns are being listed, the exception being in the loadouts script. Well, I plan on tackling that later and it looks rather straight forward. However, I can't see how the game puts the weapons in the buy list, or the ammo and equipment. If anyone can steer me in the right direction that would be great. Maybe I will get a breakthrough like with my tanks. Thanks again guys. |
|
|
Lo-Fi Version | Time is now: 23rd April 2024 - 07:46 |