Skip to content

Commit 6da8751

Browse files
authored
Basic gun stuff (#7)
* initial commit * change * Create belts.dmi * more stuff * fixes * Update _marine_armor.dm * null icons for parent things * Update unsc_guns.dm * onmob * hel[p * MORE STUFF AND M7 * Update gun_attachables.dm * fixes * fixes * Update unsc_guns.dm * Update unsc_guns.dm
1 parent 8ab9e49 commit 6da8751

File tree

94 files changed

+1695
-75
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

94 files changed

+1695
-75
lines changed

code/__DEFINES/equipment.dm

+1
Original file line numberDiff line numberDiff line change
@@ -570,6 +570,7 @@ GLOBAL_LIST_INIT(uniform_categories, list(
570570
#define PHONE_MARINE "Marine"
571571
#define PHONE_UPP_SOLDIER "Soldier"
572572
#define PHONE_IO "IO"
573+
#define PHONE_UNSC "UNSC"
573574

574575
#define PHONE_DND_FORCED 2
575576
#define PHONE_DND_ON 1
+90
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
1+
// rifle ammo
2+
3+
/datum/ammo/bullet/rifle/ma5c
4+
name = "FMJ bullet"
5+
headshot_state = HEADSHOT_OVERLAY_MEDIUM
6+
damage = 40
7+
penetration = ARMOR_PENETRATION_TIER_1
8+
accurate_range = 16
9+
accuracy = HIT_ACCURACY_TIER_6
10+
scatter = SCATTER_AMOUNT_TIER_10
11+
shell_speed = AMMO_SPEED_TIER_6
12+
effective_range_max = 7
13+
damage_falloff = DAMAGE_FALLOFF_TIER_7
14+
max_range = 24
15+
16+
/datum/ammo/bullet/rifle/br55
17+
name = "X-HP SAP-HE bullet"
18+
headshot_state = HEADSHOT_OVERLAY_MEDIUM
19+
damage = 50
20+
penetration = ARMOR_PENETRATION_TIER_3
21+
accurate_range = 16
22+
scatter = SCATTER_AMOUNT_TIER_10
23+
shell_speed = 1.5*AMMO_SPEED_TIER_6
24+
effective_range_max = 16
25+
damage_falloff = DAMAGE_FALLOFF_TIER_7
26+
max_range = 24
27+
28+
// smg ammo
29+
/datum/ammo/bullet/smg/m7
30+
name = "5×23mm M443 FMJ"
31+
penetration = 0
32+
damage = 25
33+
34+
// shotgun ammo
35+
36+
/datum/ammo/bullet/shotgun/buckshot/unsc
37+
name = "MAG 15P-00B"
38+
handful_state = "8g_shell"
39+
bonus_projectiles_type = /datum/ammo/bullet/shotgun/spread/unsc
40+
accurate_range = 8
41+
max_range = 8
42+
damage = 60
43+
bonus_projectiles_amount = EXTRA_PROJECTILES_TIER_8
44+
firing_freq_offset = SOUND_FREQ_LOW
45+
46+
/datum/ammo/bullet/shotgun/spread/unsc
47+
name = "additional buckshot, USCM special type"
48+
accurate_range = 8
49+
max_range = 8
50+
damage = 90
51+
firing_freq_offset = SOUND_FREQ_LOW
52+
53+
// rocket ammo
54+
55+
/datum/ammo/rocket/spnkr
56+
name = "M19 missile"
57+
icon = 'icons/halo/obj/items/weapons/halo_projectiles.dmi'
58+
icon_state = "spnkr_missile"
59+
damage = 200
60+
shell_speed = AMMO_SPEED_TIER_6
61+
accuracy = HIT_ACCURACY_TIER_4
62+
accurate_range = 14
63+
max_range = 14
64+
65+
66+
// sniper ammo
67+
68+
/datum/ammo/bullet/rifle/srs99
69+
name = "APFSDS bullet"
70+
headshot_state = HEADSHOT_OVERLAY_HEAVY
71+
damage = 200
72+
penetration = ARMOR_PENETRATION_TIER_8
73+
accurate_range = 24
74+
accuracy = HIT_ACCURACY_TIER_10
75+
scatter = SCATTER_AMOUNT_TIER_10
76+
effective_range_max = 24
77+
damage_falloff = DAMAGE_FALLOFF_TIER_7
78+
max_range = 48
79+
shell_speed = AMMO_SPEED_TIER_6 + AMMO_SPEED_TIER_2
80+
81+
// pistol ammo
82+
83+
/datum/ammo/bullet/pistol/magnum
84+
name = "SAP-HE bullet"
85+
headshot_state = HEADSHOT_OVERLAY_HEAVY
86+
accuracy = HIT_ACCURACY_TIER_4
87+
accuracy_var_low = PROJECTILE_VARIANCE_TIER_6
88+
damage = 40
89+
penetration= ARMOR_PENETRATION_TIER_2
90+
shrapnel_chance = SHRAPNEL_CHANCE_TIER_2

code/game/jobs/job/command/cic/staffofficer.dm

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
allow_additional = 1
1010
scaled = FALSE
1111
flags_startup_parameters = ROLE_ADD_TO_DEFAULT
12-
gear_preset = /datum/equipment_preset/unsc/pc
13-
gear_preset_secondary = /datum/equipment_preset/unsc/pc/lesser_rank
12+
gear_preset = /datum/equipment_preset/unsc/platco
13+
gear_preset_secondary = /datum/equipment_preset/unsc/platco/lesser_rank
1414
entry_message_body = "<a href='"+WIKI_PLACEHOLDER+"'>Your job is to conduct the briefing for the platoon, monitor the operation, and listen to your superior officers.</a> You are in charge of the platoon for the current operation and supported by your Company Command.<br>They will give your orders VIA the telephone in your office once they are ready.<br><b>You remember that you've stored your personal gear are located in your personal quarters.</b><br>Your job involves heavy roleplay and requires you to behave like an officer and to stay in character at all times."
1515

1616
job_options = list(FIRST_LT_VARIANT = "1stLt", SECOND_LT_VARIANT = "2ndLt")

code/game/objects/items/devices/binoculars.dm

+1-1
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@
364364

365365
/obj/item/device/binoculars/range/designator/sergeant
366366
name = "tactical binoculars"
367-
desc = "A laser designator issued to USCM command elements. It has two modes: target marking for CAS with IR laser and rangefinding. Ctrl + Click turf to target something. Ctrl + Click designator to stop lasing. Alt + Click designator to switch modes."
367+
desc = "A laser designator issued to UNSC command elements. It has two modes: target marking for CAS with IR laser and rangefinding. Ctrl + Click turf to target something. Ctrl + Click designator to stop lasing. Alt + Click designator to switch modes."
368368
icon_state = "advanced_binoculars"
369369
range_laser_overlay = "adv_laser_range"
370370
cas_laser_overlay = "adv_laser_cas"

code/game/objects/items/storage/backpack.dm

+36-36
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@
291291
desc = "It's a backpack especially designed for use in a sterile environment."
292292
icon_state = "medicalpack"
293293

294-
/obj/item/storage/backpack/security //Universal between USCM MPs & Colony, should be split at some point.
294+
/obj/item/storage/backpack/security //Universal between UNSC MPs & Colony, should be split at some point.
295295
name = "security backpack"
296296
desc = "It's a very robust backpack."
297297
icon_state = "securitypack"
@@ -403,7 +403,7 @@
403403
desc = "Useful for holding research materials."
404404
icon_state = "satchel-tox"
405405

406-
/obj/item/storage/backpack/satchel/sec //Universal between USCM MPs & Colony, should be split at some point.
406+
/obj/item/storage/backpack/satchel/sec //Universal between UNSC MPs & Colony, should be split at some point.
407407
name = "security satchel"
408408
desc = "A robust satchel composed of two drop pouches and a large internal pocket. Made of a stiff fabric, it isn't very comfy to wear."
409409
icon_state = "satchel-sec"
@@ -418,7 +418,7 @@
418418
419419
/obj/item/storage/backpack/marine
420420
name = "\improper lightweight IMP backpack"
421-
desc = "The standard-issue pack of the USCM and US Army forces. Designed to lug gear into the battlefield using the Intuitive Mounting Point system on M3 armor."
421+
desc = "The standard-issue pack of the UNSC and US Army forces. Designed to lug gear into the battlefield using the Intuitive Mounting Point system on M3 armor."
422422
icon_state = "marinepack"
423423
item_state = "marinepack"
424424
has_gamemode_skin = FALSE //replace this with the atom_flag NO_SNOW_TYPE at some point, just rename it to like, NO_MAP_VARIANT_SKIN
@@ -459,8 +459,8 @@
459459
UnregisterSignal(user, COMSIG_HUMAN_POST_MOVE_DELAY)
460460

461461
/obj/item/storage/backpack/marine/medic
462-
name = "\improper USCM corpsman backpack"
463-
desc = "A standard-issue backpack worn by USCM medics."
462+
name = "\improper UNSC corpsman backpack"
463+
desc = "A standard-issue backpack worn by UNSC medics."
464464
icon_state = "marinepack_medic"
465465
item_state = "marinepack_medic"
466466
xeno_icon_state = "medicpack"
@@ -471,31 +471,31 @@
471471

472472
/obj/item/storage/backpack/marine/medic/upp
473473
name = "\improper UPP corpsman backpack"
474-
desc = "Uncommon issue backpack worn by UPP medics from isolated sectors. You can swear you can see a faded USCM symbol."
474+
desc = "Uncommon issue backpack worn by UPP medics from isolated sectors. You can swear you can see a faded UNSC symbol."
475475

476476
/obj/item/storage/backpack/marine/tech
477-
name = "\improper USCM technician backpack"
478-
desc = "A standard-issue backpack worn by USCM technicians."
477+
name = "\improper UNSC technician backpack"
478+
desc = "A standard-issue backpack worn by UNSC technicians."
479479
icon_state = "marinepack_techi"
480480
item_state = "marinepack_techi"
481481
xeno_icon_state = "marinepack"
482482
xeno_types = list(/mob/living/carbon/xenomorph/runner, /mob/living/carbon/xenomorph/praetorian, /mob/living/carbon/xenomorph/drone, /mob/living/carbon/xenomorph/warrior, /mob/living/carbon/xenomorph/defender, /mob/living/carbon/xenomorph/sentinel, /mob/living/carbon/xenomorph/spitter)
483483

484484
/obj/item/storage/backpack/marine/satchel/intel
485-
name = "\improper USCM lightweight expedition pack"
486-
desc = "A heavy-duty IMP based backpack that can be slung around the front or to the side, and can quickly be accessed with only one hand. Usually issued to USCM intelligence officers."
485+
name = "\improper UNSC lightweight expedition pack"
486+
desc = "A heavy-duty IMP based backpack that can be slung around the front or to the side, and can quickly be accessed with only one hand. Usually issued to UNSC intelligence officers."
487487
icon_state = "marinebigsatch"
488488
max_storage_space = 20
489489

490490
/obj/item/storage/backpack/marine/satchel/intel/chestrig
491-
name = "\improper USCM expedition chestrig"
492-
desc = "A heavy-duty IMP based chestrig, can quickly be accessed with only one hand. Usually issued to USCM intelligence officers."
491+
name = "\improper UNSC expedition chestrig"
492+
desc = "A heavy-duty IMP based chestrig, can quickly be accessed with only one hand. Usually issued to UNSC intelligence officers."
493493
icon_state = "intel_chestrig"
494494
max_storage_space = 20
495495

496496
/obj/item/storage/backpack/marine/satchel
497-
name = "\improper USCM satchel"
498-
desc = "A heavy-duty satchel carried by some USCM soldiers and support personnel."
497+
name = "\improper UNSC satchel"
498+
desc = "A heavy-duty satchel carried by some UNSC soldiers and support personnel."
499499
icon_state = "marinesatch"
500500
worn_accessible = TRUE
501501
storage_slots = null
@@ -506,36 +506,36 @@
506506
has_gamemode_skin = FALSE
507507

508508
/obj/item/storage/backpack/marine/satchel/big //wacky squad marine loadout item, its the IO backpack.
509-
name = "\improper USCM logistics IMP backpack"
509+
name = "\improper UNSC logistics IMP backpack"
510510
desc = "A standard-issue backpack worn by logistics personnel. It is occasionally issued to combat personnel for longer term expeditions and deep space incursions."
511511
icon_state = "marinebigsatch"
512512
worn_accessible = TRUE
513513
storage_slots = null
514514
max_storage_space = 21 //backpack size
515515

516516
/obj/item/storage/backpack/marine/satchel/medic
517-
name = "\improper USCM corpsman satchel"
518-
desc = "A heavy-duty satchel used by USCM medics. It sacrifices capacity for usability. A small patch is sewn to the top flap."
517+
name = "\improper UNSC corpsman satchel"
518+
desc = "A heavy-duty satchel used by UNSC medics. It sacrifices capacity for usability. A small patch is sewn to the top flap."
519519
icon_state = "marinesatch_medic"
520520

521521
/obj/item/storage/backpack/marine/satchel/medic/standard
522522
has_gamemode_skin = FALSE
523523

524524
/obj/item/storage/backpack/marine/satchel/tech
525-
name = "\improper USCM technician chestrig"
526-
desc = "A heavy-duty chestrig used by some USCM technicians."
525+
name = "\improper UNSC technician chestrig"
526+
desc = "A heavy-duty chestrig used by some UNSC technicians."
527527
icon_state = "marinesatch_techi"
528528

529529
/obj/item/storage/backpack/marine/satchel/chestrig
530-
name = "\improper USCM chestrig"
531-
desc = "A chestrig used by some USCM personnel."
530+
name = "\improper UNSC chestrig"
531+
desc = "A chestrig used by some UNSC personnel."
532532
icon_state = "chestrig"
533533
has_gamemode_skin = FALSE
534534

535535
GLOBAL_LIST_EMPTY_TYPED(radio_packs, /obj/item/storage/backpack/marine/satchel/rto)
536536

537537
/obj/item/storage/backpack/marine/satchel/rto
538-
name = "\improper USCM Radio Telephone Pack"
538+
name = "\improper Radio Telephone Pack"
539539
desc = "A heavy-duty pack, used for telecommunications between central command. Commonly carried by RTOs."
540540
icon_state = "rto_backpack"
541541
item_state = "rto_backpack"
@@ -576,7 +576,7 @@ GLOBAL_LIST_EMPTY_TYPED(radio_packs, /obj/item/storage/backpack/marine/satchel/r
576576
networks_transmit = list(FACTION_UPP)
577577

578578
/obj/item/storage/backpack/marine/satchel/rto/small
579-
name = "\improper USCM Small Radio Telephone Pack"
579+
name = "\improper UNSC Small Radio Telephone Pack"
580580
max_storage_space = 10
581581

582582
/obj/item/storage/backpack/marine/satchel/rto/small/upp_net
@@ -596,23 +596,23 @@ GLOBAL_LIST_EMPTY_TYPED(radio_packs, /obj/item/storage/backpack/marine/satchel/r
596596
xeno_types = null
597597

598598
/obj/item/storage/backpack/marine/marsoc
599-
name = "\improper USCM SOF IMP tactical rucksack"
599+
name = "\improper UNSC SOF IMP tactical rucksack"
600600
icon_state = "tacrucksack"
601601
desc = "With a backpack like this, you'll forget you're on a hell march designed to kill you."
602602
worn_accessible = TRUE
603603
has_gamemode_skin = FALSE
604604
xeno_types = null
605605

606606
/obj/item/storage/backpack/marine/rocketpack
607-
name = "\improper USCM IMP M22 rocket bags"
608-
desc = "A specially-designed backpack that fits to the IMP mounting frame on standard USCM pattern M3 armors. It's made of two waterproofed reinforced tubes and one smaller satchel slung at the bottom. The two silos are for rockets, but no one is stopping you from cramming other things in there."
607+
name = "\improper UNSC IMP M22 rocket bags"
608+
desc = "A specially-designed backpack that fits to the IMP mounting frame on standard UNSC pattern M3 armors. It's made of two waterproofed reinforced tubes and one smaller satchel slung at the bottom. The two silos are for rockets, but no one is stopping you from cramming other things in there."
609609
icon_state = "rocketpack"
610610
worn_accessible = TRUE
611611
has_gamemode_skin = FALSE //monkeysfist101 never sprited a snowtype but included duplicate icons. Why?? Recolor and touch up sprite at a later date.
612612
xeno_types = null
613613

614614
/obj/item/storage/backpack/marine/grenadepack
615-
name = "\improper USCM IMP M63A1 grenade satchel"
615+
name = "\improper UNSC IMP M63A1 grenade satchel"
616616
desc = "A secure satchel with dedicated grenade pouches meant to minimize risks of secondary ignition."
617617
icon_state = "grenadierpack"
618618
overlays = list("+grenadierpack_unlocked")
@@ -631,7 +631,7 @@ GLOBAL_LIST_EMPTY_TYPED(radio_packs, /obj/item/storage/backpack/marine/satchel/r
631631
return ..()
632632

633633
/obj/item/storage/backpack/marine/mortarpack
634-
name = "\improper USCM mortar shell backpack"
634+
name = "\improper UNSC mortar shell backpack"
635635
desc = "A backpack specifically designed to hold ammunition for the M402 mortar."
636636
icon_state = "mortarpack"
637637
max_w_class = SIZE_HUGE
@@ -676,7 +676,7 @@ GLOBAL_LIST_EMPTY_TYPED(radio_packs, /obj/item/storage/backpack/marine/satchel/r
676676
// Scout Cloak
677677
/obj/item/storage/backpack/marine/satchel/scout_cloak
678678
name = "\improper M68 Thermal Cloak"
679-
desc = "The lightweight thermal dampeners and optical camouflage provided by this cloak are weaker than those found in standard USCM ghillie suits. In exchange, the cloak can be worn over combat armor and offers the wearer high maneuverability and adaptability to many environments."
679+
desc = "The lightweight thermal dampeners and optical camouflage provided by this cloak are weaker than those found in standard UNSC ghillie suits. In exchange, the cloak can be worn over combat armor and offers the wearer high maneuverability and adaptability to many environments."
680680
icon_state = "scout_cloak"
681681
unacidable = TRUE
682682
indestructible = TRUE
@@ -825,8 +825,8 @@ GLOBAL_LIST_EMPTY_TYPED(radio_packs, /obj/item/storage/backpack/marine/satchel/r
825825
// Welder Backpacks //
826826

827827
/obj/item/storage/backpack/marine/engineerpack
828-
name = "\improper USCM technician welderpack"
829-
desc = "A specialized backpack worn by USCM technicians. It carries a fueltank for quick welder refueling and use."
828+
name = "\improper UNSC technician welderpack"
829+
desc = "A specialized backpack worn by UNSC technicians. It carries a fueltank for quick welder refueling and use."
830830
icon_state = "welderbackpack"
831831
item_state = "welderbackpack"
832832
var/max_fuel = 260
@@ -905,8 +905,8 @@ GLOBAL_LIST_EMPTY_TYPED(radio_packs, /obj/item/storage/backpack/marine/satchel/r
905905
. += "[reagents.total_volume] units of fuel left!"
906906

907907
/obj/item/storage/backpack/marine/engineerpack/satchel
908-
name = "\improper USCM technician welder-satchel"
909-
desc = "A specialized satchel worn by USCM technicians and engineers. It carries two small fuel tanks for quick welder refueling and use."
908+
name = "\improper UNSC technician welder-satchel"
909+
desc = "A specialized satchel worn by UNSC technicians and engineers. It carries two small fuel tanks for quick welder refueling and use."
910910
icon_state = "satchel_marine_welder"
911911
item_state = "satchel_marine_welder"
912912
max_storage_space = 12
@@ -926,8 +926,8 @@ GLOBAL_LIST_EMPTY_TYPED(radio_packs, /obj/item/storage/backpack/marine/satchel/r
926926

927927
// Pyrotechnician Spec backpack fuel tank
928928
/obj/item/storage/backpack/marine/engineerpack/flamethrower
929-
name = "\improper USCM Pyrotechnician G6-2 fueltank"
930-
desc = "A specialized fueltank worn by USCM Pyrotechnicians for use with the M240-T incinerator unit. A small general storage compartment is installed."
929+
name = "\improper UNSC Pyrotechnician G6-2 fueltank"
930+
desc = "A specialized fueltank worn by UNSC Pyrotechnicians for use with the M240-T incinerator unit. A small general storage compartment is installed."
931931
icon_state = "flamethrower_tank"
932932
max_fuel = 500
933933
fuel_type = "utnapthal"
@@ -986,7 +986,7 @@ GLOBAL_LIST_EMPTY_TYPED(radio_packs, /obj/item/storage/backpack/marine/satchel/r
986986
. = ..()
987987

988988
/obj/item/storage/backpack/marine/engineerpack/flamethrower/kit
989-
name = "\improper USCM Pyrotechnician G4-1 fueltank"
989+
name = "\improper UNSC Pyrotechnician G4-1 fueltank"
990990
desc = "A much older-generation back rig that holds fuel in two tanks. A small regulator sits between them. Has a few straps for holding up to three of the actual flamer tanks you'll be refilling."
991991
icon_state = "flamethrower_backpack"
992992
item_state = "flamethrower_backpack"

0 commit comments

Comments
 (0)