OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting Multiplayer => Topic started by: Top-Gun on 09 Nov 2003, 17:03:33
-
Hi Guys
i'm having a big bit of trouble with my mission, it's a death match but when you respawn the gun changes from a shotty to an ak47 !!!!
onLoadIntro="Mafia"
onLoadMission="The Don sends his regards"
showCompass=0
showGPS=0
showMap=1
showNotepad=1
showWatch=0
debriefing=1
respawn=2
respawndelay=10
class Weapons
{
class kozlice
{
count = 11;
};
class Timebomb
{
count = 5;
};
class FlareRed
{
count = 6;
};
class Pipebomb
{
count = 4;
};
class HandGrenade
{
count = 4;
};
};
class Magazines
{
class kozliceball
{
count = 9;
};
class kozliceshell
{
count = 9;
};
};
There's my file what can i do to change this situation
-
its probably because the default weapon class of the soldier class you are using is an AK
You have various options available to you
1) You need to run a reloadguy script, which strips all the weapons from you when you respawn and then reloads with whatever custom loadout you have designated
2) add all the weapons you want into ammo crates at your spawn
the description.ext is simply used to arm soldiers using the briefing system at game start and is not a widely used way of rearming soldiers
reloadguy.sqs in its various forms is available in the editors depot