Salminar Posted February 12, 2017 Share Posted February 12, 2017 Heyas, I have been looking for the boss lately and was a bit in trouble to make them appear and then having to manualy calculate the distance from the core again and again to be sure i'm in range bored me a bit, so i used Aki's command mods to make my own really simple one that would display it to player. So thanks to him for the original sethome script i took as model Files : data\scripts\player\cmd\disttocore.lua data\scripts\commands\disttocore.lua Link to comment Share on other sites More sharing options...
Aki Posted February 12, 2017 Share Posted February 12, 2017 Again, the same case as with /agoods. With few changes I would gladly accept pull request with this command for the package. You will be listed as an author along with e.g. me and your command will be accessible easier through single package (when the Steam Workshop support will come out). Link to comment Share on other sites More sharing options...
Salminar Posted February 12, 2017 Author Share Posted February 12, 2017 Yes of course, feel free to add it to your package. Since i used your code it's the least i can do lol. Link to comment Share on other sites More sharing options...
Aki Posted February 12, 2017 Share Posted February 12, 2017 Yes of course, feel free to add it to your package. Since i used your code it's the least i can do lol. Point is I wanted you to add it so it will remain your contribution in commits. ;) Or, I think, I could rip it from your repository along with your commits, heh. Link to comment Share on other sites More sharing options...
Salminar Posted February 12, 2017 Author Share Posted February 12, 2017 Yes you could do that. Just take it from my repository, if i make an update at some point i will notice you. Link to comment Share on other sites More sharing options...
Devious Posted February 12, 2017 Share Posted February 12, 2017 Nice, this will help a lot with finding the bosses :) Link to comment Share on other sites More sharing options...
Salminar Posted February 15, 2017 Author Share Posted February 15, 2017 Small update to round the value and prevent the long display of digit. So it's the final version i guess. Link to comment Share on other sites More sharing options...
eastwood6510 Posted February 16, 2017 Share Posted February 16, 2017 This is the perfect mod that I didn't know I needed! It was getting old calculating it by hand each time xD Link to comment Share on other sites More sharing options...
Mcleod Posted February 25, 2017 Share Posted February 25, 2017 Bit of a noobie question here. Can I use this if I'm just playing a normal single player game or do I have to actually set up a server ? Also is there a guide for using mods like these ? Link to comment Share on other sites More sharing options...
Salminar Posted February 26, 2017 Author Share Posted February 26, 2017 If you play on single player, most of the scripts will work just fine. The way this game is designed is a bit different from most. Basically you have one script, and only one part is used on the client and another on the server. Don't know if what i say is clear but, it will be ok in single player and far easier to use in single player, like most of the scripts you will find here. Link to comment Share on other sites More sharing options...
Mcleod Posted February 26, 2017 Share Posted February 26, 2017 Cool thank you, set up these files and mod is working fine :) Now I know I've been looking in right area for science labs - just can't find any lol Link to comment Share on other sites More sharing options...
Enzo Matrix Posted February 26, 2017 Share Posted February 26, 2017 This is perfect.. also science labs where are you! In right area but none showing up :( Link to comment Share on other sites More sharing options...
jupiter878 Posted March 3, 2017 Share Posted March 3, 2017 All of Aki's commands seem to be working, but when I type /disttocore or /help disttocore into the console, nothing is printed out. Both disttocore.lua files are installed in their correct spots. Am I looking in the wrong place? Any help? :( Link to comment Share on other sites More sharing options...
Salminar Posted March 3, 2017 Author Share Posted March 3, 2017 That's strange, are you running it on a dedicated server? Link to comment Share on other sites More sharing options...
jupiter878 Posted March 3, 2017 Share Posted March 3, 2017 I'm not sure, but I'm most certainly running it on my singleplayer world. *Edit: this is the server file. [Game] Seed=Bl5MlqBdMQ Difficulity=-1 InfiniteResources=false CollisionDamage=0 BigWreckageDespawnTime=1800 SmallWreckageDespawnTime=900 LootDiminishingFactor=0.00499999989 ResourceDropChance=0.400000006 TurretDropChanceFromTurret=0.0250000004 TurretDropChanceFromCraft=0.25 TurretDropChanceFromBlock=0.00499999989 SystemDropChanceFromCraft=0.200000003 SystemDropChanceFromBlock=0.00499999989 ColorDropChanceFromCraft=0.0500000007 ColorDropChanceFromBlock=0.00249999994 sameStartSector=true startUpScript=data/scripts/server/server.lua startSectorScript=startsector [system] saveInterval=600 sectorUpdateTimeLimit=300 emptySectorUpdateInterval=0.5 workerThreads=3 generatorThreads=2 weakUpdate=true immediateWriteout=true [Networking] port=27000 broadcastInterval=5 isPublic=false isListed=false isAuthenticated=false useSteam=true [Administration] maxPlayers=10 name=jupiter878's Server description=An Avorion Server password= accessListMode=Blacklist Link to comment Share on other sites More sharing options...
Salminar Posted March 6, 2017 Author Share Posted March 6, 2017 Well i'm sorry but i can't find the issue. The script is pretty simple and inspired from aki's command pack and is even now integrated in. The only thing that could prevent the script from running is when you install it on a distant server, you need then to allow it for all players, but it don't seem to be your issue. So i really don't know what's wrong, it run well on my computer and on the distant linux server i use for tests. Link to comment Share on other sites More sharing options...
w00zla Posted March 6, 2017 Share Posted March 6, 2017 maybe you could try the showdist command, it provides the same functionality ... would be really interesting if that script works or if you have a more general problem... Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now