Does anyone remember Relics? It put power items all over any given map that gave users powers, after a fashion. The person that picked up the speed relic moved really fast and got this after image effect behind him as he/she ran.
How does one get that speed effect? I've skimmed the relics.u and can't figure it out.
hoping there's an easy way to incorporate the speed effect
- EvilGrins
- Godlike
- Posts: 9774
- Joined: Thu Jun 30, 2011 8:12 pm
- Personal rank: God of Fudge
- Location: Palo Alto, CA
- Contact:
hoping there's an easy way to incorporate the speed effect
http://unreal-games.livejournal.com/
Smilies · viewtopic.php?f=8&t=13758medor wrote:Replace Skaarj with EvilGrins
Re: hoping there's an easy way to incorporate the speed effe
Did you have a look in the RelicSpeedInventory class?
Code: Select all
function BeginState()
{
SetTimer(0.2, True);
Super.BeginState();
// Alter player's stats.
Pawn(Owner).AirControl = 0.65;
Pawn(Owner).JumpZ *= 1.1;
Pawn(Owner).GroundSpeed *= 1.3;
Pawn(Owner).WaterSpeed *= 1.3;
Pawn(Owner).AirSpeed *= 1.3;
Pawn(Owner).Acceleration *= 1.3;
// Add wind blowing.
Pawn(Owner).AmbientSound = sound'SpeedWind';
Pawn(Owner).SoundRadius = 64;
}
Website, Forum & UTStats
******************************************************************************
Nexgen Server Controller || My plugins & mods on GitHub
******************************************************************************
******************************************************************************
Nexgen Server Controller || My plugins & mods on GitHub
******************************************************************************
- EvilGrins
- Godlike
- Posts: 9774
- Joined: Thu Jun 30, 2011 8:12 pm
- Personal rank: God of Fudge
- Location: Palo Alto, CA
- Contact:
Re: hoping there's an easy way to incorporate the speed effe
So, basically what you're saying is I need a script to incorporate the speed after trails behind the bot?Sp0ngeb0b wrote:Did you have a look in the RelicSpeedInventory class?
Well, poo.
http://unreal-games.livejournal.com/
Smilies · viewtopic.php?f=8&t=13758medor wrote:Replace Skaarj with EvilGrins
Re: hoping there's an easy way to incorporate the speed effe
The code I posted above just makes the player faster, the actual 'shadow' effect is more complex, including the classes SpeedShell and SpeedShadow.
And yeah, you need to make a script (could be a pickup, a mutator, or whatever) to archieve this effect
And yeah, you need to make a script (could be a pickup, a mutator, or whatever) to archieve this effect
Website, Forum & UTStats
******************************************************************************
Nexgen Server Controller || My plugins & mods on GitHub
******************************************************************************
******************************************************************************
Nexgen Server Controller || My plugins & mods on GitHub
******************************************************************************
-
- Godlike
- Posts: 3774
- Joined: Fri Jan 14, 2011 1:53 pm
- Personal rank: -Retired-
Re: hoping there's an easy way to incorporate the speed effe
And it gets more involved than that too. You have to give the speed as an effect of some sort of inventory item and not adjust it directly on the player. If you don't go this route you can get stacking of the effect because it never gets reset if a player dies.
So long, and thanks for all the fish
- Dr.Flay
- Godlike
- Posts: 3348
- Joined: Thu Aug 04, 2011 9:26 pm
- Personal rank: Chaos Evangelist
- Location: Kernow, UK
- Contact:
Re: hoping there's an easy way to incorporate the speed effe
Would it be a crime to have the relics in the maps?
BTW. there are other relic packs and replacements (I know you love-em).
RelicClasses
Relics2
PredatorRelic
Wrelics (Wrath's Custom Relics)
RuneZ
and kinda relic-ish, SpellUNREAL
BTW. there are other relic packs and replacements (I know you love-em).
RelicClasses
Relics2
PredatorRelic
Wrelics (Wrath's Custom Relics)
RuneZ
and kinda relic-ish, SpellUNREAL
UT99.org House Rules
ChaosUT https://chaoticdreams.org
Your Unreal resources: https://yourunreal.wordpress.com
The UT99/UnReal Directory: https://forumdirectory.freeforums.org
Find me on Steam and GoG
ChaosUT https://chaoticdreams.org
Your Unreal resources: https://yourunreal.wordpress.com
The UT99/UnReal Directory: https://forumdirectory.freeforums.org
Find me on Steam and GoG