Clan Display and Temperature addon for Planets.nu Starmap

Add Clan, Temperature, and Ownership display added to Map Tools within Planets.nu map

< 脚本Clan Display and Temperature addon for Planets.nu Starmap的反馈

提问/评论

§
发表于:2017-03-30

multiple ranges?

first - thanks for posting the script and putting the work in.
I want to expand what you have done but new to scripting and was looking for a little guidance.

your temp option colors red and blue for hot/cold and green if not at the extreme ranges.
I would like to make 60-85 = orange and 15-40 teal (basically representing planets that need a temp shift to max population growth).

I will be trying different changes to learn from break/fix but any help would be great.-- not looking for the full solution-just point me inthe right direction.

thanks
dan

dtolman作者
§
发表于:2017-04-04

Hey Danl - my code is complete crap, so probably not who you want to copy from in terms of learning scripting :) ... but if you do want to mess with it check out the function vgapMap.prototype.drawTempValue2.

Towards the top you'll see if/then blocks where I check the temperature ranges and assign a color

Daniel

发表回复

登录以发表回复。