Hard Light Productions Forums

Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: Selectah on November 13, 2006, 03:24:01 am

Title: Submodel rotation speed?
Post by: Selectah on November 13, 2006, 03:24:01 am
Yo,

Am I just too daft to see it, or is there no way to set the rotation speed of a sub/model? I just toyed around w/ the huge planet models -- those created by Robert Wild --  and made the entire planet rotate.
It looks a-w-e-s-o-m-e (try it, it's positively drool inducing.. h4w), but unfortunately it rotates far too quickly with the default speed. So, it there something that I've missed?

Cordially,
~Selectah
Title: Re: Submodel rotation speed?
Post by: Colonol Dekker on November 13, 2006, 04:48:58 am
Yes :nod:
Title: Re: Submodel rotation speed?
Post by: Trivial Psychic on November 13, 2006, 05:16:16 am
Rotation is set either in the pof submodel data, or in the table subsystem entry, though I think the later over-rides the former.
Title: Re: Submodel rotation speed?
Post by: Bobboau on November 13, 2006, 02:30:03 pm
submodel properties, look into one of the V models.
Title: Re: Submodel rotation speed?
Post by: bizzybody on November 14, 2006, 12:02:58 am
Flatten it, make it spin really fast, and you have Hal Clement's planet 'Mesklin'. ;)
Title: Re: Submodel rotation speed?
Post by: Selectah on November 14, 2006, 01:06:06 am
Changing $rotation=1 to, say, $rotation=200 doesn't do Jack. Thanks, tho. I'll try posting at alt.fan.winniethepooh to see if they have any suggestions.
Title: Re: Submodel rotation speed?
Post by: Wanderer on November 14, 2006, 01:22:33 am
Just tested with retail Terran AWACS, GTA Charybdis. It had initially $Rotation=26.5, i swapped that to $Rotation=0.25 and there was clear difference (values are in seconds per rotation). Though it took pretty long - 30 secs or so - for the radar dish to accelerate to the set rotation speed (to a radar dish of DOOM). So the rotation setting works but it takes (well took) some time to achieve the set rotation. Dunno where the initial value is set though.

The acceleration thing sounds like a bug though
Title: Re: Submodel rotation speed?
Post by: Trivial Psychic on November 14, 2006, 05:10:42 am
Changing $rotation=1 to, say, $rotation=200 doesn't do Jack. Thanks, tho. I'll try posting at alt.fan.winniethepooh to see if they have any suggestions.
Did you also set the rotation in the table entry?
Title: Re: Submodel rotation speed?
Post by: Selectah on November 14, 2006, 07:05:00 am
Did you also set the rotation in the table entry?
There ain't no such thing in the tables. I sorted it, however. The only needed entry seems to be "$rotate", with an entry (in seconds) for rotation time. 1 means exactly that, 60 RPM, whereas 60 means 1 RPM. The POF seems to go haywire when using values over 60, however. Why's that?

The planet models are still ubercool, tho.

Wondering,
~Selectah
Title: Re: Submodel rotation speed?
Post by: Wanderer on November 14, 2006, 07:48:47 am
Well there are rotation values in the table file as well.. Though AFAIK those are used only with turrets

$Subsystem:             turret01,            2.0,  1.0
$Subsystem:             engine,              5,     0.0


EDIT: I had no significant issues with the GTA Charybdis and rotation values higher than 120