Hey,
wenn ich ingame "give weapon_flaregun" eingeb, bekomm ich zwar die waffe, aber keine munition.
Ausserdem kommt drunter die Meldung:
"ERROR: Weapon (weapon_flaregun) using undefined primary ammo type (Flare_Round)"
item_ammo.cpp:
class CItem_FlareRound : public CItem
{
public:
DECLARE_CLASS( CItem_FlareRound, CItem );
WeaponData
{
// Weapon data is loaded by both the Game and Client DLLs.
"printname" "FLAREGUN"
"viewmodel" "models/weapons/v_flaregun.mdl"
"playermodel" "models/weapons/w_flaregun.mdl"
"anim_prefix" "python"
"bucket" "1"
"bucket_position" "5"
// Sounds for the weapon. There is a max of 16 sounds per category (i.e. max 16 "single_shot" sounds)
SoundData
{
"empty" "Weapon_Pistol.Empty"
"single_shot" "Weapon_Flaregun.Single"
}
Im thewall Forum konnte man mir net helfen, im irc auch net
Woran kann das liegen?
[Beitrag wurde 1x editiert, zuletzt von n!tro am 05.09.2005, 23:46]
Hm.. wie mir scheint gibt es zwar die "Waffe" flaregun aber nicht die dazugehörige Munition.. schau dir mal an wie die anderen Waffen-Ammos deklariert werden (RPG-Round usw).. FlareRound müsste die Klasse sein für Flare Munition...