For direct access use https://forums.oldunreal.com
It's been quite a while since oldunreal had an overhaul, but we are moving to another server which require some updates and changes. The biggest change is the migration of our old reliable YaBB forum to phpBB. This system expects you to login with your username and old password known from YaBB.
If you experience any problems there is also the usual "password forgotten" function. Don't forget to clear your browser cache!
If you have any further concerns feel free to contact me: Smirftsch@oldunreal.com

Question regarding Multiskins

Unreal Unreal and more Unreal
Post Reply
User avatar
ShinDarkfox
OldUnreal Member
Posts: 66
Joined: Sun Mar 01, 2009 8:22 pm

Question regarding Multiskins

Post by ShinDarkfox »

Okay, say I have a player model that uses two textures as opposed to one, and I wanted to have a skin selectable in the menu that uses both of these for slots "Multiskins[0]" and "Multiskins[1]" as opposed to just "Skin". Is there something I must put in the *skins.int package? Or what?
Last edited by ShinDarkfox on Wed Oct 13, 2010 2:18 am, edited 1 time in total.
User avatar
ShinDarkfox
OldUnreal Member
Posts: 66
Joined: Sun Mar 01, 2009 8:22 pm

Re: Question regarding Multiskins

Post by ShinDarkfox »

Update: Well that was easy, how silly of me. Fixed it by adding this to the script.

[code]exec function SetSkin (string SkinName)
{
  SetMultiSkin(self,SkinName,"None",255);
}

static function SetMultiSkin (Actor SkinActor, string SkinName, string FaceName, byte TeamNum)
{
  SkinActor.MultiSkins[0] = Texture(DynamicLoadObject(SkinName $ string(1),Class'Texture'));
  SkinActor.MultiSkins[1] = Texture(DynamicLoadObject(SkinName $ string(2),Class'Texture'));
}[/code]

Now it functions conveniently. If I were to make team colors though I'll just need to add some to the multiskins thing, but for now it works towards my goal. Sorry to bug ya'll with a simple fixer upper. Just thought I was missing something relatively simple.
Last edited by ShinDarkfox on Thu Oct 14, 2010 5:20 am, edited 1 time in total.
User avatar
Smirftsch
Administrator
Posts: 9001
Joined: Wed Apr 29, 1998 10:00 pm
Location: NaPali
Contact:

Re: Question regarding Multiskins

Post by Smirftsch »

mhmhm....sorry for not answering yet. Have to admit I didn't mess much with multiskins yet. What are you planning to do? :)
Sometimes you have to lose a fight to win the war.
User avatar
ShinDarkfox
OldUnreal Member
Posts: 66
Joined: Sun Mar 01, 2009 8:22 pm

Re: Question regarding Multiskins

Post by ShinDarkfox »

Once upon a time I had a little mod that allowed one to play as the RTNP non-playables, namely the Space Marines but also a working Spinner. I've decided to recreate those mods with improvements based on my bettered knowledge on how the code works over the years. The downside of the Space Marine is that he has a crouch animation but not duck walking frames so he kinda slides along for crouch walk. Funny to watch. [smiley=laugh.gif] That was to get the skins to work, Arctic, Desert, Jungle, and Space. Next may have it say a random quote when doing gestures.
User avatar
Unodir
OldUnreal Member
Posts: 5
Joined: Wed Oct 13, 2010 1:10 pm

Re: Question regarding Multiskins

Post by Unodir »

Shin,

Thanks for posting your resolution, even though you caught no response- It really helps newbies such as myself!
Post Reply

Return to “Unreal General Forum”