BassSlapper89 Posted June 27, 2019 I need your help with a DECORATE code. As you all have seen, I posted a beta version of Jazz Jackrabbit Doom TC on the Doomworld Wads Forum. I need a DECORATE code to where the player picks up the main weapon (LFG2000), which fires faster as you pick up this specific Thing as you go through the levels. Can anyone give me advice? Thank you! 0 Quote Share this post Link to post
DiR Posted June 28, 2019 You could spoof this with inventory flags. This should give more insight into how it could be achieved. Instead of setting the variable to have the scope zoom, you could try having the variable check for if the player has picked up the powerup of some sort, and then activating the faster firing mode. I can't really provide a decorate example, but the general idea goes like this: - Player picks up main weapon - Main weapon is default fire rate - Player picks up the powerup which gives the flag for faster fire rate to inventory - Check for if the player has picked up the specific Thing which increases fire rate - If so, set a code jump to a separate batch of code with the faster fire rate - If not, leave it be I hope this helped at least a little bit. 1 Quote Share this post Link to post
BassSlapper89 Posted June 28, 2019 @Valgilton Thank you for the information buddy. I will look into this and give it a shot 1 Quote Share this post Link to post
unpleasantmarine Posted June 29, 2019 (edited) you could do something similar to the sigil in strife (You pick up pieces through the game to make the weapon more powerful iirc, more powerful meaning a different fire state) Not sure how though Edited June 29, 2019 by unpleasantmarine 1 Quote Share this post Link to post
BassSlapper89 Posted June 30, 2019 @unpleasantmarine @Valgilton So I may have come across something that may work... I'm planning on fiddling with it this week. https://zdoom.org/wiki/Classes:CustomInventory Y'all think this will work? 0 Quote Share this post Link to post
Barry Burton Posted July 4, 2019 On 6/30/2019 at 3:55 AM, AlanjWeh89 said: @unpleasantmarine @Valgilton So I may have come across something that may work... I'm planning on fiddling with it this week. https://zdoom.org/wiki/Classes:CustomInventory Y'all think this will work? That's pretty much what Valgilton suggested. You can use custom inventory items to do a check in Decorate, then jump to a certain state where the fire rate is higher. 1 Quote Share this post Link to post
BassSlapper89 Posted July 4, 2019 @R4L, thank you buddy. I wanted to be sure. Still a rookie and learning lol. 1 Quote Share this post Link to post
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.