OFPEC Forum
Addons & Mods Depot => OFP - Addons & Mods Beta Testing => Topic started 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
-
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!
-
where do i put it
-
In the units init field. ;)
-
can i get a file with guba with a gun and does any one know for half life models for flashpoint
-
This isn't addon related mate.
;)
Well not really, but it should be a general editing, I love acting british... :tomato:
-
i cant give him a magazine as well as a gun
-
Give him the magazine first, then give him the gun.
Planck
-
what happens if its the other way round?
-
Gun is not reloaded :D ;)
-
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.
-
Ammo first = gun loaded :)
gun first = gun not loaded :(
Please drop this everyone, this is in the wrong section anyways.