Armed_Mobs_Warfare-1.6.0+1.21.1-neoforge.jar
Curse Maven Snippet
What's new
Armed Mobs Warfare 1.6.0
Support for Point Blank (Vic's Point Blank 2.2.0) on all three versions: Forge 1.20.1, NeoForge 1.21.1 and 26.1.2. Mobs get its guns and ammo, fire them like players do and hold them visibly, with Point Blank's own muzzle flash, tracers and impacts.
Point Blank is the third gun mod after TaCZ and Iron's Arms 'n Artifice. It runs on the gun AI that came over from TaCZ Armed Mobs and has had one driver per gun mod since 1.3.0, so Point Blank guns get what TaCZ guns have: combat profiles, smart fire, suppressive fire, faction weapon lists, caravans, plunder and the gear score. Before this release it went through eight test builds and was tested on all three versions.
Point Blank
- Its guns count as guns everywhere in this mod: spawn gear of Armed Guards, extra mobs, Faction Wars mobs (style "guns") and new mercenaries, faction weapon lists (
pointblank:*), resupply at stations, siege rewards, the gunsmith in castles and caravan pistols, plunder on surrender, the gear score and the web editor (guns list with names). - Mobs shoot like players do, with this mod's gun AI aiming (combat profiles, smart fire, friendly fire check, warnings): one ray per bullet (30 for a shotgun shell) with the gun's own spread, the damage a player would deal (the gun, its attachments and Point Blank's
hitscanDamageModifier), Point Blank's headshot bonus (headshotDamageModifier, 3 by default), the gun's fire sound (quieter with a suppressor). The mob counts as the attacker: victims fight back, factions, teams and kills see the shooter, armor and shields work. As with players, every bullet hits in full (no invulnerability between hits), bullets pass through leaves, and cats and ocelots can't be hurt. A hit counts as a shot, not as a blow: mods that animate or parry melee hits leave it alone (Better Mob Combat would otherwise play a sword swing on every hit). - Fire mode: mobs use full auto if the gun has it, else burst, else single shots, and never a grenade mode, and their gun is switched to that mode (Point Blank sets new guns to their first mode, almost always single). One round per shot, the rate of fire of the gun (rounds per minute), at most
max_rpm(default 1200 = once per tick, the minigun has 2000). Smart fire ([smart_fire]inguns.toml) still limits every gun mod: by default full-auto guns fire at most 5 shots per second (300 rpm) with a pause of 0.8 s after 6 shots, so a mob with an 800 rpm rifle fires slower than a player would.auto_shots_per_second = 20andburst_shots = 0let mobs fire at the gun's own rate. - Suppressive fire (
[suppression]) works with Point Blank guns too: by default machine guns, smgs and rifles slow down everyone they hit or narrowly miss, as with TaCZ. - Endermen don't dodge Point Blank shots (they are no projectiles, as with players).
- Types: Point Blank has no gun types, so this mod sorts its guns by their values: several pellets per shot =
shotgun, held like a pistol (or one in each hand with single shots only) =pistol, full auto with at least 75 rounds per magazine =mg, full auto with at most 4.5 damage per bullet =smg, single shots only with at least 15 damage =sniper, everything else =rifle. With Point Blank 2.2.0 that makes 9 pistols, 9 smgs, 20 rifles, 7 shotguns, 7 sniper rifles and 5 machine guns.type_overridesgives single guns or whole mods another type (default: Calico M950 =smg, AUG HBAR =mg). The type decides[weapons] allowed_types, the combat profile ([profiles]), suppressive fire and the gear score rating. - Never handed out: launchers (AT4, Javelin, SMAW, M32 MGL; Point Blank's rockets and grenades only work for players), guns turned off in Point Blank's config and guns without an ammo item mobs could carry. The XM29 counts as a rifle: mobs use its rifle modes and leave its grenade launcher alone (also on an XM29 a player dropped with the launcher selected).
- Ammo: mobs get the first real ammo of the gun (e.g.
pointblank:ammo556), never creative ammo. Amounts count in magazines as for every gun mod. Mobs need ammo to reload (mobs_need_ammo, default on), off = free reloads. - New guns get Point Blank's own data (id, fire mode, default attachments) and a full magazine, the way Point Blank crafts them: a gun dropped by a mob or bought from a merchant works for players right away. Mobs get no random attachments: Point Blank's attachments change recoil, zoom, sights and looks, none of them the damage.
- Reload time comes from the gun's reload steps (empty magazine; shell by shell for pump shotguns), times
[ai] reload_time_multiplier. - New section
[pointblank]inguns.toml(Settings › Guns › Point Blank), only while the mod is installed:enabled,mobs_need_ammo,damage_multiplier(1.0: mob shots deal what a player would deal),headshots(true),break_glass(false: shots of mobs break glass blocks and panes, only with the game rule mobGriefing),type_overrides, and under "advanced"max_rpmand the limits of the types (mg_min_magazine,smg_max_damage,sniper_min_damage).[weapons] mod_weightslistspointblank("pointblank=1"is new in the default; existing configs keep theirs, a mod that is not listed counts 1). config/armedmobswarfare/guns.txtlists every Point Blank gun: type, combat profile, magazine, reload time, fire modes and the one mobs use with its rate of fire, damage per bullet, ammo, allowed or excluded (with the reason) and the gear score rating./armedmobs debugon a mob shows the same for the gun in its hand, with the rounds loaded, and, for every gun mod, how fast smart fire lets the mob fire with it.- Guns in the hands of mobs: Point Blank only draws guns held by players. A small client mixin lets it draw them for mobs too, the way it draws the gun of another player (
client.toml [pointblank] guns_in_mob_hands, on; off = invisible as before, e.g. for more FPS with many armed mobs or if another mod draws them). - Effects of mob shots (
client.toml [pointblank] shot_effects):AUTOshows Point Blank's own muzzle flash, tracers and impacts, starting at the muzzle of the gun in the mob's hand. Where that is not possible (the gun was not drawn, the mob is out of sight, a Point Blank version that changed its renderer), the shot shows simple particles instead. The mod finds out by itself on every shot, and writes a problem with Point Blank once to the log.PARTICLES= always the simple particles,OFF= none (the shots are still heard). Players without this mod see nothing extra. - Self test: before it starts, the support checks that the installed Point Blank has everything it uses. If not, it stays off with one line in the log instead of crashing, as if the mod wasn't there.
/armedmobs extra listshows the gun mods in use and the reason. The client checks the parts it needs for the effects the first time a mob fires. - The guidebook knows Point Blank: guns for mobs, suppression, caravans and the config files.
- Point Blank is a separate mod: this mod only calls it and hooks into one method of its renderer, nothing of it is copied or included.
Guns (all gun mods)
- Zombies, husks, drowned, zombie villagers and zombified piglins hold a gun at the ready and aim where they look, like pillagers and piglins. Before, they raised their arms like for a zombie attack and seemed to shoot at the sky. While swimming, drowned keep their swimming pose. Only with this mod on the client.
Faction Wars
- Battles, hunts and caravan raids: attack one side and you fight for the other one. Your hits, those of your mercenaries and of your summons no longer hurt that side (
[faction_wars] friendly_fire = false, as with your own side in a siege), with a short note why. A stray bullet or shotgun pellet no longer makes you the enemy of both sides. - Gear score: the overlay and
/armedmobs event scorenow say "armor & health", since extra hearts count there.
For pack makers
- Suppressive fire is now shared by all gun mods (
weapons/Suppression); TaCZ bullets report their path there as before. - Shots of mobs with Point Blank guns go to the players within 150 blocks as
armedmobswarfare:mob_gun_shot(the shooter and where each bullet ends), for the effects on their clients.
This mod has no additional files