Tripwire Interactive Forums

  • Please make sure you are familiar with the forum rules. You can find them here: https://forums.tripwireinteractive.com/index.php?threads/forum-rules.2334636/
Bolt Only Mutator:
Replaces all primary weapons with bolt rifles. All secondary weapons/items weren't touched, so any grenades/pistols/binocs/satchels/etc... will still be equipped per class.

All credit goes to Sent666 since this mutator is an modified version of his Pistol-Only v1.0 mutator found here.

I'm thinking of making another mutator to allow server admins to choose what primary, secondary and inventory items they want per map basis.

This isn't posted in the Final Mutator section because I currently don't run my own server, so if any server admins out there can test this, I'd be grateful.

While I was at it, I compiled a second version for Mare Nostrum.

For those interested, here are the scripts:

ROBoltMut
Code:
class ROBoltMut extends Mutator;
function PreBeginPlay()
{
local RORoleInfo Bolt;
super.PreBeginPlay();
foreach AllActors(class'RORoleInfo',Bolt)
{
if(Bolt.Side==SIDE_Axis)
{
Bolt.PrimaryWeapons[0].Item=class'ROInventory.Kar98Weapon';
Bolt.PrimaryWeapons[0].Amount=1;
Bolt.PrimaryWeapons[1].Item=none;
Bolt.PrimaryWeapons[1].Amount=0;
Bolt.PrimaryWeapons[2].Item=none;
Bolt.PrimaryWeapons[2].Amount=0;
}
if(Bolt.Side==SIDE_Allies)
{
Bolt.PrimaryWeapons[0].Item=class'ROInventory.MN9130Weapon';
Bolt.PrimaryWeapons[0].Amount=1;
Bolt.PrimaryWeapons[1].Item=class'ROInventory.M38Weapon';
Bolt.PrimaryWeapons[1].Amount=1;
Bolt.PrimaryWeapons[2].Item=class'ROInventory.M44Weapon';
Bolt.PrimaryWeapons[2].Amount=1;
}
}
}
MNBoltMut
Code:
class MNBoltMut extends Mutator;
function PreBeginPlay()
{
local RORoleInfo Bolt;
super.PreBeginPlay();
foreach AllActors(class'RORoleInfo',Bolt)
{
if(Bolt.Side==SIDE_Axis)
{
Bolt.PrimaryWeapons[0].Item=class'ROInventory.Kar98Weapon';
Bolt.PrimaryWeapons[0].Amount=1;
Bolt.PrimaryWeapons[1].Item=none;
Bolt.PrimaryWeapons[1].Amount=0;
Bolt.PrimaryWeapons[2].Item=none;
Bolt.PrimaryWeapons[2].Amount=0;
}
if(Bolt.Side==SIDE_Allies)
{
Bolt.PrimaryWeapons[0].Item=class'MNInventory.SMLE1MK3Weapon';
Bolt.PrimaryWeapons[0].Amount=1;
Bolt.PrimaryWeapons[1].Item=none;
Bolt.PrimaryWeapons[1].Amount=0;
Bolt.PrimaryWeapons[2].Item=none;
Bolt.PrimaryWeapons[2].Amount=0;
}
}
}
Enjoy.

Edit: Removed Attachments to fully test the mutators online.