★ Smart Weapons Fully Loaded 4★ [Updated 14/12/20]

Search, find and discuss about Mutators!
User avatar
Que
Adept
Posts: 313
Joined: Mon Dec 09, 2019 5:49 am
Personal rank: ...

★ Smart Weapons Fully Loaded 4★ [Updated 14/12/20]

Post by Que » Wed Dec 09, 2020 2:18 am

Smart Weapons Fully Loaded (SWFL) is a custom derivative of (AWFL) with the following attributes.
ability to leave/remove other actors within the Map.
For example there is no need for Weapons in Maps running this Mutator.
you may also wish to remove other items such as ammo, vials , amp , invisi , medkits , redeemer?
see here the list of options available to you.

you now have upto 8 different configurations for Arena Specific type configurations.

Code: Select all

[SmartWFL.SWFL1]
bRemoveAllWeapons=True
bRemoveRedeemer=True
bRemoveAllAmmo=True
bRemoveUDamage=False
bRemoveArmor=False
bRemoveThighpads=False
bRemoveShieldBelt=False
bRemoveMedKits=False
bRemoveHealthPack=False
bRemoveHealthVials=False
bRemoveInvisibility=False
bRemoveTranslocator=False
bRemoveEnforcer=False
bRemoveImpactHammer=False

bGiveRipper=True
bGiveMinigun=True
bGiveBioRifle=True
bGivePulseGun=True
bGiveShockRifle=True
bGiveSuperShock=False
bGiveSniperRifle=True
bGiveFlakCannon=True
bGiveEightball=True
bGiveRedeemer=False

bUseDefaultMaxAmmo=True

EnforcerAmmo=199
PulseGunAmmo=199
ShockRifleAmmo=50
FlakcannonAmmo=50
BioRifleAmmo=100
MinigunAmmo=199
SniperAmmo=50
RipperAmmo=75
EightballAmmo=48
RedeemerAmmo=2

[SmartWFL.SWFL2]
bRemoveAllWeapons=True
bRemoveRedeemer=True
bRemoveAllAmmo=True
bRemoveUDamage=False
bRemoveArmor=False
bRemoveThighpads=False
bRemoveShieldBelt=False
bRemoveMedKits=False
bRemoveHealthPack=False
bRemoveHealthVials=False
bRemoveInvisibility=False
bRemoveTranslocator=False
bRemoveEnforcer=False
bRemoveImpactHammer=False

bGiveRipper=True
bGiveMinigun=True
bGiveBioRifle=True
bGivePulseGun=True
bGiveShockRifle=True
bGiveSuperShock=False
bGiveSniperRifle=True
bGiveFlakCannon=True
bGiveEightball=True
bGiveRedeemer=False

bUseDefaultMaxAmmo=True

EnforcerAmmo=199
PulseGunAmmo=199
ShockRifleAmmo=50
FlakcannonAmmo=50
BioRifleAmmo=100
MinigunAmmo=199
SniperAmmo=50
RipperAmmo=75
EightballAmmo=48
RedeemerAmmo=2

[SmartWFL.SWFL3]
bRemoveAllWeapons=True
bRemoveRedeemer=True
bRemoveAllAmmo=True
bRemoveUDamage=False
bRemoveArmor=False
bRemoveThighpads=False
bRemoveShieldBelt=False
bRemoveMedKits=False
bRemoveHealthPack=False
bRemoveHealthVials=False
bRemoveInvisibility=False
bRemoveTranslocator=False
bRemoveEnforcer=False
bRemoveImpactHammer=False

bGiveRipper=True
bGiveMinigun=True
bGiveBioRifle=True
bGivePulseGun=True
bGiveShockRifle=True
bGiveSuperShock=False
bGiveSniperRifle=True
bGiveFlakCannon=True
bGiveEightball=True
bGiveRedeemer=False

bUseDefaultMaxAmmo=True

EnforcerAmmo=199
PulseGunAmmo=199
ShockRifleAmmo=50
FlakcannonAmmo=50
BioRifleAmmo=100
MinigunAmmo=199
SniperAmmo=50
RipperAmmo=75
EightballAmmo=48
RedeemerAmmo=2

[SmartWFL.SWFL4]
bRemoveAllWeapons=True
bRemoveRedeemer=True
bRemoveAllAmmo=True
bRemoveUDamage=False
bRemoveArmor=False
bRemoveThighpads=False
bRemoveShieldBelt=False
bRemoveMedKits=False
bRemoveHealthPack=False
bRemoveHealthVials=False
bRemoveInvisibility=False
bRemoveTranslocator=False
bRemoveEnforcer=False
bRemoveImpactHammer=False

bGiveRipper=True
bGiveMinigun=True
bGiveBioRifle=True
bGivePulseGun=True
bGiveShockRifle=True
bGiveSuperShock=False
bGiveSniperRifle=True
bGiveFlakCannon=True
bGiveEightball=True
bGiveRedeemer=False

bUseDefaultMaxAmmo=True

EnforcerAmmo=199
PulseGunAmmo=199
ShockRifleAmmo=50
FlakcannonAmmo=50
BioRifleAmmo=100
MinigunAmmo=199
SniperAmmo=50
RipperAmmo=75
EightballAmmo=48
RedeemerAmmo=2

[SmartWFL.SWFL5]
bRemoveAllWeapons=True
bRemoveRedeemer=True
bRemoveAllAmmo=True
bRemoveUDamage=False
bRemoveArmor=False
bRemoveThighpads=False
bRemoveShieldBelt=False
bRemoveMedKits=False
bRemoveHealthPack=False
bRemoveHealthVials=False
bRemoveInvisibility=False
bRemoveTranslocator=False
bRemoveEnforcer=False
bRemoveImpactHammer=False

bGiveRipper=True
bGiveMinigun=True
bGiveBioRifle=True
bGivePulseGun=True
bGiveShockRifle=True
bGiveSuperShock=False
bGiveSniperRifle=True
bGiveFlakCannon=True
bGiveEightball=True
bGiveRedeemer=False

bUseDefaultMaxAmmo=True

EnforcerAmmo=199
PulseGunAmmo=199
ShockRifleAmmo=50
FlakcannonAmmo=50
BioRifleAmmo=100
MinigunAmmo=199
SniperAmmo=50
RipperAmmo=75
EightballAmmo=48
RedeemerAmmo=2

[SmartWFL.SWFL6]
bRemoveAllWeapons=True
bRemoveRedeemer=True
bRemoveAllAmmo=True
bRemoveUDamage=False
bRemoveArmor=False
bRemoveThighpads=False
bRemoveShieldBelt=False
bRemoveMedKits=False
bRemoveHealthPack=False
bRemoveHealthVials=False
bRemoveInvisibility=False
bRemoveTranslocator=False
bRemoveEnforcer=False
bRemoveImpactHammer=False

bGiveRipper=True
bGiveMinigun=True
bGiveBioRifle=True
bGivePulseGun=True
bGiveShockRifle=True
bGiveSuperShock=False
bGiveSniperRifle=True
bGiveFlakCannon=True
bGiveEightball=True
bGiveRedeemer=False

bUseDefaultMaxAmmo=True

EnforcerAmmo=199
PulseGunAmmo=199
ShockRifleAmmo=50
FlakcannonAmmo=50
BioRifleAmmo=100
MinigunAmmo=199
SniperAmmo=50
RipperAmmo=75
EightballAmmo=48
RedeemerAmmo=2

[SmartWFL.SWFL7]
bRemoveAllWeapons=True
bRemoveRedeemer=True
bRemoveAllAmmo=True
bRemoveUDamage=False
bRemoveArmor=False
bRemoveThighpads=False
bRemoveShieldBelt=False
bRemoveMedKits=False
bRemoveHealthPack=False
bRemoveHealthVials=False
bRemoveInvisibility=False
bRemoveTranslocator=False
bRemoveEnforcer=False
bRemoveImpactHammer=False

bGiveRipper=True
bGiveMinigun=True
bGiveBioRifle=True
bGivePulseGun=True
bGiveShockRifle=True
bGiveSuperShock=False
bGiveSniperRifle=True
bGiveFlakCannon=True
bGiveEightball=True
bGiveRedeemer=False

bUseDefaultMaxAmmo=True

EnforcerAmmo=199
PulseGunAmmo=199
ShockRifleAmmo=50
FlakcannonAmmo=50
BioRifleAmmo=100
MinigunAmmo=199
SniperAmmo=50
RipperAmmo=75
EightballAmmo=48
RedeemerAmmo=2

[SmartWFL.SWFL8]
bRemoveAllWeapons=True
bRemoveRedeemer=True
bRemoveAllAmmo=True
bRemoveUDamage=False
bRemoveArmor=False
bRemoveThighpads=False
bRemoveShieldBelt=False
bRemoveMedKits=False
bRemoveHealthPack=False
bRemoveHealthVials=False
bRemoveInvisibility=False
bRemoveTranslocator=False
bRemoveEnforcer=False
bRemoveImpactHammer=False

bGiveRipper=True
bGiveMinigun=True
bGiveBioRifle=True
bGivePulseGun=True
bGiveShockRifle=True
bGiveSuperShock=False
bGiveSniperRifle=True
bGiveFlakCannon=True
bGiveEightball=True
bGiveRedeemer=False

bUseDefaultMaxAmmo=True

EnforcerAmmo=199
PulseGunAmmo=199
ShockRifleAmmo=50
FlakcannonAmmo=50
BioRifleAmmo=100
MinigunAmmo=199
SniperAmmo=50
RipperAmmo=75
EightballAmmo=48
RedeemerAmmo=2

Installation:
Edit SmartWFL.ini
Copy all files to System Folder.
Start each individual configuration with Mutator=SmartWFL.SWFLn
where n is the number of the configuration from 1~8.
so for example Mutator=SmartWFL.SWFL1 will run the First configuration from the .ini
you also have the ability to remove Enforcer/Impact Hammer for Arena Purposes.
no need for ServerPackages runs ServerSide only.

Code: Select all

Version 4
Added ammo amount options.
Added bUseDefaultMaxAmmo.
Added SuperShockRifle option.
Added versions in log startup.
Added getMaxAmmo function.
Set Enforcer and Hammer to default False.
You do not have the required permissions to view the files attached to this post.
Last edited by Que on Wed Dec 16, 2020 5:29 am, edited 13 times in total.

User avatar
Barbie
Godlike
Posts: 2002
Joined: Fri Sep 25, 2015 9:01 pm
Location: moved without proper hashing

Re: ★ Smart Weapons Fully Loaded ★

Post by Barbie » Wed Dec 09, 2020 4:30 am

Thanks for working on that, but... stripped code! :barf:
"Multiple exclamation marks," he went on, shaking his head, "are a sure sign of a diseased mind." --Terry Pratchett

User avatar
Que
Adept
Posts: 313
Joined: Mon Dec 09, 2019 5:49 am
Personal rank: ...

Re: ★ Smart Weapons Fully Loaded ★

Post by Que » Wed Dec 09, 2020 11:16 am

Have uploaded new version with source code in tact

User avatar
[rev]rato.skt
Adept
Posts: 335
Joined: Mon Aug 16, 2010 1:09 pm

Re: ★ Smart Weapons Fully Loaded ★

Post by [rev]rato.skt » Wed Dec 09, 2020 1:09 pm

thx :D
Brazilian Server:
Classic madruga.utbr.tk:7777
Duel x1.utbr.tk:6666
Custom custom.utbr.tk:7777
UT2004 2004.utbr.tk:5555

User avatar
f7r
Novice
Posts: 17
Joined: Mon Oct 19, 2020 6:53 pm

Re: ★ Smart Weapons Fully Loaded ★

Post by f7r » Thu Dec 10, 2020 6:02 pm

Please make the givining of a weapon class from ini, it will be even more universal.

User avatar
esnesi
Inhuman
Posts: 764
Joined: Mon Aug 31, 2015 12:58 pm
Personal rank: Dialed in.

Re: ★ Smart Weapons Fully Loaded ★

Post by esnesi » Thu Dec 10, 2020 7:33 pm

f7r wrote:
Thu Dec 10, 2020 6:02 pm
Please make the givining of a weapon class from ini, it will be even more universal.
Agreed.
Would be nice for arena mutators.
There isn't a really all-in-one solution for it.

User avatar
Que
Adept
Posts: 313
Joined: Mon Dec 09, 2019 5:49 am
Personal rank: ...

Re: ★ Smart Weapons Fully Loaded ★

Post by Que » Fri Dec 11, 2020 1:34 am

So what you're asking for is the ability to only assign selected weapons to the users inventory based on the .ini for example;

bGive8Ball=True
bGivePulse=False
bGiveShock=True

Is that what you mean?

Or did you want to be able to assign custom weapons to players?

User avatar
esnesi
Inhuman
Posts: 764
Joined: Mon Aug 31, 2015 12:58 pm
Personal rank: Dialed in.

Re: ★ Smart Weapons Fully Loaded ★

Post by esnesi » Fri Dec 11, 2020 9:37 am

Que wrote:
Fri Dec 11, 2020 1:34 am
So what you're asking for is the ability to only assign selected weapons to the users inventory based on the .ini for example;

bGive8Ball=True
bGivePulse=False
bGiveShock=True
For me, that is exactly what i ment indeed.

User avatar
Que
Adept
Posts: 313
Joined: Mon Dec 09, 2019 5:49 am
Personal rank: ...

Re: ★ Smart Weapons Fully Loaded ★

Post by Que » Fri Dec 11, 2020 12:32 pm

esnesi wrote:
Fri Dec 11, 2020 9:37 am
Que wrote:
Fri Dec 11, 2020 1:34 am
So what you're asking for is the ability to only assign selected weapons to the users inventory based on the .ini for example;

bGive8Ball=True
bGivePulse=False
bGiveShock=True
For me, that is exactly what i ment indeed.
Done

//UPDATED V2//

See first post for new version

User avatar
esnesi
Inhuman
Posts: 764
Joined: Mon Aug 31, 2015 12:58 pm
Personal rank: Dialed in.

Re: ★ Smart Weapons Fully Loaded 2★

Post by esnesi » Fri Dec 11, 2020 6:38 pm

Greatly appreciated!
Something for in the future;
What if you got MVX or MVE and you want to set up a Rocket, a Pulse, and Shockrifle arena for example.

Could there be a possibility for multiple profiles, so to say?

*edit.
Just tried out GiveEightball=True only, rest on False.
Enforcer and Impacthammer seem to be still in the players inventory.
Last edited by esnesi on Fri Dec 11, 2020 8:11 pm, edited 1 time in total.

User avatar
f7r
Novice
Posts: 17
Joined: Mon Oct 19, 2020 6:53 pm

Re: ★ Smart Weapons Fully Loaded 2★

Post by f7r » Fri Dec 11, 2020 6:48 pm

i ment that ini contains for example:

Code: Select all

;UT weapon class
PulseGun=Botpack.PulseGun
ShockRifle=Botpack.ShockRifle
FlakCannon=Botpack.UT_FlakCannon
;UT wepon class different slot
BioRifle=Botpack.UT_FlakCannon
;Another weapon class
Minigun=U4eT.Howzy
;Empty, no weapon slot
SniperRifle=
Ripper=
Eightball=

User avatar
Que
Adept
Posts: 313
Joined: Mon Dec 09, 2019 5:49 am
Personal rank: ...

Re: ★ Smart Weapons Fully Loaded 2★

Post by Que » Fri Dec 11, 2020 11:57 pm

esnesi wrote:
Fri Dec 11, 2020 6:38 pm
Greatly appreciated!
Something for in the future;
What if you got MVX or MVE and you want to set up a Rocket, a Pulse, and Shockrifle arena for example.

Could there be a possibility for multiple profiles, so to say?

*edit.
Just tried out GiveEightball=True only, rest on False.
Enforcer and Impacthammer seem to be still in the players inventory.
Done

//UPDATED V3//

See First Post for latest update

User avatar
Barbie
Godlike
Posts: 2002
Joined: Fri Sep 25, 2015 9:01 pm
Location: moved without proper hashing

Re: ★ Smart Weapons Fully Loaded 2★

Post by Barbie » Fri Dec 11, 2020 11:58 pm

esnesi wrote:
Fri Dec 11, 2020 6:38 pm
Could there be a possibility for multiple profiles, so to say?
I remember that there is a way to store INI files with the same name as the map and read the entries from there when that map is loaded. So you can specify settings for every map individually. I remember that @sektor2111 has experimented with such.
"Multiple exclamation marks," he went on, shaking his head, "are a sure sign of a diseased mind." --Terry Pratchett

User avatar
esnesi
Inhuman
Posts: 764
Joined: Mon Aug 31, 2015 12:58 pm
Personal rank: Dialed in.

Re: ★ Smart Weapons Fully Loaded 2★

Post by esnesi » Sat Dec 12, 2020 12:57 pm

Barbie wrote:
Fri Dec 11, 2020 11:58 pm
esnesi wrote:
Fri Dec 11, 2020 6:38 pm
Could there be a possibility for multiple profiles, so to say?
I remember that there is a way to store INI files with the same name as the map and read the entries from there when that map is loaded. So you can specify settings for every map individually. I remember that @sektor2111 has experimented with such.
Fixed in latest release, thanks alot ProAsm and QUE!
I wouldn't prefer a mod that needs to be enabled per each map, for MH i can imagine that's better.
Talked with QUE, request for future: Combogib rifle. (not sure if fitting)

User avatar
Que
Adept
Posts: 313
Joined: Mon Dec 09, 2019 5:49 am
Personal rank: ...

Re: ★ Smart Weapons Fully Loaded 4★ [Updated 14/12/20]

Post by Que » Wed Dec 16, 2020 5:19 am

With All weapons if you want to start with say ShockRifle instead of RocketLauncher after respawn then rearange your Weapon order like so
Image

//UPDATED SWFL4.0

Code: Select all

SmartWFL Changes
================

Version 4
Added ammo amount options.
Added bUseDefaultMaxAmmo.
Added SuperShockRifle option.
Added versions in log startup.
Added getMaxAmmo function.
Set Enforcer and Hammer to default False.

Version 3
Added GiveWeapons options
Added bRemoveEnforcer
Added bRemoveImpactHammer
see first post for latest update