Page 1 of 3

Custom Ender Radar entries

PostPosted: Tue May 28, 2013 9:27 am
by Kandarim
Since questions about the radar and detection lines in it keep popping up from time to time, I have decided to make this topic. For now, it will only hold lines which I think are not default ones (my radar.xml file is old though, and has been adjusted a lot by now). If you believe lines should not be put here, or that there are some missing, please do notify me! The colors are my own color scheme, but of course those can be adjusted.

Here is an example script written by Chief_slumlord.

NOT showing certain entries

In order to not show stuff on the radar, just add
Code: Select all
show="false"

to any of the lines below, which leads to something like
Code: Select all
   <marker match="gfx/terobjs/tumbleweed" text="Tumbleweed" show="false" color="#885A06" />


Prospecting
Code: Select all
   <marker match="gfx/terobjs/minepoint-iron" text="IronPoint" color="#FFFFFF" />
   <marker match="gfx/terobjs/minepoint-copper" text="CopperPoint" color="#BBBB22" />
   <marker match="gfx/terobjs/wellpoint" text="WellPoint" color="#00FF00" />

   <marker match="gfx/terobjs/bumling/bumling-granite" text="GraniteBoulder" color="#CA6700" />
   <marker match="gfx/terobjs/bumling/bumling" text="StoneBoulder" color="#777777" />


Tracking and scents
Code: Select all
   <marker match="gfx/terobjs/leanto" text="Leanto" color="#000000" />
   <marker match="gfx/terobjs/claim" text="Claim" color="#555555" />
   <marker match="gfx/fx/clue" text="Scent" color="#00ff00" />


Misc
Code: Select all
   <marker match="gfx/terobjs/blackberrybush" text="Blackberry Bush" color="#7647B3" />
   <marker match="gfx/terobjs/tumbleweed" text="Tumbleweed" color="#885A06" />
   <marker match="gfx/borka/body" shape="square" text="Player" color="#FF4040" />
   <marker match="gfx/terobjs/sled" text="Sled" color="#cc5555" />

Note that the "Player" radar will causes false alarms on NPC's.


Finding out new radar lines
There are several ways to find out new radar lines. I myself use the following tactic:

1) Create a new group in the radar called "hidden", with show="false":
Code: Select all
<group name="hidden" show="false">
</group>


2) Add this line somewhere in a group with show="true":
Code: Select all
<marker pattern="gfx/.+" color="#999999" />


3) This will cause ALL objects to appear on your radar. Now you can weed out the ones that are not of interest. As an example, I was looking for the radar line on scents, and had a scent available inside a townhouse. The walls kept spamming the radar, so I edited the group to be:
Code: Select all
<group name="hidden" show="false">
   <marker match="gfx/terobjs/arch/hwall"/>
</group>

This caused the walls to be hidden, so the scent radar hit was visible. I can assume the process is harder outside, but this should work as well.


Finding out new radar lines, option 2
If you fancy a bit of guessing and have a fast search engine, you can also search your computer for <name>.cached. The name will have to be the filename of the respective resource file (which is the one you put in the radar). It requires some guessing, and isn't always straightforward (for example, scents being called clues). Note that not all entities can be found like this, i'm not quite sure yet about which can and which cannot.

Finding out new radar lines, option 3
Ask here, we might know.

Re: Custom Ender Radar entries

PostPosted: Tue May 28, 2013 1:46 pm
by iotuegli
omg that SUEFUL
:Q___

Re: Custom Ender Radar entries

PostPosted: Sat Apr 25, 2015 8:50 am
by Kandarim
edited to show how entries can be ignored on the radar.

Re: Custom Ender Radar entries

PostPosted: Sat Apr 25, 2015 9:04 am
by Claeyt
Thanks for this. What about the newish patterns and names, is there an easy way to change those also?

Re: Custom Ender Radar entries

PostPosted: Sat Apr 25, 2015 10:12 am
by Kralith
It is possible to make a clickable switch on/off List in UI?

Re: Custom Ender Radar entries

PostPosted: Sat Apr 25, 2015 10:50 am
by Kandarim
check your radar options tab. It's dynamically loading the groups from your radar.xml.

Re: Custom Ender Radar entries

PostPosted: Sat Apr 25, 2015 12:59 pm
by Kralith
Yes, this is helpful, but i want to know if it is possible to make a GUI List for disabling special Foragables within a Group.

Re: Custom Ender Radar entries

PostPosted: Sat Apr 25, 2015 1:25 pm
by Kandarim
possible, yes, but I see no need. Just put forageables you want to have fine control over in their separate group.

Re: Custom Ender Radar entries

PostPosted: Sat Apr 25, 2015 4:20 pm
by Rifmaster
Ok i'm a bit **** at this computery programmery stuff, I'm in my radar.xml file (in a notepad), i've done the show false thing with honeysuckle kudzu and autumn grass, but how do i do it with the other ones like the new cactus, daisies and leaves?
I tried adding the hidden thing but i ***** up somewhere and im not sure what i did wrong :P

Edit: Well i figured out the fern, so i guess i figured out the rest, kind of, just need to learn to spell lugnashdeshwtfisthisevenshishleaf now, so ignore my post :P

Re: Custom Ender Radar entries

PostPosted: Sat Apr 25, 2015 4:41 pm
by lachlaan
You make a group, you set its show as false, you add all the markers for the items you want hidden. As it stands anything not normally added to the radar just shows you its terobjs/itemname entry so you know what to add to the list you want hidden.

<group name="hidden" show="false">
<marker match="gfx/terobjs/arch/hwall"/>
<marker match=gfx/terobjs/herbs/gneiss/>
<marker match=gfx/terobjs/herbs/rottenlog/>
<marker match=gfx/terobjs/herbs/daisy/>
</group>

etc etc, those should be fine but you can check yourself ingame.