Advertisement

Author Topic: connundrum  (Read 418 times)

0 Members and 1 Guest are viewing this topic.

redmenace

  • Guest
connundrum
« 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..

Offline Pilot

  • Contributing Member
  • **
Re:connundrum
« Reply #1 on: 07 Dec 2005, 04:56:20 »
Be sure to remove the ak74 magainzes, then add the kozlice magazines first, ex:
Code: [Select]
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

Offline bardosy

  • Honoured Contributor
  • ***
  • campaign designer
    • CartooDiv
Re:connundrum
« Reply #2 on: 07 Dec 2005, 11:22:16 »
You must addMagazine "kozlice" first! And then addWeapon "kozlice"...
Fix bayonet!

Offline 456820

  • Contributing Member
  • **
Re:connundrum
« 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

Offline THobson

  • OFPEC Patron
  • Former Staff
  • ****
Re:connundrum
« 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

Offline Flauta

  • Members
  • *
  • There is no knownledge, that is no power
    • Chek mi FLog
Re:connundrum
« Reply #5 on: 08 Dec 2005, 01:09:54 »
so, if you want to remove all the weapons, and then start adding use;

Code: [Select]
RemoveAllWeapons(This)then add some Kozlize mags
Code: [Select]
this addMagazine "kozliceshell"; this addMagazine "kozliceshell"; this addMagazine "kozliceball"; this addMagazine "kozliceball"Finally add the Kozklize Weapon..
Code: [Select]
this addWeapon "kozlice" and some extra stuff
Code: [Select]
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: [Select]
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: [Select]
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: [Select]
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"