Can you have more than one custom death message randomly displayed? I made several up but it only displays the last listed entry when I die. Would like to have it choose one at random from the list if possible.
Thank you!
Custom death messages: can I have more than one?
-
- Posts: 13
- Joined: Sat Aug 01, 2020 1:14 am
- RAD-82
- Posts: 796
- Joined: Sat Nov 09, 2013 12:16 am
Re: Custom death messages: can I have more than one?
Do you mean the game over text in text_misc.xml?
I don't know if it will work since it is used differently for events, but have you tried a <textList>?
Code: Select all
<text name="gameover_crew">All crewmembers have died. Your ship will continue to drift for eternity. Or until looters destroy it.</text>
<text name="gameover_blowup">One last explosion marks your fate as your ship is torn apart.</text>
<text name="gameover_fedbase">The Rebel Flagship has destroyed the Federation Base. All is lost, they've won.</text>
I don't know if it will work since it is used differently for events, but have you tried a <textList>?
Code: Select all
<textList name="gameover_blowup">
<text>One last explosion marks your fate as your ship is torn apart.</text>
<text>Game over, man. Game over.</text>
<text>Dude, your ship was trashed.</text>
</textList>
-
- Posts: 13
- Joined: Sat Aug 01, 2020 1:14 am
Re: Custom death messages: can I have more than one?
Thanks so much for the reply! I did mean the game over "gameover_blowup" text.
I just tried a textList like that second code you posted in my text_misc file and unfortunately didn't work. Deleted it there and tried it in events.xml and didn't work there either. Unless I'm missing something wherein I'm needing to put an entry into text_misc saying "go look here" at events.xml for the textList of "gameover_blowup" or something...it might be a no go.
I do super appreciate your help! Thought it would be fun to offer different "you blew up" quotes.
PS if you see this reply, love your mods!
I just tried a textList like that second code you posted in my text_misc file and unfortunately didn't work. Deleted it there and tried it in events.xml and didn't work there either. Unless I'm missing something wherein I'm needing to put an entry into text_misc saying "go look here" at events.xml for the textList of "gameover_blowup" or something...it might be a no go.
I do super appreciate your help! Thought it would be fun to offer different "you blew up" quotes.
PS if you see this reply, love your mods!