Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Buu342

Change players skin without changing the doom marine's skin?

Recommended Posts

Hello. Im making a wad and i wanted to change the players skin. Now my problem is that i can change his skin using XWE, but when i do the doom marine's skin(the bots) is also changed and they look like me! Is there any way of changing my skin without changing theirs?

Thanks

Share this post


Link to post

No Buu342, you are the bots.

Share this post


Link to post

I think what you want is the 'translation' effect by creating a new player class in a DECORATE file in XWE.

Here's an example:

---------------------------------

ACTOR MarineVariant : MarineSSG
{
//$Category Marines
Translation 2
}

---------------------------------
This translates the marine's sprites to default RED color.


And here's a more advanced example using DOOM's color palette to create a variety of colors. For good measure, I always use the default green color (112:127) as the color being 'translated':

---------------------------------

ACTOR MarineChange : MarinePlasma
{
//$Category Marines
Translation "112:127=201:208"
}

---------------------------------
This translates the marine's sprites from default GREEN color to a royal BLUE color.


More information can be found here:

http://zdoom.org/wiki/Translation

http://zdoom.org/wiki/Palette

Share this post


Link to post

I think the key here is that you have to make a new player class if you want the PLAYER sprites to change. My former post made use of changing the MARINE bot sprites. But the principal is the same really in DECORATE.

Instead of Marine : Marine, do this:

NewPlayer : DoomPlayer

Then apply the translation effect in the same way.

Finally, you have to make a MAPINFO lump in XWE as well to add your new player class to a GameInfo category, like this:

--------------------------------------------

GameInfo
{
playerclasses = "PlayerPawn", "NewPlayer"
}
--------------------------------------------


http://zdoom.org/wiki/MAPINFO/GameInfo_definition

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×