Sorry for being long-winded, but it's a complex problem I'm having. Here's what I've done:
1. I created 2 new abilities, Use Health Pack and Use Energy Pack. Each of them starts with 5 charges and adds 100 to the respective vital. That works fine.
2. Then I modified the "Life +100" and "Energy +100" Pickups from the campaign so instead of having an immediate effect, they would simply add charges to the abilities. (I did this in the "Cost +" section by selecting the UseHealthPack link and putting in -1 for charges used) That works fine also.
3. My RPG has multiple (up to 4 at a time) heroes controlled by a single player. I wanted the health and energy packs to be shared. So I changed the ability charges to be player-located. So now if (starting with 5) Raynor uses a health pack, Tychus will only have 4, and if he uses one Nova will only have 3. That works fine.
4. The problem is that doing (3) broke (2). Grabbing health/energy packs does nothing. I can't seem to get the pickups to give charges.
And before you ask... I'm trying to avoid using an inventory system, because the ONLY items my RPG contains are health and energy packs. Seems a waste of time to build an entire inventory for 2 lousy items.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Sorry for being long-winded, but it's a complex problem I'm having. Here's what I've done:
1. I created 2 new abilities, Use Health Pack and Use Energy Pack. Each of them starts with 5 charges and adds 100 to the respective vital. That works fine.
2. Then I modified the "Life +100" and "Energy +100" Pickups from the campaign so instead of having an immediate effect, they would simply add charges to the abilities. (I did this in the "Cost +" section by selecting the UseHealthPack link and putting in -1 for charges used) That works fine also.
3. My RPG has multiple (up to 4 at a time) heroes controlled by a single player. I wanted the health and energy packs to be shared. So I changed the ability charges to be player-located. So now if (starting with 5) Raynor uses a health pack, Tychus will only have 4, and if he uses one Nova will only have 3. That works fine.
4. The problem is that doing (3) broke (2). Grabbing health/energy packs does nothing. I can't seem to get the pickups to give charges.
And before you ask... I'm trying to avoid using an inventory system, because the ONLY items my RPG contains are health and energy packs. Seems a waste of time to build an entire inventory for 2 lousy items.