Custom Ender Radar entries

Forum for game modifications and custom clients.

Custom Ender Radar entries

Postby Kandarim » Tue May 28, 2013 9:27 am

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.
Last edited by Kandarim on Sat Jun 27, 2015 10:22 am, edited 4 times in total.
I have neither the crayons nor the time to explain it to you.
JC wrote:I'm not fully committed to being wrong on that yet.
User avatar
Kandarim
Customer
 
Posts: 5262
Joined: Mon Jan 21, 2013 4:18 pm

Re: Custom Ender Radar entries

Postby iotuegli » Tue May 28, 2013 1:46 pm

omg that SUEFUL
:Q___
i'm the one who run :|
David Guetta - Titanium
iotuegli
 
Posts: 359
Joined: Sun Dec 30, 2012 8:46 pm

Re: Custom Ender Radar entries

Postby Kandarim » Sat Apr 25, 2015 8:50 am

edited to show how entries can be ignored on the radar.
I have neither the crayons nor the time to explain it to you.
JC wrote:I'm not fully committed to being wrong on that yet.
User avatar
Kandarim
Customer
 
Posts: 5262
Joined: Mon Jan 21, 2013 4:18 pm

Re: Custom Ender Radar entries

Postby Claeyt » Sat Apr 25, 2015 9:04 am

Thanks for this. What about the newish patterns and names, is there an easy way to change those also?
jorb wrote:(jwhitehorn) you are an ungrateful, spoiled child


As the river rolled over the cliffs, my own laughing joy was drowned out by the roaring deluge of the water. The great cataract of Darwoth's Tears fell over and over endlessly.
Claeyt
 
Posts: 5162
Joined: Mon Dec 24, 2012 4:02 pm

Re: Custom Ender Radar entries

Postby Kralith » Sat Apr 25, 2015 10:12 am

It is possible to make a clickable switch on/off List in UI?
Salem Wiki: Main Page (PM me if you need help with editing)
Report corrections and new things here.
-----------------------------------------------------------------------
User avatar
Kralith
Customer
 
Posts: 1017
Joined: Sun Dec 16, 2012 2:14 pm
Location: Germany

Re: Custom Ender Radar entries

Postby Kandarim » Sat Apr 25, 2015 10:50 am

check your radar options tab. It's dynamically loading the groups from your radar.xml.
I have neither the crayons nor the time to explain it to you.
JC wrote:I'm not fully committed to being wrong on that yet.
User avatar
Kandarim
Customer
 
Posts: 5262
Joined: Mon Jan 21, 2013 4:18 pm

Re: Custom Ender Radar entries

Postby Kralith » Sat Apr 25, 2015 12:59 pm

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.
Salem Wiki: Main Page (PM me if you need help with editing)
Report corrections and new things here.
-----------------------------------------------------------------------
User avatar
Kralith
Customer
 
Posts: 1017
Joined: Sun Dec 16, 2012 2:14 pm
Location: Germany

Re: Custom Ender Radar entries

Postby Kandarim » Sat Apr 25, 2015 1:25 pm

possible, yes, but I see no need. Just put forageables you want to have fine control over in their separate group.
I have neither the crayons nor the time to explain it to you.
JC wrote:I'm not fully committed to being wrong on that yet.
User avatar
Kandarim
Customer
 
Posts: 5262
Joined: Mon Jan 21, 2013 4:18 pm

Re: Custom Ender Radar entries

Postby Rifmaster » Sat Apr 25, 2015 4:20 pm

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
User avatar
Rifmaster
 
Posts: 1508
Joined: Fri Jun 27, 2014 9:13 am
Location: Chernobyl

Re: Custom Ender Radar entries

Postby lachlaan » Sat Apr 25, 2015 4:41 pm

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.
Exactly 6.022 x 10^23 worth of Lach molecules.
lachlaan
Customer
 
Posts: 1978
Joined: Tue Mar 12, 2013 3:11 pm

Next

Return to Artifice & Arcana

Who is online

Users browsing this forum: No registered users and 3 guests