Engine trails OXP [proof of concept] now for NPCs too
Moderators: winston, another_commander
Engine trails OXP [proof of concept] now for NPCs too
Link to the working version:
https://www.dropbox.com/s/mgsvj90b5fyb8 ... ls_0.4.zip
***
Reserved for posterity
Here's what I managed to get tweaking cim's code:
I flew in circles around the Coriolis seen in the background.
The amount of time passing between each of those trails seems random, so for now:
step 1) I need to figure out how to make it consistent
step 2) is applying it to every powered ship within the distance of 11000 (let's say, I seem to recall the scanner distance is 22500 and I want a smaller one) -> actually, I tried to do it and kept getting errors that ship is undefined or something
https://www.dropbox.com/s/mgsvj90b5fyb8 ... ls_0.4.zip
***
Reserved for posterity
Here's what I managed to get tweaking cim's code:
I flew in circles around the Coriolis seen in the background.
The amount of time passing between each of those trails seems random, so for now:
step 1) I need to figure out how to make it consistent
step 2) is applying it to every powered ship within the distance of 11000 (let's say, I seem to recall the scanner distance is 22500 and I want a smaller one) -> actually, I tried to do it and kept getting errors that ship is undefined or something
Last edited by Zireael on Sun Dec 29, 2013 10:53 am, edited 2 times in total.
Re: Engine trails [proof-of-concept]
Ok, applied a timer which should spawn a pair of trails behind the player every 5 seconds. This time, the trail around the Lave Coriolis looks much better, as seen from Black Widow's cockpit:
Here's a linky to the first beta version.
https://www.dropbox.com/s/aqfxeqyachrk8 ... ils0.1.zip
To do:
1) cleanup timer removing the oldest pair
2) apply it successfully to all powered ships in range
Here's a linky to the first beta version.
https://www.dropbox.com/s/aqfxeqyachrk8 ... ils0.1.zip
To do:
1) cleanup timer removing the oldest pair
2) apply it successfully to all powered ships in range
- Commander McLane
- ---- E L I T E ----
- Posts: 9520
- Joined: Thu Dec 14, 2006 9:08 am
- Location: a Hacker Outpost in a moderately remote area
- Contact:
Re: Engine trails [proof-of-concept]
Which trail? I only see some randomly distributed blue dots.Zireael wrote:This time, the trail around the Lave Coriolis looks much better
Re: Engine trails [proof-of-concept]
They are supposed to be the trail. Some of them ended up behind the stationCommander McLane wrote:Which trail? I only see some randomly distributed blue dots.Zireael wrote:This time, the trail around the Lave Coriolis looks much better
As I said, a beta.
- Diziet Sma
- ---- E L I T E ----
- Posts: 6312
- Joined: Mon Apr 06, 2009 12:20 pm
- Location: Aboard the Pitviper S.E. "Blackwidow"
Re: Engine trails [proof-of-concept]
You really need to turn off the HUD for screenshots..
(Pause.. press 'o'.. unpause.. take screenshot.. pause.. press 'o'.. unpause..)
(Pause.. press 'o'.. unpause.. take screenshot.. pause.. press 'o'.. unpause..)
Most games have some sort of paddling-pool-and-water-wings beginning to ease you in: Oolite takes the rather more Darwinian approach of heaving you straight into the ocean, often with a brick or two in your pockets for luck. ~ Disembodied
Re: Engine trails [proof-of-concept]
Another version is out!
This time, the trails *do* spawn every 5 secs and there is an added timer to remove some trails every 60 secs (but I don't think it's working).
https://www.dropbox.com/s/ufjs7cxca08r4 ... ls_0.2.zip
However, this is still player-only. I wish I could get it to work with other ships. Help?
Anyway, amazing piccy taken at Isinor from Black Widow's aft camera:
(look closely at the station-buoy route )
This time, the trails *do* spawn every 5 secs and there is an added timer to remove some trails every 60 secs (but I don't think it's working).
https://www.dropbox.com/s/ufjs7cxca08r4 ... ls_0.2.zip
However, this is still player-only. I wish I could get it to work with other ships. Help?
Anyway, amazing piccy taken at Isinor from Black Widow's aft camera:
(look closely at the station-buoy route )
- Diziet Sma
- ---- E L I T E ----
- Posts: 6312
- Joined: Mon Apr 06, 2009 12:20 pm
- Location: Aboard the Pitviper S.E. "Blackwidow"
Re: Engine trails [proof-of-concept]
It's coming along, by the looks.
I think the 5-second interval needs decreasing, though..
I think the 5-second interval needs decreasing, though..
Most games have some sort of paddling-pool-and-water-wings beginning to ease you in: Oolite takes the rather more Darwinian approach of heaving you straight into the ocean, often with a brick or two in your pockets for luck. ~ Disembodied
Re: Engine trails OXP [proof of concept] now for NPCs too
It's now out of WIP (huge thanks to Norby for pointing me in the correct direction in the "I s&^&ck at coding" thread).
Link: https://www.dropbox.com/s/6bokodxkvfb4y ... ls_0.3.zip
Proof that it works:
Link: https://www.dropbox.com/s/6bokodxkvfb4y ... ls_0.3.zip
Proof that it works:
-
- ---- E L I T E ----
- Posts: 471
- Joined: Sun Jan 23, 2011 9:27 pm
- Location: Belgium, Monarchy, Feudal, Overtaxed system
Re: Engine trails OXP [proof of concept] now for NPCs too
Hey Zirael, looking good so far, are you working towards something like this ?
http://media.moddb.com/images/mods/1/6/5393/27843.jpg
would be awesome, but dunno if that is possible in oolite though.
Good luck !
http://media.moddb.com/images/mods/1/6/5393/27843.jpg
would be awesome, but dunno if that is possible in oolite though.
Good luck !
Alpha Backer of Elite Dangerous
With 250 GBP
With 250 GBP
Re: Engine trails OXP [proof of concept] now for NPCs too
Yup, I'm aiming towards something similar, but less solid - just a pair of markers every few seconds.
Currently working on not losing NPC trails after a hyperspace jump and on different colors (so that you don't end up having three ships in range with crisscrossing blue trails - after all, this is meant as a tracking help and not only random visuals)
Currently working on not losing NPC trails after a hyperspace jump and on different colors (so that you don't end up having three ships in range with crisscrossing blue trails - after all, this is meant as a tracking help and not only random visuals)
Re: Engine trails OXP [proof of concept] now for NPCs too
Another version.
The trails range has been reduced to 11 km. Several colors are now included and the player got back his standard exhaust plumes.
I'm not sure the color picking code works 100%.
https://www.dropbox.com/s/mgsvj90b5fyb8 ... ls_0.4.zip
EDIT: Color changing code doesn't work, but the trails are brilliant. This is a lull in a firefight with three pirates involved.
The trails range has been reduced to 11 km. Several colors are now included and the player got back his standard exhaust plumes.
I'm not sure the color picking code works 100%.
https://www.dropbox.com/s/mgsvj90b5fyb8 ... ls_0.4.zip
EDIT: Color changing code doesn't work, but the trails are brilliant. This is a lull in a firefight with three pirates involved.
Re: Engine trails OXP [proof of concept] now for NPCs too
Anyone uses it?
- Redspear
- ---- E L I T E ----
- Posts: 2687
- Joined: Thu Jun 20, 2013 10:22 pm
- Location: On the moon Thought, orbiting the planet Ignorance.
Re: Engine trails OXP [proof of concept] now for NPCs too
Not yet but that last screenshot makes me think I should give it a try
Thanks for making it
Thanks for making it
- Redspear
- ---- E L I T E ----
- Posts: 2687
- Joined: Thu Jun 20, 2013 10:22 pm
- Location: On the moon Thought, orbiting the planet Ignorance.
Re: Engine trails OXP [proof of concept] now for NPCs too
Not yet but that last screenshot makes me think I should
Have you thought of making it an 'injectors only' effect?
It might be more consistently entertaining if if were a rarer occurrance...
I don't know - please bear in mind that I haven't tried it yet
In any case, thanks for making it
Have you thought of making it an 'injectors only' effect?
It might be more consistently entertaining if if were a rarer occurrance...
I don't know - please bear in mind that I haven't tried it yet
In any case, thanks for making it
Re: Engine trails OXP [proof of concept] now for NPCs too
I tried to make it change colors, so that pirate 1 might have blue trails, pirate 2 yellow, pirate 3 violet... but it didn't work.
If it worked, making it limited to injectors only or changing colors for injecting would be easy.
If it worked, making it limited to injectors only or changing colors for injecting would be easy.