Are you saying you want a single greande to have different "modes"
(i.e. can explode in different ways) or are you actually trying to
make each grenade as a seperate weapon type?
In our mod we have several types of grenades (four in fact) and these
are all defined as different weapons derived from from a common base
class.
- Jed
2008/7/30 Yorg Kuijs <[EMAIL PROTECTED]>:
> nah there's only a few sounds defined there
> but I found what I was looking for in the code, but again if I change this
> it will count that for all the grenades so I want to make something like:
> if weapon_frag.cpp
> {
> playsound1
> }
>
> if weapon_superfrag.cpp
> {
> playsound2
> ]
>
> I have no idea how to do this though, basically I have different code for
> the weapons themselves(what you see in hand) but they all take data from
> basegrenade_shared.cpp and thats where I can also determine explosion sounds
> but I need a way to make if's for playing sound 1 for nade 1, sound 2 for
> nade 2, sound 3 for nade 3, etc etc.
> I'm new to coding so I don't know how to do this, already trying some things
> but doesn't work... yet
>
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders