mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2025-12-23 00:22:12 +00:00
Ports Baystation12/Baystation12#19992 and Baystation12/Baystation12#27266. Added a personal shield device to the traitor tools uplink. Added a radiant shielding aura spell to Battlemage and Cleric. Added an exosuit shield drone to the mechfab. This works, but I'm not entirely happy with the sprites. The personal shield has no on-mob shimmer, it uses a mindbatterer grenade as an icon sprite. The wizard radiant spell uses a pretty big and janky sprite as an on-mob, and the exosuit's shield sprite doesn't follow the dir the mech faces, but that one I can maybe fix on my own. If anyone knows about that last one, lemme know, Bay had code for it that we do not.
33 lines
1.6 KiB
Plaintext
33 lines
1.6 KiB
Plaintext
#define PLANE_SPACE_BACKGROUND -98
|
|
#define PLANE_SPACE_PARALLAX (PLANE_SPACE_BACKGROUND + 1) // -97
|
|
#define PLANE_SPACE_DUST (PLANE_SPACE_PARALLAX + 1) // -96
|
|
#define PLANE_ABOVE_PARALLAX (PLANE_SPACE_BACKGROUND + 3) // -95
|
|
|
|
#define LOWER_ON_TURF_LAYER (TURF_LAYER + 0.05) // under the below
|
|
#define ON_TURF_LAYER (TURF_LAYER + 0.1) // sitting on the turf - should be preferred over direct use of TURF_LAYER
|
|
#define AO_LAYER (ON_TURF_LAYER + 0.1)
|
|
#define PIPE_LAYER 2.4 //under wires with their 2.44
|
|
#define CABLE_LAYER 2.44
|
|
#define ABOVE_CABLE_LAYER (CABLE_LAYER + 0.1)
|
|
#define DOOR_OPEN_LAYER 2.7 //Under all objects if opened. 2.7 due to tables being at 2.6
|
|
#define UNDERDOOR 3.09 //Just barely under a closed door.
|
|
#define DOOR_CLOSED_LAYER 3.1 //Above most items if closed
|
|
#define BELOW_MOB_LAYER 3.7
|
|
#define ABOVE_MOB_LAYER 4.1
|
|
#define LIGHTING_LAYER 11
|
|
#define EFFECTS_ABOVE_LIGHTING_LAYER 12 // For overlays you want to be above light.
|
|
#define HUD_LAYER 20 //Above lighting, but below obfuscation. For in-game HUD effects (whereas SCREEN_LAYER is for abstract/OOC things like inventory slots)
|
|
#define OBFUSCATION_LAYER 21 //Where images covering the view for eyes are put
|
|
#define SCREEN_LAYER 22 //Mob HUD/effects layer
|
|
#define CINEMA_LAYER 23
|
|
|
|
#define MECH_UNDER_LAYER 4
|
|
#define MECH_BASE_LAYER 4.01
|
|
#define MECH_INTERMEDIATE_LAYER 4.02
|
|
#define MECH_PILOT_LAYER 4.03
|
|
#define MECH_LEG_LAYER 4.04
|
|
#define MECH_COCKPIT_LAYER 4.05
|
|
#define MECH_ARM_LAYER 4.06
|
|
#define MECH_DECAL_LAYER 4.07
|
|
#define MECH_GEAR_LAYER 4.08
|
|
#define MECH_ABOVE_LAYER 4.09 |