What is this?
A personal project of mine, hardly a new concept but something I wanted to try and implement in an attempt to learn GUI and mutator programming for Unreal Tournament. Rather than making changes to an .ini file, the player can add the items they wish to have monsters drop through an in-game window. This is meant to work for gametypes and mutators which feature monsters. Those changes are committed without having to close out the game.
UPDATE: I'm glad to say I can release something that is solid enough, and that has plenty of the features I intended to add that will make it easy and fun to use for us players. I hope you enjoy it!
Some of the features:
- 24 slots which the user can use to specify items to be dropped.
- Choose how often items added through GiveMeItems are removed from the game.
- Slots are filled in through GUI drop-down lists, which also double as text-entry fields.
- Default Unreal Tournament inventory (weapons, health, etc.) provided in drop down menus.
- Recognizes custom packages inventory items, when a user enters the summon string in the text-entry fields (double-click the drop-down fields to enter text).
- Custom package entries are saved for later use; no need to memorize, simply find them in the drop-down menus!
- Evaluation of user input; invalid or improperly spelled items are not added to the game.
- Ammunition suggestion: When custom package weapons are detected, GiveMeItems will suggest the name of the ammo item used by such weapons.
- Randomized default items: Randomly select default Unreal Tournament items for all slots on a page.
- Clear Custom Entries: Unused custom entries can be cleared, if so desired.
Features I would like to add in the future:
- Detect and provide listings of custom .u packages and their items.
- Specify whether items are dropped for monsters, bots, or both.
Where can I get it?
Here! (Click here for link to the files)
Simply drag the .int and .u files into your 'UnrealTournament\System' directory. Then, in game, select "GiveMeItems!" from the 'Mutator' section when setting up a practice match.
You can set the specific items to be dropped in the configuration window for GiveMeItems, found under the 'Mod' drop-down list in the main menu. For example, in one of the blank spaces, you can enter 'unreali.rifle' to have a rifle dropped, or 'botpack.healthvial.' (Whatever the summon string would be for that item, but only the item's portion) You can also set how often the items dropped by killed monsters will be removed from the level.
Thanks to:
The developer of W.O.R.M., who paved the way for someone like me to even begin learning how to code GUI's in UnrealScript. Based on this ModDB page, I attribute that person to be Kangus.
Shivaxi and Bleeder99, two contributors to Unreal whose own work I've enjoyed and been inspired by. They've helped me out many times for other issues, such as setting up a server, and have generally been fun people to play Unreal with - we mustn't forget the reason we're all here!
And, lastly, to contributors at UT99.org, who have been helpful as well, specifically regarding the mechanism involved in removing items in-game, which was a pain in the neck at one point.