I've created a base class for modders that lets you create an item that appears as different items for different player classes.
In this example video it appears as Shell for "Shortie" playerclass and as ClipBox for "Beanpole" playerclass: https://lowkey.gg/v/943c1a4b-b7b9-4505- ... 54993ec451
it's also multiplayer compatible: it'll look differently for each of the players, and it'll give them different items based on who picks it up.
It inherits pickupmessage and pickupsound from the item that you're supposed to be picking up, as well as the item's maxamount. The appearance of the item is unique for consoleplayer, while what the player actually gets in their inventory is synced, so it shouldn't cause any desyncs in MP
You can download it here: https://github.com/jekyllgrim/Class-dep ... /releases/
[ZScript] Playerclass-dependent item
Forum rules
Before posting your Resource, please make sure you can answer YES to any of the following questions:
Consult the Resource/Request Posting Guidelines for more information.
Please don't put requests here! They have their own forum --> here. Thank you!
Before posting your Resource, please make sure you can answer YES to any of the following questions:
- Is the resource ENTIRELY my own work?
- If no to the previous one, do I have permission from the original author?
- If no to the previous one, did I put a reasonable amount of work into the resource myself, such that the changes are noticeably different from the source that I could take credit for them?
Consult the Resource/Request Posting Guidelines for more information.
Please don't put requests here! They have their own forum --> here. Thank you!
-
-
- Posts: 948
- Joined: Mon Jul 21, 2008 4:08 am
- Graphics Processor: nVidia (Modern GZDoom)