Jump to content
Sign in to follow this  
zachhox

Adding Units/Weapons/Vehicles

Recommended Posts

How can I add units/vehicles or weapons to for example warfare v1.1 and make my own addon/mod sort of?

So far I got the part of extracting the .pbo using cpbo and of course have all my units, vehicles, weapons and stuff ready.

And I know how to run/make a mod folder, its in there already basically. :)

I'd really like to have some extra stuff in it. ;)

Thanks.

Share this post


Link to post
Share on other sites

Yes I did that.

So this would be the code than I presume:

_u = ["Vulcan"]

_d = [Localize "STR_DN_VULCAN"]

_c = [800]

_m = [800 + (westBarracksCosts Select WCREWTYPE) * 2]

_t = [20]

_p = [25]

_i = ["\ca\tracked\Data\ico\m163_vulcan_CA.paa"]

_o = [false]

So lets say I wanna add this unit, all 3 of them? The Bradly.

http://www.armaholic.com/page.php?id=3283

What would I put in exactly? I tried it once but it didn't work. What I did was simply copy it and change/modify the code of course.

And the bradly mod I would run simply by mod folder with other stuff. But to take this as an example.

Share this post


Link to post
Share on other sites

Ok I got you kid, hold up...

Ok, You would replace "Vulcan" (Which is the class name) with "VILPAS_BRADLEY". YOU DO NOT HAVE TO REPLACE IT! Just copy this as a base:

-----------------------------------

_u = ["Vulcan"]

_d = [Localize "STR_DN_VULCAN"]

_c = [1000]

_m = [1000 + (westBarracksCosts Select WCREWTYPE) * 2]

_t = [30]

_p = [25]

_i = ["\ca\tracked\Data\ico\m163_vulcan_CA.paa"]

_o = [false]

-------------------------------------

And turn it into this:

-------------------------------------------

_u = ["VILPAS_BRADLEY"]

_d = ["You can type the name of the Vehicle hear"]

_c = [1000]

_m = [1000 + (westBarracksCosts Select WCREWTYPE) * 2]

_t = [25]

_p = [30]

_i = ["\ca\tracked\Data\ico\m163_vulcan_CA.paa"]

_o = [false]

------------------------------------------------------

Ok I'll explain what some of the values mean which are:

--------------

Units = _u ; Descriptions = _d ; Costs = _c ; MannedCosts = _m ; Times = _t ; Points = _p ; Images = _i

--------------

Pretty self explanitory huh? The "_m" is meant for the extra cost If it has a driver and/or a gunner. If you know that the vehicle doesn't have a gunners seat then you can leave the "_m" section like this:

------------------

_m = [1000 + (westBarracksCosts Select WCREWTYPE)]

-------------------

That means that your paying 1000 + (The cost of a West Crew Man).

Edited by Computica
Continuation...

Share this post


Link to post
Share on other sites

Well that doesn't work.

And another thing, there are 3 versions.

And I know what the values mean. I read it in the wiki page.

Edited by zachhox

Share this post


Link to post
Share on other sites

Well you need to know what the 3 class names are for the bradley and you have to add the addon files in the addon list inside the "mission.sqm" file. Tell me if you get any warning messages. Make sure you have a PBO extracting program so you can look at the config for the bradley tank.

EDIT:

I've been trying to correctly add the 6g30 Grenade Launcher for the east side, I can't figure out how to get the weapons ammo in the list.

Edited by Computica
Question about adding the 6G30 for east...

Share this post


Link to post
Share on other sites

AH Boom, Binga Binga Binga, there you go, thats my man... :P

Exactly. The 3 class names. Well in the meantime I added the bradly to the mission list.

I had the bradly extracted as well but there are alot of files, but I pressed "I'm feeling lucky" on google and got lucky. :)

The lucky file was config.cpp.

Class Name: VILPAS_Bradley : VILP_Tank

Description: M2 Bradley

picture = "\desert_bradley\bradley_icon.paa";

Class Name: VILPAS_BRADLEY_06 : VILPAS_Bradley

Description: M2A2 Bradley

Class Name: VILPAS_BRADLEY_ERA : VILPAS_Bradley

Description: M2A2 Bradley (ERA)

And in the mission.sqm, I added:

"mk19_tripod", regular what it said

"dshkm_mini", regular what it said

"desert_bradley"

So basically I added, comma (,), new line and "desert_bradley". In both AddOns parts btw.

So I tried both "VILPAS_BRADLEY_ERA : VILPAS_Bradley" and "VILPAS_BRADLEY_ERA".

Here is what I input;

_u = ["VILPAS_BRADLEY_ERA"]

_d = [Localize "M2A2 Bradley (ERA)"]

_c = [800]

_m = [800 + (westBarracksCosts Select WCREWTYPE) * 2]

_t = [20]

_p = [25]

_i = ["\desert_bradley\bradley_icon.paa"]

_o = [false]

And still, nothing, doesn't add it to the menu somehow.. ???

I get no error messages. I had a few doing some other stuff with the weapons cost and commander thing but I fixed those easily. :D

I actually have zero error messages believe it or not, no headbug either. I made sure of that. :D

So any ideas?

Are we missing something...

I see you've been trying the same thing with the grenade launcher.

I looked for it but couldn't find that particular weapon so I guess its inside a larger or another addon, but:

_w = _w + ["Rnd_HE_M203"]

_workaround = Count _w - 1

_weapon = "1Rnd_HE_M203"

_c = _c + [5]

_is = _is + [true]

_n = _n + [GetText (configFile >> "CfgMagazines" >> _weapon >> "displayName")]

_i = _i + [GetText (configFile >> "CfgMagazines" >> _weapon >> "picture")]

_s = _s + [GetNumber (configFile >> "CfgMagazines" >> _weapon >> "type") / 256]

I guess just change it with the HE frag grenades from your weapon.

Unless you mean the ammu alone.

_ammo = "30Rnd_556x45_Stanag"

And input the grenade launcher, without using the HE thing from above.

But you probably tried that I guess. :)

I'll look further if you tell me the addon if you want.

Thanks for checking my problem out btw.

Share this post


Link to post
Share on other sites

OK, Let's deal with your situation first, I might have to try it out myself but I see under "_d" you have the "Localize" command still there. That's only meant if your going to call a string name (STR___) try this:

-----------------------------

_u = ["VILPAS_BRADLEY_ERA"]

_d = ["M2A2 Bradley (ERA)"]

_c = [800]

_m = [800 + (westBarracksCosts Select WCREWTYPE) * 2]

_t = [20]

_p = [25]

_i = ["\desert_bradley\bradley_icon.paa"]

_o = [false]

-------------------------------

This way you should be able to pull it up, tell me if that works...

Share this post


Link to post
Share on other sites

Nope, still nothing. Its like there is nothing there... I don't know.

Are these the only things where you need to add this stuff? Not like in a menu script or whatever, just to like add it to the menu.

Because I would suspect it would show something at least, than perhaps an error message or whatever but like seriously zero.

Share this post


Link to post
Share on other sites

Yep, desert_bradley.pbo and desert_bradley.pbo.PAULS.bisign in the modfolder. Well the regular MP mission in the MPMission folder of course.

I did have alot of success wiht adding other things though so what we discussed SHOULD work, talking about the menu thing and stuff I mentioned.

I added 20 apaches, 3 chinhooks, BTR80/A/90, Xtra units, both CU M1A1CH and CHT72 packs and the K52 Kamov successfully.

Tried them, flew them and had fun. :)

I did run into some problems with some stuff. The AWS tank I cannot run, Russian Armor Pack doesn't run (smurf pack) and I need to change my rank to Captain right from the start, I don't know where to look for that.

But its looking nice so far. :P

Share this post


Link to post
Share on other sites

hmm... Do you use notepad++ if you don't you should use that. Don't mod warfare 1.2 use warfare 1.1b from armaholic. Warfare 1.2 is missing files :P so it's kinda hard to make a perfect mod. zGuba mad an excellent mod. As far as the "Bradley" goes, it must be something with the type of vehicles it is. Cheers on the rest of your accomplishments though, I'm glad you were able to work the heli's out.

Hey Keep me posted on your progress kid...

Edited by Computica
Progress...

Share this post


Link to post
Share on other sites

Well I can tell you about so far :).

Here is a list:

Heavy Units;

Stryker ICV (FIM-92)

M1 Abrams (CH)

M1A1HC Abrams

M1A1HC Abrams NATO

M1A1HC Abrams Desert

SA6

BMP2 (Strela)

BTR-80

BTR-80A

BTR-90

T72M (CH)

T72M1V (CH)

T90M

T90S Shtora

And BRDM-2 (Strela) [Lightvehicle]

Choppers;

- AH-64A (Combat)

- AH-64A (Multi Role)

- AH-64A (Ground Support)

- AH-64A (Ground Support M229)

- AH-64A (Ground Support Mixed)

- AH-64A (Close Combat)

- AH-64A (Maverick 2x)

- AH-64A (Maverick 4x)

- AH-64A (Sidewinder 6x)

- AH-64A (TOW)

- AH-64A (Close Combat) Black

- AH-64A (Ground Support) Black

- AH-64A (Ground Support M229) Black

- AH-64A (Ground Support Mixed) Black

- AH-64A (Maverick 2x) Black

- AH-64A (Maverick 4x) Black

- AH-64A (Sidewinder 6x) Black

- AH-64A (TOW) Black

- CH-47D (transportiert 24 Soldaten)

- CH-47D Cargo (tranportiert 12 Soldaten)

- CH-47D MediVac (transportiert 24 Verwundete und 2 Sanitäter)

NH-90 (Transport)

V22 Osprey

MV22

MV22-2

MV22 Special

Mi24D

Ka-52

Planes:

F22

F16 CAS

F35 US Airforce

F-35 USAF Strike

F-35 US Navy Strike

F-35 US Marines VTOL

F-35 RAAF Strike

F-35 USAF (Stealth)

Eurofighter Typhoon (All 8 of them but in a/b/c/d/e/f/g/h format unfortunately so far so I will have to fix that but can't find the exact different descriptions for them but they are different, I tried)

F/A-18E Super Hornet

F/A-18F Super Hornet

So that is what I did so far, unfortunately still no bradley :).

I am gonna add the SU's now.

Later weapons too, so if u give me your pack or problem I can look at it and hopefully solve it.

Btw, also I modified the gameplay and set different rules, now it is finally as Warfare should be.

Very simply, "Warfare". Its that simple. :)

Problems, well I had some. Basically with running the AddOns in the mission script which seemed not to work.:

AWS Tank

The smurfc_era in Russian Armor Pack.

Comanche, and also turned in a mess.

F15, too confusing where class names and acutal units are concerned, and I am talking about all of them. It just doens't add up. More declared units than classnames. So...

C130, doens't run as AddOn.

F117 crashes when I buy one.

I wanted to add teh Rafele, Z9 chopper and Tiger chopper but couldn't find them.

Well I'll let you know how it further turns out with the SUs.

PS, I am 26, not a kid. :D

Thx for all the help so far. All I wanted to know at first was just how to do it once basically and than I could find all of them of course, that was my intention. :) But its working out well.

Btw, I forgot to add I need to change the ranks to captain but don't know where to find it.

And second I want a like "dynamic destruction" script that removes all destroyed vehicles and people immediately.

Now I found one but the author removed it, but the code is still alive.

http://www.armaholic.com/page.php?id=1879

And, http://www.ofpec.com/forum/index.php?topic=30080.0. But I don't know exactly what to do with it yet.

Edited by zachhox

Share this post


Link to post
Share on other sites

I have been working on Island Avignon from the ACE Island pack. The map is fun to play Warfare on, I'm just having trouble with the AI working as it should. It's near final but I keep getting error messages now and then. It's based on Warfare 1.1b code.

Share this post


Link to post
Share on other sites

Oh ok. Ace runs too slow for me, lol.

Since you edit the island can you do that for me too?

What I want is all the houses in the US Base and SLA Base removed.

Second, another Airfield at San Tomas and access by land to it.

And third, a Terminal instead of a hanger so it can't be destroyed?

If you have teh spare time :).

Share this post


Link to post
Share on other sites

LOL! The ACE Island pack is a stand-alone addon. You don't need ACE to use it. It adds a lot of cool maps from OFP that are converted for ARMA. Here's the link:

http://www.armaholic.com/page.php?id=3000

I'm not editing the map itself I'm editing the Warfare game mode. I'm having some trouble with errors though...

Edited by Computica
Forgot the link :P

Share this post


Link to post
Share on other sites

Ah ok. :)

I thought I needed ACE for it.

Anyway what weapon or weapon pack is the g6something grenade launcher?

And why you use warfare v1.2 from his mod? You don't wanna use regular v1.1 as a standard to build on?

If you don't mind me asking. :D

Share this post


Link to post
Share on other sites

Update:

heavy vehicles:

Lav-25

leopard 1a4

leopard 1a5

leopard 2a4

leopard 2a5

leopard 2a6

aws m1a2 sep abrams (woodland)

aws m1a2 sep abrams (desert)

m109a3 self propelled gun

lav-150 us commando [lightvehicle]

(all leo's for both sides)

planes:

F-111 agm142

f-111 aim7

f-111 aim9

f-111 gbu10

f-111 gbu12

f-111 mk82ff

f-111 mk84ff

f-111 sweepwing

weapons:

C_famas

c_famas_acog

c_famas_aimpoint

c_famas_f1_sfa

c_famas_m203

c_famas_sf

c_g36c

c_g36c_aim

c_g36c_aim_sd

c_g36c_sd

c_glock

c_hk416_acog

c_hk416_acog_sd

c_hk416_aim

c_hk416_aim_sd

c_hk416_m203_acog

c_hk416_m203_aim

c_hk417.p3d

c_mp5a4

c_mp5a4_aimpoint

c_mp5a5

c_mp5a5_aimpoint

c_mp5sd5

c_mp5sd5_aimpoint

c_mp5sd5_sf

c_mp5sd6

c_mp5sd6_aimpoint

c_mp5sd6_sf

c_p228.p3d

c_ump.p3d

m40a3:

M40a3 without bipod:

M40a3 fold bipod:

M40a3 acog:

M40a3 acog without bipod:

M40a3 acog fold bipod:

M40a3 desert:

M40a3 desert without bipod:

M40a3 desert fold bipod:

M40a3 desert acog:

M40a3 desert acog without bipod:

M40a3 desert acog fold bipod:

M40a3 wood:

M40a3 wood without bipod:

M40a3 wood fold bipod:

M40a3 wood acog:

M40a3 wood acog without bipod:

M40a3 wood acog fold bipod:

Hk g11

ukf_l85a2

ukf_l85a2_susat

ukf_l85a2ag36

ukf_l85a2ag36_susat

ukf_l85a2k_susat

ukf_l86a2lsw

ukf_l86a2lsw_susat

ukf_gpmg

ukf_lmg

ukf_lmg_susat

ukf_l96a1

ukf_l96a1_black

ukf_l96a1_cam

ukf_l96a1_des

ukf_l96a1_descam

ukf_browninghp

ukf_sigp226

ukf_sigp226_sd

ukf_law80launcher

east side:

Class xxrhs_ak74

class xxrhs_ak74gp25

class xxrhs_ak74pso1

class xxrhs_ak74m

class xxrhs_ak74mgp30

class xxrhs_ak74mcobra

class xxrhs_ak74m1p29

class xxrhs_ak74mgp301p29

class xxrhs_ak74mpso1

class xxrhs_aks74

class xxrhs_aks74gp25

class xxrhs_aks74pso1

class xxrhs_aks74p

class xxrhs_aks74pgp30

class xxrhs_aks74p1p29

class xxrhs_aks74ppso1

class xxrhs_ak103

class xxrhs_ak103gp30

class xxrhs_ak103gp30cobra

class xxrhs_ak103gp30pso1

class xxrhs_akm

class xxrhs_akmgp25

class xxrhs_akms

class xxrhs_akmsf

class xxrhs_akmsgp25

class xxrhs_akmspbs1

class xxrhs_asval

class xxrhs_asvalcobra

class xxrhs_rpk74

class xxrhs_rpk74dm

class xxrhs_rpk74m

class xxrhs_rpk74m1p29

class xxrhs_pk

class xxrhs_pecheneg

class xxrhs_pecheneg1p29

class xxrhs_svd

class xxrhs_awm [west side]

class xxrhs_vss

class xxrhs_v94

class xxrhs_aps

class xxrhs_apssd

class xxrhs_makarov

class xxrhs_makarovsd

class xxrhs_rpg22

class xxrhs_rpg27

:D :p

Share this post


Link to post
Share on other sites
Ah ok. :)

I thought I needed ACE for it.

Anyway what weapon or weapon pack is the g6something grenade launcher?

And why you use warfare v1.2 from his mod? You don't wanna use regular v1.1 as a standard to build on?

If you don't mind me asking. :D

The G630 is from the Queen's Gambit Expansion. I'm using Warfare version 1.1b for my warfare varient. I keep getting an on going error with it though...

Share this post


Link to post
Share on other sites

Well of course if you load another mod or folder than that is usually instead of the queens gambit, unless you know how to run both at the same time, it is possible though.

But anyway, I downloaded the 6G30 soldier and hope to find the class name for the weapon and all and try it out in armwarfare QB.

Btw, what else did u do or what kind of mod are you making?

I'll let you know how it turns out soon, with the 6G30...

---------- Post added at 10:13 AM ---------- Previous post was at 08:33 AM ----------

G630 problem fixed: :)

Put this in the mission.sqm file "6G30_dbe1", with the "" of course.

Don't forget the comma in the sentence above.

Put this in the regular weapon part, under teh M240 lets say:

_weapon = "6G30"

_ammo = "6Rnd_HE_6G30"

_w = _w + [_weapon]

_n = _n + [GetText (configFile >> "CfgWeapons" >> _weapon >> "displayName")]

_i = _i + [GetText (configFile >> "CfgWeapons" >> _weapon >> "picture")]

_c = _c + [40]

_a = _a + [_ammo]

_an = _an + [GetText (configFile >> "CfgMagazines" >> _ammo >> "displayName")]

_ai = _ai + [GetText (configFile >> "CfgMagazines" >> _ammo >> "picture")]

_as = _as + [GetNumber (configFile >> "CfgMagazines" >> _ammo >> "type") / 256]

_ac = _ac + [5]

And put this in the HandGrenade, FlareWhite_M203, FlareYellow_M203, FlareGreen_M203, FlareRed_M203 section.:

_weapon = "6Rnd_HE_6G30"

_w = _w + [_weapon]

_n = _n + [GetText (configFile >> "CfgMagazines" >> _weapon >> "displayName")]

_i = _i + [GetText (configFile >> "CfgMagazines" >> _weapon >> "picture")]

_s = _s + [GetNumber (configFile >> "CfgMagazines" >> _weapon >> "type") / 256]

_c = _c + [5]

_is = _is + [true]

This will solve the error and problems. I tried and tested it. Its actually quite nice the grenade launcher. :)

The only thing is that the ammu has no icon and seems blank but alright thats acceptible I guess. :P

I had that with other weapons too.

Oh and Btw, I fixed the Bradley problem, its works now. SWEET :)

And I fixed my blank weapon problem,

Edited by zachhox

Share this post


Link to post
Share on other sites

Hallo there,

I am completely new to the arma warfare editing scene,

I read through the things you guys were talking about, I found all the coding and stuff but it seems I still don't have a clue how it all works.

I am trying to add some of the Bush conflict (Border war mod) units and weapons into warfare.

It seems I don't know where to put the weapon and unit files and how to compile the files so that it actually works.

My saralite.pbo file shows up in the multiplayer screen but it won't run.

for example: (I quoted this from the previous reply)

_weapon = "6G30"

_ammo = "6Rnd_HE_6G30"

_w = _w + [_weapon]

_n = _n + [GetText (configFile >> "CfgWeapons" >> _weapon >> "displayName")]

_i = _i + [GetText (configFile >> "CfgWeapons" >> _weapon >> "picture")]

_c = _c + [40]

_a = _a + [_ammo]

_an = _an + [GetText (configFile >> "CfgMagazines" >> _ammo >> "displayName")]

_ai = _ai + [GetText (configFile >> "CfgMagazines" >> _ammo >> "picture")]

_as = _as + [GetNumber (configFile >> "CfgMagazines" >> _ammo >> "type") / 256]

_ac = _ac + [5]

I not sure how this part works.

It would be really awesome if someone could help me out.

Thanks

Edited by Blatjang

Share this post


Link to post
Share on other sites

Sure man, I'd be glad to. :D

So with the Bush Wars you mean this right?:

http://www.armaholic.com/page.php?id=4926

Dope weapons man, especially that 75mm rocket propelled grenade launcher right on your R1 :D

So from units what do you want exactly? On their site I see choppers, 3, and soldiers?!

So lets pull out everything, you want all weapons right from the start right? :D

Best probably to start wtih a clean version of warfare, preferably v1.1, either 8 people or the 32 version up to your choice.

So if thats what you want I can just copy the whole thing with all weapons here and you can copy it to where you are supposed to.

Do you have/use any tools so far?

Anyway all you need is this:

http://www.armaholic.com/page.php?id=1455

http://sourceforge.net/projects/notepad-plus/

http://www.armaholic.com/page.php?id=411

ArmA Edit, c++ notepad and Cpbo, thats all.

Than just make yourself a mod folder from which we work, put the cpbo.exe in it and just run it once, thats all. ArmA Edit you have to install and it comes as a normal install. And C++ Notepad as well.

Once you did that and answered the rest we'll continue. :D

Edited by zachhox

Share this post


Link to post
Share on other sites

Hey there, thanks again.

Yeah that is the mod, here is the url of the mod's website:

http://www.armedassault.info/_hosted/bushwars/index.html

(just for some more info if you need any)

They started to make the mod for ARMA, but before they could finish it ARMA2 was released, so they decided that they would continue work for ARMA2 only, so they stopped the ARMA work.

ARMA2 has not been released yet in south africa, so i'm still waiting on that, and my pc would'nt be able to run it anyway lol

But so far I actualy got the weapons to work (a few of the rifles), or I can buy them in the buy menu, and you cannot see the icons in the buy menu but you see it when you press "G" for gear.

And I added some of the choppers hehe.

(Also cannot see their icons in the buy menu)

(And when I buy the weapon I get a message that says something like

You cannot play/edit this mission, it relies on downloadable content that has been deleted... but the game still works, you can continue playing):confused:

I can't figure out how to add new soldiers though, i tried adding a soldier and it's price appears in the buy menu.

If you try to buy it, you lose your money and it says it's been added to the qeue, but the soldier never spawns.

I have not yet planned so far ahead as to know what I want do do with it all.

(maybe replace all the soldiers or just one of the sides' soldiers, not sure yet)

The the version I'm using is V1.1 the 8 player one.

These are the tools that I have:

Cpbo

And the BI tools that you can download, it contains:

Oxygen2 Personal edition

BinPBO Personal edition

Texview2

BinMake

Visitor3

Just another thing, My exams start next week so I might dissappear for a while, just a notice in case I don't reply to any messages.

Edited by Blatjang

Share this post


Link to post
Share on other sites

Alright first stop :), the weapons.

For that you could best use the C++ Notepad I posted the link for. So install it and right click and open it with c++ notepad.

Than you'll see this right up top from the start:

version=11;

class Mission

{

addOns[]=

{

"cacharacters",

"CABuildings",

"caweapons3_m16a4_acg",

"caweapons3_m107",

"Warfare",

"caair",

"caa10",

"caair3_su34",

"saralite",

"causmcd",

"WarfareBuildings",

"mk19_tripod",

"CA_Hotfix",

"cti_buildingsm113_hq",

"cti_buildingsbmp2_hq",

"warfarebuildings_stinger_twice_static",

"WarfareBuildings_TOW_Tripod",

"WarfareBuildings_T72_RACS",

Alright, now those are the addons that it loads. So to load the Bush Weapons add this:

"bwc_weapons",

Don't forget to put a coma to the one above just like in the example.

Than scroll down to autoaddons and add it as well:

addOnsAuto[]=

{

"causmcd",

"cacharacters",

"cti_buildingsm113_hq",

"WarfareBuildings",

"cti_buildingsbmp2_hq",

"CABuildings",

"saralite",

"bwc_weapons",

So that is to load it so it works properly.

What you also need and most important is a modfolder.

If you don't have one, you probably do but in any case, make one. Call it example "@BWC". In the main arma folder, call it whatever you like as long as it starts with "@".

In that folder make a folder called "Addons" and put the bwc_weapons.pbo file in there.

And than modify your arma shortcut, first of all copy it somewhere else and rename it to for example "ArmA +@BWC". Than right click, properties and at "Target" add this at the end -mod=@BWC, don't forget the space

"....exe" -mod=@BWC
.

To put an example of one of the weapons:

_weapon = "bwc_R1"

_ammo = "bwc_R1_mag"

_w = _w + [_weapon]

_n = _n + [GetText (configFile >> "CfgWeapons" >> _weapon >> "displayName")]

_i = _i + [GetText (configFile >> "CfgWeapons" >> _weapon >> "picture")]

_c = _c + [40]

_a = _a + [_ammo]

_an = _an + [GetText (configFile >> "CfgMagazines" >> _ammo >> "displayName")]

_ai = _ai + [GetText (configFile >> "CfgMagazines" >> _ammo >> "picture")]

_as = _as + [GetNumber (configFile >> "CfgMagazines" >> _ammo >> "type") / 256]

_ac = _ac + [5]

But you probably put that correctly so I'll leave it.

In any case at the _weapons you put the classname of the weapon and at _ammo you puts it ammo or magazines.

And about the soldiers, you wanna put it so you use the unit yourself right? That is the idea, yes?

Ok, moving onto the choppers:

"bwc_puma330",

"bwc_AlouII",

"BWC_AlouIII",

Put that in the mission.sqm file alike I before, to both addons/autoaddons.

_u = _u + ["bwc_AlouII"]

_d = _d + ["Alouette II SE-313"]

_c = _c + [1000]

_m = _m + [1000 + (westBarracksCosts Select WPILOTTYPE)]

_t = _t + [10]

_p = _p + [4]

_o = _o + [true]

_i = _i + ["\BWC_AlouII\ico\alouII_icon.paa"]

_u = _u + ["bwc_AlouIII_Gcar"]

_d = _d + ["Alouette III Gcar (FNMAG)"]

_c = _c + [1000]

_m = _m + [1000 + (westBarracksCosts Select WPILOTTYPE)]

_t = _t + [10]

_p = _p + [4]

_o = _o + [true]

_i = _i + ["\BWC_AlouIII\data\ico\alouIII_gcar_ico.paa"]

_u = _u + ["bwc_AlouIII_Kcar"]

_d = _d + ["Alouette III Kcar (Ga1 20mm)"]

_c = _c + [1000

_m = _m + [1000 + (westBarracksCosts Select WPILOTTYPE)]

_t = _t + [10]

_p = _p + [4]

_o = _o + [true]

_i = _i + ["\BWC_AlouIII\data\ico\alouIII_gcar_ico.paa"]

_u = _u + ["bwc_AlouIII_SOM"]

_d = _d + ["Alouette III SOM (AS12 Missiles)"]

_c = _c + [1000]

_m = _m + [1000 + (westBarracksCosts Select WPILOTTYPE)]

_t = _t + [10]

_p = _p + [4]

_o = _o + [true]

_i = _i + ["\BWC_AlouIII\data\ico\alouIII_gcar_ico.paa"]

_u = _u + ["bwc_AlouIII_SR"]

_d = _d + ["Alouette III SA316 (Search & Rescue)"]

_c = _c + [1000]

_m = _m + [1000 + (westBarracksCosts Select WPILOTTYPE)]

_t = _t + [10]

_p = _p + [4]

_o = _o + [true]

_i = _i + ["\BWC_AlouIII\data\ico\alouIII_gcar_ico.paa"]

_u = _u + ["bwc_puma330_c"]

_d = _d + ["Puma 330C (CASEVAC)"]

_c = _c + [1000]

_m = _m + [1000 + (westBarracksCosts Select WPILOTTYPE)]

_t = _t + [10]

_p = _p + [4]

_o = _o + [true]

_i = _i + ["\bwc_puma330\data\ico\puma_ico.paa"]

_u = _u + ["bwc_puma330_l"]

_d = _d + ["Puma 330L (FNMAG)"]

_c = _c + [1000]

_m = _m + [1000 + (westBarracksCosts Select WPILOTTYPE)]

_t = _t + [10]

_p = _p + [4]

_o = _o + [true]

_i = _i + ["\bwc_puma330\data\ico\puma_ico.paa"]

_u = _u + ["bwc_oryx"]

_d = _d + ["Atlas Oryx"]

_c = _c + [1000]

_m = _m + [1000 + (westBarracksCosts Select WPILOTTYPE)]

_t = _t + [10]

_p = _p + [4]

_o = _o + [true]

_i = _i + ["\bwc_puma330\data\ico\puma_ico.paa"]

After some hard work, here they are. :D With icon and all. :)

Put that in Common\Config\Config_AircraftFactory.sqs.

You know put it at the bottom or after the Blackhawk or after the AH6. As long as you don't first. :)

And btw, download all of them, the files from the site and put the .pbo files in the @BWC/Addons folder right.

Now, since it says you need the Pilots too, put that in there too and here is the code.

"bwc_pilots",

This for the mission.sqm file.

Put this in Config_Barracks.sqs file in the same directory.

_v = _v + ["SoldierWPilot"]

_u = _u + ["bwc_helipilot"]

_d = _d + ["Men/Helicopter Pilot"]

_c = _c + [20]

_t = _t + [5]

_p = _p + [5]

_i = _i + ["bwc_pilots\data\helipilot_co.paa"]

Well that is it. :P

I am just not sure about the last icon for the pilots.

Anyway tell me if it works and if you like it.

Good luck with your exams. :D

Edited by zachhox

Share this post


Link to post
Share on other sites

Hey there thanks again,

And yes it works:D

There is just a tiny problem with the pilot's "bwc_pilots\data\helipilot_co.paa" line, it says in the game it cannot find that .paa thing?

But everything else is working great:D thanks

I can even recruit the pilot:)

But I still cannot add just a normal rifleman from the SADF_Soldier pbo file.

I don't know what the difference is supposed to be...

But if you could show me how to add them to the recruiting list, and how to replace the normal starting soldiers that would be awesome, then I can play around it and find a combination that works for me.

Just another thing... the sadf_soldiers are listed as Bluefor, can they still be added to the EAST side to fight against the WEST in Warfare?

Thanks again for your help and patience, I realy appreciate it:)

Nevermind, I think I got the rifleman thing sorted out, I used the ingame mission editor to find out what i must type in to get the soldiers to work.

So you don't have to use your free time to help me figure it out

Thanks :)

Edited by Blatjang

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×