Author Topic: Models with mobile parts  (Read 3008 times)

0 Members and 1 Guest are viewing this topic.

Models with mobile parts
Hi everyone! I'm planning to build a new frigate/corvette size model. It will have some mobile parts: mainly some panels that need to perform 1-2 steps movements (it will feature also some turrets anyway). But I'm concerned about one thing: I know very few models which have mobile parts e.g. UEF Kentauroi and the Stealth Bomber by BlasterNT. So, I'm wondering why so few ships feature mobile parts. Is it so difficult to implement them in FSO?

 

Offline General Battuta

  • Poe's Law In Action
  • 214
  • i wonder when my postcount will exceed my iq
Re: Models with mobile parts
Rotation is easy, translation is hard.

 

Offline Black Wolf

  • Twisted Infinities
  • 212
  • Hey! You! Get off-a my cloud!
    • Visit the TI homepage!
Re: Models with mobile parts
Controlled rotation - i.e. anything other than the constant rotation you get on the Faustus, is also a relatively new capability. It's taken time to become commonly used, although I'd say that's well and truly changed now -a lot of newer models have some form of animated motion.

But yes, it can also be tricky, and as Battuta says, anything other than relatively simple rotation is particularly tough. What exactly do you want to do?
TWISTED INFINITIES · SECTORGAME· FRONTLINES
Rarely Updated P3D.
Burn the heretic who killed F2S! Burn him, burn him!!- GalEmp

 
Re: Models with mobile parts
is there a reason translation isn't just implemented as a primitive animation in the engine...
The good Christian should beware of mathematicians, and all those who make empty prophecies. The danger already exists that the mathematicians have made a covenant with the devil to darken the spirit and to confine man in the bonds of Hell.

 

Offline Black Wolf

  • Twisted Infinities
  • 212
  • Hey! You! Get off-a my cloud!
    • Visit the TI homepage!
Re: Models with mobile parts
It's hard as a motherfracker, by all accounts, basically. would require a significant rebuild of large parts of the code.
TWISTED INFINITIES · SECTORGAME· FRONTLINES
Rarely Updated P3D.
Burn the heretic who killed F2S! Burn him, burn him!!- GalEmp

 
Re: Models with mobile parts
Also look here: http://www.hard-light.net/forums/index.php?topic=83947.0
This script can be expanded to handle different situations ( i just never had the time to do it myself)
That's cool and ....disturbing at the same time o_o  - Vasudan Admiral

"Don't play games with me. You just killed someone I like, that is not a safe place to stand. I'm the Doctor. And you're in the biggest library in the universe. Look me up."

"Quick everyone out of the universe now!"

 
Re: Models with mobile parts
But yes, it can also be tricky, and as Battuta says, anything other than relatively simple rotation is particularly tough. What exactly do you want to do?

Well, the ship is a stealth assault frigate (for e.g. SOC) and is equipped with a massive fore beam. The whole thing is packed into the hull for tougher protection and for keeping a stealthy and clean shape. Other secondary offensive weapons are stored under the deck.
I need the bow section to open in order to fire with the primary beam, and the deck section split and lift to fire with secondary weapons.

I'm sorry I can't post a picture right now, because I am still in the sketching phase, so everything is still literally on the paper. Should translation turn out to be too hard to implement, I may consider to revise the whole design, but I may result "less stealthy"...   

 

Offline Mad Bomber

  • Booooom
  • 210
Re: Models with mobile parts
One of the LSF ships from Wings of Dawn has a forward beam hidden behind doors, the Challenger 2, I think. And there's also the main gun for another of the Federal/UEF fighters.
"What the hell!? I've got a Snuffleupagus on my scanners! The Snuffleupagus is active!"

 

Offline zookeeper

  • *knock knock* Who's there? Poe. Poe who?
  • 210
Re: Models with mobile parts
Well, you can fake translation by either putting the submodel's pivot point so far away that a tiny bit of rotation is indistinquishable from translation, or by parenting it to a couple of other invisible rotating submodels which are placed so that they cancel out each others' motion on all but one axis. Hacky and a bit tricky, but can be done.

 
Re: Models with mobile parts
[...] by parenting it to a couple of other invisible rotating submodels which are placed so that they cancel out each others' motion on all but one axis. Hacky and a bit tricky, but can be done.

Yes, actually I was thinking about this solution too.

I have decided to post my sketches. Keep in mind that these are the very first ones I put down, so I'm aware they might be a little confusing! :) Anyway I'd like to know your first impressions about the concept...

EDIT - description: section 3 and 4 should slide along a vector that is parallel to the panel's rear edge, in order to expose the main beam completely. Section 1 and 2 should move obliquely up and backward, to expose the dorsal AF cannons bay and the side torpedos launchers.

This ship essentially plays the role of the sniper. Its mission profile consists in neutralizing escort units and cause major damage to capital ships's subsystems from long distance, using its main beam cannon. Since it should be capable of vaporizing a deimos-sized target, this weapon will draw about 80% of the entire reactor's power. So no other energy consuming weapon is allowed during this phase. This is the reason for the side torpedo and missile launchers, which operate in the same way as on UEF Katana-class frigates. Also the dorsal anti-fighter cannon will fire physical ammunition, creating a firing solution above the ship in order to cover the main beam cannon's body that is now partally exposed and vulnerable (green).

As far as the speed is concerned, during the laser strike, the ship's max velocity will be limited to 10 m/s, barely enough for changing the firing vector.
During shealth cruise mode instead, with all armored panels retracted, the ship will be able to fly at 60-70 m/s by taking advantage of the full power of the reactor.

The armor (red) will provide enough protection to survive a close fight against capital ships' standard beams or fighters'assaults; moreover it will assure a stealth profile, so it won't be targetable by standard radar systems. Anyway, as should be already clear, this ship is not designed for direct confrontation with other ships, but for weakening the enemy battlegroups by depriving the dreadnoughts of their escorts and other minor units.


[attachment deleted by ninja]
« Last Edit: May 14, 2013, 06:36:19 pm by whitearrow »

 
Re: Models with mobile parts
or by parenting it to a couple of other invisible rotating submodels which are placed so that they cancel out each others' motion on all but one axis.

p. sure you can't create a precise translation using a finite number of epicycles, but it is too late and i am too drunk to bother looking up a proof of that
The good Christian should beware of mathematicians, and all those who make empty prophecies. The danger already exists that the mathematicians have made a covenant with the devil to darken the spirit and to confine man in the bonds of Hell.

 

Offline pecenipicek

  • Roast Chicken
  • 211
  • Powered by copious amounts of coffee and nicotine
    • Skype
    • Steam
    • Twitter
    • PeceniPicek's own deviantart page
Re: Models with mobile parts
or by parenting it to a couple of other invisible rotating submodels which are placed so that they cancel out each others' motion on all but one axis.

p. sure you can't create a precise translation using a finite number of epicycles, but it is too late and i am too drunk to bother looking up a proof of that
its a distinct case of "good enough".
Skype: vrganjko
Ho, ho, ho, to the bottle I go
to heal my heart and drown my woe!
Rain may fall and wind may blow,
and many miles be still to go,
but under a tall tree I will lie!

The Apocalypse Project needs YOU! - recruiting info thread.

 
Re: Models with mobile parts
i'm an idiot, you obviously can do it exactly
The good Christian should beware of mathematicians, and all those who make empty prophecies. The danger already exists that the mathematicians have made a covenant with the devil to darken the spirit and to confine man in the bonds of Hell.

 

Offline Nuke

  • Ka-Boom!
  • 212
  • Mutants Worship Me
Re: Models with mobile parts
you can do translations but it would suck. but only one level deep. you cant have a translating thing on a translating thing. hierarchy can only be 5 levels deep, and it takes 3 levels to pull it off, not counting the hull.  you could probibly do a rotating thing on a translating thing or vise versa though.

the tricky part is translating and making the collision detection work.
I can no longer sit back and allow communist infiltration, communist indoctrination, communist subversion, and the international communist conspiracy to sap and impurify all of our precious bodily fluids.

Nuke's Scripting SVN

 
Re: Models with mobile parts
do you mean that you cannot couple 2 movements of the same type? I was actually thinking of rotation-rotation...

  

Offline pecenipicek

  • Roast Chicken
  • 211
  • Powered by copious amounts of coffee and nicotine
    • Skype
    • Steam
    • Twitter
    • PeceniPicek's own deviantart page
Re: Models with mobile parts
do you mean that you cannot couple 2 movements of the same type? I was actually thinking of rotation-rotation...
that should work visually, but its anyone's guess how well will it work when physics come knocking.
Skype: vrganjko
Ho, ho, ho, to the bottle I go
to heal my heart and drown my woe!
Rain may fall and wind may blow,
and many miles be still to go,
but under a tall tree I will lie!

The Apocalypse Project needs YOU! - recruiting info thread.