Custom Ender Radar entries

Forum for game modifications and custom clients.

Re: Custom Ender Radar entries

Postby RickyP602 » Sat Apr 25, 2015 7:48 pm

lachlaan wrote: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.


I'm not familiar with this, any reason you can think of that when I implement this as you have it, it also removes all bushes and animals from Radar? Basically anything that is a shape instead of a small picture.
RickyP602
 
Posts: 106
Joined: Sat Nov 24, 2012 5:09 am

Re: Custom Ender Radar entries

Postby Cheena » Sat Apr 25, 2015 7:52 pm

You probably typed "false" for everything instead of just a little group.

Also this is my own current :

<!-- Cochonneries -->
<group name="hidden" show="false">
<marker match="gfx/terobjs/herbs/daisy"/>
<marker match="gfx/terobjs/herbs/lugleaf"/>
<marker match="gfx/terobjs/herbs/samleaf"/>
<marker match="gfx/terobjs/herbs/mabonleaf"/>
<marker match="gfx/terobjs/herbs/reeds"/>
</group>


I'm not familiar with this at all, but in lachlaan's stuff there a few missing "
...that may cause trouble or not, I don't know.
Trust your enemies more than your friends. Your enemies will never betray you.
loftar wrote:***** the treaty.

(Note: Citation is severely out of context.)
User avatar
Cheena
 
Posts: 1264
Joined: Sat Mar 09, 2013 11:46 am
Location: Providence

Re: Custom Ender Radar entries

Postby RickyP602 » Sat Apr 25, 2015 8:02 pm

No I pasted his, however I did get it working.

<marker match="gfx/terobjs/arch/hwall"/>

This line was causing it do that, as far as I can tell at least.
RickyP602
 
Posts: 106
Joined: Sat Nov 24, 2012 5:09 am

Re: Custom Ender Radar entries

Postby Kandarim » Sat Apr 25, 2015 8:45 pm

weird. i'm not entirely sure how finicky the XML parsing is, but it might be the missing space right before the closing tags.
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: 5321
Joined: Mon Jan 21, 2013 4:18 pm

Re: Custom Ender Radar entries

Postby Kralith » Sat Apr 25, 2015 11:45 pm

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



Okay, this Idea is great, but, when i have turned on "Blink radar objects" then all objects will blink.
Have thought, i put this function in a group named hidden and turn in on/off whenever i need this trhough Radar Config in GUI.
But then i cant use the Blink-Option.

Maybe you could restrict the Blink-Option in your code. Maybe a special named Group for such marker like above by which the Blink not matched?

This would be very fine, so could we let the "Find Marker for all Objects" in our radar.xml for later needs.
Salem Wiki (PM me if you need help with editing)
Report corrections and new things here.
-----------------------------------------------------------------------
User avatar
Kralith
Customer
 
Posts: 1033
Joined: Sun Dec 16, 2012 2:14 pm
Location: Germany

Re: Custom Ender Radar entries

Postby Heffernan » Sun Apr 26, 2015 11:53 am

has anyone removed daisies, honeysuckle and rotten logs yet? looking for a mod for this.

edit: nvm got dis viewtopic.php?f=11&t=13245
User avatar
Heffernan
 
Posts: 8564
Joined: Mon Sep 08, 2014 3:07 pm
Location: Marps Closet

Re: Custom Ender Radar entries

Postby Kralith » Sun Apr 26, 2015 6:35 pm

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



Okay, this Idea is great, but, when i have turned on "Blink radar objects" then all objects will blink.
Have thought, i put this function in a group named hidden and turn in on/off whenever i need this trhough Radar Config in GUI.
But then i cant use the Blink-Option.

Maybe you could restrict the Blink-Option in your code. Maybe a special named Group for such marker like above by which the Blink not matched?

This would be very fine, so could we let the "Find Marker for all Objects" in our radar.xml for later needs.


Btw. Objects in own group like Reeds, Grass and so on will not blink, when i disable the group in GUI, why the marker above results in blinking all, even if i disable the group in GUI?
Salem Wiki (PM me if you need help with editing)
Report corrections and new things here.
-----------------------------------------------------------------------
User avatar
Kralith
Customer
 
Posts: 1033
Joined: Sun Dec 16, 2012 2:14 pm
Location: Germany

Re: Custom Ender Radar entries

Postby ShadowTani » Mon Apr 27, 2015 10:18 pm

Does anyone know why this doesn't work:
Code: Select all
<marker match="gfx/terobjs/tree/rbirch/.+" text="Birch Tree" />

Shouldn't that be somewhat equal to doing this:
Code: Select all
<marker match="gfx/terobjs/tree/rbirch/rtrunk" text="Birch Tree" />
<marker match="gfx/terobjs/tree/rbirch/rstump" text="Birch Stump" />

Yet, only that last version with the full path works for those. Why?
User avatar
ShadowTani
 
Posts: 419
Joined: Wed Aug 01, 2012 6:05 pm
Location: Norway

Re: Custom Ender Radar entries

Postby Kandarim » Mon Apr 27, 2015 11:16 pm

you want marker pattern rather than marker match for that.
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: 5321
Joined: Mon Jan 21, 2013 4:18 pm

Re: Custom Ender Radar entries

Postby ShadowTani » Mon Apr 27, 2015 11:48 pm

Oh thank you! Works like a charm now. =D
User avatar
ShadowTani
 
Posts: 419
Joined: Wed Aug 01, 2012 6:05 pm
Location: Norway

PreviousNext

Return to Artifice & Arcana

Who is online

Users browsing this forum: No registered users and 12 guests