mod-append but at the top of the list?

Discuss and distribute tools and methods for modding. Moderator - Grognak
Posts: 1
Joined: Thu Apr 09, 2020 10:05 am

mod-append but at the top of the list?

Postby Ryuu_senpai » Thu Apr 09, 2020 10:24 am

Is there a way to append an element to the xml node, but at the top of all the subnodes there is?

Asking this for trackList in sector_data.xml, i want my tracks to be played first, but don't want to reference the existing ones, to be able to use together with other music mods. Is there a clear way to do it?

something like

Code: Select all

   <mod:findName type="sectorDescription" name="FINAL">
      <mod:findLike type="trackList">

Or maybe at least a way to replace the first element without knowing its' name/contents and then append it to the end?

Who is online

Users browsing this forum: No registered users and 30 guests