Skip to content

Mla79 Overhaul#176

Open
Virnazush wants to merge 21 commits into
Triad-Sector:mainfrom
Virnazush:MLA79-Overhaul
Open

Mla79 Overhaul#176
Virnazush wants to merge 21 commits into
Triad-Sector:mainfrom
Virnazush:MLA79-Overhaul

Conversation

@Virnazush

@Virnazush Virnazush commented Jun 2, 2026

Copy link
Copy Markdown
Contributor

About the PR

Adds 'Powered Weapon Harness' functionality to the fork. Includes a MLA-79 Harness which is now intended to be utilized with the MLA-79 Smartgun.

Why / Balance

The Smartgun canonically (at least from Aliens) is supposed to have an arm mount and a harness to function correctly, the fork did not emulate the harness part of the system so this PR was created to address that.

The harness was implemented in a generalized manner so it will allow future contributors to make their own 'heavy weapons' which may be better balanced by them utilizing such a system. It functions rather simply.

'Heavy Weapons' can be used without the harness, however the player will suffer movement and accuracy penalties regardless if it is wielded, in hand, or on the players back/suitslot.

If a player has the correct harness for their chosen weapon, and the harness has a charged power cell, it will restore the players movement speed to 'default', and will provide accuracy bonus the gun had already prior to this PR, wielded movement speed is reduced for balance. So long as the player is in possession of their weapon, it will passively drain from the harnesses power cell, every shot from the weapon will also drain the power cell by 5 until depleted. There are audio alerts upon the weapon linking to the harness, the harness being at half charge, and the harness charge being depleted. The harness also features a retrieval system that if the harness has power it will retrieve the weapon and return it to the suitstorage slot. This feature is toggleable.

Upon power depletion, the harness will no longer provide benefits to the player and their weapon, they may as well not even be wearing it until they recharge it. Antique Power Cells are blacklisted from the harness slot because they're too over powered. Weapon retrieval will also not occur if the harness is not powered.

Media

harness harness2 harnesswithgun

Requirements

  • I have read relevant guidelines/documentation to this PR found on our devwiki.
  • I have added media to this PR or it does not require an ingame showcase.
  • I can confirm this PR contains either no AI-generated content, or AI-generated content that meets our guidelines.

How to test

Acquire a MLA-79 Harness with a charged power cell (Antique Blacklisted)
Acquire a MLA-79 Smartgun
Pick up the Smartgun while wearing the harness, it should say 'GUN READY' and emit a beep.
Move and fire with the weapon.
When the harness battery is depleted, remove power cell and recharge.

Breaking changes

Changelog

🆑

  • add: MLA-79 Harness
  • tweak: MLA-79 Smartgun weapon now requires the Harness to function, without it the player will suffer movement and accuracy penalties.

@github-actions github-actions Bot added size/M C# YML Sprites FTL Changes to localization files S: Untriaged and removed size/M labels Jun 2, 2026
@Triad-Sector Triad-Sector changed the title Mla79 overhaul Mla79 Overhaul Jun 2, 2026
@github-actions

github-actions Bot commented Jun 2, 2026

Copy link
Copy Markdown

RSI Diff Bot; head commit 4704f2a merging into 68826b4
This PR makes changes to 1 or more RSIs. Here is a summary of all changes:

Resources/Textures/_Triad/Clothing/Belt/mla79harness.rsi

State Old New Status
equipped-BELT-vox Added
equipped-BELT Added
icon Added
inhand-left Added
inhand-right Added

Edit: diff updated after 4704f2a

@Virnazush

Copy link
Copy Markdown
Contributor Author

The curse of the build and test debug

@TheRealMasterChief117

Copy link
Copy Markdown
Collaborator

Try merging master, I merged the test improvements PR

@Virnazush Virnazush marked this pull request as draft June 2, 2026 02:34
@Virnazush Virnazush marked this pull request as ready for review June 2, 2026 02:34
@Virnazush

Copy link
Copy Markdown
Contributor Author

you mean merge it to my master then merge again? or just remake the PR?

@TheRealMasterChief117

Copy link
Copy Markdown
Collaborator

you mean merge it to my master then merge again? or just remake the PR?

Merge master to your PR

@Virnazush

Copy link
Copy Markdown
Contributor Author

gotcha one sec


# Ranged Weapons
- type: Tag
id: MachinePistol

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

so i forgot to take this out when i moved this MLA 79 project to its own branch, this was for some holster things i was working on and plan to PR soon.

@IrkallaEpsilon

Copy link
Copy Markdown
Contributor

Hm this is interesting.. can see that being applied for future energy weapons, i.e. the turbolaser (which is still kinda in a sorry state considering its a very low drop chance from AI mobs) or even other ballistics (something something 5 or 6 barrels, rotating..). Wonder if this system can be applied to a gun e.g. a gun needs both magazine and power supply, think a railgun or gauss rifle..

Very cool ngl

@Virnazush

Copy link
Copy Markdown
Contributor Author

Hm this is interesting.. can see that being applied for future energy weapons, i.e. the turbolaser (which is still kinda in a sorry state considering its a very low drop chance from AI mobs) or even other ballistics (something something 5 or 6 barrels, rotating..). Wonder if this system can be applied to a gun e.g. a gun needs both magazine and power supply, think a railgun or gauss rifle..

Very cool ngl

I need to clean up some of the C# stuff like the event and component names to be shorter and easier to work with before i'm totally comfortable with the PR being merged, mostly submitted to get feedback.

For the railgun idea with the weapon requiring both ammo and a power source i'm not sure if the game can do that as of right now, may need some light c# work. Maybe crossing the laser weapon code with ballistic stuff may get that? I know a yaml for it would just have an extra type container slot for power cells, so that front wont really be hard.

@github-actions

github-actions Bot commented Jun 9, 2026

Copy link
Copy Markdown

This pull request has conflicts, please resolve those before we can evaluate the pull request.

@DDrakov DDrakov left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Image

The text can be better, GUN READY is too weird

@DDrakov

DDrakov commented Jun 10, 2026

Copy link
Copy Markdown
Collaborator
image What's the point of having the harness if it can't put anything in it? maybe makes it so you can put spare batteries or some mag itself.

@DDrakov

DDrakov commented Jun 10, 2026

Copy link
Copy Markdown
Collaborator

Otherwise, solid PR it works as intended.

@Virnazush

Copy link
Copy Markdown
Contributor Author
Image The text can be better, GUN READY is too weird

You want it to be smaller?

image What's the point of having the harness if it can't put anything in it? maybe makes it so you can put spare batteries or some mag itself.

That's weird, It must be something to do with the power cell stuff since the harness is now a 'container' as well as a belt, I'll work on this when I get home.

@DDrakov

DDrakov commented Jun 10, 2026

Copy link
Copy Markdown
Collaborator
Image The text can be better, GUN READY is too weird

You want it to be smaller?

image What's the point of having the harness if it can't put anything in it? maybe makes it so you can put spare batteries or some mag itself.

That's weird, It must be something to do with the power cell stuff since the harness is now a 'container' as well as a belt, I'll work on this when I get home.

nah, just change the name maybe. Like make it more pleasant to see rather than "GUN READY", I'm unsure how FTL works so maybe could ask Ricky or Boba in the contributor, like "the gun is ready"

I think the issue is that whitelist tag, having that that meaning it's only whitelisted for that specific item/proto

@Virnazush

Copy link
Copy Markdown
Contributor Author
Image The text can be better, GUN READY is too weird

You want it to be smaller?

image What's the point of having the harness if it can't put anything in it? maybe makes it so you can put spare batteries or some mag itself.

That's weird, It must be something to do with the power cell stuff since the harness is now a 'container' as well as a belt, I'll work on this when I get home.

nah, just change the name maybe. Like make it more pleasant to see rather than "GUN READY", I'm unsure how FTL works so maybe could ask Ricky or Boba in the contributor, like "the gun is ready"

I think the issue is that whitelist tag, having that that meaning it's only whitelisted for that specific item/proto

Does 'Weapon Linked' sound better? Also while at work my interenet is trash so It'll be hard to use discord reliably.

Yea i caught the whitelist part, should be an easy fix, I think i was just so focused on the harness working right with the cells and weapon I forgot to put stuff in it to see if it actually functioned as a belt.

@DDrakov

DDrakov commented Jun 11, 2026

Copy link
Copy Markdown
Collaborator
image Funny bug, if you alt+click on the harness you can't instantly took out the battery as you also trigger the magnetic harness

@DDrakov DDrakov left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good enough to run, the concept is great approval from me.

@Virnazush

Copy link
Copy Markdown
Contributor Author

image Funny bug, if you alt+click on the harness you can't instantly took out the battery as you also trigger the magnetic harness

i was not notified of this via email so sorry for the late reply. I'm not sure how to fix that as of right now other than removing the magnet action as a hotkey-able thing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants