OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started 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
-
Hey-ho, oldman! :cheers:
:) A regular trooper has 10 slots plus the handgun slots.
Thus, the defaults are:
- 4 RifleMags
- 6 handgrenades
- 4 H-gunMags
:D Now, to make the moron carry some custom goods, do it like this (INIT) :
- This addMagazine "Custom_RifleMag" (repeated 4 times).
- This AddWeapon "Custom_Rifle"
- This AddMagazine "PipeBomb" (repeated 3 times)
- This AddWeapon "Binocular"
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
-
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.
-
[attachment deleted by admin]
-
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