Can someone help me fix this code??

Please do not mimic the behavior of the posts shown here.

Moderator: GZDoom Developers

WeneZezua
Posts: 3
Joined: Fri Jan 06, 2023 8:01 am
Preferred Pronouns: He/Him
Operating System Version (Optional): Windows 7 Professional
Graphics Processor: Not Listed

Can someone help me fix this code??

Post by WeneZezua »

FIXED ALREADY
Last edited by WeneZezua on Sun Jan 22, 2023 5:37 am, edited 1 time in total.
WeneZezua
Posts: 3
Joined: Fri Jan 06, 2023 8:01 am
Preferred Pronouns: He/Him
Operating System Version (Optional): Windows 7 Professional
Graphics Processor: Not Listed

Re: Can someone help me fix this code??

Post by WeneZezua »

Can anyone help?
Gez
 
 
Posts: 17719
Joined: Fri Jul 06, 2007 3:22 pm

Re: Can someone help me fix this code??

Post by Gez »

I understand your frustration but bumping threads is not always useful.

It's rather complex code that you have here, as expected for multipart actors. I can't really figure out how it works myself. The tank is invisible. It spawns a turret actor. The chassis is actually the player morphed.

If you don't want the turret to rotate independently of the chassis (i.e., always facing forward) then the simplest would be to unsplit the actor and have turret and chassis on the same sprites, so they have the same direction?
WeneZezua
Posts: 3
Joined: Fri Jan 06, 2023 8:01 am
Preferred Pronouns: He/Him
Operating System Version (Optional): Windows 7 Professional
Graphics Processor: Not Listed

Re: Can someone help me fix this code??

Post by WeneZezua »

Gez wrote: Fri Jan 20, 2023 8:43 am I understand your frustration but bumping threads is not always useful.

It's rather complex code that you have here, as expected for multipart actors. I can't really figure out how it works myself. The tank is invisible. It spawns a turret actor. The chassis is actually the player morphed.

If you don't want the turret to rotate independently of the chassis (i.e., always facing forward) then the simplest would be to unsplit the actor and have turret and chassis on the same sprites, so they have the same direction?
Changed my mind, sorry for that, You can delete the topic, I'm leaving it as it is
User avatar
wildweasel
Moderator Team Lead
Posts: 21581
Joined: Tue Jul 15, 2003 7:33 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): Win10 22H2, Win11 22H2, macOS 11.7
Graphics Processor: nVidia with Vulkan support

Re: Can someone help me fix this code??

Post by wildweasel »

And now that the original post has been destroyed, nobody else can learn from this thread, either. :?

Return to “Hall of Unpleasantness”