You are viewing a potentially older version of this package. View all versions.
Snoresville-M4A1-1.1.1 icon

M4A1

Adds M4A1 from Girls' Frontline.

Date uploaded 3 weeks ago
Version 1.1.1
Download link Snoresville-M4A1-1.1.1.zip
Downloads 6943
Dependency string Snoresville-M4A1-1.1.1

This mod requires the following mods to function

RiskofThunder-R2API_Language-1.0.1 icon
RiskofThunder-R2API_Language

API for modifying the language localisation of the game

Preferred version: 1.0.1
RiskofThunder-R2API_Deployable-1.0.1 icon
RiskofThunder-R2API_Deployable

API for adding custom deployables

Preferred version: 1.0.1
RiskofThunder-R2API_Sound-1.0.3 icon
RiskofThunder-R2API_Sound

API for adding custom sounds or musics

Preferred version: 1.0.3
RiskofThunder-R2API_Prefab-1.0.4 icon
RiskofThunder-R2API_Prefab

API for Prefab creation, networking and duplication

Preferred version: 1.0.4
RiskofThunder-R2API_Networking-1.0.3 icon
RiskofThunder-R2API_Networking

Networking API around the Unity UNet Low Level API (LLAPI)

Preferred version: 1.0.3
RiskofThunder-R2API_Core-5.1.5 icon
RiskofThunder-R2API_Core

Core R2API module

Preferred version: 5.1.5
LordVGames-GildedChunkSpamFix-1.0.1 icon
LordVGames-GildedChunkSpamFix

Fixes gilded drones/monsters spawning game-crashing amounts of gilded chunks. Server-side and vanilla compatible.

Preferred version: 1.0.1
RiskofThunder-R2API_RecalculateStats-1.6.0 icon
RiskofThunder-R2API_RecalculateStats

API for manipulating Character Stats

Preferred version: 1.6.0
score-MiscFixes-1.3.8 icon
score-MiscFixes

Fixes some bugs

Preferred version: 1.3.8
bbepis-BepInExPack-5.4.2119 icon
bbepis-BepInExPack

Unified BepInEx all-in-one modding pack - plugin framework, detour library

Preferred version: 5.4.2119

README

M4A1 - A Character Mod for Risk of Rain 2

Adds M4A1, a custom playable survivor based on the character from Girls' Frontline.

Overview

  • M4A1 is a ranged survivor who thrives in short bursts of engagements, picking off enemies with her echelon.
  • She can assist in dispatching overwhelming enemy forces in size or numbers through high-energy blasts from her Particle Cannon.
  • However, her relatively fragile frame means that she must rely on her positioning and movement to continue or retreat from her battles.

This mod supports the following...

Multiplayer
Custom Emotes
Ancient Scepter

Screenshots

Expand for more screenshots...

Skills

Expand for skill details...

Keywords

Name Description
Networked Dummy Links will also use this skill in sync with the original.
Booting This skill is disabled by Respawn Sickness.

Passive

Name Effect
Dummy Network If the main M4A1 dies, she attempts to take control of one of her dummy links.
If successful, respawns and replaces a random dummy link, gaining 3 seconds of invincibility.
Respawn Sickness For the first 20 seconds after reviving through Dummy Network, some skills cannot be used.

Primary

Agile. All dummies inherit M4A1's primary weapon, but deal half of the damage.

Name Description
M4A1 Carbine Fires bullets from her rifle, each dealing 80% damage.
Carries 30 rounds per magazine, and reloads after 3 seconds.
Benelli M4 Fires volleys of bullets per shot, dealing 9x60% damage.
Carries up to 6 shells. After 0.5 seconds, each shell takes 0.5 seconds to chamber.

Secondary

Networked. Agile. M4A1 throws a grenade at a direction, exploding on contact; its type is chosen before the run starts.

Type Effect
Stun Grenade Throws a grenade that inflicts a concussion to nearby enemies within range, dealing 200% damage.
High Explosive Grenade Throws a highly explosive grenade that deals 1000% damage.
Incendiary Grenade Throws a grenade that lights an area on fire, dealing a total of 3000% damage over 10 seconds.
Ignites enemies.
Smoke Grenade Throws a grenade that deals 100% damage and covers the area in smoke for 5 seconds, granting 150 armor and 150% bonus movement speed.
The buff lingers for 3 seconds.

Utility

Name Effect
Equip Particle Cannon Networked. Booting. Swaps her rifle to a Particle Cannon for 8 seconds.
Fire Particle Cannon Shoot a highly devastating blast of penetrating energy, dealing 600% direct damage and 300% splash damage.
Equip M134 Minigun Networked. Booting. Swaps her rifle to a Minigun for 12 seconds.
Fire Minigun Shower bullets in her general direction, each bullet dealing 80% damage. Hold sprint to keep the minigun revved.

Special

Upgradeable with Ancient Scepter.

Name Description
Dummy Link Reinforcement Booting. Deploys a dummy version of M4A1 that syncs alls of her items.
Can control up to 4 dummies. Has a 2 second cooldown between deployments.
Elite Echelon Expansion (Scepter Upgrade) Booting. Deploys an elite dummy version of M4A1 that syncs alls of her items.
Can control up to 4 dummies.

In Memoriam

empty/depriv3d - M4A1 Model

Credits

MICA Team

Testers <3

Before release

  • Doomi
  • Psychojello

Ongoing

  • EvilDoesCry
  • .score
  • Other players who gave feedback during its existence on Thunderstore ( sorry :/ )

Sound Effects

  • Valve Software
    • Counter-Strike grenade and rifle sounds
    • Dota 2 sounds
  • Pixabay: Various royalty-free sound effects

Art and Spriting

Model credits

Development-Assisting Mods

Programming References

Other People

  • You, for at least for checking out this mod!
  • Various members of the Risk of Rain 2 Modding Discord: General assistance and various already-toiled experiences found with the search bar
  • Snoresville: Programming, Animation, Partial particles, modelling, and texturing (I can't make a good particle cannon for the life of me)

Contact The Developer!

For anything regarding this mod, please find Snoresville in Discord by joining the server through the picture above. Please note that it will take some time for me to respond or discuss...

Ideas and feedback are welcome. I'm still available in the Risk of Rain 2 modding server.

Known Incompatibilities

Deployable Slots

As this mod revolves around getting a valid deployable slot, anything that doesn't correctly implement Deployables via the R2API Deployable package will inadvertently change the amount of M4s that can be summoned at once.

If incompatible mods are in the modpack, mods that do implement deployables correctly, e.g. Rifter, will also affect this mod by changing the limit to some other number.

CHANGELOG

Changelog

1.1.3: bug fix

i purposely made bugs so that people join my discord lol

Bug Fixes

  • Fix inventory disabling not getting undisabled
  • Fix revives being handled weirdly by non-player M4A1s: dummy links and umbrals in particular

1.1.2: A good update

The other day, I got a cool design idea in my discord. If I ever get to it, this does not mean that the current design will disappear.

It will be a Survivariant, or the other one will be.

Buffs

  • Smoke Grenades now also reduce armor and movement speed of enemies within it (values are configurable)

New Teleports

Add teleports for:

  • Exiting Eccentric Vase
  • Exiting ziprails
  • Alloyed Collective Arenas

Configuration

Add the following configurables for Dummy Links:

  • Auto Equipment Usage (default: False)
  • Copy Power Weapon Usage (default: False)
  • Keep Inventory Updated (default: False)

More details in the configs.

Bug Fixes

  • Fix dummies directly copying the inventory of the main instead of first processing it through a blacklist.
  • Fix Ancient Scepter unable to add elite affixes to dummies
  • Fix multiplayer issue where on initial spawn, non-host M4A1 players start with a full stock of dummies
  • Fix stupid head item placements being offset because of player movement

Miscellaneous


1.1.1: she's playable

she's playable

Expected

  • she's playable

Big request

  • report bugs

Image by PingSama_


Versions broken by Risk of Rain update 1.4.0:

1.1.0: Evolution of Combat

Bringing out the big guns!!

New Weapons

Originally, I was thinking that "ehh I shouldn't be adding these weapons to her since they're not supposed to be her weapons and instead make new characters that specifically hold the new weapons", but then I figured that it was already hard to make M4A1 in the first place, and I don't want to maintain another character just because of that.

And besides, the new weapons are close to M4 in a naming sense, even though that's not how the Fire Control Core works. But oh well.

Dummies also inherit the weapons that you choose.

Benelli M4 (Shotgun)

Fires multiple bullets per shot. Reload time before the first shell is longer than the subsequent shells, so plan ahead to maximise your damage per second.

M134 Minigun

M4A1's weapon case can transform into a minigun, which sprays a sustained shower of bullets in her general direction. Pay attention to your positioning as you are relatively slower with the minigun equipped.

Animation

Improved (?)

Bug Fix

  • (POTENTIAL) Fix the spawn animation not being visually transmitted in Multiplayer. This aims to not see clones just pop out of thin air.
  • Fixed a long-standing issue where your console would get spammed by yellow text just because I constructed her survivor display wrong

Miscellaneous

I actually don't remember what else has changed.

Addendum

I really don't have a good idea on what to add or improve here anymore. There's stuff like skins, polish or having her deploy a Collapse Bomb or whatever, but other than bugs, I feel like she is finished.

That's not to say I'm done modding tho. As always, I am open to more ideas.


1.0.14: Gunsmoke Frontline

Have you ever been in an MMORPG raid? The only times I've done something like that is in PSO2:NG.

Balance

Existing dummy links will now teleport to join you in fights against Mithrix, False Son, and after each parkour section of the Voidling.

Mod support

  • Add Ancient Scepter support!
    • Improves the Dummy Link Reinforcement skill, which adds a permanent elite affix onto future summoned dummies, and also removes the minimum cooldown between deployments.

Artificial Intelligence (AI)

  • Add generic logic that allows dummy links to use all skills.
    • Dummy links can now use Heresy skills.
    • Prevent dummy links from using grenades, equip the particle cannon, or create more dummy links if these skills are ever 'actively' used by dummy links, i.e. this change shouldn't affect gameplay unless some other mod makes them trigger it.

Miscellaneous

  • Item displays are now visible 😊

Bug Fixes

  • (POTENTIALLY) fixes dummy links from multiplying itself exponentially in multiplayer settings.
    • I have no idea if that is fixed. I dont want to rope other people into wasting their time with me 😔

Broken Versions

  • 1.0.13: Oh no!!! Hard dependency on Ancient Scepter :(

1.0.12: THERE'S A FUCKING PROBLEM!!!

1.3.9 comes too soon while I was cooking...

In the meantime, have these small, but very impactful changes.

Assault Rifle

  • Damage dealt by dummies is now also considered to be a "special damage source".
    • This will mostly not affect gameplay.

Particle Cannon

  • Shots now pierce through enemies.
    • AOE damage is created each time the laser penetrates an enemy.

Other

  • She can sprint backwards 😮

Balance

  • Health Regeneration: 0.0 -> 0.5
  • Armor: 15 -> 9

Loadout

  • Colour: white -> green
  • Add two new keywords: Networked and Lockout, hopefully making skill descriptions more sharper while still containing detail.
  • Small revision to Dummy Link skill's description, where now it says "sync inventory", more accurately describing what M4A1 does for her dummies.

Bug Fixes

  • Should work with 1.3.9 LOL
  • Remove item displays for now :( sorry
  • Add a null check in the spawn dummy skill icon
[Update Image brought to you by DGKamikaze](https://www.reddit.com/r/girlsfrontline/comments/w4ouqv/oc_m4_emotesstickers_feel_free_to_use/)

Versions broken by Risk of Rain update 1.3.9:

1.0.11: M4-Apoca1ypse

General

  • Damage sources are now assigned to skills
    • Assault Rifle shoot Primary damage.
    • Grenades deal Secondary AOE damage.
      • Stun Grenades still stun.
      • Incendiary Grenades still set things on fire.
    • Particle Cannon fires Utility damage, both direct and AOE damage.
    • Spawning dummy links... does not deal damage at all.
  • Add configurable invincibility during spawn. Sorry if that was more frustrating than funny 😢
  • A bit of performance optimization related to weapon visibility.

Respawn Sickness

  • Grenades can now be used during respawn sickness
  • A timer indicator now appears over skills affected by respawn sickness.

Grenades

  • Grenade throws are now staggered; it takes between 0 and 1 seconds for all dummies to respond to the command to throw their grenade.
  • Now ALL of the M4A1's dummy links should be throwing grenades, instead of her immediate children.
    • This is probably important to Goobo Jr. fans 😉

Visuals

  • Assault Rifle bullets now visually move faster, almost as if they're supposed to move as fast as bullets.
  • Dummy links now have the grenade throwing animation applied to them

Bug Fixes

  • The long-standing issue where the tracers of Particle Cannons sometimes don't appear, now do.
  • Smoke buff particles and respawn debuff particles should be appearing now, at least to myself. I don't know why they broke.
  • Luminous Shot now works with the Assault Rifle.
    • Grenades now also add a charge to each of your dummies.
  • Goobo Jr. now does not count towards the dummy link count.
  • Blacklisted items no longer do some odd things, e.g.
    • Generally, all of them can be infinitely recycled
    • Items may not have any effects

1.0.10: Clean Infrastructure

This isn't a very big update, however I was doing some cleanups and move-arounds, so this should help me focus on future high quality updates, if I can get around to doing them.

Please check your configs, I've been trying to make it pretty.

New Configurables

  • Respawn Invincibility time
  • Respawn Sickness time
  • Dummy Link max stocks
  • Dummy Link start of run stocks
  • Dummy Link respawn stocks

Dummy Links

  • Min cooldown visual on skill icon now only appears if you have at least one stock.
  • Inventory (DISCLAIMER: THAT DOES NOT MEAN EQUIPMENT!!) now syncs with the main M4A1's inventory.
    • This means scrappers and printers now affect the dummies as they should, instead of giving alive dummies the best of both worlds.
    • Yes. This does mean that every time your inventory changes, potions, watches, and dios get "recovered" on dummies 😐

Balance

  • Dummy Link start of run stock count: 4 -> 0.5
    • i.e. 30 seconds until the next stock recharges
  • Dummy Link after revive stock count: 4 -> 0.6
    • i.e. 24 seconds until the next stock recharges.
    • For reference, Respawn Sickness lasts 20 seconds
  • Dummy Link start of next stage stocks: 4 -> 0

Bug Fixes

  • Now M4A1 can revive when she has a revive item and no dummies active :)
  • Fix this mod's edge case interaction with CustomEmotesAPI, which soft-locks runs on survivors without CustomEmotesAPI support.
    • Although, even if it has already been fixed on their side, it's nice to support their older versions.
  • Fix LookingGlass rubbing off the Dummy Link min cooldown effect.
  • Fix Dummy Links not at least chucking their grenade somewhere if there's no available enemies.
  • If the smoke grenade didn't make sound last version, now it does.

Update Image brought to you by Kurotora-23

Broken Versions

  • 1.0.9: Fractional stocks of start-of-next-stage and revive values are actually being calculated with the fractional part of start-of-run stocks. It was a mistake :(
    • And also, who is messing with the royal capacitator lightning arm!!!

1.0.8: Build Your M4A1!

The concept of balance for survivors is a bit tricky for me, especially for M4A1, who is mechanically packed underneath the surface, and is somewhat finnicky to test. While I'm fiddling with the numbers, you are free to give feedback by configurating her numbers 😄

Configs

  • Almost all of the values are now freely editable!
  • You may now blacklist equipment, but I won't blacklist any equipment by default (Trophy Hunter SWEEP)

Assault Rifle

  • Reload time is now affected by attack speed
    • i.e. 200% attack speed (100% + ~7 Soldier Syringes) is a 50% cooldown reduction
    • 3 * 1/(200%) = 1.5 seconds

Grenades

  • Grenades can now be aimed, and it will go (not exactly) at wherever you look at.
  • Dummy links should be smarter with throwing, aiming their grenades towards the closest enemy hitbox.

Dummy Links

  • Now has a 2s delay on spawning dummy links, modified by cooldown reduction.

Stats Balance

  • Base health regen: 0.1 -> 0.0
  • Base Attack Damage: 17 -> 10
  • Attack Damage Growth: 2.4 -> 2.0
  • Dummy Link Assault Rifle damage: 80% -> 40%

Bug Fixes

  • Fix an error caused by skill icon replacers attempting to check a non-existent skill, i.e. use MUL-T to swap primaries, causing a brief stream of it.

Versions broken by Risk of Rain update 1.3.8:

1.0.7: Some QOL things

Dummy Links

  • Respawn sickness: 8 -> 20 seconds
    • This shouldn't really matter unless you're against a boss
  • Target chase distance: 256 -> 99999 units
    • I don't think this does much, please experiment this lol
  • Now locks onto their target BEFORE firing their weapon
  • Attempt to make them a bit more responsive to sudden threats

Incendiary Grenade

  • Make it ignite enemies on it, like it SHOULD have done!!!

SFX

  • Sound effects now actually decrease in volume when they are far away from the player (wow!!! just like rea l life)
  • Make the assault rifle a bit louder

Animations

  • Update sprinting (with rifle), jumping, and falling animations.
  • Fix the "laggy" landing into running animation stuff.
  • Fix weapon visuals being on her back.

Update image brought to you by すてきなAWA

Broken Versions

  • 1.0.6: Still has that logical error that causes her to put all of her weapons on her back, unless you install CustomEmotesAPI (my fault)

1.0.5: quirked up dolls with bits of swag bustin it down g&k style

SFX

  • Now works properly with the sound slider
  • In multiplayer, ensure players don't hear voicelines from other M4A1 players if configured not to.

Animations

  • Fix the Particle Cannon clipping inside her chest. She just needed to lean the rest of her spine forward 😬

Misc

IMAGE ALT TEXT HERE

Broken Versions:

  • 1.0.4: M4A1 emote icons are replacing ALL characters' icons instead of just her own
  • 1.0.3: Mod is unable to run without CustomEmotesAPI

1.0.2: DAY ONE RELEASE CHANGES!!

Dummy Links

  • Add a configurable blacklist that restricts the items dummies can copy.
  • When you go to the next stage, the dummies will now actually follow through, i.e. go to bazaar or void fields, but they still wont necessarily spawn near you :)

Assault Rifle

  • Decreased the volume of the assault rifle.

Particle Cannon

  • Increase the volume of the particle cannon shooting and blast... by a tiny bit.
  • Decreased the size of the Particle Cannon explosion effect.
  • Increase the damage radius of the Particle Cannon blast.

SFX

  • Attempt to make sounds play with positioning instead of globally blare out.

Broken Versions:

  • 1.0.1: Broken folder structure, causing the mod to be installed incorrectly through Thunderstore.

1.0.0: Initial Release

M4A1 Mod

  • Initial Release