Guardian Angel
TF2 only
This race is mainly for Pushing and Supporting teammates on the go.
// Sounds
new String:MadMilkSoundd[] = "war3source/waterdrop.wav";
new String:BlessingSoundd[] = "war3source/holygrail.wav";
The sound files will need to go into the war3source folder under your sounds directory. If it does not exist, create a war3source folder.
Races Development Server location of sounds:
/75.102.39.34_port_27015/orangebox/tf/sound/war3source
Gives you an idea where sounds go if you don't know.
16 Total Levels
Race - Guardian Angel
<<UPDATED 3/24/2012 >>
1. Prayers Song
- every 90/70/50/30 seconds = lowest HP player gets % of max health.
2. Wings of Glory
- [+ability] Flying for 2/3.5/4.5/6 seconds OR Gain Immunities instead of flying (Depends on Server Setup for each class)
3. Powerful Judgement
- 4%/6%/8%/10% More Holy Damage per Level.
4. Lords Reward (ULTIMATE)
- 225-375 radius deploys Mad Milk Effect for 2/4/6/8 seconds per Level.
About each skill:
Prayers Song -
* It plays the sound Holy Grail to the player whom it heals.
* It creates a stars around the player it heals (particle effects) which are attached to that player for a moment.
<<UPDATED>>
* Heals a player to war3_angel_healamount of maximum player health percentage. Uses a float variable. (0.0 - 1.0) 1.0 is equal to 100%
* Heals player only once no matter how many Guardian Angels are on the server, and waits for everyone on the server to get healed this same way. After the last person on the server gains the benefit, it will reset and start over.
* The heal checks to see if the player is less than 30% of their max health and is the lowest player of this percentage before they receive Prayers Song.
*Admin can make changes to war3_angel_healamount on the dime without map changes.
command default
-------------------------------------------
SONG_HealAmountCvar 1.0
0.0 = 0% of max health
1.0 = 100% of max health
Wings of Glory -
* Fly mode is similar to noclip fly mode, except you can not travel thru walls or such.
* it teleports the player up and off the ground about 25 feet (which only feels like 5 feet) so that the player can fly easier.
* it has not spawn cooldown which you can use right away on spawn.
* its speed is maxspeed only during usage of wings of glory, because starting out flying is very slow if at normal speed.
* it has blue/red mix of particles of smoke that follows the player's feet while using wings of glory.
* it has a blue/red mix of teleport effects that follows the player's mid section.
* it has stars that are mixed around the player that follows the player has he or she moves around while using wings of glory.
<<NEW>>
* Player can be shot down while flying.
* Pressing the [+ability] a second time allows a player to quit flying.
* Speed has been slightly reduced.
* If a player class is not allowed to fly, they will receive immunites for skills/ultimates/slow/wards during same period of time as those classes that can fly.
You can setup who can fly or not by these variables:
command default
-----------------------------------------
war3angel_scout_nofly 0
war3angel_soldier_nofly 0
war3angel_pyro_nofly 0
war3angel_demoman_nofly 0
war3angel_heavy_nofly 1
war3angel_engineer_nofly 0
war3angel_medic_nofly 0
war3angel_sniper_nofly 1
war3angel_spy_nofly 1
1 is nofly and 0 flying is allowed
Powerful Judgement -
* 4%/6%/8%/10% More Holy Damage per Level.
<<FIXED>>
* No longer gives double score / double kill.
Lords Reward -
* THE ULTIMATE Lords Reward
* 225-375 radius deploys Mad Milk Effect for 4/6/8/10 seconds per Level
* It has a sound of the waterdrop on usage.
* It creates a explosive sound on usage.
* It has as a cooldown on spawn.
<<Updated>>
* Increased Mad Milk Effect by 2 seconds per level.
* CHANGE LOG
3/25/2012
* With help of Glider⠠⠵ -- Fixed error client index 0 in logs




Logged



DarkEnergy


. One quick thing I noticed about your stock is that it uses Timers to delete particles, this is unsafe and can generate errors (especially during mapchange). If written the stocks as an abstraction of things I do with particles in my races, but they might not be sufficient for fancier things other people do with particles, therefor I'd like people to use them and give me some feedback on what to improve.