Code: Select all
<actions>
<do_all exact="md.$iseeu0modifyships.count" counter="$j">
<set_object_min_hull object="md.$iseeu0modifyships.{$j}" exact="event.param2.{1}"/>
<set_object_min_shield object="md.$iseeu0modifyships.{$j}" exact="event.param2.{1}"/>
<set_object_engine_min_boost_duration object="md.$iseeu0modifyships.{$j}" exact="event.param2.{1}"/>
<find_object_component name="$components" object="md.$iseeu0modifyships.{$j}" multiple="true"/>
<do_all exact="$components.count" counter="$c">
<set_object_min_hull object="$components.{$c}" exact="event.param2.{1}"/>
<set_object_min_shield object="$components.{$c}" exact="event.param2.{1}"/>
<set_object_engine_min_boost_duration object="$components.{$c}" exact="event.param2.{1}"/>
</do_all>
</do_all>
</actions>
Code: Select all
<set_object_min_hull object="md.$iseeu0modifyships.{$j}" exact="event.param2.{1}"/>
<set_object_min_shield object="md.$iseeu0modifyships.{$j}" exact="event.param2.{1}"/>
Which function can change the boost duartion?
I have tried the following XML,all dosen't work.
Code: Select all
<set_object_engine_min_boost_duration object="md.$iseeu0modifyships.{$j}" exact="event.param2.{1}"/>
<set_object_min_boost_duration object="md.$iseeu0modifyships.{$j}" exact="event.param2.{1}"/>
<set_object_min_boost_time object="md.$iseeu0modifyships.{$j}" exact="event.param2.{1}"/>
<set_object_min_boost_capacity object="md.$iseeu0modifyships.{$j}" exact="event.param2.{1}"/>

by the way:(the base mod and code is from steam workshop,thank issue0 for the excellent work)