Displaying 2 Different Actors / Weapon MD3 models in HUD

Ask about ACS, DECORATE, ZScript, or any other scripting questions here!

Moderator: GZDoom Developers

Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.

Please bear in mind that the people helping you do not automatically know how much you know. You may be asked to upload your project file to look at. Don't be afraid to ask questions about what things mean, but also please be patient with the people trying to help you. (And helpers, please be patient with the person you're trying to help!)
Post Reply
User avatar
HAL9000
Posts: 266
Joined: Fri Mar 16, 2018 7:44 am
Contact:

Displaying 2 Different Actors / Weapon MD3 models in HUD

Post by HAL9000 »

So, here is the issue:

I have a main MD3 weapon
I have defined a custom inventory kick MD3 weapon, that I've binded to "F" in keyconf

Everything is working as it should, Kick weapon is working while using main MD3 model weapon,
but the MD3 of the kick weapon is not displayed, I can damage and kill enemies with kick weapon but the model is not displayed.

Is it possible to display 2 weapon (model) actors at the same time in HUD?
With classic sprite HUD weapons everything works ok, but with models only the main weapon is shown.

Basically I want to use "Mighty Foot" Weapon actor (MD3 model) when i press "F" while using my main weapon - for example Shotgun (MD3 Model)
Post Reply

Return to “Scripting”