3dvisuals dude's Flying Saucer w/HUD

About Truespace Archives

These pages are a copy of the official truespace forums prior to their removal somewhere around 2011.

They are retained here for archive purposes only.

3dvisuals dude's Flying Saucer w/HUD // Scriptorium

1  2  3  4  5  6  |  

Post by frootee // Sep 21, 2007, 4:47am

frootee
Total Posts: 2667
pic
Hi Emma.

With truespace, you can view the LE and the items within, in Shared Space. With trueplay, you cannot do this.


Did you uninstall prior to reinstalling?


Froo

Post by Wigand // Sep 21, 2007, 5:04am

Wigand
Total Posts: 462
pic
- the timers don't run when loged in, that is from my point of view a main reason. As soon as I log out the sript starts running.




Maybe it is possible to use an infinite loop in place of timers.

I will test it.

Post by frootee // Sep 21, 2007, 5:06am

frootee
Total Posts: 2667
pic
Will the infinite loop be running on the server, or each person's system? If run on each person's system the speed will vary. Maybe it won't matter; I wonder about the possibility of accessing a particular system timer on each person's PC. I forgot what it is called.

Post by Wigand // Sep 21, 2007, 5:09am

Wigand
Total Posts: 462
pic
The timer is only for polling the stick datas.

Post by trueBlue // Sep 21, 2007, 7:20am

trueBlue
Total Posts: 1761
pic
This is copied from the trueSpace7.5 Manual in with regards to the Timer Event:
• Control own is used only in shared space. This is a string value that represents the computer on which the activity is running. As a default it is running server. In other cases it will list the name of the participant who took control of this timer. If the field is empty, then the activity is executed on your own computer while you are not connected in shared space or the timer is stopped.
• Take control – If you click on this button and you are logged into a shared space, then the activity will be executed on your computer instead of on the server or another computer. This setting is useful for example, if the activity depends on your own settings. eg: The Street Lamp Auto object uses your current selection and will work properly only if you take control.
• Leave control – Click this button to leave control. If you are in shared space the then activity will run on the server
• Control Out – Calls your activity each the timer ticks. Note: The Time connector stay synchronized with the server’s time, but the ratio between the Time and Frame connectors will be different after you disconnect from shared space.

Post by frootee // Sep 21, 2007, 7:39am

frootee
Total Posts: 2667
pic
This is copied from the trueSpace7.5 Manual in with regards to the Timer Event:

• Control own is used only in shared space. This is a string value that represents the computer on which the activity is running. As a default it is running server. In other cases it will list the name of the participant who took control of this timer. If the field is empty, then the activity is executed on your own computer while you are not connected in shared space or the timer is stopped.

• Take control – If you click on this button and you are logged into a shared space, then the activity will be executed on your computer instead of on the server or another computer. This setting is useful for example, if the activity depends on your own settings. eg: The Street Lamp Auto object uses your current selection and will work properly only if you take control.

• Leave control – Click this button to leave control. If you are in shared space the then activity will run on the server

• Control Out – Calls your activity each the timer ticks. Note: The Time connector stay synchronized with the server’s time, but the ratio between the Time and Frame connectors will be different after you disconnect from shared space.


OK question then.

If a user takes control of the timer, so the activity is executed on the user's PC, will others in SS see the activity in action, or will they only see the activity state at the moment the user took control of the timer?


If the timer is required to run on the server, then perhaps as a safety measure, we should ensure that the Leave Control button is 'pressed' via script command.

Post by trueBlue // Sep 21, 2007, 8:12am

trueBlue
Total Posts: 1761
pic
I am just guessing but it is a Shared Space. When people log into a Shared Space they download the Shared Space. So when an Activity is running everybody should be able to see it.

Post by Wigand // Sep 21, 2007, 8:19am

Wigand
Total Posts: 462
pic
I entered meeting room two times as wigand and wigand_clone

and could see the saucer move on both instances but the same pc.

Post by frootee // Sep 21, 2007, 8:32am

frootee
Total Posts: 2667
pic
Hm. I'm just wondering whether, in order for Wigand's joystick code to work, if he has to click the "Control Own" of the Timer event, since the saucer control depends on his joystick input, which is driving the saucer (his selection). This sounds somewhat analogous to the situation described below. Perhaps this would allow other users then to see the activity in action (the saucer moving).


• Take control – If you click on this button and you are logged into a shared space, then the activity will be executed on your computer instead of on the server or another computer. This setting is useful for example, if the activity depends on your own settings. eg: The Street Lamp Auto object uses your current selection and will work properly only if you take control.

Post by Wigand // Sep 21, 2007, 8:56am

Wigand
Total Posts: 462
pic
TrueBlue and me, we drove through space :jumpy:

It was really coooool. :banana:


Thank you all for helping in this project.

Now it's time for you to buy your own joystick. ;)

Post by trueBlue // Sep 21, 2007, 8:58am

trueBlue
Total Posts: 1761
pic
Well I just witnessed Wigand flying UFO with his Joystick in Shared Space. He was also able to fly and View from inside UFO. I also took a ride from inside UFO while Wigand controlled the UFO from his Joystick from across the World in Germany. Way to go Wigand!
This was in Meeting Room: tssportal 1111

Post by frootee // Sep 21, 2007, 9:11am

frootee
Total Posts: 2667
pic
YEEHAAH!


Excellent Work Wigand and Trueblue! THat is totally cool!


Yesterday there were issues as I recall. How did you resolve those issues?


Also could you post the scene file please, so we can study and learn?


Oh one other thing... are you using a joystick with a regular old serial port, or are you using a USB joystick (if there is such a thing)?


Aw man. that totally made my day! Excellent!


Froo

Post by frootee // Sep 21, 2007, 9:14am

frootee
Total Posts: 2667
pic
so, it sounds like one person can drive, while others ride.

Can multiple people enjoy the ride, with one driver?


Also what happens if more than one person tries to fly the same saucer at the same time (if that is even possible that is). Just thinking about conflicting controllers here...


Froo

Post by 3dvisuals dude // Sep 21, 2007, 9:21am

3dvisuals dude
Total Posts: 1703
pic
TrueBlue and me, we drove through space :jumpy:
It was really coooool. :banana:

Thank you all for helping in this project.
Now it's time for you to buy your own joystick. ;)

http://www.addis-welt.de/smilie/smilie/mix/papelitos.gif Way to go Wigand!!!!!!!!!!!!http://www.addis-welt.de/smilie/smilie/mix/papelitos.gif


http://bestsmileys.com/friendly/3.gif


Welcome to The Caligari Hall of Fame!!!!!

Thank You!
:D

Post by 3dvisuals dude // Sep 21, 2007, 9:37am

3dvisuals dude
Total Posts: 1703
pic
Well I just witnessed Wigand flying UFO with his Joystick in Shared Space. He was also able to fly and View from inside UFO. I also took a ride from inside UFO while Wigand controlled the UFO from his Joystick from across the World in Germany. Way to go Wigand!
This was in Meeting Room: tssportal 1111

Hah!!!!

That must have been an absolute blast!!!!!!:banana:

With guys like you all here pulling together on this I just knew you'd all get it done!!!

Thanks trueBlue... this whole Development Team effort with you, Frootee, Wigand, and Emma was an absolutely awesome thing for me to watch!

Now we've also got a whole lot of avatar-vehicle scripting experience built up here between you guys to draw from in the months ahead as you all take this places none of us has even thought of yet!:D

Man this is exciting!!!!!:banana:

Thank you for helping make all this happen, as a Community we're all gonna have an absolute blast in shared space with this very soon now and I can't wait!!!!!

Awesome!:D

- Mark / 3dvisuals dude

Post by Emma // Sep 21, 2007, 11:41am

Emma
Total Posts: 344
pic
Damn..., and I missed this moment, reinstalled DirectX, updated XP and finally lost my interntet connection, I'll never ever feel any sympathy for this operating system...., but I'm back, finally.

:) :) :) I'm deriving comfort from this great news, what I thought would be possible became true now, thanks Wigand, großartig ! :banana: :banana: :banana:

Post by Norm // Sep 21, 2007, 11:47am

Norm
Total Posts: 862
pic
Very cool news. It will be cool to see this in action sometime.
Still this opens a lot of doors when you think about it :)

Post by 3dvisuals dude // Sep 21, 2007, 11:56am

3dvisuals dude
Total Posts: 1703
pic
I'm so excited about this I could scream!!!

Frootee and I are already making plans for races, capability mods, alternate vehicles, dogfights, obstacle courses! Hahahaha!!!! Doors? Yep... this opens quite a few alright, nice new ones!!!!:D

We're all going to have a great time with this in the months ahead now!!!

What a great day!

Thanks to everybody for pulling together on this one, and as I said in another thread to Frootee, I'll be making special custom flying craft for everyone who contributed to this and we'll be racing them together before you know it!:D

- Mark / 3dvisuals dude

Post by 3dvisuals dude // Sep 21, 2007, 9:03pm

3dvisuals dude
Total Posts: 1703
pic
Damn..., and I missed this moment, reinstalled DirectX, updated XP and finally lost my interntet connection, I'll never ever feel any sympathy for this operating system...., but I'm back, finally.
:) :) :) I'm deriving comfort from this great news, what I thought would be possible became true now, thanks Wigand, großartig ! :banana: :banana: :banana:

Thank you Emma,

Your part in all this development has been vital to it's direction and is deeply appreciated by all of us here. I'm sorry you were experiencing all these DX-related system issues in the final hours of this development race here, but just as you draw comfort from this great news, we too drew comfort from your partcipation with us all in this and your contributions to it.

Now that we all have this truly great success here to build upon together in the months ahead I do hope I may find a way to help you with some future project as well.

It was you and Wigand who saw this potential long before I even came to these forums, and that genuine farsightedness is a very rare and valuable quality indeed. It has also earned you both my sincerest respect.

- Mark / 3dvisuals dude

Post by Wigand // Sep 22, 2007, 5:30am

Wigand
Total Posts: 462
pic
Thank you all for your kindly words. :)


On my joystick, I have a small POV or HUD joystick usually it's

for the direction of sight. I wrote a small LE-Object to bind

it to the saucer. Please feel free to use it for your own.

You can tilt and turn the saucer.

Post by Wigand // Sep 22, 2007, 5:38am

Wigand
Total Posts: 462
pic
Hello trueBlue


Would you put some stands to the saucer.

You know if you push a button, they slowly come out of the UFOs bottom. ;)

And it should be possible to open the glas dome after landing.

Post by trueBlue // Sep 22, 2007, 6:32am

trueBlue
Total Posts: 1761
pic
Hello trueBlue

Would you put some stands to the saucer.
You know if you push a button, they slowly come out of the UFOs bottom. ;)
And it should be possible to open the glas dome after landing.
Very cool addition to your Joystick.
I will have to forward this to 3dvisual as he is the maker of the UFO.
I would hate to infringe on his copyright. ;)
If it is your goal to exit camera view and enter FPN mode, this is something that is difficult to achieve presently.

Post by Wigand // Sep 22, 2007, 7:09am

Wigand
Total Posts: 462
pic
Very cool addition to your Joystick.

I will have to forward this to 3dvisual as he is the maker of the UFO.




Thank you, I did not know that he build it because you started this thread

with the saucer.


I have some problems, that I get noise. So the sight or saucer jumps

back and forth. Especially if I move the mouse.

For the joystick I already implemented a hysterese parameter to eliminate

joystick noise. But there is still some.

Post by Emma // Sep 22, 2007, 8:17am

Emma
Total Posts: 344
pic
Did you check if this noise possibly originates from the mouse ? I noticed that the controled object is jumping around if the mouse get's moved while the joystick is working. Remember that someone said something about this and how to solve.

Post by Wigand // Sep 22, 2007, 9:30am

Wigand
Total Posts: 462
pic
The mouse is one reason.

It seems that it depends on the PC or DSL transfer speed.

Maybe interupt?

When I stop the connection the jumping becomes less.


Every joystick axes has noise, but for the joystick buttons it's unusual.

Post by frootee // Sep 22, 2007, 10:02am

frootee
Total Posts: 2667
pic
Hey guys. I bought a little $20 joystick today. Works! Thanks wigand!


Just to confirm, I am also getting noise but this is progress!


Froo

Post by 3dvisuals dude // Sep 22, 2007, 1:45pm

3dvisuals dude
Total Posts: 1703
pic
Thank you all for your kindly words. :)

On my joystick, I have a small POV or HUD joystick usually it's
for the direction of sight. I wrote a small LE-Object to bind
it to the saucer. Please feel free to use it for your own.
You can tilt and turn the saucer.

Thank you Wigand!

This looks very useful!

- Mark / 3dvisuals dude

Post by 3dvisuals dude // Sep 22, 2007, 1:53pm

3dvisuals dude
Total Posts: 1703
pic
Very cool addition to your Joystick.
I will have to forward this to 3dvisual as he is the maker of the UFO.
I would hate to infringe on his copyright. ;)
If it is your goal to exit camera view and enter FPN mode, this is something that is difficult to achieve presently.

Oh hey- thanks trueBlue but this is a Public Domain object - I made it just for fun and experimentation but release it to Public Domain so it belongs now to all of us and we can all modify it as much as we like - no problem! Thanks though!

I took a stab at doing the landing gear myself on this earlier today. I may have to use very skinny gear to do a simple one-axis-pivot on each leg I think, because the other approach of using telescoping legs and a foot pad has proven pretty difficult. I can and did model that already with four telescoping legs today, but the difficulty will arise in having to have so many parts scripted, many of which will of course have to be simultaneously moving at different angles in relation to the saucer itself. We could do that of course, I'm just thinking it would add to much online weight to the model in terms of polys and scripts in the end. So I'm working on a simpler approach now.

The hinged dome would be easy.

I'll see what I come up with and post it here tomorrow sometime.

Thanks,

- Mark / 3dvisuals dude

Post by 3dvisuals dude // Sep 22, 2007, 2:08pm

3dvisuals dude
Total Posts: 1703
pic
Regarding noise...

Given that both trueSpace and truePlay are so mouse-dependent in their operation, perhaps these programs are having slight problems because they are not suppressing incoming mouse signals while they are being operated by joystick.

Perhaps there is a script method of temporarily suppressing all mouse signals to trueSpace or truePlay? If so we could test that as the possible noise source.

Seems to me that with wscript.shell and some VBScript it may be possible to have Windows temporarily disable the mouse signals, maybe Norm would know since he understands VBScript much more than I do.:confused:

- Mark / 3dvisuals dude

Post by trueBlue // Sep 22, 2007, 2:52pm

trueBlue
Total Posts: 1761
pic
Oh hey- thanks trueBlue but this is a Public Domain object - I made it just for fun and experimentation but release it to Public Domain so it belongs now to all of us and we can all modify it as much as we like - no problem! Thanks though!

I took a stab at doing the landing gear myself on this earlier today. I may have to use very skinny gear to do a simple one-axis-pivot on each leg I think, because the other approach of using telescoping legs and a foot pad has proven pretty difficult. I can and did model that already with four telescoping legs today, but the difficulty will arise in having to have so many parts scripted, many of which will of course have to be simultaneously moving at different angles in relation to the saucer itself. We could do that of course, I'm just thinking it would add to much online weight to the model in terms of polys and scripts in the end. So I'm working on a simpler approach now.

The hinged dome would be easy.

I'll see what I come up with and post it here tomorrow sometime.

Thanks,

- Mark / 3dvisuals dude
Actually if you are so inclined I was thinking of a side door that when opened would be like a ramp to floor. I may have a solution to exit Camera view inside UFO which would also include activating FPN mode. So when activated you could use FPN to walk out UFO. Idea would be to have a Use trigger to open hatch. Remember? "The day the earth stood still"
Awportals.com is a privately held community resource website dedicated to Active Worlds.
Copyright (c) Mark Randall 2006 - 2024. All Rights Reserved.
Awportals.com   ·   ProLibraries Live   ·   Twitter   ·   LinkedIn