--
[ Picked text/plain from multipart/alternative ]
Well, you'll need a couple things.  First, a network var in the player class
and hud element to hold the # of coins for a player and to show the #
respectively.  Then you'll need to create the coin entity (similar to
creating a normal mapper point entity, see the source docs for a tutorial on
that), then, modify the player's EventDeath() function to spawn the coin(s).
: ) That's a basic outline at least, hope it helps. :D

On 5/26/07, Joshua S. <[EMAIL PROTECTED]> wrote:
>
> --
> [ Picked text/plain from multipart/alternative ]
> I'm thinking of having a coin collecting system in my mod, what would be
> the
> best way in doing this?
> For instance, everyone starts out with a coin, if you kill someone a coin
> drops and you can collect it (like a mario game).
> Any information would be great, thanks.
> Josh
> --
>
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives,
> please visit:
> http://list.valvesoftware.com/mailman/listinfo/hlcoders
>
>
--

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to