Search, find and discuss about Mutators!
-
EvilGrins
- Godlike
- Posts: 7677
- Joined: Thu Jun 30, 2011 8:12 pm
- Personal rank: God of Fudge
- Location: Palo Alto, CA
Post
by EvilGrins » Mon May 11, 2020 8:07 pm
By singular I mean weapons that aren't part of full weapon packs.
For example...
Blob Gun:
M-16 Sniper with Night Vision:
Goa-uld Staff Weapon:
Why is 9 chosen for new weapons primarily?
Is there a simple way to assign weapons to a different number??
-
OjitroC
- Godlike
- Posts: 2037
- Joined: Sat Sep 12, 2015 8:46 pm
Post
by OjitroC » Mon May 11, 2020 8:46 pm
EvilGrins wrote: ↑Mon May 11, 2020 8:07 pm
Why is 9 chosen for new weapons primarily?
Is there a simple way to assign weapons to a different number??
Don't know but I think 9 is the highest autoswitch priority and, if that is correct, that may be the reason.
The weapon slot a weapon uses is (in the weapon's .u file) DefaultProperties->Inventory->InventoryGroup.
You could use StuffSwapper and put the weapon you want to use in a slot other than 9 - that might work. Alternatively you can subclass the weapon and assign it to a dfferent InventoryGroup.
-
papercoffee
- Godlike
- Posts: 9778
- Joined: Wed Jul 15, 2009 11:36 am
- Personal rank: coffee addicted !!!
- Location: Cologne, the city with the big cathedral.
Post
by papercoffee » Mon May 11, 2020 10:11 pm
OjitroC wrote: ↑Mon May 11, 2020 8:46 pm
Alternatively you can subclass the weapon and assign it to a dfferent InventoryGroup.
You talking to Evil Grins... he can't subclass.

-
OjitroC
- Godlike
- Posts: 2037
- Joined: Sat Sep 12, 2015 8:46 pm
Post
by OjitroC » Mon May 11, 2020 11:37 pm
papercoffee wrote: ↑Mon May 11, 2020 10:11 pm
You talking to Evil Grins... he can't subclass.
Oh yeah, of course, I forgot.
Seriously though, it opens up a whole new world (as it were) if he can.
-
ExpEM
- Experienced
- Posts: 149
- Joined: Wed Nov 09, 2016 1:48 am
Post
by ExpEM » Tue May 12, 2020 7:29 am
EvilGrins wrote: ↑Mon May 11, 2020 8:07 pm
Is there a simple way to assign weapons to a different number??
Really? You can't spend 15 min writing a mutator?
Just for you: ExpEM_WeaponSlotSwitcher.u
Works for up to 32 weapons, it changes the weapon slots of whatever weapon(s) you set in the config.
Default mutator changes the Redeemer to slot 1 as an example of how to use the config.
You do not have the required permissions to view the files attached to this post.
-
EvilGrins
- Godlike
- Posts: 7677
- Joined: Thu Jun 30, 2011 8:12 pm
- Personal rank: God of Fudge
- Location: Palo Alto, CA
Post
by EvilGrins » Tue May 12, 2020 9:33 am
ExpEM wrote: ↑Tue May 12, 2020 7:29 am
EvilGrins wrote: ↑Mon May 11, 2020 8:07 pm
Is there a simple way to assign weapons to a different number??
Really? You can't spend 15 min writing a mutator?
Though I haven't hosted games in years, map edits I do periodically wind up being used on servers and it seems to be me that it would be simpler for any who do so not to require the needs of mutators to get a map to play right. I mean, don't get me wrong... I love mutators, but what makes more sense? Having to setup a mutator to get something to work or finding a simple way to reassign things so a map is self-sustainable?
Sure, lots of servers use mutators but they shouldn't have to alter their setup to accommodate every random map.
OjitroC wrote: ↑Mon May 11, 2020 11:37 pm
papercoffee wrote: ↑Mon May 11, 2020 10:11 pm
You talking to Evil Grins... he can't subclass.
Seriously though, it opens up a whole new world (as it were) if he can.
So walk me through how one does that, then.
-
ExpEM
- Experienced
- Posts: 149
- Joined: Wed Nov 09, 2016 1:48 am
Post
by ExpEM » Tue May 12, 2020 10:25 am
EvilGrins wrote: ↑Tue May 12, 2020 9:33 am
Having to setup a mutator to get something to work or finding a simple way to reassign things so a map is self-sustainable?
Yes.
-
EvilGrins
- Godlike
- Posts: 7677
- Joined: Thu Jun 30, 2011 8:12 pm
- Personal rank: God of Fudge
- Location: Palo Alto, CA
Post
by EvilGrins » Tue May 12, 2020 10:43 am
ExpEM wrote: ↑Tue May 12, 2020 10:25 am
EvilGrins wrote: ↑Tue May 12, 2020 9:33 am
Having to setup a mutator to get something to work or finding a simple way to reassign things so a map is self-sustainable?
Yes.

Did you miss there were 2 options there?
-
OjitroC
- Godlike
- Posts: 2037
- Joined: Sat Sep 12, 2015 8:46 pm
Post
by OjitroC » Tue May 12, 2020 2:10 pm
EvilGrins wrote: ↑Tue May 12, 2020 10:43 am
ExpEM wrote: ↑Tue May 12, 2020 10:25 am
EvilGrins wrote: ↑Tue May 12, 2020 9:33 am
Having to setup a mutator to get something to work or finding a simple way to reassign things so a map is self-sustainable?
Yes.

Did you miss there were 2 options there?
The mutator is the answer to your initial question "Is there a simple way to assign weapons to a different number?".
What you actually want is a way to change of the InventoryGroup of a weapon placed in a specific map but only in that map - the mutator will obviously change the InventoryGroup of a particular weapon in all maps. The answer to this question is that there isn't a simple way.