|
|
|||||||
| UT Mods/Mutators UT - Mods and Mutators Discussion |
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
#1 |
|
C8 H10 N4 O2
|
UT2003 style Kicker thing :WIP / Help needed
I'm busy trying to change skins at runtime, fine with the first skin, but I can't figure a way to change more than one multiskin.
I need to change 3 different skin textures depending on a variable set in the actors properties in Ued. (Basically a team-colour thing) Any info would be greatly apreciated. Here's a screenshot:
__________________
E X T R E M E w 0 0 t . c o m IP: 94.75.238.104 (click to play now!) A public 5 vs 5 gameserver (Europe) UT99 / iCTF / SmartCTF / Mapvote / Pure / w00t curiositykilledthecat I ♥ C8H10N4O2 Projects WIP - UT2004 Bulldog | VCTF-DeathCrack Completed - Shock ho mutator UT2004 |
|
|
|
|
|
#2 |
|
the one and only
|
me useless at coding.--EBD, usefully useless |
|
|
|
|
|
#3 | |
|
Cynical [+]
|
Quote:
Code:
function PostBeginPlay()
{
local CTFFlag myFlag;
Super.PostBeginPlay();
LoopAnim('newflag');
if ( !Level.Game.IsA('CTFGame') )
return;
bHidden = false;
if ( Team == 0 )
{
Skin=texture'JpflagR';
myFlag = Spawn(class'RedFlag');
}
else if ( Team == 1 )
myFlag = Spawn(class'CTFFlag');
myFlag.HomeBase = self;
myFlag.Team = Team;
CTFReplicationInfo(Level.Game.GameReplicationInfo).FlagList[Team] = myFlag;
}
![]()
__________________
... still here, prowling around ... |
|
|
|
|
|
|
#4 |
|
Cynical [+]
|
Addendum - maybe there are some clues in the CTF4 code?
__________________
... still here, prowling around ... |
|
|
|
|
|
#5 |
|
C8 H10 N4 O2
|
Hehehe. Cheers for the replies DeadMeat.
![]() Yeah, I got it sorted using a similar PostBeginPlay function to the FlagBase script. All I was missing was [] instead of () on the multiskins entries. ![]() Dodgy as hell. Still, anyway, I've now got:
A beta download soon. w00t w00tI'm trying to figure out now how I can tweak a navigation point to work with the kicker.
__________________
E X T R E M E w 0 0 t . c o m IP: 94.75.238.104 (click to play now!) A public 5 vs 5 gameserver (Europe) UT99 / iCTF / SmartCTF / Mapvote / Pure / w00t curiositykilledthecat I ♥ C8H10N4O2 Projects WIP - UT2004 Bulldog | VCTF-DeathCrack Completed - Shock ho mutator UT2004 |
|
|
|
|
|
#6 |
|
C8 H10 N4 O2
|
Here's some screens at odd angles of the new kicker base.
![]()
__________________
E X T R E M E w 0 0 t . c o m IP: 94.75.238.104 (click to play now!) A public 5 vs 5 gameserver (Europe) UT99 / iCTF / SmartCTF / Mapvote / Pure / w00t curiositykilledthecat I ♥ C8H10N4O2 Projects WIP - UT2004 Bulldog | VCTF-DeathCrack Completed - Shock ho mutator UT2004 |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|