Page 12 of 12

Posted: Fri, 9. Jun 17, 17:37
by UniTrader
Marvin Martian wrote:have you tried [[a,1]], in think to rember Station-Info-UI also can't handle stations without any sort of upgrade-path, maybe something related
nah, the problem was really only the missing '' - Game cannt handle a buildplanlist containing [[ null , 0 ]] and Crashes to Desktop (which should never happen from within a Scriipting Language, thats why i am reporting it ;) i fixed this mistake in my Script already and not it works)

btw [ 'a' , 0 ] usually refers to the basic Station (at least thats what my logging of the Vanilla Build Process indicated)

Posted: Thu, 22. Jun 17, 17:24
by UniTrader
next issue:

regarding the Commands
<connect_to_trade_location ship="this.ship" tradedock="if true then $parkslot else 'Unark Signal 1'" result="$success" />
and
<disconnect_from_trade_location ship="this.ship" />

i have the impression that the blocking mechanism included in them does not work properly, at least on CVs which have the oddity that multiple Parking Slots ( from <find_tradeoffer_parking_slot/> ) refer to the same park position. i already tried to force docking Ships to only use one of them, but to no avail, after several hours of leaving it running multiple Ships attempt to Dock simultaneously.at the same Parking Place.... (and yes, before attempting parking i always check the result of <connect_to_trade_location/> )
When i checked the current parking Scripts i noticed that they now include a proper queue. iirc when i wrote my own Docking Scripts (which started more than a year ago) this was not yet the case, and ships polled for free parking Slots until they got one, so i assumed this result was reliable enough to prevent this..

Posted: Sun, 13. Aug 17, 17:13
by Charon_A
Found a mod "Silent skunk" that turns off sound of engine and boost but it does not work for me, v4.10
It updates libraries/sound_library.xml

Code: Select all

<remove sel="//sound[@id='engine_booster']/sample" /> 
<add sel="//sound[@id='engine_booster']"> 
<sample start="sfx\dummysilence" /> </add>
Tried to change it to use replace instead, but it did not help. Anyone has a clue how to make this code work? Thanks!

Code: Select all

<replace sel="//sound[@id='engine_booster']/sample" > 
<sample start="sfx\dummysilence" /> </replace>

Posted: Sun, 13. Aug 17, 17:32
by UniTrader
Log Snippet from Startup please... makes it easier to track down what goes wrong with the mod, especially if its an incompatibility with your other mods unique to you. (also i am not the type to install and test mods for others to fix them - causes too much clutter in my extensions directory..

Posted: Sun, 13. Aug 17, 17:47
by w.evans
Charon_A wrote:Found a mod "Silent skunk" that turns off sound of engine and boost
both snippets should work, except there's a typo in the first snippet (should be "start" rather than "tart", but looks like you spotted that already.)

Not very familiar with the sound effects, but it looks like this will only remove one of the boost sounds. There appears to be more sounds defined for the player ship's engine in sound_library.

Posted: Sun, 13. Aug 17, 17:53
by Charon_A
Thanks guys, that's what I needed :!:
Did not know that game writes "Log Snippet from Startup" :P
Log pointed me to the issue - apparently I messed the mod up by directly editing packed dat file. Ignore me, mod works fine. Thanks for quick replies!

Posted: Sun, 13. Aug 17, 19:34
by Charon_A
While you're so kind to me, cannot pass up on the opportunity to ask :wink:
When I kill random enemies near the stations I get 2 comm events: one saying thanks for taking care of enemies and another about paying me creditsss.
Could you point me in the direction of a file where this comm channels are being generated? I can live with notifications but would very much like to get rid of animated comms that block access to the menu.
Or maybe there's already a mod around that solve this problem? Any insight will be much appreciated!

Posted: Mon, 14. Aug 17, 06:04
by UniTrader
iirc this is done in the md/notifications.xml

Posted: Mon, 14. Aug 17, 10:25
by Charon_A
Thanks, UniTrader!
Found the little bugger. So much better now :)
In case anyone needs to remove these annoying reward comms after killing enemies:

Code: Select all

<diff> 
<remove sel="//cue[@name='ReputationTrigger']/actions/do_if/do_if/start_conversation" />  
</diff>  

minor kink with enable/disable due to certain content.xml

Posted: Sat, 2. Jun 18, 12:07
by donzi
I've been working on a few small mods and have been using a boilerplate content.xml ( re: Steam Workshop for X Rebirth ) for each of them, just adjusting name and description.

id="totally_unimportant" is apparently not quite so in all contexts. It leads to the side effect of not being able to enable/disable the extensions as expected when this is assigned the same string across multiple extensions.

Unique or empty id are fine.

Re: minor kink with enable/disable due to certain content.xml

Posted: Sat, 2. Jun 18, 14:58
by UniTrader
donzi wrote:id="totally_unimportant" is apparently not quite so in all contexts. It leads to the side effect of not being able to enable/disable the extensions as expected when this is assigned the same string across multiple extensions.
from where did you get that the mod id was unimportant? i think every docrelated to it should point out that this is an unique identifier for each mod to differ between them.. if left out or empty the extension folder name is instead used as id btw. The only exception i could imagine is when uploading to the steam workshop because in this case the id will be changed...

Posted: Sat, 2. Jun 18, 17:21
by X2-Illuminatus
UniTrader wrote:from where did you get that the mod id was unimportant?
From the example code in the linked tutorial for uploading mods to the Steam Workshop for X Rebirth.
Example for a content.xml to publish a new extension:

Code: Select all

<?xml version="1.0" encoding="utf-8" ?>
<!-- My Test Extension v0.10 -->
<content id="totally_unimportant" name="My Test Extension" description="This is just an example." version="10">
  <!-- Requires Workshop item 12345, minimum version 1.00 -->
  <dependency id="ws_12345" version="100" />
  <!-- Requires minimum game version 1.50 -->
  <dependency version="150" />
  <!-- Optional localisation (NOTE: not visible in Steam Workshop, cannot be updated from Workshop website) -->
  <!-- German: -->
  <text language="49" name="Meine Test-Erweiterung" description="Dies ist nur ein Beispiel." />
</content>
Minimalistic example:

Code: Select all

<?xml version="1.0" encoding="utf-8" ?>
<content id="" name="Foo" description="Test" version="100">
</content>

Re: minor kink with enable/disable due to certain content.xml

Posted: Wed, 6. Jun 18, 00:33
by donzi
UniTrader wrote:from where did you get that the mod id was unimportant?
The link in my message up there :D -- ( re: Steam Workshop for X Rebirth )

I thought that I'd pass over that since X2-Illuminatus poked you already, but since you're a moderator.. :lol:

Re: [Official Mod Development Bug Reports] A Thread for Mod Creators

Posted: Sun, 29. Aug 21, 19:09
by bioscmos303
[Mod/Script] - FIX - FIX - FIX - :lol:
UI Detail screen and Side menu' FIX - No More legendary buged UI and none mouse click at any FOV settings
viewtopic.php?f=129&t=441687&p=5076891#p5076891

AND Extra clean tweaks:

Fov 133.4 - Field of View without editing config.xml but As patch\Mode - Guide 1o1
viewtopic.php?f=129&t=441629