Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KS7 Marshal Overhaul Update #3426

Closed
wants to merge 13 commits into from
Closed
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions baystation12.dme
Original file line number Diff line number Diff line change
Expand Up @@ -1472,6 +1472,7 @@
#include "code\modules\halo\clothing\jetpacks.dm"
#include "code\modules\halo\clothing\jumpsuits.dm"
#include "code\modules\halo\clothing\marine.dm"
#include "code\modules\halo\clothing\marshal.dm"
#include "code\modules\halo\clothing\odst.dm"
#include "code\modules\halo\clothing\oni_guard.dm"
#include "code\modules\halo\clothing\pilot.dm"
Expand Down Expand Up @@ -3351,6 +3352,7 @@
#include "maps\_gamemodes\gamemode_overrides.dm"
#include "maps\_gamemodes\randantag\randantag.dm"
#include "maps\geminus_city\geminus_city.dm"
#include "maps\ks7_elmsville\includes_pvp.dm"
#include "maps\~mapsystem\map_preferences.dm"
#include "maps\~mapsystem\map_ranks.dm"
#include "maps\~mapsystem\maps.dm"
Expand Down
6 changes: 3 additions & 3 deletions code/modules/halo/clothing/civilian.dm
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

/obj/item/clothing/suit/armor/vest/police/New()
. =..()
slowdown_per_slot[slot_wear_suit] = 2
slowdown_per_slot[slot_wear_suit] = 1.5
pocket_curr = new/obj/item/weapon/storage/internal/pockets(src,2,ITEM_SIZE_SMALL,null,ARMOUR_POCKET_CANHOLD)

/obj/item/clothing/suit/armor/vest/police_medium//medium armor
Expand All @@ -37,7 +37,7 @@

/obj/item/clothing/suit/armor/vest/police_medium/New()//speeds are factoring other gear and chasing people on foot, meant to encourage using lighter armors to reduce meta
. = ..()
slowdown_per_slot[slot_wear_suit] = -1
slowdown_per_slot[slot_wear_suit] = 1
pocket_curr = new/obj/item/weapon/storage/internal/pockets(src,2,ITEM_SIZE_SMALL,null,ARMOUR_POCKET_CANHOLD)


Expand All @@ -58,7 +58,7 @@

/obj/item/clothing/suit/storage/vest/tactical/police/New()
. = ..()
slowdown_per_slot[slot_wear_suit] = -2
slowdown_per_slot[slot_wear_suit] = 0
pocket_curr = new/obj/item/weapon/storage/internal/pockets(src,2,ITEM_SIZE_SMALL,null,ARMOUR_POCKET_CANHOLD)

/obj/item/clothing/mask/balaclava/tactical/police
Expand Down
158 changes: 158 additions & 0 deletions code/modules/halo/clothing/marshal.dm
Original file line number Diff line number Diff line change
@@ -0,0 +1,158 @@
#define MARSHAL_OVERRIDE 'code/modules/halo/clothing/marshal.dmi'

//UNDER

obj/item/clothing/under/police/marshal
name = "Marshal's Uniform"
desc = "A tan uniform worn by UEG Marshals."
icon = 'code/modules/halo/clothing/marshal.dmi'
icon_state = "marshal_uniform_obj"
worn_state = "marshal-uniform"
starting_accessories = list(/obj/item/clothing/accessory/holster/thigh)
item_icons = list(
slot_l_hand_str = 'code/modules/halo/clothing/gcpd_leftinhands.dmi',
slot_r_hand_str = 'code/modules/halo/clothing/gcpd_rightinhands.dmi',
)

//HELMET

/obj/item/clothing/head/helmet/swat/police/marshal //light
name = "Marshal Impact Helmet"
desc = "A Marshal lightweight helmet tailored towards protecting the wearer from blows to the head with minor shrapnel protection."
icon_override = MARSHAL_OVERRIDE
icon = MARSHAL_OVERRIDE
icon_state = "marshal_helmet_obj"
item_state = "marshal_helmet_w"

/obj/item/clothing/head/helmet/swat/police/medium/marshal //medium
name = "Marshal Ballistic Helmet"
desc = "A heavier Marshal helmet designed to be worn with the medium ballistic vest with more focus on protecting the eyes and head from shrapnel and bullets."
icon_override = MARSHAL_OVERRIDE
icon = MARSHAL_OVERRIDE
icon_state = "marshal_helmet_goggled_obj"
item_state = "marshal_helmet_goggled_w"

/obj/item/clothing/head/helmet/gas/police/heavy/marshal //heavy
name = "Marshal EH252 Helmet"
desc = "A fully enclosed Marshal helmet with inbuilt tear gas filters designed to protect the entirety of the head from ballistics and shrapnel. Goes with the heavy ballistic suit."
icon_override = MARSHAL_OVERRIDE
icon = MARSHAL_OVERRIDE
icon_state = "marshal_helmet_visor_obj"
item_state = "marshal_helmet_visor_w"

//HEAD

/obj/item/clothing/head/soft/police/marshal
name = "Marshal Hat"
desc = "A soft patrol cap to identify officers or show support."
icon_override = MARSHAL_OVERRIDE
icon = MARSHAL_OVERRIDE
icon_state = "marshal_hat_obj"
item_state = "marshal_hat_w"

/obj/item/clothing/head/soft/police/marshal/patrol
name = "Marshal Patrol Hat"
desc = "A hat worn by Marshals, to signify their status, reinforced with internal armour."
icon_override = MARSHAL_OVERRIDE
icon = MARSHAL_OVERRIDE
icon_state = "marshal_patrol_hat_obj"
item_state = "marshal_patrol_hat_w"

/obj/item/clothing/head/soft/police/marshal/beret
name = "Marshal Beret"
desc = "A beret worn by Marshals, to signify their status, reinforced with internal armour."
icon_override = MARSHAL_OVERRIDE
icon = MARSHAL_OVERRIDE
icon_state = "marshal_beret_obj"
item_state = "marshal_beret_w"

//SUIT

/obj/item/clothing/suit/storage/vest/tactical/police/marshal //light
name = "Marshal Light Tactical Vest"
desc = "A lightweight ballistic vest designed to reduce damage from low caliber rounds or stab wounds specifically to the upper torso. For light duties only."
icon_override = MARSHAL_OVERRIDE
icon = MARSHAL_OVERRIDE
icon_state = "marshal_armor_l_obj"
item_state = "marshal_armor_l_w"

/obj/item/clothing/suit/armor/vest/police_medium/marshal //medium
name = "Marshal Ballistic Vest"
desc = "A moderately armored vest designed for dangerous operations that features full upper and lower torso coverage."
icon_override = MARSHAL_OVERRIDE
icon = MARSHAL_OVERRIDE
icon_state = "marshal_armor_m_obj"
item_state = "marshal_armor_m_w"

/obj/item/clothing/suit/armor/vest/police/marshal //heavy
name = "Marshal Heavy Ballistic Suit"
desc = "A heavily armored vest designed for bullet and explosive resistance with coverage including the arms, upper and lower torso, and neck."
icon_override = MARSHAL_OVERRIDE
icon = MARSHAL_OVERRIDE
icon_state = "marshal_armor_h_obj"
item_state = "marshal_armor_h_w"

//MASK

/obj/item/clothing/mask/balaclava/tactical/police/marshal
name = "Marshal Balaclava"
desc = "A Marshal issued balaclava, for use in cold climate enviroments."
icon_override = MARSHAL_OVERRIDE
icon = MARSHAL_OVERRIDE
icon_state = "marshal_mask_obj"
item_state = "marshal_mask_w"

//EYES

/obj/item/clothing/glasses/police/marshal
name = "Ballistic Glasses"
desc = "Tinted to reduce glare and strenghtened to protect eyeballs from shrapnel."

//SHOES

/obj/item/clothing/shoes/marine/marshal
name = "Marshal Boots"
desc = "Boots worn by Marshals, to signify their status. Has inlays for to provide extra leg-armour."
icon_override = MARSHAL_OVERRIDE
icon = MARSHAL_OVERRIDE
icon_state = "marshal_shades_obj"
item_state = "marshal_shades_w"
icon_state = "marshal_boots_obj"
item_state = "marshal_boots_w"

//GLOVES

/obj/item/clothing/gloves/thick/unsc/marshal
name = "Marshal Gloves and Armguards"
desc = "Gloves and jumpsuit inlays designed to reinforce the arms and hands of Marshals."
icon_override = MARSHAL_OVERRIDE
icon = MARSHAL_OVERRIDE
icon_state = "marshal_gloves_obj"
item_state = "marshal_gloves_w"

//BELT

/obj/item/weapon/storage/belt/marine_ammo/marshal
name = "Marshal Ammo Belt"
desc = "A purpose built belt designed to carry ammunition and little else."

//RADIO

/obj/item/device/radio/headset/marshal
name = "Colonial Marshal Radio Headset"
icon_state = "sec_headset"
dongles = list(/obj/item/device/channel_dongle/human_civ,\
/obj/item/device/channel_dongle/marshals)

//ID

/obj/item/weapon/card/id/civilian/marshal
name = "Colonial Marshal ID Card"
desc = "An identification card worn by Colonial Marshals."
assignment = "Colonial Marshal"
access = list(8076) //KS7 Police Station Access
icon_state = "id"
item_state = "sec"


#undef MARSHAL_OVERRIDE
Binary file added code/modules/halo/clothing/marshal.dmi
Binary file not shown.
11 changes: 11 additions & 0 deletions code/modules/halo/comms/channel_presets.dm
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
#define RADIO_INNIE "INNIE"
#define RADIO_URFC "URFC"
#define RADIO_SEC "GCPD"
#define RADIO_MARSHAL "Marshals"
#define RADIO_SQUAD "UNSC"
#define RADIO_MARINE "REQUISITION"
#define RADIO_ODST "ODST"
Expand Down Expand Up @@ -48,6 +49,16 @@ GLOBAL_LIST_INIT(random_channels, list(\

/obj/item/device/channel_dongle/gcpd
channel_preset = RADIO_SEC

//
/obj/item/device/channel_dongle/marshals
channel_preset = RADIO_MARSHAL

/datum/channel_cipher/marshals
channel_name = RADIO_MARSHAL
chat_span_class = "secradio"
hotkey = "m"

//
/datum/channel_cipher/gcpd
channel_name = RADIO_SEC
Expand Down
7 changes: 6 additions & 1 deletion code/modules/halo/comms/headsets.dm
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,12 @@
dongles = list(/obj/item/device/channel_dongle/human_civ,\
/obj/item/device/channel_dongle/gcpd)


//colonial marshal headset
/obj/item/device/radio/headset/marshal
name = "colonial marshal radio headset"
icon_state = "sec_headset"
dongles = list(/obj/item/device/channel_dongle/human_civ,\
/obj/item/device/channel_dongle/marshals)

/* INNIE */

Expand Down
Binary file not shown.
2 changes: 1 addition & 1 deletion code/modules/halo/weapons/M6D.dm
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@
name = "\improper M6B Magnum"
icon_state = "m6b_police"
item_state = "m6b_police"
fire_sound = 'code/modules/halo/sounds/MagnumShotSoundEffect.ogg'
fire_sound = 'code/modules/halo/sounds/Magnum_Low_Power_Fire.ogg'
reload_sound = 'code/modules/halo/sounds/MagnumReloadSoundEffect.ogg'
desc = "Common handgun accessible to civilians with a lack of a scope, in drab gray GCPD colors. Takes 12.7mm calibre magazines sized for an M6D."

Expand Down
Binary file modified icons/mob/uniform.dmi
Binary file not shown.
Loading
Loading