Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Sign in to follow this  
BassSlapper89

Need Help with Rapid Fire Pickup (Jazz Jackrabbit Doom Mod)

Recommended Posts

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!

Share this post


Link to post

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.

Share this post


Link to post

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

Share this post


Link to post
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.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  
×