mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-30 00:21:11 +01:00
Pixel Projectiles (#4105)
Projectile hitscan effects moved to /effects/projectiles folder.
Most of projectile firing code and some of impact code refactored, and projectile hitscan effects refactored with ported TGcode (which is mostly TGcode I wrote anyways 😎)
Projectiles can now be fired at any angle, instead of just at the center of turfs!
Projectiles are now [in theory] 100% accurate down to 0.001 of a pixel.
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
var/datum/controller/subsystem/processing/projectiles/SSprojectiles
|
||||
|
||||
/datum/controller/subsystem/processing/projectiles
|
||||
name = "Projectiles"
|
||||
stat_tag = "PROJ"
|
||||
priority = SS_PRIORITY_PROJECTILES
|
||||
flags = SS_TICKER|SS_NO_INIT
|
||||
wait = 1
|
||||
var/global_max_tick_moves = 10
|
||||
|
||||
/datum/controller/subsystem/processing/projectiles/New()
|
||||
NEW_SS_GLOBAL(SSprojectiles)
|
||||
Reference in New Issue
Block a user