OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Old_Man on 09 Oct 2002, 18:42:39

Title: Here's another for you(problem)
Post by: Old_Man on 09 Oct 2002, 18:42:39
I have used the Remove all command in the init. field and have added weapons from Lost Bros. HK addon, along with binoculars and pipebombs to a BIB SAS. now when I preview the pIpebombs are not availible for use nor do they show up in the gear section in the notebook.
 Also Have placed some in an empty truck. I can select to take from the truck but still can't place the Damn things. I can drop them though.
                        Please Help
Title: Re:Here's another for you(problem)
Post by: Tomb on 09 Oct 2002, 20:03:17
Hey-ho, oldman!  :cheers:

 :) A regular trooper has 10 slots plus the handgun slots.

Thus, the defaults are:
:D Now, to make the moron carry some custom goods, do it like this (INIT) :

That would give him 3 satchels and a loaded rifle with 3 extra mags.

Then he can also carry a handGun (with 4 mags).  :-*

The pipe's take the room of TWO handgrenades, and thus it takes TWO of those
handgrenades to fill the SAME as ONE satchel. Get the point?  :D Maybe ya added too many pipe's
that would be = NONE AT ALL when playing  :o :-\ :)

Now, if ya wanna make a custom gear section, ya need to make a "description.ext" file  ;)


In the "Description.ext" file you'd need to put the custom_named_rifle and whatever extra gear.

 :-* Example:

----------------------------
class Weapons
{

class Custom_Rifle
{count = 1};

class Magazines
{

class Custom_RifleMag
{count = 4};

----------------------

Read the tutes on this if ya got trouble, m8
Title: Re:Here's another for you(problem)
Post by: Wolf on 10 Oct 2002, 01:49:35
Hangrenades?
he said he removed all weapons, and never said he added grenades?
I'm sorry Old_Man, but I can't seem to get the satchel charges to work right aswell.
Title: Re:Here's another for you(problem)
Post by: Tomb on 10 Oct 2002, 02:07:22


[attachment deleted by admin]
Title: Re:Here's another for you(problem)
Post by: Old_Man on 12 Oct 2002, 18:58:21
You Guys are great ! Thanks for all the imput; but it appears I added it wrong. AddMagazine not AddWeapon. Works just fine now. Stupid is as Stupid DOES.
   Guess I'll always be a beginner.

                  THANKS ! Again Guys
                             Old_Man