Project Perfect Mod Forums
:: Home :: Get Hosted :: PPM FAQ :: Forum FAQ :: Privacy Policy :: Search :: Memberlist :: Usergroups :: Register :: Profile :: Log in to check your private messages :: Log in ::


The time now is Thu Mar 28, 2024 5:04 pm
All times are UTC + 0
Dodgy helicopter rotors after resizing
Moderators: Global Moderators, Media Hut Moderators, Red Alert 2 Moderators, Tiberian Sun Moderators
Post new topic   Reply to topic Page 1 of 1 [20 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
Bugsey827
Grenadier


Joined: 15 Apr 2008

PostPosted: Wed Feb 15, 2023 4:12 pm    Post subject:  Dodgy helicopter rotors after resizing Reply with quote  Mark this post and the followings unread

I resized a helicopter voxel and since then the rotors are "dodgy". I mean that when the helicopter moves and they spin, the back one just kind of goes all over.

I wanted to have a video to better show what I mean, but couldn't get OBS to work with RA2 on short notice, so I only have these screenshots.



The rotor spinning animation is 3 frames long, one of the frames it seems ok but the other two are further out. I've checked the HVA file and it seems fine https://streamable.com/2ubibe.

It was a few months ago I added this but only just gotten to it at the bottom of my list of stuff to do so it's hard to remember what I've already tried. I know I tried deleting and remaking the HVA but this was still the result.

The helicopter I'm using is the one from here https://ppmforums.com/viewtopic.php?t=30971

I have a couple of other helicopters with a similar problem but this one's the worst for it. What can I do to fix this?

I also attached it so you can check it for yourself if you wanted to.



civtransport.zip
 Description:

Download
 Filename:  civtransport.zip
 Filesize:  23.65 KB
 Downloaded:  21 Time(s)


Back to top
View user's profile Send private message Visit poster's website Skype Account
G-E
Defense Minister


Joined: 09 Feb 2015

PostPosted: Wed Feb 15, 2023 9:10 pm    Post subject: Reply with quote  Mark this post and the followings unread

To capture RA2 you have to use the capture screen not capture game in OBS.

Without looking at your voxel, I can just say delete the .hva and start again, center the rotor on the forward and lateral axis lines with "voxel offset" and only then add the frames with the HVA rotation. Shrinkage changes offsets and even possibly the origins of the sections.

_________________
http://www.moddb.com/mods/scorched-earth-ra2-mod-with-smart-ai

Back to top
View user's profile Send private message
Bugsey827
Grenadier


Joined: 15 Apr 2008

PostPosted: Wed Feb 15, 2023 11:32 pm    Post subject: Reply with quote  Mark this post and the followings unread

Yeah I'd been doing that, it's just a black screen with the audio playing. Oh well, something to work out another time.

I've had a bit of a tinker with it again, firstly when I use the HVARotation tool it moves the rear rotor like this:

If I test it in game like that, the rotor appears there where it shows in the HVA builder.
If I use the HVAPosition tool to correct it's placement like this

that's when it starts going off like in the screenshots I originally posted. Not sure what the cause is. But yes I've been careful to use "HVAPosition" and not "Voxel Offset" when making that adjustment lol.

Back to top
View user's profile Send private message Visit poster's website Skype Account
G-E
Defense Minister


Joined: 09 Feb 2015

PostPosted: Thu Feb 16, 2023 3:43 am    Post subject: Reply with quote  Mark this post and the followings unread

When you are doing the rotation, do that first, but make sure that rotor is also centered on the white axis like the main rotor. Once you have done the rotations, use position to move it to the rear. That's the least fiddly way.

_________________
http://www.moddb.com/mods/scorched-earth-ra2-mod-with-smart-ai

Back to top
View user's profile Send private message
Bugsey827
Grenadier


Joined: 15 Apr 2008

PostPosted: Thu Feb 16, 2023 3:19 pm    Post subject: Reply with quote  Mark this post and the followings unread

Still no joy, it actually just throws out an error when I try and move the vehicle in game, EIP 007073B6 lol.
If I keep both rotors on the front it's fine though. Just doesn't like being at the back for some reason.

Back to top
View user's profile Send private message Visit poster's website Skype Account
G-E
Defense Minister


Joined: 09 Feb 2015

PostPosted: Sun Feb 19, 2023 12:56 am    Post subject: Reply with quote  Mark this post and the followings unread

You had it working stupidly before, so I'm guessing you corrupted the .hva somehow since that does cause a crash.

Which HVA Builder are you using?

_________________
http://www.moddb.com/mods/scorched-earth-ra2-mod-with-smart-ai

Back to top
View user's profile Send private message
Bugsey827
Grenadier


Joined: 15 Apr 2008

PostPosted: Sun Feb 19, 2023 3:02 pm    Post subject: Reply with quote  Mark this post and the followings unread


Back to top
View user's profile Send private message Visit poster's website Skype Account
G-E
Defense Minister


Joined: 09 Feb 2015

PostPosted: Sun Feb 19, 2023 11:14 pm    Post subject: Reply with quote  Mark this post and the followings unread


_________________
http://www.moddb.com/mods/scorched-earth-ra2-mod-with-smart-ai

Back to top
View user's profile Send private message
Bugsey827
Grenadier


Joined: 15 Apr 2008

PostPosted: Mon Feb 20, 2023 12:12 am    Post subject: Reply with quote  Mark this post and the followings unread

Still no luck. Didn't cause an error at least.

Also I checked the original voxel again. The original was in Allied theme but I'd used the Colour Scheme script in Voxel Section Editor III v1.38 to change it from Allied to greyscale, to resemble a civilian unit. Thought I'd start from the very beginning again just in case something went wrong somewhere along the way. Made no difference but I did notice that I didn't actually resize it, so it's purely the offset that's wrong rather than anything weird that may have happened during resizing. Not sure how much difference it makes but thought it was worth mentioning.

Also there is no "original" HVA with the download, so I can't just copy theirs. Not sure why this one is causing such a problem lol, done plenty of HVAs including animated rotors on other planes, helicopters, etc in the past.

Back to top
View user's profile Send private message Visit poster's website Skype Account
Virgil
Stealth Laser Trooper


Joined: 22 Jul 2018

PostPosted: Mon Feb 20, 2023 1:27 pm    Post subject: Reply with quote  Mark this post and the followings unread

Set your hva builder to show axis for each sections. Your rotors are not centered, that's why they go completely wrong once you start to try to adjust them. Also, don't use vxl bounds to change their position, only use hva position. hva builder might show minus numbers as 0 when changing that, at least in the version I had used, but the minus position you input is properly saved.

Back to top
View user's profile Send private message
Bugsey827
Grenadier


Joined: 15 Apr 2008

PostPosted: Mon Feb 20, 2023 11:31 pm    Post subject: Reply with quote  Mark this post and the followings unread

Still not working. It's actually gone back to giving me an IE, same EIP as before lol.

Back to top
View user's profile Send private message Visit poster's website Skype Account
G-E
Defense Minister


Joined: 09 Feb 2015

PostPosted: Wed Feb 22, 2023 9:26 am    Post subject: Reply with quote  Mark this post and the followings unread

How many frames are you trying to use for the animation?

_________________
http://www.moddb.com/mods/scorched-earth-ra2-mod-with-smart-ai

Back to top
View user's profile Send private message
Bugsey827
Grenadier


Joined: 15 Apr 2008

PostPosted: Wed Feb 22, 2023 1:48 pm    Post subject: Reply with quote  Mark this post and the followings unread

3

Back to top
View user's profile Send private message Visit poster's website Skype Account
G-E
Defense Minister


Joined: 09 Feb 2015

PostPosted: Wed Feb 22, 2023 6:16 pm    Post subject: Reply with quote  Mark this post and the followings unread

When you add the animations in HV Builder, and hit play, it all rotates fine? Can you export a .gif (make sure to tick the box) to show us that it works?

_________________
http://www.moddb.com/mods/scorched-earth-ra2-mod-with-smart-ai

Back to top
View user's profile Send private message
Bugsey827
Grenadier


Joined: 15 Apr 2008

PostPosted: Wed Feb 22, 2023 8:04 pm    Post subject: Reply with quote  Mark this post and the followings unread


Back to top
View user's profile Send private message Visit poster's website Skype Account
G-E
Defense Minister


Joined: 09 Feb 2015

PostPosted: Thu Feb 23, 2023 1:04 pm    Post subject: Reply with quote  Mark this post and the followings unread

At a glance it appears you have quite a few frames, one of which is very close to another in rotation. I hate to ask, but what if you're doing the frames wrong? Like are you copying or adding frames?

Try limiting it to just 2 frames, with 5-blade rotors that means one frame rotated 72deg or so.

_________________
http://www.moddb.com/mods/scorched-earth-ra2-mod-with-smart-ai

Back to top
View user's profile Send private message
Bugsey827
Grenadier


Joined: 15 Apr 2008

PostPosted: Wed Mar 01, 2023 11:59 pm    Post subject: Reply with quote  Mark this post and the followings unread

I'd been using Copy Frame.

Just did some tests. Using both the Copy Frame and the New Frame options, as well as varying amount of frames.

Mostly the same result as I showed in my original screenshots. Also some crashes with EIP: 007073B6. The fuselage would also wiggle back and forth.

I opened the vxl file and tried to delete the rotor sections, but for some reason one of the rotors just didn't want to delete. The other one and the body would delete fine. If I tried to delete this rotor section, it would just delete the body section instead. Thought maybe something about that section had "corrupted" or something maybe. I opened a new vxl file, imported that body and imported the rotors from another helicopter I had (which is fine). Redone the hva tests and the results were no different. Genuinely don't know what's wrong lol. Like I said before I've done animated props/rotors in the past so although I'm far from an "expert" as this sort of thing, it isn't like I'd consider myself completely incompetent either.

Might just give up and save myself the headaches lol, not the only civilian helicopter I'd been using anyway.

Back to top
View user's profile Send private message Visit poster's website Skype Account
Mig Eater
Defense Minister


Joined: 13 Nov 2003
Location: Eindhoven

PostPosted: Thu Mar 02, 2023 9:44 am    Post subject: Reply with quote  Mark this post and the followings unread

The scale setting of the body & rotors sections are different, this inconsistency causes the calculations in the matrix to get messed up & the parts to be misaligned.

The body also has one of the "Unknown" sections set to 2 when it should be 0, dont know what it does (that's why its Unknown #Tongue ) but best to set it to the default anyway.

_________________



Back to top
View user's profile Send private message Visit poster's website ModDB Profile ID YouTube User URL Facebook Profile URL Twitter Channel URL
Bugsey827
Grenadier


Joined: 15 Apr 2008

PostPosted: Fri Mar 03, 2023 8:54 pm    Post subject: Reply with quote  Mark this post and the followings unread

Yes, that did the trick, thanks

I copy & pasted the scale value from the body section to the rotors, and redid the HVA, and it works just fine now.

Thanks very much

Back to top
View user's profile Send private message Visit poster's website Skype Account
G-E
Defense Minister


Joined: 09 Feb 2015

PostPosted: Sun Mar 05, 2023 2:31 am    Post subject: Reply with quote  Mark this post and the followings unread

Might as well just use my Nighthawk now #Tongue

_________________
http://www.moddb.com/mods/scorched-earth-ra2-mod-with-smart-ai

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [20 Posts] Mark the topic unread ::  View previous topic :: View next topic
 
Share on TwitterShare on FacebookShare on Google+Share on DiggShare on RedditShare on PInterestShare on Del.icio.usShare on Stumble Upon
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © phpBB Group

[ Time: 0.1756s ][ Queries: 13 (0.0112s) ][ Debug on ]