Browse Search Popular Register Upload Rules User list Login:
Search:
HoverShip

Image:
screenshot of the scene

Author: Nxdt

Group: Default

Filesize: 29.53 kB

Date added: 2011-09-22

Rating: 7

Downloads: 4433

Views: 1069

Comments: 8

Ratings: 6

Times favored: 1

Made with: Algodoo v1.9.9b

Tags:

Scene tag

The code took ages for me to figure out. I did a similar concept way way back when lasers first came to algodoo but i never uploaded it for some reason so i redid it with lasers and i'm pretty happy with it. Hopefully the code will save itself as my scenes have a habbit of "Forgetting" the code once uploaded to algobox. Please comment and rate, i'm going to make a sportier faster version at the weekend, mabye with a gun or something.

Use the arrows to move left and right. :tup:
Please log in to rate this scene
edit
Similar scenes
Title: Nxdt Hovership Resp1
Rating: 5
Filesize: 63.28 kB
Downloads: 335
Comments: 0
Ratings: 1
Date added: 2011/09/28 10:49:30
Made with: Algodoo v2.0.0 RC1
Rating: rated 5
download
Title: Nxdt Hovership Resp2
Rating: 5
Filesize: 20.06 kB
Downloads: 403
Comments: 2
Ratings: 1
Date added: 2011/09/28 10:51:22
Made with: Algodoo v2.0.0 RC1
Rating: rated 5
download
Title: question to hovership
Rating: 5.5
Filesize: 32.97 kB
Downloads: 353
Comments: 4
Ratings: 2
Date added: 2011/09/23 19:42:36
Made with: Algodoo v1.9.9b
Rating: rated 5.5
download
Responses to this scene:
Title Author Rating Downloads Comments Date added
Nxdt Hovership Resp2 s_noonan 5 (1 vote) 403 2 2011/09/28 10:51:22
Nxdt Hovership Resp1 s_noonan 5 (1 vote) 335 0 2011/09/28 10:49:30
question to hovership bluebravo 5.5 (2 votes) 353 4 2011/09/23 19:42:36
show grid
+inf/ 10
its awsome... you are sooooooo great in doing stuff like this....:tup: :tup: :tup:
I'm not too good with scripting, could you explain how it works?
i had to change all the collision layers to get it to work for some reason, maybe because i'm using the wrong version of algodoo?
can you make in stronger (so it can carry something) and make a scenery with hills?
@bluebravo, thankyou

@PuGGy, use the lastest version, 1.9.9.9b.

@kilinich, thats is what i'm planning for future versions.
Also, i'm trying to make a "Fly by wire" control system for helis & aircraft.

@Ravenplucker,
There are three varible in this scene, Scene.my.m1 ... m2 and m3.
M1 & M2 control either thruster, lasers raise there values when it is close to ground to raise the ship. M3 controls the tilt stability, if it tilts to one side, it will reverse the direction of the balance circle's motor to correct it.
ive got an question... i dont understnad this one

scene.my.m1 = scene.my.m1 - 1;
scene.my.m2 = scene.my.m2 - 1;
{scene.my.m1 > 35} ? {scene.my.m1 = 35} : {};
{scene.my.m2 > 35} ? {scene.my.m2 = 35} : {};
{scene.my.m1 < 30} ? {scene.my.m1 = 30} : {};
{scene.my.m2 < 30} ? {scene.my.m2 = 30} : {}

i know that the numbers are the truster force.
could you explain the code a bit?
or does the < and > mean, that if the first truster goes over 35 it goes back to 35?

and for what are the "?" and the : {} at the end on every line?

thx ... blue...

btw i build a ship like yours. i changed the code for me.
i could upload it as a reply to your scene
"if the first truster goes over 35 it goes back to 35?"
Exactly.
The first two lines of code slowly reset the thruster power to 30. The others keep the thrusters power to within 35 and 30.

The ? and {} are part of an "If" statement. They follow the form,
{Value1 = Value2} ? {If yes} : {If no}

The equals sign can be repleaced with <, >, ==, <=, >=.
thx... now it makes sence for me...
_o_ _o_ _o_ :tup: :tup: :tup: :yum: :yum: :yum: