Skin Question -1 reply

Please wait...

SniperWolf161988

'Ghosts of Perdition' Mod Lead

50 XP

15th November 2005

0 Uploads

23 Posts

0 Threads

#1 11 years ago

Just curious if it is possible to change skins in game. Basically an enemy that subtly shifts its skin color depending on lighting and the surrounding environment, can this be done?




Dafama2k7

I follow teh Moo!

50 XP

28th September 2006

0 Uploads

622 Posts

0 Threads

#2 11 years ago

Yes, it's EASY, you can learn how to do it in www.doom3world.com !!!

I made it in my Unpredictable mod in the monster_base.script and others like the zombie one's...

When a monster resurrect i set the old skin that the monster has in .def with the "skin" keyword and retrieve and set in the script...:

string monsterskin = getKey( "skin" ); // dfm if ( monsterskin != "" ) { monster.setSkin( monsterskin ); } // dfm

It's really easy, and it's a way of doing many other things !!!




SniperWolf161988

'Ghosts of Perdition' Mod Lead

50 XP

15th November 2005

0 Uploads

23 Posts

0 Threads

#3 11 years ago

Awesome. Thanks alot.




Dafama2k7

I follow teh Moo!

50 XP

28th September 2006

0 Uploads

622 Posts

0 Threads

#4 11 years ago

ok, i like to help !

also monster is a...:

entity monster;