Welcome, Guest Sunday 20th April 2014, 09:26:14
   Home   Help Search Login Register  

OFPEC Forum

Author Topic: connundrum  (Read 395 times)
0 Members and 1 Guest are viewing this topic.
redmenace
Guest
« on: 07 Dec 2005, 04:38:16 »

this removeWeapon "ak74"; this addWeapon "kozlice"; this addMagazine "kozliceshell"; this addMagazine "kozliceshell"; this addMagazine "kozliceball"

I have that in the init field of an east soldier, and he spawns with the kozlice but no ammo!

It's quite the connundrum..
Logged
Pilot
Contributing Member
**
Offline Offline



« Reply #1 on: 07 Dec 2005, 04:56:20 »

Be sure to remove the ak74 magainzes, then add the kozlice magazines first, ex:
Code:
this removeWeapon "ak74"; this removemagazine "ak74"; this removemagazine "ak74"; this removemagazine "ak74"; this removemagazine "ak74"; this addMagazine "kozliceshell"; this addMagazine "kozliceshell"; this addMagazine "kozliceball"; this addweapon "kozlice";

-Pilot
Logged
bardosy
Honoured Contributor
***
Offline Offline


campaign designer


WWW
« Reply #2 on: 07 Dec 2005, 11:22:16 »

You must addMagazine "kozlice" first! And then addWeapon "kozlice"...
Logged

Fix bayonet!
456820
Contributing Member
**
Offline Offline


« Reply #3 on: 07 Dec 2005, 22:43:38 »

since its on the same topic ive noticed if i remove an M16 mag from a normal soldier the player starts with no ammo and must reload ? how doy you get around that

Quote
You must addMagazine "kozlice" first! And then addWeapon "kozlice"...
indeed you do
Logged
THobson
OFPEC Patron
Former Staff
****
Offline Offline



« Reply #4 on: 08 Dec 2005, 00:16:57 »

Quote
since its on the same topic ive noticed if i remove an M16 mag from a normal soldier the player starts with no ammo and must reload ? how doy you get around that
Remove his M16 and then give it back to him
Logged
Flauta
*
Offline Offline


There is no knownledge, that is no power


WWW
« Reply #5 on: 08 Dec 2005, 01:09:54 »

so, if you want to remove all the weapons, and then start adding use;

Code:
RemoveAllWeapons(This)
then add some Kozlize mags
Code:
this addMagazine "kozliceshell"; this addMagazine "kozliceshell"; this addMagazine "kozliceball"; this addMagazine "kozliceball"
Finally add the Kozklize Weapon..
Code:
this addWeapon "kozlice"
and some extra stuff
Code:
this addWeapon "Binoculars"; this addweapon "handgrenade"; this addweapon "handgrenade"; this addweapon "handgrenade"; this addweapon "handgrenade"; this addweapon "handgrenade"; this addweapon "handgrenade"

It will se like these:
Code:
RemoveAllWeapons(This); this addMagazine "kozliceshell"; this addMagazine "kozliceshell"; this addMagazine "kozliceball"; this addMagazine "kozliceball"; this addWeapon "kozlice";this addWeapon "Binoculars"; this addweapon "handgrenade"; this addweapon "handgrenade"; this addweapon "handgrenade"; this addweapon "handgrenade"; this addweapon "handgrenade"; this addweapon "handgrenade"

or you can first remove the Ak74 setup like these

Code:
this removeweapon "ak74"; this removemagazine "ak47"; this removemagazine "ak74""; this removemagazine "ak74""; this removemagazine "ak74"

and then add de ammo.. it'll look like these

Code:
this removeweapon "ak74"; this removemagazine "ak47"; this removemagazine "ak74""; this removemagazine "ak74""; this removemagazine "ak74";this addMagazine "kozliceshell"; this addMagazine "kozliceshell"; this addMagazine "kozliceball"; this addMagazine "kozliceball"; this addweapon "kozlice"
Logged
Pages: [1]   Go Up
  Send this topicPrint  
 
Jump to: