[Submission] Uberpack
- Salahmander
-
Topic Author
- Cacodemon
-
- Posts: 117
Description: Increases carrying capacity like a normal backpack and gives the maximum ammo. Modders should add their mod's ammo types to it, as well.
Please Log in or Create an account to join the conversation.
- DeVloek
-
- Arachnotron
-
- Posts: 401
I feel the megapack giving you a backpack having infinite ammo is a touch pointless given the ammo sphere exists, so instead, I felt it'd be better for it to completely max out your ammo upon pick up
I totally agree. Although Pillowblaster mentioned in the description that it's a magical/demonic backpack, I think such an item would make more sense if it came in the form of a powerup/artifact, maybe a "Super Ammo Sphere" or something like that.... Your idea for this particular item (which doesn't look very magical tbh, after all it's just an oversized backpack) makes more sense to me than infinite ammo for a minute.
However, if you do this in Zscript you have access to the AllActorClasses global variable. This can be used to go through all ammotypes currently available in the game, including custom ammo, and give them to the player.
Here is how I'd do it (tested with custom ammo types from my custom weapons)
Please Log in or Create an account to join the conversation.
- Salahmander
-
Topic Author
- Cacodemon
-
- Posts: 117
Also if it's gonna lose it's out of place demonic part of it, is it worth keeping it's GLDEFs? I commented it out for now.
Edit: Here's the updated version with your ZScript in, so much better and easier!
Please Log in or Create an account to join the conversation.
- DeVloek
-
- Arachnotron
-
- Posts: 401
Ohhhh perfect. I'll use that for sure, is it still worth keeping the original DECORATE or just have it as that one and possibly have some sort of new fitting sprite that could function similarly to the original?
I guess it's up to the admins/mods to decide, but I think splitting this into two different items would make the most sense at this point. Would be a shame if Pillowblaster's idea and work was scrubbed altogether, so I'd make a new sprite for the original Decorate, find a new name ("Mega Ammo Sphere" sounds good too), and submit that as a separate item. If anyone has ideas for that, let me know, I got some time to work on it.
Oh I thought that's supposed to be a shadow, that it represents the demonic part of the item didn't really occur to me until you mentioned itAlso if it's gonna lose it's out of place demonic part of it, is it worth keeping it's GLDEFs? I commented it out for now.

Also I just saw in the GLDEFS that it's a Pulselight, but the pulse is tiny so it isn't really noticable in-game. I guess I'd keep the shadow but change it to a simple Pointlight.
btw just a minor thing, but the Megapack's code could be optimized a little bit by changing the Use state to Pickup and deleting the AUTOACTIVATE flag. One less line of code, yay!

Please Log in or Create an account to join the conversation.
- DeVloek
-
- Arachnotron
-
- Posts: 401
Please Log in or Create an account to join the conversation.
- Salahmander
-
Topic Author
- Cacodemon
-
- Posts: 117
Please Log in or Create an account to join the conversation.
- DeVloek
-
- Arachnotron
-
- Posts: 401
I'll keep a lookout for sprites that fit the "backpack from hell" theme, or I might try to edit one of the existing sprites if I can find the time. One idea that comes to mind is making a caco-style red/skin-colored backpack, with an eye in the middle and a few horns left and right

Please Log in or Create an account to join the conversation.
- Salahmander
-
Topic Author
- Cacodemon
-
- Posts: 117
Please Log in or Create an account to join the conversation.
- Gothic
-
- Moderator
-
- Posts: 1275
Please Log in or Create an account to join the conversation.
- Salahmander
-
Topic Author
- Cacodemon
-
- Posts: 117
Please Log in or Create an account to join the conversation.