28 Commits

Author SHA1 Message Date
Matt Atlas 94d92803b4 Replaces our lighting system with CM's. (#21465)
Depends on #21458.

Ports https://github.com/cmss13-devs/cmss13/pull/4229, with the original
authors as:

- https://github.com/tgstation/TerraGov-Marine-Corps/pull/1964 for the
lighting controller (A-lexa)
- https://github.com/tgstation/TerraGov-Marine-Corps/pull/4747 and
https://github.com/tgstation/TerraGov-Marine-Corps/pull/7263 for the
lighting (TiviPlus)
- https://github.com/tgstation/tgstation/pull/54520 for the dir lighting
component
- https://github.com/tgstation/tgstation/pull/75018 for the out of
bounds fix in lighting
- https://github.com/tgstation/TerraGov-Marine-Corps/pull/6678 for the
emissives (TiviPlus)

The main driving reason behind this is that current lighting consumes
way too much processing power, especially for things like odysseys/away
sites where a billion light sources are processing/moving at once and
the game slows down to a crawl. Hopefully this improves the situation by
a good margin, but we will need some testmerging to confirm that.
<img width="1349" height="1349" alt="image"
src="https://github.com/user-attachments/assets/1059ba2b-c0c5-495a-9c76-2d75d0c42bf2"
/>
<img width="1349" height="1349" alt="image"
src="https://github.com/user-attachments/assets/9704b0f6-4cf6-4dfd-a6cb-5702ad07d677"
/>


- [x] Resolve todos
- [x] Look into open space fuckery (border objects)

---------

Co-authored-by: Matt Atlas <liermattia@gmail.com>
Co-authored-by: JohnWildkins <john.wildkins@gmail.com>
2025-11-04 21:27:42 +00:00
Stev-the-third aa9793217e Removes old mech sprites, adds new previews. (#20824)
Adds new preview mech sprites, deletes the old deprecated ones, edits
the Horizon Z-4 to not have an old broken mech.

This was quite a lot of changes, so I veeeery likely missed something? I
searched to see if I left any mentions of mecha.dmi around, but I very
well could've missed some. It compiles fine for me at least.


![image](https://github.com/user-attachments/assets/30431f04-5bb9-459a-b27d-8da92a1921be)

![image](https://github.com/user-attachments/assets/adf42e7d-2612-4d39-adfd-34909a02b8b7)

![image](https://github.com/user-attachments/assets/e147d9da-b6ca-454a-b101-082fe7e26fdd)
Yes this only shows up while editing maps, it just annoyed me ok.

Co-authored-by: steviii <cormallenfield123@gmail.com>
2025-06-16 22:18:58 +00:00
hazelrat eafcc13b50 TCAF Corvette Remap (#19877)
This is a remap of the TCAF Corvette offship, intended to be more
intuitive than the current one.

**This is up for review.**

Notes:

1. The combustion engine isn't the only source of power in the ship,
there's also a portable generator that should be able to produce enough
to keep the ship going.
2. This adds a few clothing and overmap sprites for use in the
ghostrole, credit to Noble for them, and it also consolidates a few of
the existing TCAF assets into a single faction file. It isn't
comprehensive, but it's more organised than it was.
3. The armoury has been diversified a little. It's now composed of two
blaster rifles, one bolt slinger, one combat laser rifle, one pump
shotgun, and one burst rifle, plus the PEAC and six blaster revolvers as
sidearms. The primary intention of the combat laser rifle, pump shotgun,
and burst rifle is to provide a little AP which blasters universally
badly lack, so the ghostrole should be decently competitive against
armour. My hope is it should be roughly as strong as the Coalition
Ranger ship in combat.
4. I'm not totally happy with the hangar, but I'm not satisfied with any
of the docking port designs I've been able to think of, so I'm running
with it for now. I do believe a docking port is generally preferable.
5. Per Trio, species restrictions are tightened a bit on the Decurion to
only cover humans, Skrell, IPCs, and Vaurca Warriors. Liable to be
changed. Vaurca workers have also been excluded from every combatant
ghostrole, playable only as technicians. I'll be prodding at adding
bulwarks too, but they're not currently included due to some fickleness
with giving them appropriate uniforms.
6. The sensors are the strong variant for the shuttle and ship, with the
idea that it should be particularly good at reconnaissance. I doubt
anyone would use the shuttle to scout the sector, but the sensors are
good to throw a bone in that direction.
2024-09-30 22:00:15 +00:00
RustingWithYou d0e3da103e Premade exosuits now spawn with power cores (#19503)
Premade exosuits weren't spawning with power cores, which meant that
mapped-in mechs off the Horizon were effectively unusable. All premade
mechs will now spawn with an appropriate power core.
2024-06-21 05:35:14 +00:00
Geeves d8ccc6b32b Mech Power Changes (#17443) 2023-12-06 19:11:46 +00:00
Geeves aadabe1935 Exosuit Tweaks (#15673) 2023-02-03 23:45:19 +01:00
RustingWithYou e3d9e4598f Adds gpses to literally every ghostrole ship + sfa powerloader (#15622) 2023-01-25 12:35:30 +01:00
TheDanseMacabre 2a1ec5cc29 SSMD Recon Corvette (#15218) 2022-12-07 18:07:11 +01:00
Matt Atlas 65cece06b7 Adds a ship to ship combat system and weapons for the Horizon. (#14851) 2022-11-05 20:11:16 +01:00
Geeves 7efa56ad4b Mecha Combat Repath (#11267) 2021-02-27 13:55:45 +01:00
Geeves bb5e8f577c Exosuit Cleaner (#11270) 2021-02-24 14:22:45 +01:00
kyres1 87ac8edc07 Resprites mechs, adds a few new things (#9950) 2020-09-13 02:03:59 -03:00
Geeves a24f4ddb79 Crystal Agitators (#8609) 2020-09-01 14:04:12 +02:00
Geeves 14ace39ac3 Mech Health Buff (#9123) 2020-06-16 22:50:12 +02:00
Geeves f599f428db More Mech Equipment (#9005)
Fixes mech mounted autolathes.
    Adds a hand-mounted toolset that has: a wrench, a crowbar, and a screwdriver setting.
    Replaces the AI mech's drill with a hand-mounted toolset.

I need icon and on-mech sprites for the back-mounted autolathe and the hand-mounted toolset. Neither have to have any special animations or anything, static images are fine. Toolset sprite doesn't have to change with tool change.
2020-06-07 10:07:46 +03:00
Geeves 19b1ddb869 Remote Mech Revision (#8903)
The AI can now remotely control mechs in its network. It has one mapped in near its core.
    Messages received by your old body will now reach your VR body (does not affect Skrell Srom).
    Exosuit pilots can now interact with elevator panels without having to get out.
    Robotics and RnD can now create remote controlled mechs. The control centre is in the protolathe, while the exosuit upgrade is in the circuit imprinter.
    Mechs can no longer be dismantled if it has a pilot in it.
    Dismantling a mech now takes a while.
2020-05-30 16:20:16 +03:00
Matt Atlas 82437acd43 Materials subsystem, material defines instead of strings, structure materials. (#8447)
The shitcode crusade begins.
2020-03-18 20:19:11 +01:00
Geeves 95613ebf6b Some Mech Things (#8256)
Redoes how mechs assign their bodyparts and hardpoints. Should be much easier to make new mechs now, mechs can also now handle having children. Bless.
Created the backbone for having a mounted autolathe, however it needs a mech_equipment sprite, and a new GUI, which isn't something I'm capable of doing.
2020-02-16 19:48:44 +02:00
Geeves 2fed43a871 VR, Remote Mechs and Remote Robots (#7523)
Adds VR functionality, subsystem and a command VR system.
2020-01-12 14:09:48 +01:00
Alberyk 04aeeab4fc Adds running over people with mechs (#7791)
Walking over someone lying on the floor with mechs will now hurt them. Damage is based on the legs.
Also, removed some baylore references to the mech parts, and made so that mechs can push mobs around.
2019-12-29 22:02:06 +01:00
Mykhailo Bykhovtsev 3cd710af5a Mech's punch sounds (#7747)
sounadd: "Added sounds to mech's punch. They are different for each mech arms type and volume depends on damage of arms."
    tweak: "Ripley's arms damage was increased to 40 damage."
2019-12-23 09:47:33 +02:00
Mykhailo Bykhovtsev 8c1e92edcd Fixing Mechs more. The fight between armor and armour (#7723)
The armour and armor again strikes:

    Apparently original Mech port PR has overridden borg's armor definition and was using it. This fixes it by making mech's armor a child of borg's armor instead.

    renames borg's armour to armor references.

    Mech's melee damage has been increased. It depends on manipulator type. Light: 15, Regular: 20, Combat 30, Heavy: 50. Fixes #7665

    Adds missed check in mech's destroy proc
2019-12-19 21:41:23 +02:00
Mykhailo Bykhovtsev a4a6fb5f03 Lots of fixes for Mechs (#7692)
Spent lots of time and lots of changes to fix issues:

    bugfix: "Mechs no longer runtime during destroy call."

    bugfix: "Turrets and NPCS no longer target empty mechs."

    bugfix: "Mechs no longer runtime during armor check. Mechs now use their armor and values for it. Before it would ignore them entirely and deal 100% damage."

    Added ismech() define and also QDEL_NULL_LIST() define from TG. Matt's suggestion

    renamed any armour references in mech code to armor to keep it consistent
2019-12-17 17:28:31 +02:00
fernerr 06b9d15ee8 Adds some new mech weaponry for the legion, changes the way mech decals are applied (#7534) 2019-12-03 18:35:14 +01:00
Erki 5d1e519216 Fixes a woups 2019-11-26 10:01:03 +02:00
Alberyk 0fded6e656 Fixes some exosuit stuff (#7511)
-fixes some premade exosuits not getting their gear
-fixes some code using new instead of initialize
-removes some unused code
2019-11-26 09:53:17 +02:00
SueTheCake d6aa37a32e mech power fixes (#7510) 2019-11-26 09:46:47 +02:00
SueTheCake 84794c6e65 Mechs 3: Electric Boogaloo (#7486) 2019-11-25 23:04:19 +01:00