SetActorModelTexture() (to set an actor's 3D model texture)

Post a reply

Smilies
:D :) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :geek: :ugeek: :!: :?: :idea: :arrow: :| :mrgreen: :3: :wub: >:( :blergh:
View more smilies

BBCode is OFF
Smilies are ON

Topic review
   

Expand view Topic review: SetActorModelTexture() (to set an actor's 3D model texture)

Re: SetActorModelTexture() (to set an actor's 3D model textu

by Marisa the Magician » Mon Jul 25, 2022 2:20 pm

A_ChangeModel allows for this now.

Re: SetActorModelTexture() (to set an actor's 3D model textu

by Graf Zahl » Tue Sep 10, 2019 1:52 pm

No. They can be accessed by their fully qualified name. Aside from that, there's nothing that says that a skin must be in that directory.

Re: SetActorModelTexture() (to set an actor's 3D model textu

by Cherno » Tue Sep 10, 2019 12:42 pm

Graf Zahl wrote:Actually, a model skin is just a texture with no special semantics attached.
So graphic files in the model folder hierarchy can be accessed as any other graphic as long as they follow the 8-character-name-limit?

Re: SetActorModelTexture() (to set an actor's 3D model textu

by Marisa the Magician » Tue Sep 10, 2019 11:44 am

So... a TextureID would just do the job.

I suppose this would be akin to UE's MultiSkins actor property.

Re: SetActorModelTexture() (to set an actor's 3D model textu

by Graf Zahl » Mon Sep 09, 2019 11:30 am

Actually, a model skin is just a texture with no special semantics attached.

Re: SetActorModelTexture() (to set an actor's 3D model textu

by Cherno » Mon Sep 09, 2019 9:30 am

How would the texture be specified, though? Model textures ("skins") are not loaded as graphics and a MODELDEF entry requires either a path to the model folder the texture is in, or a path to the texture file itself. I can see this being possible in the former case but less in the latter.

SetActorModelTexture() (to set an actor's 3D model texture)

by Cacodemon345 » Mon Sep 09, 2019 8:13 am

This would allow people to change the appearance of an 3D model attached to the actor without resorting to defining more MODELDEF stuff.

Top