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
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 about int files
- StOnEd-SnIpEr
- OldUnreal Member
- Posts: 71
- Joined: Mon Oct 18, 2010 1:12 pm
question about int files
how to make a .int for a multiskinned model
cuz i got it to load the model but i get notexture on the skin in player menu but ingame it has its textures
cuz i got it to load the model but i get notexture on the skin in player menu but ingame it has its textures
- .:..:
- OldUnreal Member
- Posts: 1637
- Joined: Tue Aug 16, 2005 4:35 am
Re: question about int files
You have to do that in the code of your custom PlayerPawn class. As example, lets say you have one main skin named "BlaBlaSkin", then you have rest of the multiskins named "BlaBlaSkin_A", "BlaBlaSkin_B" etc...
Then all you need to do in code is:
Then all you need to do in code is:
Code: Select all
static function SetMultiSkin( Actor SkinActor, string SkinName, string FaceName, byte TeamNum )
{
local Texture NewSkin;
local string MeshName;
if ( SkinActor.Mesh!=None )
MeshName = string(SkinActor.Mesh.Name);
if ( InStr(SkinName, ".") == -1 )
SkinName = MeshName$"Skins."$SkinName;
if ( Left(SkinName, Len(MeshName)) ~= MeshName )
{
NewSkin = texture(DynamicLoadObject(SkinName, class'Texture',True));
if ( NewSkin != None )
{
SkinActor.Skin = NewSkin;
SkinActor.MultiSkins[1] = texture(DynamicLoadObject(SkinName$"_A", class'Texture',True));
SkinActor.MultiSkins[2] = texture(DynamicLoadObject(SkinName$"_B", class'Texture',True));
SkinActor.MultiSkins[3] = texture(DynamicLoadObject(SkinName$"_C", class'Texture',True));
}
}
}(ಠ_ಠ)1823223D2A33224B0 wrote:...and now im stuck trying to fix everything you broke for the next 227 release xD
- StOnEd-SnIpEr
- OldUnreal Member
- Posts: 71
- Joined: Mon Oct 18, 2010 1:12 pm
Re: question about int files
if that works thank you very mutch dots:)
- Gizzy
- OldUnreal Member
- Posts: 1468
- Joined: Thu Jul 10, 2014 7:13 pm
Re: question about int files
Issue already fixed, I remapped the model for him since I couldn't get the code to work.
- StOnEd-SnIpEr
- OldUnreal Member
- Posts: 71
- Joined: Mon Oct 18, 2010 1:12 pm
Re: question about int files
srry gizzy good attempt but not quite
- Gizzy
- OldUnreal Member
- Posts: 1468
- Joined: Thu Jul 10, 2014 7:13 pm
Re: question about int files
Gat damn, I'll try and get on tonight after work and show me what's wrong with it.