[hlcoders] Weapon Names in DoD 1.0 from withing a MetaMod Plugin ( StatsMe to be exact )

2003-05-31 Thread Punisher



Hi,

Like you all know ( or not ) , StatsMe gathers in-game realtime Statistics
from players.
So it has per-weapon stats. The problem now in DoD 1.0 is that i cant figure
out the weapon names.
In prior versions, or in other HL Mods ( CS / TFC ) the weapon name is send
with the WeaponList Engine msg to MetaMod.

In DoD 1.0 it only sends the weapon id, and some more more-or-less useless
infos.

Is there any engine function to get the Weapon name from the ID ? or any
other way _without_ hardcoding the weapon names ?


-Punisher
UA StatsMe Coordinator


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



Re: [hlcoders] Weapon Names in DoD 1.0 from withing a MetaMod Plugin( StatsMe to be exact )

2003-05-31 Thread Alfred
Why don't you want to hard code the weapon names? I know its not
elegant, but I reckon it would be safer than any hack to pull the name
from the engine.
Punisher wrote:



Hi,

Like you all know ( or not ) , StatsMe gathers in-game realtime Statistics
from players.
So it has per-weapon stats. The problem now in DoD 1.0 is that i cant figure
out the weapon names.
In prior versions, or in other HL Mods ( CS / TFC ) the weapon name is send
with the WeaponList Engine msg to MetaMod.
In DoD 1.0 it only sends the weapon id, and some more more-or-less useless
infos.
Is there any engine function to get the Weapon name from the ID ? or any
other way _without_ hardcoding the weapon names ?
-Punisher
UA StatsMe Coordinator
___
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


RE: [hlcoders] Weapon Names in DoD 1.0 from withing a MetaMod Plugin ( StatsMe to be exact )

2003-05-31 Thread Punisher
I will do if there is no other solution

Is there any dod header file with all weapon names then ? that would be
helpful

if not it will take some more time to get all weapon names

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Alfred
Sent: Friday, May 30, 2003 9:20 PM
To: [EMAIL PROTECTED]
Subject: Re: [hlcoders] Weapon Names in DoD 1.0 from withing a MetaMod
Plugin ( StatsMe to be exact )


Why don't you want to hard code the weapon names? I know its not
elegant, but I reckon it would be safer than any hack to pull the name
from the engine.

Punisher wrote:



 Hi,

 Like you all know ( or not ) , StatsMe gathers in-game realtime Statistics
 from players.
 So it has per-weapon stats. The problem now in DoD 1.0 is that i cant
figure
 out the weapon names.
 In prior versions, or in other HL Mods ( CS / TFC ) the weapon name is
send
 with the WeaponList Engine msg to MetaMod.

 In DoD 1.0 it only sends the weapon id, and some more more-or-less useless
 infos.

 Is there any engine function to get the Weapon name from the ID ? or any
 other way _without_ hardcoding the weapon names ?


 -Punisher
 UA StatsMe Coordinator


 ___
 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