CTFProjectile SpellMirv: Difference between revisions

From SigMod
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 1: Line 1:
== Overview ==
== Overview ==
The projectile from the Pumpkin MIRV spell is an instance of this class. Once this projectile hits the world, it attempts to spawn 6 [[CTFProjectile_SpellPumpkin]] projectiles with velocities set to move outward from the collision.
The projectile from the Pumpkin MIRV spell is an instance of this class. Once this projectile hits the world, it attempts to spawn 6 [[CTFProjectile_SpellPumpkin]] projectiles with velocities set to move outward from the collision (and end up as a ring of pumpkin bombs).


'''Source location : [https://github.com/sreechar/TF2-Source-Code/blob/master/tf2_src/game/shared/tf/halloween/tf_weapon_spellbook.cpp /game/shared/tf/halloween/tf_weapon_spellbook.cpp]'''
'''Source location : [https://github.com/sreechar/TF2-Source-Code/blob/master/tf2_src/game/shared/tf/halloween/tf_weapon_spellbook.cpp /game/shared/tf/halloween/tf_weapon_spellbook.cpp]'''

Latest revision as of 19:23, 6 March 2022

Overview[edit | edit source]

The projectile from the Pumpkin MIRV spell is an instance of this class. Once this projectile hits the world, it attempts to spawn 6 CTFProjectile_SpellPumpkin projectiles with velocities set to move outward from the collision (and end up as a ring of pumpkin bombs).

Source location : /game/shared/tf/halloween/tf_weapon_spellbook.cpp

Linked entity : tf_projectile_spellmirv

Class Structure[edit | edit source]