You are viewing a potentially older version of this package. View all versions.
UncleTyrone-More_Guns_Forked_IL2CPP-1.6.4 icon

More Guns Forked IL2CPP

IL2CPP build. Adds AK47, MiniGun, SMG, Sniper, and RPG. Buy guns and mags from Stan. Co-op sync and two-handed holds.

Date uploaded 2 months ago
Version 1.6.4
Download link UncleTyrone-More_Guns_Forked_IL2CPP-1.6.4.zip
Downloads 39
Dependency string UncleTyrone-More_Guns_Forked_IL2CPP-1.6.4

This mod requires the following mods to function

LavaGang-MelonLoader-0.7.0 icon
LavaGang-MelonLoader

The World's First Universal Mod Loader for Unity Games compatible with both Il2Cpp and Mono

Preferred version: 0.7.0

README

More Guns ︻デ═一

Discord License Downloads

Patreon

📋 Overview

Adds new weapons to Schedule I. Buy guns and magazines from Stan’s arms dealer shop. Reload with R (minigun can be limited to Stan — see config).

Guns

Gun Fire Mag Notes
AK47 Full-auto 30 Classic assault rifle
MiniGun Full-auto + windup 400 Heavy; optional manual reload
SMG Full-auto 30 Compact, high rate of fire
Sniper Semi-auto (~0.65s) 5 Long range, high damage
RPG Single-shot 1 Explosive rocket; rocket mesh tracks ammo

Magazines / ammo items

  • AK47 Magazine (30)
  • MiniGun Magazine (400)
  • SMG Magazine (30)
  • Sniper Magazine (5)
  • RPG Rocket (1)

✨ Features

  • Automatic fire on AK47, MiniGun, and SMG
  • Custom meshes, sounds, and icons per weapon
  • Stan’s shop listings for every gun and magazine
  • Reload with inventory magazines (R); SMG/sniper get a seated mag pop; AK uses its native reload clip; RPG reloads the rocket tube
  • Two-handed holds for AK47, sniper, SMG, minigun, and RPG (player and NPCs). SMG uses a compact two-hand pistol grip so both hands sit on the weapon
  • Co-op sync — other players see and hear the guns you are holding; bullet tracers show for custom guns
  • RPG explosions on hit
  • Optional crosshair for MoreGuns weapons
  • Per-gun config in UserData/MoreGuns.cfg (damage, price, shop availability, names, etc.)

📥 Installation

  1. Install MelonLoader 0.7.3
  2. Copy the matching DLL into your Schedule I Mods folder:
    • Il2Cpp (main / Steam build): MoreGuns.dll
    • Mono (alternate branch): MoreGunsMono.dll
  3. Launch the game (the weapon asset bundle is embedded in the DLL)

🛠️ Building

.\build.bat                   # Il2Cpp + Mono
.\build.bat nopause           # same, no pause (CI / scripts)
dotnet build                  # Il2Cpp -> bin\Il2Cpp\net6.0\MoreGuns.dll
dotnet build -c Mono          # Mono   -> bin\Mono\net6.0\MoreGunsMono.dll
dotnet build -t:BuildBoth     # both

Override install paths with -p:GamePath="..." (Il2Cpp + MelonLoader) and -p:MonoGamePath="..." (Alternate/Mono). Defaults look for D:\Schedule I\Builds\Public and D:\Schedule I\Builds\Alternate.

To change meshes/audio and rebuild the embedded bundle, see UnityAuthoring/README.md.

⚙️ Configuration

User settings live in UserData/MoreGuns.cfg:

["MoreGuns-! User Settings"]
"Allow Gun Crosshair" = true
"Allow Minigun Manual Reload" = true

Each gun has its own category (IDs: ak47, minigun, smg, sniper, rpg). Example for the AK:

["MoreGuns-ak47 Settings"]
"ak47 Damage" = 70.0
"ak47 Impact Force" = 200.0
"ak47 Min Aim FOV Reduction" = 10.0
"ak47 Max Aim FOV Reduction" = 10.0
"ak47 Accuracy Change Duration" = 0.5
"ak47 Magazine Size" = 30
"ak47 Display Name" = "AK47"
"ak47 Display Description" = "AK47 assault rifle A true American classic."
"ak47 Legal Status" = "Legal"
"ak47 Required Rank" = { Rank = "Underlord", Tier = 3 }
"ak47 Mag Display Name" = "AK47 Magazine"
"ak47 Mag Display Description" = "30-round magazine for the ak47 assault rifle."
"ak47 Mag Legal Status" = "Legal"
"ak47 Mag Required Rank" = { Rank = "Underlord", Tier = 3 }
"ak47 Price" = 15000.0
"ak47 Name" = "AK47"
"ak47 Shop Availability" = true
"ak47 Non-Available Reason" = ""
"ak47 Magazine Price" = 1000.0
"ak47 Magazine Name" = "AK47 Magazine"
"ak47 Magazine Shop Availability" = true
"ak47 Magazine Non-Available Reason" = ""

Default combat tuning for the newer guns (overridable in the same file):

ID Damage Mag size Style
smg 28 30 Fast full-auto
sniper 140 5 Slow semi, long range
rpg 200 1 Explosive single shot

🔄 Compatibility

  • Schedule I Il2Cpp + MelonLoader 0.7.3 (primary)
  • Mono alternate build supported via MoreGunsMono.dll
  • Works with Police Response Overhaul for armed police / pickpocket loadouts
  • Compatible with most other mods

🆘 Support

Having issues? Join our Discord community for support:

👨‍💻 Credits

  • Created by Voidane

⚖️ License and Usage

This mod is released as fair use. Other modders are welcome to:

  • Study and learn from the code
  • Incorporate portions of the code into their own projects
  • Modify and redistribute the code

Requirements:

  • Credit must be given to Voidane as the original creator
  • Include a link to the original mod or Discord server when redistributing

CHANGELOG

Changelog

1.6.6

Storage / SkillTree / multiplayer

  • Wired StoredItem prefabs for every gun and magazine so lockers, cars, and shelves place correctly (fixes “doesn’t go in / reopen shows dozens of dupes”).
  • Keep ammo DefaultValue in sync with MagazineSize and force StackLimit = 1 so SkillTree (or other) capacity changes no longer desync storage transfers.
  • Registry wait now also waits for Registry.Instance (not just weapon load) before registering — fixes client FishNet storage crashes when a non-host stores a MoreGuns item.
  • Added a safety Prefix on ItemInstance.CreateInstanceAndRead so missing MoreGuns IDs re-register before deserialize.

1.6.5

Stability

  • Hardened save-load Harmony further: patch side-effects (shop inject) wait until every patch class has finished binding and a short settle completes, so gameplay hooks cannot run mid-batch.
  • Staggered MoreGuns Harmony so it finishes before Police Response Overhaul starts installing its larger patch set.
  • Removed experimental PrepareMethod warmup (it could force the same MonoMod CompileMethodHook path that fatals).

Build

  • Version number lives in a single version.txt (MelonInfo, assembly, Nexus/Thunderstore zips).
  • build.bat deploys the IL2CPP DLL to Builds\Public\Mods and the Mono DLL to Builds\Alternate\Mods.
  • Separate Thunderstore IL2CPP / Mono packages via build.bat.

1.6.4

Stability

  • Fixed intermittent Fatal CLR 0x80131506 (MonoMod CompileMethodHook) when loading a save: Harmony waits for the local player + settle time, then applies patches one class per frame instead of bulk PatchAll during Main/save deserialize.

1.6.3

Multiplayer

  • Other players can see and hear the guns you’re holding again (avatar equippable sync restored).

Animations (NPCs and External Player Models)

  • AK-47, sniper, SMG, minigun, and RPG use proper two-handed grips (player and NPCs).
  • SMG uses a two-hand pistol-style grip so both hands sit on the weapon instead of an empty AK-style forward grip.

Combat

  • Fixed NullReference crashes when equipping SMGs (PositionAnimationModel) and when firing ranged weapons.
  • Custom-gun bullet tracers are visible again for cops and other players.