You can hard code the damage in,

here is the code from the SDK weapon parse

        m_iDamage               = pKeyValuesData->GetInt( "Damage", 42 ); // 
Douglas Adams
1952 - 2001

as valve does here, you can too, once you have run the base parse you
can add in your own values so it overwrites what was pulled from the
file.

real quick though, does anyone know who Douglas Adams is?


On Wed, 09 Feb 2005 03:46:08 -0700, Steven Guy
<[EMAIL PROTECTED]> wrote:
> This is a bit different case. With CS, TFC and NS all those are third party
> server side apps. In this case the weapon code itself can be modified by
> anyone with notepad. I like to feel that I have more control over my code
> than that.
>
> Also as a side note all those damn server apps are the reason I don't play
> CS, TFC or NS anymore. Most of those things just annoy me.
>
> >From: "Deadman Standing" <[EMAIL PROTECTED]>
> >Reply-To: hlcoders@list.valvesoftware.com
> >To: <hlcoders@list.valvesoftware.com>
> >Subject: RE: [hlcoders] [OT] "Safe way" of setting weapon damages?
> >Date: Wed, 9 Feb 2005 05:19:17 -0500
> >
> >HUH? After playing many modded CS, TFC, and NS servers I have yet to see
> >a single player blame the mod. If anything they blame the server.
> >
> >At any rate you can not really block it from happening as long as there
> >is a client server relationship and health is broadcast to the server. A
> >server plugin can modify the attributes and send it back. The flip side
> >is if you keep health on the client side only, you open yourself to
> >hacks like GOD mode. It would also limit information to third party stat
> >programs like pshychostats that many players enjoy.
> >
> >But then again in the end it all just opinion.
> >
> >-----Original Message-----
> >From: [EMAIL PROTECTED]
> >[mailto:[EMAIL PROTECTED] On Behalf Of Steven Guy
> >Sent: Wednesday, February 09, 2005 4:40 AM
> >To: hlcoders@list.valvesoftware.com
> >Subject: RE: [hlcoders] "Safe way" of setting weapon damages?
> >
> >Because the player's will blame the mod not the server.
> >If it was documented by the mod makers as a feature that would be
> >different.
> >
> >
> >
> >
> >_______________________________________________
> >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
>
>

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

Reply via email to