Page Index Toggle Pages: [1] 2  Send TopicPrint
Very Hot Topic (More than 25 Replies) DefaultSkin team AdvancedModelSupport (Read 14021 times)
medor
Full Member
***
Offline


Hello

Posts: 242
Joined: Oct 5th, 2010
Gender: Male
DefaultSkin team AdvancedModelSupport
Sep 27th, 2011 at 6:41am
Print Post  
Hi

I saw you it's easy with the UT skins.
You could may be time to do that ?

I would like for Halloween and Christmas a mode that force skins by team.
One fore blue team one other for red team. And if possible ... that make compatible with the new models skins.

Can be also compatible 4Team if it does not require too much work.
  
Back to top
WWW  
IP Logged
 
Helen
YaBB Administrator
*****
Offline


hello

Posts: 1560
Location: earth
Joined: Nov 8th, 2005
Gender: Male
Re: DefaultSkin team AdvancedModelSupport
Reply #1 - Sep 27th, 2011 at 10:19am
Print Post  
I think that may be possible, I'll look into it more on the weekend.
  

One of the Scriveners.
Back to top
WWW  
IP Logged
 
medor
Full Member
***
Offline


Hello

Posts: 242
Joined: Oct 5th, 2010
Gender: Male
Re: DefaultSkin team AdvancedModelSupport
Reply #2 - Sep 27th, 2011 at 12:48pm
Print Post  
nice Smiley
  
Back to top
WWW  
IP Logged
 
Helen
YaBB Administrator
*****
Offline


hello

Posts: 1560
Location: earth
Joined: Nov 8th, 2005
Gender: Male
Re: DefaultSkin team AdvancedModelSupport
Reply #3 - Sep 29th, 2011 at 10:40pm
Print Post  
I played with this a bit tonight, I know I can get it to work. Can you post me one of the skins you want to use (ore more than one if you want), so I can use it as a working example.
  

One of the Scriveners.
Back to top
WWW  
IP Logged
 
medor
Full Member
***
Offline


Hello

Posts: 242
Joined: Oct 5th, 2010
Gender: Male
Re: DefaultSkin team AdvancedModelSupport
Reply #4 - Sep 30th, 2011 at 12:21am
Print Post  
  
Back to top
WWW  
IP Logged
 
Ray
Senior Member
****
Offline


Feed me!

Posts: 480
Location: Palo Alto, CA
Joined: Jul 30th, 2011
Gender: Male
Re: DefaultSkin team AdvancedModelSupport
Reply #5 - Sep 30th, 2011 at 9:46am
Print Post  
I've seen those 2 before. Just skimmed the textures files, someone set them for 2 team colors, basic red & blue, but didn't actually put team colors on the appropriate textures.

Bad form, that.

I may take a stab at it this weekend.
  
Back to top
WWWYIM  
IP Logged
 
Helen
YaBB Administrator
*****
Offline


hello

Posts: 1560
Location: earth
Joined: Nov 8th, 2005
Gender: Male
Re: DefaultSkin team AdvancedModelSupport
Reply #6 - Sep 30th, 2011 at 6:06pm
Print Post  
Ray wrote on Sep 30th, 2011 at 9:46am:
I've seen those 2 before. Just skimmed the textures files, someone set them for 2 team colors, basic red & blue, but didn't actually put team colors on the appropriate textures.

Bad form, that.

I may take a stab at it this weekend.


I just checked these skins out. No colors at all. That or the int files are set up incorrectly. Not a good example to use medor!
  

One of the Scriveners.
Back to top
WWW  
IP Logged
 
Ray
Senior Member
****
Offline


Feed me!

Posts: 480
Location: Palo Alto, CA
Joined: Jul 30th, 2011
Gender: Male
Re: DefaultSkin team AdvancedModelSupport
Reply #7 - Sep 30th, 2011 at 6:11pm
Print Post  
Helen wrote on Sep 30th, 2011 at 6:06pm:
Ray wrote on Sep 30th, 2011 at 9:46am:
I've seen those 2 before. Just skimmed the textures files, someone set them for 2 team colors, basic red & blue, but didn't actually put team colors on the appropriate textures.

Bad form, that.

I may take a stab at it this weekend.


I just checked these skins out. No colors at all. That or the int files are set up incorrectly. Not a good example to use medor!

Unless I misread his initial post, he's requesting somebody give them team colors.
  
Back to top
WWWYIM  
IP Logged
 
Helen
YaBB Administrator
*****
Offline


hello

Posts: 1560
Location: earth
Joined: Nov 8th, 2005
Gender: Male
Re: DefaultSkin team AdvancedModelSupport
Reply #8 - Sep 30th, 2011 at 6:14pm
Print Post  
medor wrote on Sep 27th, 2011 at 6:41am:
Hi

I saw you it's easy with the UT skins.
You could may be time to do that ?

I would like for Halloween and Christmas a mode that force skins by team.
One fore blue team one other for red team. And if possible ... that make compatible with the new models skins.

Can be also compatible 4Team if it does not require too much work.


I think I need to be more clear what you need. I'm starting to think you want to swap a player's model too, not just the skin. For example, if a player joins and they are a Male Soldier, do you want that to be switched to Grave?
  

One of the Scriveners.
Back to top
WWW  
IP Logged
 
medor
Full Member
***
Offline


Hello

Posts: 242
Joined: Oct 5th, 2010
Gender: Male
Re: DefaultSkin team AdvancedModelSupport
Reply #9 - Sep 30th, 2011 at 6:18pm
Print Post  
Yes like in the mode DefaultSkin Smiley

for example, reds are automatically with grave skin and blue automatically with urbyv3 skin.
  
Back to top
WWW  
IP Logged
 
Helen
YaBB Administrator
*****
Offline


hello

Posts: 1560
Location: earth
Joined: Nov 8th, 2005
Gender: Male
Re: DefaultSkin team AdvancedModelSupport
Reply #10 - Sep 30th, 2011 at 7:28pm
Print Post  
That's not as easy to cover. There are going to be two problems.

A. Basically you can't have BalanceTeams=true. I would try my best to balance the teams at the start of the game. But if players switch teams on their own, the teams won't be balanced.

B. If a player changes teams on their own, I wouldn't be able to change their model. So you would have to make sure all your models have at least two color skins so that at least the model has the proper color.

Do you still want me to try?
  

One of the Scriveners.
Back to top
WWW  
IP Logged
 
medor
Full Member
***
Offline


Hello

Posts: 242
Joined: Oct 5th, 2010
Gender: Male
Re: DefaultSkin team AdvancedModelSupport
Reply #11 - Oct 1st, 2011 at 12:28am
Print Post  
OK That would do nicely Smiley

bNoTeamChanges=True,BalanceTeams=False
« Last Edit: Oct 1st, 2011 at 12:12pm by medor »  
Back to top
WWW  
IP Logged
 
Helen
YaBB Administrator
*****
Offline


hello

Posts: 1560
Location: earth
Joined: Nov 8th, 2005
Gender: Male
Re: DefaultSkin team AdvancedModelSupport
Reply #12 - Oct 1st, 2011 at 12:24pm
Print Post  
Ok the mutator is attached. I also included my ini I used, that should give you an idea of how to use it.

To find out what values you need to set for a model, do this.

A. Open UT, and go to your player setup
B. Set up your player to match the Class, Skin, Face and Voice you want to use for one of your models.
C. Close UT
D. Open your UnrealTournament/System/User.ini

Right at the top in the [DefaultPlayer] section, you can see what values you need.

There are only two lines in the example, but you can go up to four, like
mModel[0]= ... (red team values)
mModel[1]= ... (blue team values)
mModel[2]= ... (green team values)
mModel[3]= ... (gold team values)

You do NOT have to add a ServerPackages line.

Any troubles let me know.


Edited:
I wasn't able to test if I balanced the teams properly, because I was the only human, but it should work.
  

medorTeamModelSwitch.rar ( 3 KB | Downloads )

One of the Scriveners.
Back to top
WWW  
IP Logged
 
Ray
Senior Member
****
Offline


Feed me!

Posts: 480
Location: Palo Alto, CA
Joined: Jul 30th, 2011
Gender: Male
Re: DefaultSkin team AdvancedModelSupport
Reply #13 - Oct 1st, 2011 at 2:35pm
Print Post  
I kinda wanted to setup something similar as UT already does do this, after a fashion, by itself.

Often I've noted that certain models in high memory situations will alter to other models all by themselves. It was due to this happening a lot that led me to first figure out how to skin the Sktrooper model. Lots of Male Soldiers were turning to Sktroopers but keeping their own skins...

...which looked really weird.

That's how I got KING...



...that one in the middle there.
  
Back to top
WWWYIM  
IP Logged
 
medor
Full Member
***
Offline


Hello

Posts: 242
Joined: Oct 5th, 2010
Gender: Male
Re: DefaultSkin team AdvancedModelSupport
Reply #14 - Oct 1st, 2011 at 3:19pm
Print Post  
Cool thank you I'll test it soon on this server for halowine and christmas.

  
Back to top
WWW  
IP Logged
 
medor
Full Member
***
Offline


Hello

Posts: 242
Joined: Oct 5th, 2010
Gender: Male
Re: DefaultSkin team AdvancedModelSupport
Reply #15 - Oct 1st, 2011 at 4:24pm
Print Post  
??

Code
Select All
StartMutator: medorTeamModelSwitch001.medorTeamModelSwitch
ReadToken: Bad quoted string 



Code
Select All
[medorTeamModelSwitch001.medorTeamModelSwitch]
bLogInfo=true
mModel[0]=(myClass="GraveNevermore.GraveNevermore
",skin="GraveNevermoreSkins.Grav",face="GraveNevermore.Nevermore",voice="ZrtSoundz.ZrtSoundz")
mModel[1]=(myClass="Urby.Urby",skin="UrbySkins.Urby",face="UrbySkins.Face",voice="ZrtSoundz.ZrtSoundz") 

  
Back to top
WWW  
IP Logged
 
Helen
YaBB Administrator
*****
Offline


hello

Posts: 1560
Location: earth
Joined: Nov 8th, 2005
Gender: Male
Re: DefaultSkin team AdvancedModelSupport
Reply #16 - Oct 1st, 2011 at 5:23pm
Print Post  
I tried your lines and it works for me. The only difference is that your mModel[0] is taking up two lines. Make sure each team is all on one line like this.

Code
Select All
[medorTeamModelSwitch001.medorTeamModelSwitch]
bLogInfo=true
mModel[0]=(myClass="GraveNevermore.GraveNevermore",skin="GraveNevermoreSkins.Grav",face="GraveNevermore.Nevermore",voice="ZrtSoundz.ZrtSoundz")
mModel[1]=(myClass="Urby.Urby",skin="UrbySkins.Urby",face="UrbySkins.Face",voice="ZrtSoundz.ZrtSoundz")
 



If that doesn't work, tell me how you are running it/starting it/joining the game.
  

One of the Scriveners.
Back to top
WWW  
IP Logged
 
medor
Full Member
***
Offline


Hello

Posts: 242
Joined: Oct 5th, 2010
Gender: Male
Re: DefaultSkin team AdvancedModelSupport
Reply #17 - Oct 2nd, 2011 at 1:54am
Print Post  
I was too tired last night Undecided

Work online Cheesy Really nice work thank you for all that.


To simplify installation for future other server admin.
Can you apply that to for bots ?
  
Back to top
WWW  
IP Logged
 
Helen
YaBB Administrator
*****
Offline


hello

Posts: 1560
Location: earth
Joined: Nov 8th, 2005
Gender: Male
Re: DefaultSkin team AdvancedModelSupport
Reply #18 - Oct 2nd, 2011 at 8:13pm
Print Post  
medor wrote on Oct 2nd, 2011 at 1:54am:
I was too tired last night Undecided

Work online Cheesy Really nice work thank you for all that.


To simplify installation for future other server admin.
Can you apply that to for bots ?


Doing the bots would be much more difficult, so no, you'll just have to do the work Sad

Edited:
P.S., you can set bLogInfo=false now that it's working. bLogInfo just tells it to add extra messages to the log, which you don't need.
  

One of the Scriveners.
Back to top
WWW  
IP Logged
 
medor
Full Member
***
Offline


Hello

Posts: 242
Joined: Oct 5th, 2010
Gender: Male
Re: DefaultSkin team AdvancedModelSupport
Reply #19 - Oct 3rd, 2011 at 12:07am
Print Post  
Quote:
P.S., you can set bLogInfo=false now that it's working. bLogInfo just tells it to add extra messages to the log, which you don't need.


Down
  
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: [1] 2 
Send TopicPrint