OFPEC Forum

Addons & Mods Depot => OFP - Addons & Mods Beta Testing => Topic started by: beretta on 11 Apr 2005, 16:19:52

Title: give marines diffrent guns
Post by: beretta on 11 Apr 2005, 16:19:52
in the mission editer how can i give soldier diffrent guns like genreal guba with a handgun
Title: Re:give marines diffrent guns
Post by: Serial Killer on 11 Apr 2005, 16:28:52
1. Remove his original weapons by removeAllWeapons this ( If he has already some weapons )
2. Add a new weapon for him by this addWeapon "weapon name"
3. Add magazines for him by this addMagazine "magazine name"

All the magazine and weapon names are listed down there.. ;)

WEAPON                                                      MAGAZINE
--------------------------------------------------------------------------

WEST
----------------
MM1.........................................................MM1Magazine
G36a........................................................G36aMag
HK............................................................HK
M4............................................................M4
M16.........................................................M16
M16GrenadeLauncher..........................................M16, GrenadeLauncher
M60.........................................................M60
M21.........................................................M21
HKG3........................................................HKG3Mag
FAL.........................................................FALMag
UZI.........................................................UZIMag
Steyr.......................................................Steyrmag
LAWLauncher.................................................LAWLauncher
XMS................................................................M4
CarlGustavLauncher..........................................CarlGustavLauncher
AALauncher..................................................AALauncher
Beretta......................................................BerettaMag
Glock........................................................GlockMag

EAST
----------------
6G30.......................................................6g30Magazine
Tokarev.....................................................TokarevMag
Bizon......................................................BizonMag
Ak74........................................................Ak74
Ak74Su......................................................Ak74
AK74GrenadeLauncher.........................................Ak74, GrenadeLauncher
AK47........................................................AK47
AK47GrenadeLauncher.........................................AK47, GrenadeLauncher
Skorpion..................................................SkorpionMag
PK..........................................................PK
SVDDragunov.................................................SVDDragunov
AT4Launcher.................................................AT4Launcher
9K32Launcher................................................9K32Launcher
RPGLauncher.................................................RPGLauncher

RESISTANCE
----------------
Kozlice.....................................................Kozliceshell,Kozliceball
9K32Launcher................................................9K32Launcher
AK47CZ.......................................................AK47
CZ75..........................................................CZ75Mag
Skorpion.................................................SkorpionMag
AK47........................................................AK47
AK47GrenadeLauncher.........................................AK47, GrenadeLauncher
AT4Launcher.................................................AT4Launcher
RPGLauncher.................................................RPGLauncher
PK..........................................................PK

Civilian (police)
-----------------
CZ75...............................................................CZ75Mag
HuntingRifle................................................HuntingRifleMag
Revolver....................................................RevolverMag
Ingram......................................................IngramMag
Kozlice....................................................Kozliceball,Kozliceshell

Misc. Equipment
----------------
Mortar......................................................Mortar
LaserDesignator.............................................LaserDesignator
Flare............................................................Flare
FlareRed....................................................FlareRed
FlareGreen..................................................FlareGreen
FlareYellow.................................................FlareYellow
SmokeShell..................................................SmokeShell
SmokeShellRed...............................................SmokeShellRed
SmokeShellGreen.............................................SmokeShellGreen
HandGrenade.................................................HandGrenade
Pipebomb.....................................................Pipebomb
Timebomb....................................................Timebomb
Mine........................................................Mine
Binocular
NVGoggles

Happy editing!
Title: Re:give marines diffrent guns
Post by: beretta on 11 Apr 2005, 17:07:34
where do i put it
Title: Re:give marines diffrent guns
Post by: greg147 on 11 Apr 2005, 17:15:02
In the units init field.  ;)
Title: Re:give marines diffrent guns
Post by: beretta on 11 Apr 2005, 17:39:50
can i get a file with guba with a gun and does any one know for half life models for flashpoint
Title: Re:give marines diffrent guns
Post by: Dubieman on 12 Apr 2005, 00:33:46
This isn't addon related mate.
 ;)

Well not really, but it should be a general editing, I love acting british... :tomato:
Title: Re:give marines diffrent guns
Post by: beretta on 13 Apr 2005, 21:01:10
i cant give him a magazine as well as a gun
Title: Re:give marines diffrent guns
Post by: Planck on 13 Apr 2005, 21:09:16
Give him the magazine first, then give him the gun.



Planck
Title: Re:give marines diffrent guns
Post by: ishwoo on 20 Apr 2005, 18:56:45
what happens if its the other way round?
Title: Re:give marines diffrent guns
Post by: Serial Killer on 20 Apr 2005, 18:57:46
Gun is not reloaded :D ;)
Title: Re:give marines diffrent guns
Post by: ghillisniper_270 on 29 Apr 2005, 01:30:16
there are some really good weapon and ammo loadout scripts in the scripts/weapons and ammo section of the editors corner.  check em out.  I modified one so I could quit looking in all the readme's of my addons to find weapon and ammo names.  I was going to link it, but I don't know which script is actually the best.
Title: Re:give marines diffrent guns
Post by: Dubieman on 29 Apr 2005, 04:49:26
Ammo first = gun loaded :)
gun first = gun not loaded   :(


Please drop this everyone, this is in the wrong section anyways.