Home   Help Search Login Register  

Author Topic: How to add ADDON weapons to Chris's OFP script editor...  (Read 631 times)

0 Members and 1 Guest are viewing this topic.

Offline Burn

  • Members
  • *
 :oI would want to add some addonweapons to the weaponslist in Chris's OFP script editor, (when you make an Description file in the description.ext WIZARD)... Is this possible ??? And if not how do you add ADDONWEAPONS manually into the description, after using the wizard ???

Please help ::)

Thank you :-* :D
~:BIZON:~ OUT :-X***

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:How to add ADDON weapons to Chris's OFP script editor...
« Reply #1 on: 30 Mar 2003, 19:00:50 »
I don't know anything about the Scripteditor, but adding extra weapons to gear selection is very easy.    

I take it you have a description.ext file.     Copy and paste the blurb below, change the weapons as you like.   Get the names from the weapon and ammo list in the Ed Depot - Tutes - References.    For user created addon weapons the names should be included in the addon readme.



class Weapons
{
class binocular
{
count =  1;
};
class M21
{
count =  1;
};
class Steyr
{
count =  1;
};
class G36a
{
count =  1;
};
class XMS
{
count =  1;
};
class M16
{
count =  1;
};
class M16GrenadeLauncher
{
count =  1;
};
class M60
{
count =  1;
};
class kozlice
{
count =  1;
};
class MM1
{
count =  1;
};
class Mortar
{
count =  1;
};
class LAWLauncher
{
count =  1;
};
class CarlGustavLauncher
{
count =  1;
};
};



class Magazines
{
class M21
{
count =  9;
};
class SteyrMag
{
count =  9;
};
class G36aMag
{
count =  9;
};
class M4
{
count =  9;
};
class M16
{
count =  9;
};
class M16GrenadeLauncher
{
count =  9;
};
class M60
{
count =  9;
};
class kozliceball
{
count =  9;
};
class kozliceshell
{
count =  9;
};
class MM1magazine
{
count =  9;
};
class HandGrenade
{
count =  9;
};
class Mortar
{
count =  9;
};
class LAWLauncher
{
count =  3;
};
class CarlGustavLauncher
{
count =  1;
};
class Pipebomb
{
count =  3;
};
class Flare
{
count =  4;
};
class FlareRed
{
count =  4;
};
class FlareGreen
{
count =  4;
};
class FlareYellow
{
count =  4;
};
class SmokeShell
{
count =  4;
};
class SmokeShellRed
{
count =  4;
};
class SmokeShellGreen
{
count =  4;
};
};
« Last Edit: 30 Mar 2003, 19:09:02 by macguba »
Plenty of reviewed ArmA missions for you to play

Offline Burn

  • Members
  • *
Re:How to add ADDON weapons to Chris's OFP script editor...
« Reply #2 on: 30 Mar 2003, 21:31:47 »
Problem solved... Thanx  alot ;D

I had a little typing error in my description :-[ :P