Continuing what garry said also make sure you set up a complete datadesc for your class. the datadesc is what save and restore use including changelevel
On 11/26/07, Garry Newman <[EMAIL PROTECTED]> wrote: > How are you making it use your new player class? You've removed this line > right? > > LINK_ENTITY_TO_CLASS( player, CHL2_Player ); > > And replaced it with your class? > > > On Nov 26, 2007 7:44 PM, Jamie Femia <[EMAIL PROTECTED]> wrote: > > I've been pondering over this for a while, and it's quite a puzzling > > problem for me since there doesn't seem to be any documented cases or > > solutions... > > > > Basically I'm using a custom player class inheriting from CHL2_Player > > in a HL2SP mod. I have some trigger_changelevel entities in certain > > locations that load into another area (which works fine as far as > > loading the other area goes). My problem occurs when the player comes > > out the other side. It doesn't seem to carry the custom player over > > into the next map, because although the player model is the same (It's > > a 3rd person mod), none of the stuff that I've added to my class is > > accessible, like the client commands. Now I presume by this that it's > > not actually spawning my player class, but just a hl2_player. The > > problem is I don't know why, because it spawns my class on level load > > from the menu (using map levelname). > > > > I'd appreciate any input towards solving this dilemma, I'm quite stuck > > at the moment and falling behind schedule... > > > > Thanks, > > Jamie > > > > _______________________________________________ > > 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 > > -- -omega _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders

