Official Soldat Forums

Server Talk => Scripting Discussions and Help => Topic started by: Aquarius on May 05, 2007, 03:56:37 am

Title: [suggestion] ChangePlayerLook procedure
Post by: Aquarius on May 05, 2007, 03:56:37 am
A procedure to change how a player looks like (until he leaves server).

Something like:

Code: [Select]
procedure ChangePlayerLook( ID, ShirtColor, PantsColor, HairColor, SkinColor, HairStyle, HeadgearStyle, ChainStyle );
As you can see there would be no way to change jets color with server script. Or maybe it could be added if MM would agree?

It would be cool for example for scripts which turn killed players into zombies with chainsaws until they kill someone (their skin would change to green etc...), or to use chains as a reward etc...


I'm trying to write a script with classes (soldier, medic etc.) and if the classes could have, for example, different pants color (green for soldier, white for medic etc.) it would be great.
Title: Re: [suggestion] ChangePlayerLook procedure
Post by: EnEsCe on May 05, 2007, 04:04:41 am
Ill think about it, but I doubt it can be done. Last I checked, player colours can ONLY be set when they join.
Title: Re: [suggestion] ChangePlayerLook procedure
Post by: Aquarius on May 05, 2007, 04:13:22 am
Well if it won't work maybe Michal could change Soldat client a bit before 1.4.1 release to let server to resend player look info.