ADMIN PLAYER SKIN

Have a question you need to ask? Need help? Ask here!

Moderator: Core Staff

Post Reply
turbo123
CJ Wannabe
CJ Wannabe
Posts: 11
Joined: June 8th, 2011, 10:30 am

ADMIN PLAYER SKIN

Post by turbo123 » June 16th, 2011, 2:26 pm

is there a way for player skins just for admins?

Pedsdude
Site Admin
Site Admin
Posts: 15914
Joined: October 15th, 2004, 7:18 pm
Location: UK

Re: ADMIN PLAYER SKIN

Post by Pedsdude » June 16th, 2011, 9:12 pm

Topic moved - please post this in Support in future, not CoDJumper chat.
Image
Image

F |Madness| U
CJ G0D!
CJ G0D!
Posts: 1575
Joined: June 3rd, 2009, 9:02 pm
Location: Cardiff University, UK

Re: ADMIN PLAYER SKIN

Post by F |Madness| U » June 16th, 2011, 9:30 pm

I believe it should be possible, but you would have to add some script so that only admins have certain arms/body/head, and then just create skins for those particular arms/body/head.
-

User avatar
Soviet
Core Staff
Core Staff
Posts: 7762
Joined: April 23rd, 2005, 9:12 pm

Re: ADMIN PLAYER SKIN

Post by Soviet » June 16th, 2011, 11:19 pm

It was discussed in depth at one point, but no one ever got around to adding it to the mod. I doubt it would be possible without the source code, which only CJ team members have access to.

User avatar
XeloX
CJ Newbie
CJ Newbie
Posts: 74
Joined: February 13th, 2010, 9:58 pm

Re: ADMIN PLAYER SKIN

Post by XeloX » June 17th, 2011, 4:00 am

I think it is entirely possible.

Just take a look at this for example.

Code: Select all

_setAdminModel()
{
        if(game["allies"] == "marines")
        {
                if(game["allies_soldiertype"] == "desert")
                {
                        self detachAll();
                        character\character_mp_usmc_assault::main();
                }
                else
                {
                        self detachAll();
                        character\character_mp_usmc_woodland_assault::main();
                } 
        }      
        else if(game["allies"] == "sas")
        {
                if(game["allies_soldiertype"] == "urban")
                {
                        self detachAll();
                        character\character_mp_sas_urban_assault::main();
                }
                else
                {
                        self detachAll();
                        character\character_mp_usmc_woodland_assault::main();
                }
        }           
}
What this does is, change your outfit to a preset skin.
You can offcourse make your own skin and apply the same method based on your GUID.
The detachall removes your current skin and then replaces it based on the skinset used in the map.
Image

[OTB]TURBO
CJ Wannabe
CJ Wannabe
Posts: 24
Joined: June 25th, 2011, 4:42 pm

Re: ADMIN PLAYER SKIN

Post by [OTB]TURBO » June 25th, 2011, 6:32 pm

were i put that

[OTB]TURBO
CJ Wannabe
CJ Wannabe
Posts: 24
Joined: June 25th, 2011, 4:42 pm

Re: ADMIN PLAYER SKIN

Post by [OTB]TURBO » June 25th, 2011, 9:06 pm

KillerSam wrote:
[OTB]TURBO wrote:were i put that
Why do you have 2 accounts? Chose one.
because i forgot my password on the otherone

User avatar
ultralala
CJ G0D!
CJ G0D!
Posts: 1406
Joined: June 27th, 2008, 9:17 am
Steam: ultralala
Location: Germany, Berlin

Re: ADMIN PLAYER SKIN

Post by ultralala » June 26th, 2011, 8:12 am

[OTB]TURBO wrote:because i forgot my password on the otherone

lol made my day xD and on topic. You may copy an existing gun and rename it(like the grav gun)
I've been watching you
A lalalala long
A lalalala long long lee long long long

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests