OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: shark attack on 22 Jan 2004, 21:00:34

Title: RAF TORNADO GR8(jp233)
Post by: shark attack on 22 Jan 2004, 21:00:34
any one got any ideas how to rearm this sucker
it carrys 300 bombletts yet i can only get 150 from an ammo truck! probably real simple but its got me knackered!!!

thanks

sharkattack!
Title: Re:RAF TORNADO GR8(jp233)
Post by: HuNtA on 22 Jan 2004, 22:18:10
well find out the ammo names, and use addMagazine  when U get close to a certain object (eg ammo truck)
Title: Re:RAF TORNADO GR8(jp233)
Post by: shark attack on 22 Jan 2004, 23:24:21
CANT FIND THE CLASS NAME OF JP233 ANYONE KNOW IT?
Title: Re:RAF TORNADO GR8(jp233)
Post by: Planck on 22 Jan 2004, 23:56:46
Got this from the config, hope it is some help.

class JP233_corpo_SX: hellfireLauncher
   {
      ammo="JP233_corpo_sx";
      count=1
      backgroundReload=1
      initspeed=0
      magazinereloadtime=0.001000;
      reloadtime=0.001000;
      magazines[]={"JP233_corpo_sx","JP233_corpo_dx"};
      sound[]={"weapons\M16dry","db+20",1};
   };
   class JP233_corpo_DX: JP233_corpo_SX
   {
      ammo="JP233_corpo_dx";
      count=1
   };


Planck
Title: Re:RAF TORNADO GR8(jp233)
Post by: shark attack on 23 Jan 2004, 00:00:29
Planck    youre a star   thanx  m8 :D