RE: [hlcoders] DoD pPlayer-v.playerclass

2004-05-20 Thread Matt Boone
enum
{
PLAYERCLASS_UNDEFINED = 0,

//Allied classes
PLAYERCLASS_LIGHTINF_GARAND,
PLAYERCLASS_LIGHTINF_CARBINE,
PLAYERCLASS_ASSAULT_TOMMY,
PLAYERCLASS_ASSAULT_GREASE,
PLAYERCLASS_SNIPER,
PLAYERCLASS_HEAVYWEAPONS,
PLAYERCLASS_MACHINEGUNNER,
PLAYERCLASS_BAZOOKA,
PLAYERCLASS_MORTAR,

//Axis classes
PLAYERCLASS_LEICHTINF_KAR,
PLAYERCLASS_LIECHTINF_K43,
PLAYERCLASS_STURMTRUP,
PLAYERCLASS_HEAVYWEAPONSGER,
PLAYERCLASS_GERMANSNIPER,
PLAYERCLASS_FG42_BIPOD,
PLAYERCLASS_FG42_SCOPE,
PLAYERCLASS_MG34,
PLAYERCLASS_MG42,
PLAYERCLASS_PSCHRECK,
PLAYERCLASS_GERMORTAR,

//British classes
PLAYERCLASS_BRIT_LIGHTINF,
PLAYERCLASS_BRIT_ASSAULTINF,
PLAYERCLASS_BRIT_SNIPER,
PLAYERCLASS_BRIT_MACHINEGUNNER,
PLAYERCLASS_BRIT_PIAT,
PLAYERCLASS_BRIT_MORTAR,

PLAYERCLASS_RANDOM,

NUM_PLAYERCLASSES
};

The MORTAR ones are unused.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Brian A.
Stumm
Sent: Thursday, May 20, 2004 5:29 PM
To: [EMAIL PROTECTED]
Subject: RE: [hlcoders] DoD pPlayer-v.playerclass

On Thu, 8 Jan 2004, Matt Boone wrote:

 enum
 {
   PLAYERCLASS_UNDEFINED = 0,

   //Allied classes
   PLAYERCLASS_LIGHTINF_GARAND,
   PLAYERCLASS_LIGHTINF_CARBINE,

8--snip--

 Though in 1.2 there may be some changes ..

Matt or someone else at VALVe can provide an update to this?


___
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] DoD pPlayer-v.playerclass

2004-01-08 Thread Matt Boone
enum
{
PLAYERCLASS_UNDEFINED = 0,

//Allied classes
PLAYERCLASS_LIGHTINF_GARAND,
PLAYERCLASS_LIGHTINF_CARBINE,
PLAYERCLASS_ASSAULT_TOMMY,
PLAYERCLASS_ASSAULT_GREASE,
PLAYERCLASS_SNIPER,
PLAYERCLASS_HEAVYWEAPONS,
PLAYERCLASS_MACHINEGUNNER,

//Axis classes
PLAYERCLASS_LEICHTINF_KAR,
PLAYERCLASS_LIECHTINF_K43,
PLAYERCLASS_GERMANSNIPER,
PLAYERCLASS_STURMTRUP,
PLAYERCLASS_HEAVYWEAPONSGER,
PLAYERCLASS_MG34,
PLAYERCLASS_MG42,

//British classes
PLAYERCLASS_BRIT_LIGHTINF,
PLAYERCLASS_BRIT_ASSAULTINF,
PLAYERCLASS_BRIT_SNIPER,
PLAYERCLASS_BRIT_MACHINEGUNNER,

//Allied para classes
PLAYERCLASS_PARA_GARAND,
PLAYERCLASS_PARA_CARBINE,
PLAYERCLASS_PARA_THOMPSON,
PLAYERCLASS_PARA_GREASEGUN,
PLAYERCLASS_PARA_SPRING,
PLAYERCLASS_PARA_BAR,
PLAYERCLASS_PARA_30CAL,

//Axis para classes
PLAYERCLASS_PARA_KAR,
PLAYERCLASS_PARA_K43,
PLAYERCLASS_PARA_SCOPEDKAR,
PLAYERCLASS_PARA_MP40,
PLAYERCLASS_PARA_MP44,
PLAYERCLASS_PARA_FG42_BIPOD,
PLAYERCLASS_PARA_FG42_SCOPE,
PLAYERCLASS_PARA_MG34,
PLAYERCLASS_PARA_MG42,

PLAYERCLASS_RANDOM,

NUM_PLAYERCLASSES
};

Though in 1.2 there may be some changes ..

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Brian A.
Stumm
Sent: Wednesday, January 07, 2004 1:30 PM
To: [EMAIL PROTECTED]
Subject: [hlcoders] DoD pPlayer-v.playerclass


v.playerclass is reporting MANY numbers under DoD (in the 30s at least).
This makes sense to me since sometimes you are axis or allied or brit
etc.
But is there someway for me to translate the class number to a class
name?
Or can someone tell me what number goes to what class?


___
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] DoD pPlayer-v.playerclass

2004-01-07 Thread Cale 'Mazor' Dunlap
You'd have to have the array which holds the classnames. Those numbers
are just indexes, which index arrays of const char* or char* which
contain the names of the classes. At least, that's what I'm guessing
they do, it's the same way in TFC.

-Cale

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Brian A.
Stumm
Sent: Wednesday, January 07, 2004 3:30 PM
To: [EMAIL PROTECTED]
Subject: [hlcoders] DoD pPlayer-v.playerclass


v.playerclass is reporting MANY numbers under DoD (in the 30s at least).
This makes sense to me since sometimes you are axis or allied or brit
etc.
But is there someway for me to translate the class number to a class
name?
Or can someone tell me what number goes to what class?


___
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] DoD pPlayer-v.playerclass

2004-01-07 Thread Tony \omega\ Sergi
If you can read the playerclass,why can't you just go in as one person,
and change classes one by one and write down what they all are? Or is
this not possible?
-omega
--
Blackened Interactive - http://www.blackened-interactive.com
FLF:Defiance - http://www.frontline2.com
Wavelength - http://www.thewavelength.net


Brian A. Stumm wrote:

v.playerclass is reporting MANY numbers under DoD (in the 30s at least).
This makes sense to me since sometimes you are axis or allied or brit etc.
But is there someway for me to translate the class number to a class name?
Or can someone tell me what number goes to what class?

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