News:

One Minute Game Review by The Happy Friar: https://ugetube.com/@OneMinteGameReviews
Also on Rumble: https://rumble.com/c/c-1115371

idTech 4 (aka Doom 3 tech) Discord Server! https://discord.gg/9wtCGHa

Main Menu

Change player's model on the fly

Started by bitterman, December 19, 2019, 09:20:48 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

bitterman

I looking for how to do this thing e.g. if player takes a new armor or suit.
Then whole model or part of model must be changed to acheive this effect.

Not sure how it can be done.

I found some tuts about player customization, but these is not the same.

In base concept I can make one model with few armors/suits and shut off unused via setSkin"".
Is there a way to replace whole players model or part of model?

Thanks.

The Happy Friar

the setskin has always seemed to be the way to go for the player model.   i'd say it's also easier & faster as new assets aren't loading, you don't need to rig multiple models, etc.
I'm guessing it would work the same way as the invisibility powerup for the skin change.

bitterman

#2
Thanks THF!

About setModel.

On mc_underground when a lostsoul impacted with scientist the last one turned to zombie.

This scene use setModel to swap human head to zombie head.