[MOD]Strange Universe [inDev]--> again Events

Discuss and distribute tools and methods for modding. Moderator - Grognak
User avatar
Metzelmax
Posts: 363
Joined: Wed Sep 26, 2012 7:59 am
Location: Uz'ran Home Dimension

[MOD]Strange Universe [inDev]--> again Events

Postby Metzelmax » Sun May 12, 2013 8:01 am

Events are really the greatest bullshit of all time.

Here everything works fine... except for the txtLst. It doesnt load the text, but instead it says: STD_TREE_TEXT which how it is called. Any ideas?

Code: Select all

<event name="TREEL_NOSENS_1">
   <text load="STD_TREEL_TEXT"/>
      <choice hidden="true">
         <text>Prepare to fight!</text>
         <event>
            <ship load="STD_TREEL_SHIP" hostile="true"/>
            <text>You will have to fight the Treel ship without sensors it seems.</text>
            <status type="limit" target="player" system="sensors" amount="0"/>
         </event>
      </choice>
      <choice req="sensors" lvl="3" hidden="true">
         <text>Try to modulate your sensors to compensate for the space anomaly which is created by a Treel ship.</text>
         <event>
            <ship load="SEN_TREEL_SHIP" hostile="true"/>
            <text>Your compentsation works! But as you see the Treel ship, you wished it wouldnt.</text>
         </event>
      </choice>
      <choice req="FTL_JAMMER" hidden="true">
         <text>Use your own Distortion Generator to negate their's.</text>
         <event>
            <ship load="SEN_TREEL_SHIP" hostile="true"/>
            <text>Your sensors work normal again. But the Treel ship attacks anyway.</text>
         </event>
      </choice>
</event>
<textList name="STD_TREEL_TEXT" unique="false">
   <text>"The Sensors are showing some really odd values, Sir!", your Pilot tells you once you arrive at the beacon. You cant make anything out of the data shown by the sensors until one of your crewman screams pointing out of a window. You see a Treel ship move in to attack.</text>
   <text>As you arrive at the beacon your sensors start malfunctioning. The values they show you, dont make any sense. Unless you are within a black whole what you are doubting. By looking outside the window you see a Treel ship charging at you. Well that would explain it.</text>
   <text>First you thought your sensors where out of order when it showed you some really odd Gravimatric values. But as you notice a Treel ship move in to attack, you understand that their space destortions are jamming your sensors.</text>
   <text>The Day started bad. You fell out of your bed, spilled your coffee and now your senors go crazy as a Treel ship starts attacking you. Great.</text>
</textList>
Last edited by Metzelmax on Wed May 15, 2013 1:43 pm, edited 3 times in total.
Here is the Stuff I made:
ImageImageImageImage
And stuff is always better than no stuff, right?
DryEagle
Posts: 363
Joined: Thu Oct 04, 2012 11:17 am

Re: [MOD]Strange Universe [inDev]--> Events

Postby DryEagle » Sun May 12, 2013 12:05 pm

you have "unrecogniced" instead of "unrecognised" in one of your texts. this wouldn't cause crashes, but needs fixing anyway :D

as for actual errors in code:

Code: Select all

<choice hidden="true">
   <text>Engage the ship. You dont have time for this.</text>
   <ship hostile="true"/>
</choice>

i'm pretty sure that the <ship> has to be in an <event> rather than in a <choice>. change that and see if it stops crashing, meaning instead it should be:

Code: Select all

<choice hidden="true">
   <text>Engage the ship. You dont have time for this.</text>
   <event>
      <ship hostile="true"/>
   </event>
</choice>
All ships I have created include custom weapons, graphics etc:
Image
ImageImageImageImage
User avatar
Metzelmax
Posts: 363
Joined: Wed Sep 26, 2012 7:59 am
Location: Uz'ran Home Dimension

Re: [MOD]Strange Universe [inDev]--> Events

Postby Metzelmax » Sun May 12, 2013 7:38 pm

still crashes. Either that wasnt it or there is another error somewhere... I fear I have to redo it :(
Here is the Stuff I made:
ImageImageImageImage
And stuff is always better than no stuff, right?
DryEagle
Posts: 363
Joined: Thu Oct 04, 2012 11:17 am

Re: [MOD]Strange Universe [inDev]--> Events

Postby DryEagle » Mon May 13, 2013 1:47 pm

Check also the length of your texts. If it doesn't fit inside one game event screen window thing, it will crash. and yea go through and make sure all your choice and event etc tags have correct nesting
All ships I have created include custom weapons, graphics etc:
Image
ImageImageImageImage
User avatar
Metzelmax
Posts: 363
Joined: Wed Sep 26, 2012 7:59 am
Location: Uz'ran Home Dimension

Re: [MOD]Strange Universe [inDev]--> again Events

Postby Metzelmax » Wed May 15, 2013 1:42 pm

Events are really the greatest bullshit of all time.

Here everything works fine... except for the txtLst. It doesnt load the text, but instead it says: STD_TREE_TEXT which how it is called. Any ideas?

Code: Select all

<event name="TREEL_NOSENS_1">
   <text load="STD_TREEL_TEXT"/>
      <choice hidden="true">
         <text>Prepare to fight!</text>
         <event>
            <ship load="STD_TREEL_SHIP" hostile="true"/>
            <text>You will have to fight the Treel ship without sensors it seems.</text>
            <status type="limit" target="player" system="sensors" amount="0"/>
         </event>
      </choice>
      <choice req="sensors" lvl="3" hidden="true">
         <text>Try to modulate your sensors to compensate for the space anomaly which is created by a Treel ship.</text>
         <event>
            <ship load="SEN_TREEL_SHIP" hostile="true"/>
            <text>Your compentsation works! But as you see the Treel ship, you wished it wouldnt.</text>
         </event>
      </choice>
      <choice req="FTL_JAMMER" hidden="true">
         <text>Use your own Distortion Generator to negate their's.</text>
         <event>
            <ship load="SEN_TREEL_SHIP" hostile="true"/>
            <text>Your sensors work normal again. But the Treel ship attacks anyway.</text>
         </event>
      </choice>
</event>
<textList name="STD_TREEL_TEXT" unique="false">
   <text>"The Sensors are showing some really odd values, Sir!", your Pilot tells you once you arrive at the beacon. You cant make anything out of the data shown by the sensors until one of your crewman screams pointing out of a window. You see a Treel ship move in to attack.</text>
   <text>As you arrive at the beacon your sensors start malfunctioning. The values they show you, dont make any sense. Unless you are within a black whole what you are doubting. By looking outside the window you see a Treel ship charging at you. Well that would explain it.</text>
   <text>First you thought your sensors where out of order when it showed you some really odd Gravimatric values. But as you notice a Treel ship move in to attack, you understand that their space destortions are jamming your sensors.</text>
   <text>The Day started bad. You fell out of your bed, spilled your coffee and now your senors go crazy as a Treel ship starts attacking you. Great.</text>
</textList>
Here is the Stuff I made:
ImageImageImageImage
And stuff is always better than no stuff, right?

Who is online

Users browsing this forum: No registered users and 26 guests