OFPEC Forum
Editors Depot - Mission Editing and Scripting => ArmA - Editing/Scripting General => Topic started by: ual002 on 28 Aug 2008, 05:55:01
-
ive tried adding other defencive structures for building like you would add units to build, but i doesnt seem to work, any ideas?
-
ok can you please place an example of what you are doing when placing these objects in to the scripts then we should be able to help you out a little easier
-
in config_structures.sqs in the common/config file.
_v = _v + ["M119"]
_n = _n + ["M119"]
_ng = _ng + ["M119"]
_nr = _nr + ["M119"]
_d = _d + [Localize "STR_DN_M119"]
_c = _c + [1500]
_t = _t +
_i = _i + ["\Warfare\Images\con_gun.paa"]
_p = _p + [50]
_s = _s + ["StationaryDefense"]
_a = _a + [""]
_dis = _dis +
_dir = _dir +
_h = _h +
_v = _v + ["SmallWall"]
_n = _n + ["WarfareBWestHesco5x"]
_ng = _ng + ["WarfareBHesco5xGreen"]
_nr = _nr + ["WarfareBHesco5xRed"]
_d = _d + [Localize "STRWFBSMALLWALL"]
_c = _c + [25]
_t = _t +
_i = _i + ["\Warfare\Images\con_wall1.paa"]
_p = _p +
_s = _s + ["StationaryDefense"]
_a = _a + [""]
_dis = _dis +
_dir = _dir +
_h = _h +
_v = _v + ["MediumWall"]
_n = _n + ["WarfareBWestHesco10x"]
_ng = _ng + ["WarfareBHesco10xGreen"]
_nr = _nr + ["WarfareBHesco10xRed"]
_d = _d + [Localize "STRWFBMEDIUMWALL"]
_c = _c + [50]
_t = _t +
_i = _i + ["\Warfare\Images\con_wall2.paa"]
_p = _p +
_s = _s + ["StationaryDefense"]
_a = _a + [""]
_dis = _dis +
_dir = _dir +
_h = _h +
_v = _v + ["Net1"]
_n = _n + ["RKSL_HowitzNET_US"]
_ng = _ng + ["RKSL_HowitzNET_US"]
_nr = _nr + ["WarfareBHesco10xRed"]
_d = _d + ["Net1"]
_c = _c + [10]
_t = _t +
_i = _i + ["\Warfare\Images\con_wall2.paa"]
_p = _p +
_s = _s + ["StationaryDefense"]
_a = _a + [""]
_dis = _dis +
_dir = _dir +
_h = _h +
;_v = _v + ["LargeWall"]
;_n = _n + ["WarfareBWestHesco10xTall"]
;_ng = _ng + ["WarfareBHesco10xTallGreen"]
;_nr = _nr + ["WarfareBHesco10xTallRed"]
;_d = _d + [Localize "STRWFBLARGEWALL"]
;_c = _c + [75]
;_t = _t +
;_i = _i + ["\Warfare\Images\con_wall3.paa"]
;_p = _p +
;_s = _s + ["StationaryDefense"]
;_a = _a + [""]
;_dis = _dis +
;_dir = _dir +
;_h = _h +
-
Yea man I tried doing the same thing a few months ago and didn't get an error message so we must be doing something right. Except it doesn't display on the construction menu right?
I think this has to do with the construction menu not having a scrollbar function or it's not scripted to incorporate new structures. I'm not a coder just a variable changer :yes: If someone that is a good scripter can take a look at the construction script and figure out that mess then we might get somewhere.
Now I have noticed that a few servers (mods not released ::) ) have incorporated new building purchase options in the camps and depots, though as said they won't release their mods so we have no way to look and see what they have done.
Matt has added new buildings or replacements to the construction menu in his newer (not released) version.
So it can be done.
-
There is no such thing as "unreleased" if they have the mission on a public server. If you can play the mission, you can read it. Just play the mission, then go to "C:\Users\<username>\AppData\Local\ArmA\MPMissionsCache" (Vista) or "C:\Documents and Settings\<username>\Local Settings\Application Data\ArmA\MPMissionsCache" (XP) and apply your favourite pbo tool...
-
MPMissionsCache There we go I thought something like that had to be somewhere :whistle: Dam hidden files and folders... Makes you wonder what else is on your computer :scratch:
-
o really, I have only played advanced warefare, if you look over the files can you post the scripting that does defencive structures?
BTW "C:\Users\<username>\AppData\Local\ArmA\MPMissionsCache" (Vista) "
i do not have an appdata folder, any help?