Hi all,
Could someone kindly assist me in building custom pickups for UT2004 using Unreal Script. I've tried following TheHealer tutorial (http://wiki.beyondunreal.com/Legacy:TheHealer) however it seems that the code is incomplete as I am getting the following error when I compile the code:
My basic intention is to create an extension of Pickup class for how to create a pickup which is not directly related to only Weapon, Ammo, or Health but rather a tool which allows content to be created in similar manner as items used in RPGs, such as:
It also important to assign each item to its own InventoryType.
Another great addition would be to assign unique models and meshes to each of the items.
The following links shows how Deus Ex would add a pickup item:
http://www.planetdeusex.com/tack/CreatingCustomPickups.html
The issue is that the tutorial extends Sodacan from Deus Ex, however this Sodacan is not available in Unreal Tournament 2004.
Regards,
dirkmalta
Could someone kindly assist me in building custom pickups for UT2004 using Unreal Script. I've tried following TheHealer tutorial (http://wiki.beyondunreal.com/Legacy:TheHealer) however it seems that the code is incomplete as I am getting the following error when I compile the code:
C:\UT2004\TheHealer\Classes\TUTHealer.uc(57) : Error, Redefinition of 'function ConsumeAmmo' differs from original in Weapon
Compile aborted due to errors.
Failure - 1 error(s), 0 warning(s)
Compile aborted due to errors.
Failure - 1 error(s), 0 warning(s)
My basic intention is to create an extension of Pickup class for how to create a pickup which is not directly related to only Weapon, Ammo, or Health but rather a tool which allows content to be created in similar manner as items used in RPGs, such as:
- Map
- Soda Can
- Book
- Shoes
It also important to assign each item to its own InventoryType.
Another great addition would be to assign unique models and meshes to each of the items.
The following links shows how Deus Ex would add a pickup item:
http://www.planetdeusex.com/tack/CreatingCustomPickups.html
The issue is that the tutorial extends Sodacan from Deus Ex, however this Sodacan is not available in Unreal Tournament 2004.
Regards,
dirkmalta