View topic - Flying subs



All times are UTC + 1 hour


Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: Flying subs
PostPosted: 22 May 2012, 18:46 
Moderator
User avatar

Joined: 26 Oct 2007, 15:21
Is it possible to make an aircraft unit that has a toggleable state which tells it to travel underwater if it over water? Think flying subs in X-COM 2.


Top
 Offline Profile  
 
 Post subject: Re: Flying subs
PostPosted: 22 May 2012, 18:50 
Content Developer
User avatar

Joined: 13 Jan 2005, 00:46
Location: ModalitÃ
yer gonna get a "lua it" response. brace for impact.


Top
 Offline Profile  
 
 Post subject: Re: Flying subs
PostPosted: 22 May 2012, 19:27 
Moderator
User avatar

Joined: 26 Oct 2007, 15:21
I know lua it is the solution, but I would like some pointers for approach.


Top
 Offline Profile  
 
 Post subject: Re: Flying subs
PostPosted: 22 May 2012, 19:37 
Content Developer
User avatar

Joined: 13 Jan 2005, 00:46
Location: ModalitÃ
what do the flying subs do in xcom? part of me wants to imagine wings unfold and bellyflop into water.


Top
 Offline Profile  
 
 Post subject: Re: Flying subs
PostPosted: 22 May 2012, 20:27 
Moderator
User avatar

Joined: 26 Oct 2007, 15:21
Basically, a flying sub is a sub that can go so fast underwater that it can go straight into airborne (makes sense, right?).
But the effect in this case would be to allow bombers to pop up out of the water near a coastline, and scouts to pop up from underwater too.


Top
 Offline Profile  
 
 Post subject: Re: Flying subs
PostPosted: 22 May 2012, 20:39 
Content Developer
User avatar

Joined: 13 Jan 2005, 00:46
Location: ModalitÃ
replaceunit->start wing open animation on create() of unit script->movecontrol to height->unleash hell?


Top
 Offline Profile  
 
 Post subject: Re: Flying subs
PostPosted: 23 May 2012, 14:40 
Moderator

Joined: 12 Oct 2007, 08:24
All I can think of is unit replacement because we don't have much control over movement. That's quite messy though.


Top
 Offline Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 3 guests


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 post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Site layout created by Roflcopter et al.