Hey, I've got a question. Is there a way to make an event require a crewmember skilled in a specific system?
nameEvents.xml contains some <choice> tags with both a
req="engi" and
lvl="1" attributes, but i think the latter is a residue from something else...
In events.xml, there are some Charlie events that give you a Charlie with a specific skill. These different <crewMember> tags define such skills with attributes like
combat="1" and
shields="1".
I ran some tests of <choice> tags with
lvl= and
skillname= attributes, like so:
Code: Select all
<event name="MTE_EVENTLOADER">
<!-- get engis -->
<text>What event do you want to load?</text>
<choice>
<text>get a skilled engi.</text>
<event>
<text>Engi!</text>
<crewMember amount="1" class="engi" engines="1"/>
</event>
</choice>
<choice>
<text>get a real skilled engi.</text>
<event>
<text>Engi!</text>
<crewMember amount="1" class="engi" engines="2"/>
</event>
</choice>
<choice>
<text>get a differently skilled engi.</text>
<event>
<text>Engi!</text>
<crewMember amount="1" class="engi" combat="1" />
</event>
</choice>
<!-- testing system requirements-->
<choice req="engi" lvl="1" engines="1">
<text>requires lvl 1 engi</text>
<event load="EMPTYSLOT"/>
</choice>
<choice req="engi" lvl="2" engines="2">
<text>requires lvl 2 engi</text>
<event load="EMPTYSLOT"/>
</choice>
<choice req="engi" lvl="3" engines="3">
<text>requires lvl 3 engi</text>
<event load="EMPTYSLOT"/>
</choice>
<!-- testing behaviour of choice groups -->
<choice req="engi" lvl="1" engines="1" max_group="0">
<text>(special) requires lvl 1 engi</text>
<event load="EMPTYSLOT"/>
</choice>
<choice req="engi" lvl="2" engines="2" max_group="0">
<text>(special) requires lvl 2 engi</text>
<event load="EMPTYSLOT"/>
</choice>
<choice req="engi" lvl="3" engines="3" max_group="0">
<text>(special) requires lvl 3 engi</text>
<event load="EMPTYSLOT"/>
</choice>
<!-- testing for different skillset behaviour -->
<choice req="engi" lvl="2" combat="2">
<text>requires lvl 2 engi fighter</text>
<event load="EMPTYSLOT"/>
</choice>
</event>
the
combat= and
engines= attributes in the <choice> tags seem to do nothing at all. The
lvl= attribute instead acts like a counter. More or less like what i think an
amount= attribute would do. If i had 1 engi, the
lvl="1" events would pop up. If i had 2, the
lvl="2" events would pop up, and so on.
Regarding the group of choices with
max_group="0"... It acted pretty much like you would expected. It would say "requires lvl x engi", with x being the number of engis on board. Different skill levels of a single engi always unlocked all the lvl 1 choices.
About the last one: it would activate any time i had two engis, disregarding their skill levels completely.
...so yeah, does anyone know if it's actually possible to require a crewmember to have a specific skill to unlock a choice? : \
EDIT: Also, while i'm at it, does anyone know if it's possible to heal the enemy ship via events? :0