MantisBT - Zandronum
View Issue Details
0002274Zandronum[All Projects] Suggestionpublic2015-05-30 00:322015-12-13 03:40
S_Andrew_S 
 
lowfeatureN/A
closedout of scope 
MicrosoftWindowsXP/Vista/7
2.0 
 
0002274: Simple action for morphing and un-morphing with weapons
Instead of doing things like dropping an object when the weapon is selected that will make the player morph and drop an object that will make the player un-morph when they select a certain weapon, it would be easier to just call a function for example "MorphPlayer(class, offsetx, offsety, offsetz)" which can be done to morph into another playerpawn and in order to un-morph a simple action like "ExitMorph" can be called in the code.
No tags attached.
? test.pk3 (33,969) 2015-05-31 19:41
/tracker/file_download.php?file_id=1518&type=bug
Issue History
2015-05-30 00:32S_Andrew_SNew Issue
2015-05-30 01:37DuskNote Added: 0012457
2015-05-31 00:34S_Andrew_SNote Added: 0012469
2015-05-31 15:04DuskNote Added: 0012474
2015-05-31 15:04DuskStatusnew => feedback
2015-05-31 19:40S_Andrew_SNote Added: 0012480
2015-05-31 19:40S_Andrew_SStatusfeedback => new
2015-05-31 19:41S_Andrew_SFile Added: test.pk3
2015-12-13 03:40DuskNote Added: 0013984
2015-12-13 03:40DuskStatusnew => closed
2015-12-13 03:40DuskResolutionopen => out of scope

Notes
(0012457)
Dusk   
2015-05-30 01:37   
What?
(0012469)
S_Andrew_S   
2015-05-31 00:34   
It's for a project I'm working on and I want to make the player turn into a completely different actor by switching weapons instead of just changing the sprites so there are completely different properties to said actor. It's more convenient than trying to get around using an inventory item or projectile.
(0012474)
Dusk   
2015-05-31 15:04   
Please elaborate, you are not making any sense at all right now. Exactly what are you trying to do?

You say "to morph into another playerpawn". You can do this by morphing. You say "in order to un-morph a simple action like "ExitMorph" can be called in the code." What code? ACS? There is UnMorphActor for that.
(0012480)
S_Andrew_S   
2015-05-31 19:40   
Yes, I want to morph. BUT, there is really no simple way of morphing via weapon switching, instead, it seems morphing is limited to projectiles and power ups. And in order to un-morph, it would still be easier just to have an action to do it in one of the states (like deselect). I will upload my file to show what I want, because in the file, I have it where if you select a certain weapon, it will drop an invisible power up that will cause the player to morph, but it's a bit bugged, so that's why I want a simple action to morph the player instead of creating some elaborate system full of holes, and pretty inconvient.
(0013984)
Dusk   
2015-12-13 03:40   
This is beyond our scope, ask ZDoom.