Jump to content

WHackEd 4 - Is it possible to do this?


sakulmore

Recommended Posts

Not if you're creating the patch for vanilla, where it's simply not possible to assign actions to stats that didn't have an action before (this has nothing to do with Whacked, it's an limitation of doom(2).exe). You have to use at least Boom format to assign actions to those states, but then it'll obviously not be compatible with vanilla anymore.

Share this post


Link to post

Can i ask, how can i change order of weapons? For example: On key "1" is: Chainsaw, Fist. I wanna change order to this: Fist, Chainsaw.

Share this post


Link to post
7 minutes ago, sakulmore said:

Can i ask, how can i change order of weapons? For example: On key "1" is: Chainsaw, Fist. I wanna change order to this: Fist, Chainsaw.

 

I believe that's only possible with DECORATE and/or ZScript, and using either narrows your compatibility down to ZDoom-based ports.

Share this post


Link to post
6 minutes ago, sakulmore said:

Can you please show me example od DECORATE? How i must code it?

 

Take a look at these pages to get started:

https://zdoom.org/wiki/DECORATE

https://zdoom.org/wiki/Classes:Fist

https://zdoom.org/wiki/Classes:Chainsaw

 

To achieve what you described above, what you'll want to do is swap the numbers in the Fist and Chainsaw's Weapon.SelectionOrder properties or otherwise modify them so that the Chainsaw's respective value is higher than the Fist's. The higher the value of the Weapon.SelectionOrder property, the lower priority it has in the selection order. In other words, by swapping the values, the Fist will be selected before the Chainsaw when changing weapons to a slot 1 weapon.

Share this post


Link to post
2 hours ago, MFG38 said:

I believe that's only possible with DECORATE and/or ZScript, and using either narrows your compatibility down to ZDoom-based ports.

You can swap any weapon on Dehacked by changing their frames or the ID numbers. However if you put another gun on the initial slots (occupied by the fist and the pistol) you will have that gun at the start of the game.

Edited by Noiser

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...