map auto-reveal?

i noticed that in the vellos string your ship will auto-reveal the map 2 jumps ahead without you having to buy a map, or go to the next system. i am making a plugin, and i want to make a ship/outfit that will do that. (does anyone know how it is done?) i don't remember if it was in the stock scenario or unity, but i do know it worked, so my question is, how do i set my ship to do it?

------------------
A warrior can shape himself to suit anything in the universe.
A master can shape the universe to suit himself.

It simply has the "persistant" flag checked so it stays with you, not disappearing after purchase.

------------------
Get (url="http://"http://www.aznt.com/EVN/EVNEW")EVNEW(/url) - the free, open-source EVN plugin Editor for Windows!

I'm pretty sure the persistent flag doesn't work properly with map outfits, which is why ATMOS used a cron (381) to keep granting the map outfit. If I'm remembering correctly, it wasn't implemented properly (active on b424), and actually stops running near the end of the Vell-os string.

------------------

Quote

Originally posted by slouch:
**I'm pretty sure the persistent flag doesn't work properly with map outfits, which is why ATMOS used a cron (381) to keep granting the map outfit. If I'm remembering correctly, it wasn't implemented properly (active on b424), and actually stops running near the end of the Vell-os string.

**

Yep.
If you do it, be sure to implement it correctly.
-Az

------------------
It is here. EVNEW Public Beta (url="http://"http://www.aznt.com/EVN/EVNEW")www.aznt.com/EVN/EVNEW(/url)
Stuffit is a piece of .sit.

(This message has been edited by Azratax2 (edited 02-07-2004).)

and how would that be done? (correctly i mean)

------------------
A warrior can shape himself to suit anything in the universe.
A master can shape the universe to suit himself.

Here's how i would do it:
1 outfit that does nothing and is called Auto-map-maker
1 outfit that is a map
1 cron with enableon of oxxx where xxx=the first outfit, with duration 1 day and onstart and onend of gxxx where xxx=the second outfit
-Az

------------------
It is here. EVNEW Public Beta (url="http://"http://www.aznt.com/EVN/EVNEW")www.aznt.com/EVN/EVNEW(/url)
Stuffit is a piece of .sit.

Az, you left out a crucial part. You have to set it to "iterative crön exit" in the crön.

------------------
The programmer's code of entomology: there's always another bug.
Windows users: stop asking for plugins. (url="http://"http://www.aznt.com/EVN/EVNEW/")Make one yourself.(/url)
(url="http://"http://www.cwssoftware.com")Sephil Saga Website(/url)
(url="http://"http://www.evula.org/infernostudios/search.html")Add-ons Search Engine(/url)

Quote

Originally posted by Azratax2:
**Here's how i would do it:
1 outfit that does nothing and is called Auto-map-maker
1 outfit that is a map
1 cron with enableon of oxxx where xxx=the first outfit, with duration 1 day and onstart and onend of gxxx where xxx=the second outfit
-Az

**

You don't even need to do the first oütf. All you need to do is have the map oütf also set an NCB that activates the crön that grants you that map oütf every day.

------------------
Starfleet Adventures: A Star Trek TC for EVN (url="http://"http://www.ev-nova.net/forums/viewtopic.php?t=145") Discussion Board (/url)
Starfleet Adventures (url="http://"http://www.ev-nova.net/forums/viewtopic.php?t=71")Progress Log(/url)
denki's Starfleet Adventures (url="http://"http://www.geocities.com/starfleet_adventures/")FAQ page(/url)
It is better to feed the goat than it is today.

i have rin into a snag, it seems that it is selective of which days or systems it will work in. (and no, it doesn't really matter if a sytem is inhabited or not, or what government it is in, or anything) for example: in sol, it works about one third of the time. in nese primus it always works, in nese secondus it never works. sometimes it will work in an uninhabited system, sometimes not.) what is up with that? (there is no pattern, i make a jump in exactly 1 day, sometimes it works every day for a while, other times it can go as lond as 5 days before it works again.)

EDIT: also, for some unknown reason, when it DOES work, sometimes it revals only one jump away, other times 2 and other timed 3. it should always be revealing 3 jumps away, but it doesn't always do that.
------------------
A warrior can shape himself to suit anything in the universe.
A master can shape the universe to suit himself.

(This message has been edited by Cunjo (edited 02-07-2004).)

ooh, another snag, although more of an inconvenience than anything else... it is taking 10-20 seconds to load each system when the map is activated. (it stops the game completely for 10-20 seconds when taking off, or arriving in-system after a jump)
i tried reducing the map to reveal only 1 jump ahed, but it is still just as slow, any idea why? (it never seemed to do thet fo the vellos)

------------------
A warrior can shape himself to suit anything in the universe.
A master can shape the universe to suit himself.

I'm not sure about the inconsistencies, but the gameplay delay could be caused if you have the iterative cron exit flag checked. Since map type outfits are deleted immediately after use, the cron might keep trying to grant the outfit.

Edit: It would depend on what your enable on field is set to.
------------------

(This message has been edited by slouch (edited 02-08-2004).)

thanks, that did it. works fine now.

------------------
A warrior can shape himself to suit anything in the universe.
A master can shape the universe to suit himself.

Could I see your work, if you don't mind?
I always wondered how it was done, and saying cröns are my weakness is an understatement.
If it's part of a larger one, then it's okay if you want to keep it to yourself.
Just wondering. 🙂

------------------
-mith'raw'nurudo
T the Omnipotent went where no mortal had gone before. Now he comes back to make sure none do again.
Get (url="http://"http://ariossoftware.com/")EVONE(/url). Period.
(url="http://"http://www.mmi-hosting.com")MMI, Hosting Department(/url) For reliable and affordable hosting.

keep in mind that the repair system isn't nessisary, i just added it to this instead of making yet another hidden outfit to grant them.

Posted Image
Posted Image
Posted Image

------------------
A warrior can shape himself to suit anything in the universe.
A master can shape the universe to suit himself.

(This message has been edited by Cunjo (edited 02-08-2004).)

Quote

Originally posted by Cunjo:
also, for some unknown reason, when it DOES work, sometimes it revals only one jump away, other times 2 and other timed 3. it should always be revealing 3 jumps away, but it doesn't always do that.

I think the map will not reveal systems beyond two uninhabited systems in a row -- so, say you're in system A, which is linked to system B, which is linked to system C, which is then linked to system D. A and D each have inhabited spobs. B and C do not. You obtain a map of 5 jumps. The map will reveal system B and ignore C and D.

At least, this is the behavior I've seen. I can't confirm that this is how it works, only that this is how it seems to work. If anyone else can clarify this, I'd be really interested in learning how it really works.

------------------
Starfleet Adventures: A Star Trek TC for EVN (url="http://"http://www.ev-nova.net/forums/viewtopic.php?t=145") Discussion Board (/url)
Starfleet Adventures (url="http://"http://www.ev-nova.net/forums/viewtopic.php?t=71")Progress Log(/url)
denki's Starfleet Adventures (url="http://"http://www.geocities.com/starfleet_adventures/")FAQ page(/url)
It is better to feed the goat than it is today.

well, one i fixed the cron, it seemed to work correctly, i guess that the continuous loop created by that flag was seriously messing up nova.

------------------
A warrior can shape himself to suit anything in the universe.
A master can shape the universe to suit himself.

Quote

Originally posted by UncleTwitchy:
**I think the map will not reveal systems beyond two uninhabited systems in a row -- so, say you're in system A, which is linked to system B, which is linked to system C, which is then linked to system D. A and D each have inhabited spobs. B and C do not. You obtain a map of 5 jumps. The map will reveal system B and ignore C and D.

At least, this is the behavior I've seen. I can't confirm that this is how it works, only that this is how it seems to work. If anyone else can clarify this, I'd be really interested in learning how it really works.

**

If that is how it works, you could grant the map first to reveal up to two jumps of those around you, and then grant it again to ensure that all systems withing a two jump radius have been explored, I'd think.

~ SpacePirate

------------------
Fear the SpacePirate,
He made a (url="http://"http://www.evula.org/infernostudios/search.html")plug-in search page(/url)...
And he'll board your ship!
-mrxak

well apparently that is not how it works. once the cron fas fixed to get rid of that feedback loop it worked just the way i wanted it to. thanks anyways. once i finish the credits readme and the rest of the outfit pics the plugin will be ready to go.

------------------
A warrior can shape himself to suit anything in the universe.
A master can shape the universe to suit himself.