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??
Why are most singular custom weapons assigned to 9?
- EvilGrins
- Godlike
- Posts: 9779
- Joined: Thu Jun 30, 2011 8:12 pm
- Personal rank: God of Fudge
- Location: Palo Alto, CA
- Contact:
Why are most singular custom weapons assigned to 9?
http://unreal-games.livejournal.com/
Smilies · viewtopic.php?f=8&t=13758medor wrote:Replace Skaarj with EvilGrins
Re: Why are most singular custom weapons assigned to 9?
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: 10453
- Joined: Wed Jul 15, 2009 11:36 am
- Personal rank: coffee addicted !!!
- Location: Cologne, the city with the big cathedral.
- Contact:
Re: Why are most singular custom weapons assigned to 9?
You talking to Evil Grins... he can't subclass.
Re: Why are most singular custom weapons assigned to 9?
Oh yeah, of course, I forgot.
Seriously though, it opens up a whole new world (as it were) if he can.
Re: Why are most singular custom weapons assigned to 9?
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.
- Attachments
-
- ExpEM_WeaponSlotSwitcher.zip
- (1.6 KiB) Downloaded 23 times
Signature goes here.
- EvilGrins
- Godlike
- Posts: 9779
- Joined: Thu Jun 30, 2011 8:12 pm
- Personal rank: God of Fudge
- Location: Palo Alto, CA
- Contact:
Re: Why are most singular custom weapons assigned to 9?
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.
So walk me through how one does that, then.
http://unreal-games.livejournal.com/
Smilies · viewtopic.php?f=8&t=13758medor wrote:Replace Skaarj with EvilGrins
- EvilGrins
- Godlike
- Posts: 9779
- Joined: Thu Jun 30, 2011 8:12 pm
- Personal rank: God of Fudge
- Location: Palo Alto, CA
- Contact:
Re: Why are most singular custom weapons assigned to 9?
Did you miss there were 2 options there?
http://unreal-games.livejournal.com/
Smilies · viewtopic.php?f=8&t=13758medor wrote:Replace Skaarj with EvilGrins
Re: Why are most singular custom weapons assigned to 9?
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.