[MOD] SilenceYouAll - Skip chatter!
Moderators: Moderators for English X Forum, Scripting / Modding Moderators
I managed to find a bit of time to give it a try.
Up to now, it works really well. Space almost feels lonely.
Oh well, more room to play some awesome music.
Here's a suggestion, though. You should leave the "ship complete" and "station module complete" messages, as they are relatively important while you're building your empire.
Once again, thank you for this.
Up to now, it works really well. Space almost feels lonely.
Oh well, more room to play some awesome music.
Here's a suggestion, though. You should leave the "ship complete" and "station module complete" messages, as they are relatively important while you're building your empire.
Once again, thank you for this.
Humans are deuterostomes, which means that when they develop in the womb the first opening they develop is the anus.
This means that at one point you were nothing but an asshole.
Some people never develop beyond this stage.
This means that at one point you were nothing but an asshole.
Some people never develop beyond this stage.
@Yorric: Thanks - i saw the diff errors, no clue why they appear. Those files are patches, they need to have that structure. No clue why they are being parsed twice - once the diffpatch is done and then XR tries to load them as if they were the original xmls..?
Any idea on this welcome. Might be im missing some basic knowledge on XR mods.
Ill check the match error, that must be an error on my end, or changes since 4.0.
@Ezarkal: Thanks, ill find and enable those messages. Let me know if something else is missing!
Any idea on this welcome. Might be im missing some basic knowledge on XR mods.
Ill check the match error, that must be an error on my end, or changes since 4.0.
@Ezarkal: Thanks, ill find and enable those messages. Let me know if something else is missing!
- YorrickVander
- Posts: 2702
- Joined: Tue, 29. Oct 13, 21:59
The apparent reading twice of the patch xml is normal; this always happens as the patch is performed then the diff is rejected. The double file extension (.xml.xml) probably doesn't matter as XR only seems to carte about the internal name for the scripts.
X Rebirth - A Sirius Cybernetics Corporation Product
Split irritate visiting pilot with strange vocal patterns.
Split irritate visiting pilot with strange vocal patterns.
Nar, all the information for the missions is provided in the text and animations. The spoken parts I removed are generic repetitive stuff like greetings/farewells/"So you want the job?"/"I knew you were the one for this job"/etcpref wrote:I kept the generic mission speech because i rarely play those, and have no idea if they have any necessary info for the player (still they can be skipped by selecting the next option).
Are those all safe to remove entirely, without holding back info from the player? Or did you keep the rest because those are needed?
Not sure if it's safe between patches, as I really only started modding in 3.5. It just seemed the most likely way of identifying a particular line that I wanted.pref wrote:I see you hide audio based on line IDs - is that safe between patches for XR?
Maybe i should do it the same way to have more flexibility for the future XR updates...
The problem with
Code: Select all
//add_npc_line)[6]
The problem with removing based on id is that often there are more the one add_npc_line in a given xml file with the same id. Then you have to either be more specific, or use some of the trickery I used in my files to target a particular line.
From what I gather, the conversations file contains some double up of references that are already in other files. For example, the greetings. It looks as if each file originally had a greeting piece of code (observed from older files), but newer files seem to just have a reference to the conversations greeting section. Just my guess.pref wrote:Edit: I removed almost everything from conversations.xml for ex. 40 lines in total. Was there something useful? none of the lines seemed to contain much useful info except for 2 (in 'Speech' cue, these are supposed to be started by the NPC).
Gaming PC: Gigabyte H270M-D3H | i7 7700 | 16Gb DDR4 | Gigabyte GTX1060 6Gb OC | Asus Xonar DGX | Window 10 Home 64bit | Samsung 256Gb SSD
I rewrote my xQuery code completely to use line numbers for ID.
Weird thing, there are still missing matches - even though the xml does contain the nodes.
For example in GM_Defend_station XR cannot match
even though its clearly there:
Can we somehow run the same diffpatch routine as XR does? Have no clue why XR does not find them.
Is it possible to ask someone from ES? Guess they must be pretty busy without me pestering them.
Found that file with the double ext, renamed it.
Weird thing, there are still missing matches - even though the xml does contain the nodes.
For example in GM_Defend_station XR cannot match
Code: Select all
"\\add_npc_line[@line='13']"
even though its clearly there:
Code: Select all
<do_else>
<add_npc_line line="13" comment="Whatever."/>
<!-- restart Accepted event listener -->
<reset_cue cue="ShowOffer"/>
</do_else>
Is it possible to ask someone from ES? Guess they must be pretty busy without me pestering them.
Thanks! So if i manage to fix the no match error the diffs will go too.YorrickVander wrote:The apparent reading twice of the patch xml is normal; this always happens as the patch is performed then the diff is rejected. The double file extension (.xml.xml) probably doesn't matter as XR only seems to carte about the internal name for the scripts.
Found that file with the double ext, renamed it.
Last edited by pref on Thu, 12. Nov 15, 14:21, edited 1 time in total.
- YorrickVander
- Posts: 2702
- Joined: Tue, 29. Oct 13, 21:59
Ah no, the diff errors will stay with most files. you can ignore these if no other errors present. So you know for the [6] error, my game was otherwise clean 4.0b2 so no other mods could have moved a line.
X Rebirth - A Sirius Cybernetics Corporation Product
Split irritate visiting pilot with strange vocal patterns.
Split irritate visiting pilot with strange vocal patterns.
It is now working with filter for line attribute, not the count. I get the error even on my system - just unpacked all files again in case ES applied something.
Im completely clueless why [@line='13'] does not match <add_npc_line line="13"/>.
Maybe some processing occurs on the XML files before the diffgram is applied? Some optimization perhaps, that renames nodes or removes things that never get to execute for other reasons.
Im completely clueless why [@line='13'] does not match <add_npc_line line="13"/>.
Maybe some processing occurs on the XML files before the diffgram is applied? Some optimization perhaps, that renames nodes or removes things that never get to execute for other reasons.
Is it still the GM_Defend_station.xml file or might it be either the GM_Police_Scan.xml or GM_Assassination_v2.xml file?pref wrote:Im completely clueless why [@line='13'] does not match <add_npc_line line="13"/>
If so, the non match occurs because there are multiple add_npc_line with line="13" in those files. The match error doesn't always mean that it doesn't exist at all. A match only occurs if the comparison matches EXACTLY ONE line. If there are multiple possible matches, it will ignore that change completely.
Otherwise is it possible that another mod or a previous file in this mod is already removing that line? Possibly even an earlier line in the current file has removed that reference already?
Just noticed while doing the below writing, does it matter that you have \\add_npc_line? Mine are all //add_npc_line.
It doesn't necessarily need to be another mod. It could be another file in this mod that has already executed, or even a previous line in the current file. For example if there are only 6 total add_npc_line nodes in file abc.xml thenYorrickVander wrote:So you know for the [6] error, my game was otherwise clean 4.0b2 so no other mods could have moved a line.
Code: Select all
<diff>
<remove sel="//add_npc_line[5]" />
<remove sel="//add_npc_line[6]" />
</diff>
Gaming PC: Gigabyte H270M-D3H | i7 7700 | 16Gb DDR4 | Gigabyte GTX1060 6Gb OC | Asus Xonar DGX | Window 10 Home 64bit | Samsung 256Gb SSD
There are no duplicates in the file with the same @line attribute.
Also tried appending the [count] but that did not help either.
It is the defend station file, and it only has unique entries as for @line.
I tried both of these:
None works. Both should match exactly one node from GM_Defend_Station.xml, still they throw the no match error.
Any idea appreciated.
Is there a way to remove all matching entries regardless of how many times they appear?
Also tried appending the [count] but that did not help either.
It is the defend station file, and it only has unique entries as for @line.
I tried both of these:
Code: Select all
<add sel="//add_npc_line[@line='13']" type="@hidechoices">false</add>
<add sel="(//add_npc_line[@line='13'])[1]" type="@hidechoices">false</add>
Any idea appreciated.
Is there a way to remove all matching entries regardless of how many times they appear?
Solved all problems, no more missing lines. Refreshed the download.
Kept generic mission messages, but all audio should allow selection of next option without delay (restecp UniTrader!). This way only the last goodbye holds the player back from quick interaction.
If its still too much let me know, i can remove all the mission related chatter in no time. Same for SmallTalk.
Should work now with 0.4, let me know if there are more of these useful messages missing.Ezarkal wrote: Here's a suggestion, though. You should leave the "ship complete" and "station module complete" messages, as they are relatively important while you're building your empire.
And yay! i can try 4.0 finally
Thanks for bringing back those "build complete" messages. Removing the animations was a nifty idea, too.
I gave it a good run yesterday. It works pretty well! I'll let you know if I find bugs or possible improvements.
I gave it a good run yesterday. It works pretty well! I'll let you know if I find bugs or possible improvements.
Humans are deuterostomes, which means that when they develop in the womb the first opening they develop is the anus.
This means that at one point you were nothing but an asshole.
Some people never develop beyond this stage.
This means that at one point you were nothing but an asshole.
Some people never develop beyond this stage.
- YorrickVander
- Posts: 2702
- Joined: Tue, 29. Oct 13, 21:59
Small suggestion, if not added already (currently testing with no mods), for notifications.xml :
for silent docking
Code: Select all
<remove sel="//cue[@name='Docking']"/>
X Rebirth - A Sirius Cybernetics Corporation Product
Split irritate visiting pilot with strange vocal patterns.
Split irritate visiting pilot with strange vocal patterns.
Cheers! Let me know if there is more. The build complete was a nice find.Ezarkal wrote:I gave it a good run yesterday. It works pretty well! I'll let you know if I find bugs or possible improvements.
YorrickVander wrote:Small suggestion, if not added already (currently testing with no mods), for notifications.xml :
for silent dockingCode: Select all
<remove sel="//cue[@name='Docking']"/>
Thanks Yorrick!
I was just about to remove that, this helped me a lot finding the location.
Hiding that whole cue would have resulted in the the loss of 'max_upgrade' achievment and autosaves - so finally i removed only the welcome speech.
I also removed that sneaky ticking sound when shield regenerates.
First i thought my HDD was dying, then the CPU vent... finally i realized it was coming from the game, grrr
- YorrickVander
- Posts: 2702
- Joined: Tue, 29. Oct 13, 21:59
Yeah, right. The hi/bye wasn't really necessary.. or tolerable after trying a few missionsstrude wrote: Nar, all the information for the missions is provided in the text and animations. The spoken parts I removed are generic repetitive stuff like greetings/farewells/"So you want the job?"/"I knew you were the one for this job"/etc
Since control works while the main mission voice plays, i left that in. I need a sec or two to see whats in the briefing anyway.
Oh.YorrickVander wrote:That cue only does the speech from yisha and the station staff, undocking is not affected and autosaves continue to function on undock.
I found these in subcues of "Docking":
Code: Select all
<signal_cue cue="PrepareAutoSaveOnUndock"/>
<unlock_achievement name="MAX_UPGRADES"/>
I interpreted signal_cue as a manual trigger of that cue.
- YorrickVander
- Posts: 2702
- Joined: Tue, 29. Oct 13, 21:59
You are both quite correct on re-examination. Odd however that on testing undocking still functioned as expected. Ignore my lazy modding! Score that one as E- more effort needed from the boy Vander.
X Rebirth - A Sirius Cybernetics Corporation Product
Split irritate visiting pilot with strange vocal patterns.
Split irritate visiting pilot with strange vocal patterns.
Did you test it by saving while docked, making the changes, then reloading and undocking? The undocking cue is a subcue of the docking cue. I'd assume that the docking cue is created when you dock, so that even if you changed the undocking cue (or removed it), the instance of the docking cue you currently had active wouldn't be affected, as that cue was already created with the unmodified undocking cue.YorrickVander wrote:You are both quite correct on re-examination. Odd however that on testing undocking still functioned as expected. Ignore my lazy modding! Score that one as E- more effort needed from the boy Vander.
Either that, or maybe the change you made had an error that you didn't notice, and the change to the node was ignored?
Gaming PC: Gigabyte H270M-D3H | i7 7700 | 16Gb DDR4 | Gigabyte GTX1060 6Gb OC | Asus Xonar DGX | Window 10 Home 64bit | Samsung 256Gb SSD
Still weird that you got the autosave after undock. Not sure if my theory is 100% correct... maybe there is another trigger or such.
I decided to keep the welcome speech anyway - its rep dependent after all so holds some info. And i dont want to get too lonely
By the way i tried to use signal_cue but didn't work out.
Does that bypass the event conditions? Not really sure how it works.
I wanted to launch a que that had an event condition that was never true (i removed the command that was supposed to trigger it).
Not sure how to force a que to exec.
I decided to keep the welcome speech anyway - its rep dependent after all so holds some info. And i dont want to get too lonely
By the way i tried to use signal_cue but didn't work out.
Does that bypass the event conditions? Not really sure how it works.
I wanted to launch a que that had an event condition that was never true (i removed the command that was supposed to trigger it).
Not sure how to force a que to exec.
signal_cue only triggers cues which have the condition event_cue_signalled - default is they themselves are signalled
if you want to force a cue use force_cue but this will print an error to the debuglog because its not supposed to be used regulary...
if you want to force a cue use force_cue but this will print an error to the debuglog because its not supposed to be used regulary...
if not stated otherwise everything i post is licensed under WTFPL
Ich mache keine S&M-Auftragsarbeiten, aber wenn es fragen gibt wie man etwas umsetzen kann helfe ich gerne weiter
I wont do Script&Mod Request work, but if there are questions how to do something i will GLaDly help
Ich mache keine S&M-Auftragsarbeiten, aber wenn es fragen gibt wie man etwas umsetzen kann helfe ich gerne weiter
I wont do Script&Mod Request work, but if there are questions how to do something i will GLaDly help