Home   Help Search Login Register  

Author Topic: Adding defensive structures in Warefare  (Read 1710 times)

0 Members and 1 Guest are viewing this topic.

Offline ual002

  • Members
  • *
Adding defensive structures in Warefare
« 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?

Offline B2KDragon

  • Members
  • *
    • Dogs of War
Re: Adding defensive structures in Warefare
« Reply #1 on: 28 Aug 2008, 22:57:03 »
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

Offline ual002

  • Members
  • *
Re: Adding defensive structures in Warefare
« Reply #2 on: 29 Aug 2008, 00:48:03 »
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   +

Offline CrazyAce

  • Members
  • *
Re: Adding defensive structures in Warefare
« Reply #3 on: 29 Aug 2008, 02:55:52 »
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.
« Last Edit: 29 Aug 2008, 02:58:02 by CrazyAce »

Offline Spooner

  • Members
  • *
  • Mostly useless
    • Community Base Addons
Re: Adding defensive structures in Warefare
« Reply #4 on: 29 Aug 2008, 11:35:16 »
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...
[Arma 2] CBA: Community Base Addons
[Arma 1] SPON Core (including links to my other scripts)

Offline CrazyAce

  • Members
  • *
Re: Adding defensive structures in Warefare
« Reply #5 on: 29 Aug 2008, 17:41:50 »
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:

Offline ual002

  • Members
  • *
Re: Adding defensive structures in Warefare
« Reply #6 on: 30 Aug 2008, 01:47:24 »
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?
« Last Edit: 31 Aug 2008, 07:36:20 by ual002 »