[RELEASE] - Synchronised Torus 1.0 (2015-12-14)

Discussion and information relevant to creating special missions, new ships, skins etc.

Moderators: winston, another_commander

User avatar
Cody
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
Posts: 16081
Joined: Sat Jul 04, 2009 9:31 pm
Location: The Lizard's Claw
Contact:

Re: [BETA RELEASE] - Synchronised Torus 0.91 (2015-12-11)

Post by Cody »

Smivs wrote:
<Smivs starts wondering if they should wobble...>
A jelly with no wobble? Perish the thought!
I would advise stilts for the quagmires, and camels for the snowy hills
And any survivors, their debts I will certainly pay. There's always a way!
User avatar
Amah
---- E L I T E ----
---- E L I T E ----
Posts: 486
Joined: Tue Aug 28, 2012 8:05 pm
Location: aboard the Laenina Crowne - Yasen-N class space freighter
Contact:

Re: [BETA RELEASE] - Synchronised Torus 0.91 (2015-12-11)

Post by Amah »

Smivs wrote:
Ha, sorry, I was joking - they don't really wobble. Actually they are static, but seem to rotate very slowly sometimes.
<Smivs starts wondering if they should wobble...>
definetely :-)
Amah
User avatar
Smivs
Retired Assassin
Retired Assassin
Posts: 8408
Joined: Tue Feb 09, 2010 11:31 am
Location: Lost in space
Contact:

Re: [BETA RELEASE] - Synchronised Torus 0.91 (2015-12-11)

Post by Smivs »

Of course they are not really jelly at all....
Commander Smivs, the friendliest Gourd this side of Riedquat.
Fritz
---- E L I T E ----
---- E L I T E ----
Posts: 591
Joined: Sun Jul 12, 2015 2:30 pm
Location: Bavaria, Germany
Contact:

Re: [BETA RELEASE] - Synchronised Torus 0.92 (2015-12-13)

Post by Fritz »

I met my first jelly. The torus synchronisation controller classified it as "unsuitable target"...
"You wouldn't kill me just for a few credits, would you?" – "No, I'll do it just for the fun!"
User avatar
Smivs
Retired Assassin
Retired Assassin
Posts: 8408
Joined: Tue Feb 09, 2010 11:31 am
Location: Lost in space
Contact:

Re: [BETA RELEASE] - Synchronised Torus 0.92 (2015-12-13)

Post by Smivs »

Fritz wrote:
I met my first jelly. The torus synchronisation controller classified it as "unsuitable target"...
:lol:
Commander Smivs, the friendliest Gourd this side of Riedquat.
Rustem
Deadly
Deadly
Posts: 170
Joined: Mon May 25, 2015 5:23 pm
Location: Russia

Re: [BETA RELEASE] - Synchronised Torus 0.92 (2015-12-13)

Post by Rustem »

Thanks! Patrol Duma was supported safe and quikly travel to A-star:
Image
Fritz
---- E L I T E ----
---- E L I T E ----
Posts: 591
Joined: Sun Jul 12, 2015 2:30 pm
Location: Bavaria, Germany
Contact:

Re: [BETA RELEASE] - Synchronised Torus 0.92 (2015-12-13)

Post by Fritz »

What's this? Did you make an interstellar torus flight?
"You wouldn't kill me just for a few credits, would you?" – "No, I'll do it just for the fun!"
Fritz
---- E L I T E ----
---- E L I T E ----
Posts: 591
Joined: Sun Jul 12, 2015 2:30 pm
Location: Bavaria, Germany
Contact:

Re: [RELEASE] - Synchronised Torus 1.0 (2015-12-14)

Post by Fritz »

Version 1.0 is online and available in the OXZ manager.

I've added a check for correct alignment of escorts. The distance to the next waypoint is now displayed continuously in the scanner targeting description, so if you are going to distant stars, you can see how long it will take.
"You wouldn't kill me just for a few credits, would you?" – "No, I'll do it just for the fun!"
User avatar
phkb
Impressively Grand Sub-Admiral
Impressively Grand Sub-Admiral
Posts: 4830
Joined: Tue Jan 21, 2014 10:37 pm
Location: Writing more OXPs, because the world needs more OXPs.

Re: [RELEASE] - Synchronised Torus 1.0 (2015-12-14)

Post by phkb »

I've downloaded this an am planning to test it tonight, but a quick question: Does the sync process take into consideration the NPC's view of the player? What I mean is, if the NPC considers the player an enemy, will that mean they can't sync the torus drive? Following on from that, if an NPC is fleeing from the player, can the player do a sync torus process to keep the target in view?
Fritz
---- E L I T E ----
---- E L I T E ----
Posts: 591
Joined: Sun Jul 12, 2015 2:30 pm
Location: Bavaria, Germany
Contact:

Re: [RELEASE] - Synchronised Torus 1.0 (2015-12-14)

Post by Fritz »

There is no checking for this in the code, but testing has shown that is isn't necessary. An enemy will either flee - having a destination too close - or attack - in this case alignment is impossible and the destination is too close too. I wonder if NPCs have something like a red condition; this would be easy to check and give an additional security.
"You wouldn't kill me just for a few credits, would you?" – "No, I'll do it just for the fun!"
Fritz
---- E L I T E ----
---- E L I T E ----
Posts: 591
Joined: Sun Jul 12, 2015 2:30 pm
Location: Bavaria, Germany
Contact:

Re: [RELEASE] - Synchronised Torus 1.0 (2015-12-14)

Post by Fritz »

I should do something here. Strangely, if you follow a fleeing ship for longer, the interval between two waypoints becomes larger and larger, so that short synchronisation phases are actually possible at some point. But it's no real advantage for the player, because he has to stay close to the fleeing ship anyhow (closer than 2500 m).

The wiki says that NPCs have an alertCondition too, either red or yellow. If fleeing ships have red condition, it will be easy. I should probably check player condition too because nobody should use torus drives to flee from a dangerous situation.
"You wouldn't kill me just for a few credits, would you?" – "No, I'll do it just for the fun!"
User avatar
Amah
---- E L I T E ----
---- E L I T E ----
Posts: 486
Joined: Tue Aug 28, 2012 8:05 pm
Location: aboard the Laenina Crowne - Yasen-N class space freighter
Contact:

Re: [RELEASE] - Synchronised Torus 1.0 (2015-12-14)

Post by Amah »

heh, ok... I was tyoing around with the snyc torus and just successfully qualified for the darwin awards by syncing with a ship launching from a rock hermit and hitting one of the asteroids on full torus :-D
Amah
Fritz
---- E L I T E ----
---- E L I T E ----
Posts: 591
Joined: Sun Jul 12, 2015 2:30 pm
Location: Bavaria, Germany
Contact:

Re: [RELEASE] - Synchronised Torus 1.0 (2015-12-14)

Post by Fritz »

As long as you don't crash innocent NPCs... :lol:
"You wouldn't kill me just for a few credits, would you?" – "No, I'll do it just for the fun!"
Fritz
---- E L I T E ----
---- E L I T E ----
Posts: 591
Joined: Sun Jul 12, 2015 2:30 pm
Location: Bavaria, Germany
Contact:

Re: [RELEASE] - Synchronised Torus 1.0 (2015-12-14)

Post by Fritz »

I've found a little bug that occurs when you buy a new ship. The synchronisation controller is a piece of equipment and it is awarded on startup. But if you change ship, this fails until you save and reload the game - if you launch immediately after buying the new ship, the equipment is missing (obviously because there is no startUp event). Using "isPortableBetweenShips" in equipment.plist doesn't solve the problem.

Is there a proven and recommended way to handle this kind of problem? Awarding it on launching too could be a solution.
"You wouldn't kill me just for a few credits, would you?" – "No, I'll do it just for the fun!"
User avatar
spara
---- E L I T E ----
---- E L I T E ----
Posts: 2691
Joined: Wed Aug 15, 2012 4:19 am
Location: Finland

Re: [RELEASE] - Synchronised Torus 1.0 (2015-12-14)

Post by spara »

Don't know what's recommended or not, but playerBoughtNewShip should work. Unless player ship is replaced by using js.
Post Reply