Opflashers: I need gun configs

Locked
Heners_UK
Posts: 731
Joined: Tue Aug 28, 2001 10:19 am

Post by Heners_UK »


As those of you who tested the mission tonight know, ive now got a kickass system going to gear up us and the goons with decent guns and select nice choppers.


 


Now, I want you to do a bit of work for me.


 


I want you to post the kit out of guns that you want to see. You can use anything from Flippers M4 Pack, Keg's Realistic Russain Weaps, and the Standard Stuff (inc. that in Resistance).  Be sure to think about how much stuff a solider can carry, remembering that he only has 10 ammo slots.


 


Once you have made the kit out for one solider, you can use it to kit out any member of the team. You can vary the kit outs between members.


 


How do I do this?


 


use the following template for a new sqs file, which is named after what your going to kit out (i.e. m4a1gustav):



_unit = _this select 0

removeallweapons _unit

<insert your addweapons and addmagazines here>

exit



 


Where it says to do so, insert the required addweapons (remembering to use the classnames, not just what you see on screen), using _unit at the start. Like so:



_unit addweapon "flpm4a1cmag"



 


Then put in the required magazines, again, using classnames:



_unit addmagazine "flpm4a1bcmag"



 


At the end of it all, put a line that makes your main weapon active, i.e.:



_unit selectweapon "flpm4a1cmag"



 


Here is an example:



_unit = _this select 0

removeallweapons _unit

_unit addmagazine "flpm4a1bcmag"
_unit addmagazine "flpm4a1bcmag"
_unit addmagazine "carlgustavlauncher"
_unit addweapon "binocular"
_unit addweapon "nvgoggles"
_unit addweapon "carlgustavlauncher"
_unit addweapon "flpm4a1cmag"
_unit selectweapon "flpm4a1cmag"

exit



That gears a guy up with a M4A1 With A Beta-C mag, a Carl Gustav Launcher, Binocs, NV, and all the ammo he can carry.


 


Here are a few more:



_unit = _this select 0

removeallweapons _unit

_unit addmagazine "HK"
_unit addmagazine "HK"
_unit addmagazine "HK"
_unit addmagazine "HK"
_unit addmagazine "HK"
_unit addmagazine "HK"
_unit addmagazine "Pipebomb"
_unit addmagazine "Pipebomb"
_unit addweapon "binocular"
_unit addweapon "nvgoggles"
_unit addweapon "HK"
_unit selectweapon "HK"

exit




_unit = _this select 0

removeallweapons _unit

_unit addmagazine "g36amag"
_unit addmagazine "g36amag"
_unit addmagazine "g36amag"
_unit addmagazine "g36amag"
_unit addmagazine "g36amag"
_unit addmagazine "g36amag"
_unit addmagazine "g36amag"
_unit addmagazine "handgrenade"
_unit addmagazine "handgrenade"
_unit addmagazine "smokeshell"
_unit addweapon "binocular"
_unit addweapon "nvgoggles"
_unit addweapon "g36a"
_unit selectweapon "g36a"

exit



 


Now, to gear out the 2 teams of 10 people we use in the mission.


 


Having saved your kit out, and any more you wanted to do, use the following code for a template for a sqs file named after what the teams are for (i.e. AA.sqs) :



[pl1] exec "loads\gun.sqs"
[pl2] exec "loads\gun.sqs"
[pl3] exec "loads\gun.sqs"
[pl4] exec "loads\gun.sqs"
[pl5] exec "loads\gun.sqs"
[pl6] exec "loads\gun.sqs"
[pl7] exec "loads\gun.sqs"
[pl8] exec "loads\gun.sqs"
[pl9] exec "loads\gun.sqs"
[pl10] exec "loads\gun.sqs"

[ql1] exec "loads\gun.sqs"
[ql2] exec "loads\gun.sqs"
[ql3] exec "loads\gun.sqs"
[ql4] exec "loads\gun.sqs"
[ql5] exec "loads\gun.sqs"
[ql6] exec "loads\gun.sqs"
[ql7] exec "loads\gun.sqs"
[ql8] exec "loads\gun.sqs"
[ql9] exec "loads\gun.sqs"
[ql10] exec "loads\gun.sqs"


exit



 


DO NOT CHANGE THE "loads\" at the beginning pls, its where I put all the weapon kit. Now, change the "gun" part on each of those to the name of your file(s) that you made. I.e:



[pl1] exec "loads\g36.sqs"
[pl2] exec "loads\g36.sqs"
[pl3] exec "loads\g36.sqs"
[pl4] exec "loads\flpm4a1sdbcmag.sqs"
[pl5] exec "loads\flpm4a1sdbcmag.sqs"
[pl6] exec "loads\flpm4a1sdbcmag.sqs"
[pl7] exec "loads\g36law.sqs"
[pl8] exec "loads\g36law.sqs"
[pl9] exec "loads\m60.sqs"
[pl10] exec "loads\m60.sqs"

[ql1] exec "loads\g36.sqs"
[ql2] exec "loads\g36.sqs"
[ql3] exec "loads\g36.sqs"
[ql4] exec "loads\flpm4a1sdbcmag.sqs"
[ql5] exec "loads\flpm4a1sdbcmag.sqs"
[ql6] exec "loads\flpm4a1sdbcmag.sqs"
[ql7] exec "loads\g36law.sqs"
[ql8] exec "loads\g36law.sqs"
[ql9] exec "loads\m60.sqs"
[ql10] exec "loads\m60.sqs"


exit



 


Then zip and send all this stuff to me. It would help a lot if you could because I will try and implement this in most missions I do.


 


Thanks.


 


H.


otto
Posts: 572
Joined: Tue Nov 19, 2002 8:32 pm

Post by otto »

:wave:

Chomps
Posts: 812
Joined: Tue Sep 11, 2001 11:30 am

Post by Chomps »

:look:

otto
Posts: 572
Joined: Tue Nov 19, 2002 8:32 pm

Post by otto »


:look:

:confused:


Heners_UK
Posts: 731
Joined: Tue Aug 28, 2001 10:19 am

Post by Heners_UK »


:wave:

I suppose I should just turn all of your useless threads into offtopic smiley posts


Chomps
Posts: 812
Joined: Tue Sep 11, 2001 11:30 am

Post by Chomps »



:wave:

I suppose I should just turn all of your useless threads into offtopic smiley posts



:smash:


coma
Posts: 67
Joined: Tue Aug 28, 2001 1:39 am

Post by coma »

otto
Posts: 572
Joined: Tue Nov 19, 2002 8:32 pm

Post by otto »

Locked