Flight Settings

Flight Settings

Discuss Lua based Spring scripts (LuaUI widgets, mission scripts, gaia scripts, mod-rules scripts, scripted keybindings, etc...)

Moderator: Moderators

User avatar
Argh
Posts: 10920
Joined: 21 Feb 2005, 03:38

Flight Settings

Post by Argh »

What happens if you change the values for CanFly and the other relevant settings for a Unit? Has anybody tested this? I want to make a Unit or Units for PURE that can fly, but "transform" into a non-flying mode via Activate(). Any help or guidance on this issue would be most appreciated.
User avatar
Zpock
Posts: 1218
Joined: 16 Sep 2004, 23:20

Post by Zpock »

I think it might be easiest to simply use morphing between different units entirely.
Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

Post by Tobi »

Nothing happens cause the MoveType and the CommandAI have already been created.
User avatar
KDR_11k
Game Developer
Posts: 8293
Joined: 25 Jun 2006, 08:44

Post by KDR_11k »

Use Lua to morph.
User avatar
kiki
Posts: 859
Joined: 05 Nov 2007, 03:06

Post by kiki »

So a unit walking around can just start flying around? That would ruin a key part of my mod.
User avatar
bobthedinosaur
Blood & Steel Developer
Posts: 2702
Joined: 25 Aug 2004, 13:31

Post by bobthedinosaur »

jump jets?
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Post by Forboding Angel »

lbctech wrote:So a unit walking around can just start flying around? That would ruin a key part of my mod.
we aren't talking about your mod.
j5mello
Posts: 1189
Joined: 26 Aug 2005, 05:40

Post by j5mello »

jeez forb if your gonna post in the thread at least offer something constructive...

anyway... on the subject of jump jets couldn't you use the lua physics system or whatever the hell quant used to make that anti grav thing for his coms in CA sandbox for the jets? no idea how that would effect system resources...

also has anyone tested how morph handles things like the gundam epic coms which never land... or that tag that changes an aircraft's idle behaviour from landing to hovering???
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Post by Forboding Angel »

j5mello wrote:also has anyone tested how morph handles things like the gundam epic coms which never land... or that tag that changes an aircraft's idle behaviour from landing to hovering???
I did.

It would cause them to fall epicly to the ground and explode.
User avatar
bobthedinosaur
Blood & Steel Developer
Posts: 2702
Joined: 25 Aug 2004, 13:31

Post by bobthedinosaur »

so even with morphing a land unit to a flying unit there is still no way of making a unit capable of 'jumping' short distances while attacking?
User avatar
KDR_11k
Game Developer
Posts: 8293
Joined: 25 Jun 2006, 08:44

Post by KDR_11k »

Yes but you can use MoveCtrl to manually describe the flight path instead of relying on Spring's crappy aircraft handling.
User avatar
bobthedinosaur
Blood & Steel Developer
Posts: 2702
Joined: 25 Aug 2004, 13:31

Post by bobthedinosaur »

how about an impulse weapon that fire the unit itself in the air, would that work?
User avatar
KDR_11k
Game Developer
Posts: 8293
Joined: 25 Jun 2006, 08:44

Post by KDR_11k »

Yeah but it's hard to control and means falling damage. I've made a lua jump gadget, much cleaner. Also allows me to do things like give accuracy penalties to units that fly.
User avatar
bobthedinosaur
Blood & Steel Developer
Posts: 2702
Joined: 25 Aug 2004, 13:31

Post by bobthedinosaur »

vere iz theeez! id love to see screens kdr :-)
User avatar
KDR_11k
Game Developer
Posts: 8293
Joined: 25 Jun 2006, 08:44

Post by KDR_11k »

It looks exactly like a unit standing in mid-air on a screenshot. Really not very interesting.
User avatar
theHive
Posts: 124
Joined: 13 May 2007, 06:54

Post by theHive »

KDR_11k wrote:It looks exactly like a unit standing in mid-air on a screenshot. Really not very interesting.
How 'bout a video then? Would that look more interesting?
User avatar
bobthedinosaur
Blood & Steel Developer
Posts: 2702
Joined: 25 Aug 2004, 13:31

Post by bobthedinosaur »

yes video please, i noticed in a pure video at youtube Argh made a unit that seems to jump around, bu doesnt really have jets. im wondering how does he do that?
User avatar
KDR_11k
Game Developer
Posts: 8293
Joined: 25 Jun 2006, 08:44

Post by KDR_11k »

I can't record videos.
User avatar
kiki
Posts: 859
Joined: 05 Nov 2007, 03:06

Post by kiki »

can a morph be qued?
User avatar
bobthedinosaur
Blood & Steel Developer
Posts: 2702
Joined: 25 Aug 2004, 13:31

Post by bobthedinosaur »

bah?
Post Reply

Return to “Lua Scripts”