This script isn’t working any more due to changes to drawing engine
Read more here.
I am leaving this for historical reasons.
So, guys, there is a function which will remove: warpgates, resource halo, infrastructure, ships (stationed or midflight), all paths and will make stars appear like not within scanning range, so noone can tell what are your stars.
#UPDATE3
AWESOMIZE!LITE repack ← read more
[size=23]Features[/size]
[size=17]I am leaving other updates for historical reasons.[/size]
[size=19]UPDATE2[/size]
[size=12]Now you can run the code by pressing a single button, saving you all the steps.[/size]
[size=12]To see how, read how to create a bookmarklet here. The procedure is similar.[/size]
[size=12]Additionally, you can put both functions together, just add ;
between them and remove the second javascript:
[/size].
#UPDATE
Try this. It is seamless!
Brand new. Such awesum. Now I must say, it is 99.9% cool. Wow.
##What does it do?
This script makes the map appear like if you were just an observer.
It removes warpgates, resource halo, ships and their paths and highlight of scanned stars.
##How to make it work?
Copy and paste the script below into adress bar, remove the leading +
and confirm.
Ctrl+C,Ctrl+V,Home,Delete,Enter
*If it doesn’t work (due to security reasons), put the code into console F12 without the +javascript:
part. (Tools->web development tools->console)
[size=21]To de/activate press y.[/size]
[size=18]To make screenshot press u[/size] and save as .jpg
.
This code stays active until you reload or close the page.
+javascript:var d={uu:"universe",gg:"galaxy",ss:"stars",ff:"fleets",t:"totalDefenses",h:"halo",s:"sprite",G:"Gate",O:"Owner",v:"visible",o:"orbiting",p:"path",n:undefined};var g=NeptunesPride[d.uu][d.gg],e=g[d.ss],t=g[d.ff],be={ui:false},bt={};Mousetrap.bind(["y","Y"],function(){if(!be.ui){for(k in e){be[k]={};be[k].t=e[k][d.t];be[k].h=e[k][d.h];be[k].e=e[k].e;be[k].i=e[k].i;be[k].s=e[k].s;be[k].x=e[k][d.s][d.s+"X"];be[k].g=e[k][d.s+d.G]!=d.n?e[k][d.s+d.G][d.v]:d.n;e[k][d.t]=0;e[k][d.h]=d.n;e[k].e=0;e[k].i=0;e[k].s=0;e[k][d.s][d.s+"X"]=64;if(e[k][d.s+d.G]!=d.n)e[k][d.s+d.G][d.v]=false}for(k in t){bt[k]={};bt[k].s=t[k][d.s]!=d.n?t[k][d.s][d.v]:d.n;bt[k].w=t[k][d.s+d.O]!=d.n?t[k][d.s+d.O][d.v]:d.n;bt[k].o=t[k][d.o];bt[k].p=t[k][d.p];if(t[k][d.s]!=d.n)t[k][d.s][d.v]=false;if(t[k][d.s+d.O]!=d.n)t[k][d.s+d.O][d.v]=false;t[k][d.o]=null;t[k][d.p]=[]}be.ui=true}else{for(k in e){e[k][d.t]=be[k].t;e[k][d.h]=be[k].h;e[k].e=be[k].e;e[k].i=be[k].i;e[k].s=be[k].s;e[k][d.s][d.s+"X"]=be[k].x;if(e[k][d.s+d.G]!=d.n)e[k][d.s+d.G][d.v]=be[k].g}for(k in t){if(t[k][d.s]!=d.n)t[k][d.s][d.v]=bt[k].s;if(t[k][d.s+d.O]!=d.n)t[k][d.s+d.O][d.v]=bt[k].w;t[k][d.o]=bt[k].o;t[k][d.p]=bt[k].p}be.ui=false}Crux.crux.trigger('map_refresh')})
#How about that?
[size=21]A crosshair[/size][size=11] to help you align stars, [/size][size=21]Yaaay![/size]
The result is spectacular. Usable at any zoom level, target whatever stars you want, as far as you target always the same.
To enable the functionality, use the same procedure as above.
###Press j to de/activate.
+javascript:var chtoggle=false;Mousetrap.bind(["j","J"],function(){if(!chtoggle){$("body").append('<div id="scrcrosshair"><div style="position:fixed; z-index:9999; border-left:1px solid red; width:1px; height:100%; left:50%;"></div><div style="position:fixed; z-index:9999; border-top:1px solid red; height:1px; width:100%; top:50%;"></div></div>');chtoggle=true}else{$("#scrcrosshair").remove();chtoggle=false}})
Copyright (c) 2014 Vítězslav Ferko, qwerty@cqproject.net
Please note that these scripts are derived from the original game and as such can be used by the original author and included in the game under its own licence. I thereby release all scripts included under the MIT licence.