EnglishGermanFrenchRussianPolishItalianSpanish
Log inRegister
 
[Docn] Director Start.xml
Post new topic Reply to topic Goto page Previous  1, 2, 3, 4, 5, 6, 7  Next
View previous topic :: View next topic
Author Message
Aro





Joined: 15 Jul 2003
Posts: 1976 on topic
Location: Whitish Northern Area
Thank you for registering your game
PostPosted: Thu, 15. Jul 10, 00:09    Post subject: Re: So? Reply with quote Print

LarryBurstyn wrote:
Is there a way to start a ship already docked with another ship?


Code:
<create_ship ... dockobject="(ship to be docked at)">


LarryBurstyn wrote:
Is there a list somewhere that lists all the allowed commands in Mission Director (such as do_all).

Check the game .cat's for the following files:
director.xsd
director.xsl
dirschema.xsl
director.css
director.htm

Save these all to a folder then open director.htm in a browser able to view the active content (such as ie). It will list commands, attributes, and more plus it has a handy search feature.

Back to top
View user's profile Send private message Visit poster's website
LarryBurstyn





Joined: 19 Nov 2005
Posts: 268 on topic
Location: Cornville, AZ 86325
Thank you for registering your game
PostPosted: Thu, 15. Jul 10, 18:11    Post subject: Re: So? Reply with quote Print

Aro wrote:


Code:
<create_ship ... dockobject="(ship to be docked at)">




Ok, something I'm doing wrong this command does not work for me. Tried it both with and without the () marks. Do I "nest" this with the create_ship command that creates the Avenger?

<create_ship typename="SS_SH_TR_M3_VERDANDI" race="player" dockobject="(SS_SH_AT_LEV_AVENGER)">
<position x="0" y="0" z="0" min="20km" max="30km" height="10km"/>
<sector x="8" y="8"/>
<equipment>
<ware typename="SS_WARE_TECH251" exact="400" comment="Cargo Bay Extension"/>
<ware typename="SS_WARE_TECH246" exact="10" comment="Rudder Optomisation"/>
<ware typename="SS_WARE_TECH213" exact="10" comment="Engine Tunings"/>
<ware typename="SS_LASER_EMP" exact="12"/>
<ware typename="SS_WARE_LIFESUPPORT" exact="1"/>
<ware typename="SS_MISSILE_POLTERGEIST" exact="55"/>
<ware typename="SS_WARE_SW_NAV_1" exact="1"/>
<ware typename="SS_WARE_SW_SPECIAL_1" exact="1"/>
<ware typename="SS_WARE_SCANNER3" exact="1"/>
<ware typename="SS_WARE_TECH241" exact="1" comment="Docking System"/>
<ware typename="SS_WARE_SW_FIGHT_1" exact="1"/>
<ware typename="SS_WARE_SW_FIGHT_2" exact="1"/>
<ware typename="SS_SHIELD_C" exact="4"/>
</equipment>
</create_ship>

Back to top
View user's profile Send private message
Serial Kicked





Joined: 12 Aug 2005
Posts: 3493 on topic
Location: France
Thank you for registering your game
PostPosted: Thu, 15. Jul 10, 18:39    Post subject: Reply with quote Print

I don't know nothing about MD, but apparently you're trying to dock your ship at a "ship type" instead to a real ship. And that's not good.

apparently the correct way is something like that, at least to dock something at the player's ship:

dockobject="{player.ship}"


not "(ship type)" but "{object}"


_________________
X3:TC/AP Pirate Guild 3 - Yaki Armada 2 - Anarkis Defense System

Anarkis Gaming HQ
Independent Game Development
X3 Scripting and Modding Station
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
LarryBurstyn





Joined: 19 Nov 2005
Posts: 268 on topic
Location: Cornville, AZ 86325
Thank you for registering your game
PostPosted: Thu, 15. Jul 10, 19:56    Post subject: tanks (Thanks) Reply with quote Print

I figured out that you have to NAME the carrier FIRST and then use the name in the command...


example
<create_ship name="Avenger" typename="SS_SH_AT_LEV_AVENGER" race="player">
Creates and Names the carrier "Avenger" (The name is NOT used in the game only in it's creation so it cannot be used to name ships in the game.).


then later you can use
<do_all exact="120" comment="Number of times to do it">
<create_ship typename="SS_SH_TR_M3_VERDANDI" race="player" dockobject="Avenger">
creates and places 120 Verdandi fighters in the carrier "Avenger".

CAUTION:: SOMETIMES UNUSUAL things happen if you try to put too many ships into the carrier (if it holds 120 ships don't try to dock 121+ fighters).

EDIT: you do not need the position and sector info on ships that are going to be docked. end EDIT.

Back to top
View user's profile Send private message
Aro





Joined: 15 Jul 2003
Posts: 1976 on topic
Location: Whitish Northern Area
Thank you for registering your game
PostPosted: Fri, 16. Jul 10, 01:18    Post subject: Reply with quote Print

Yeah, you need to create (or find a ship and assign it to a variable) a ship first to dock the other ship(s) to.
The reference name of the target ship takes care of the sector/position info.

Code:
<create_ship name="myCarrier" typename="SS_SH_A_M1"...

<create_ship name="subShip" typename="SS_SH_A_M3" dockobject="myCarrier"...


Back to top
View user's profile Send private message Visit poster's website
Antion899





Joined: 17 Oct 2008
Posts: 1 on topic

Thank you for registering your game
PostPosted: Mon, 19. Jul 10, 18:51    Post subject: Reply with quote Print

When creating a new gamestart, do the id numbers need to be kept in order in the start.xml and gamestart.xml?

Back to top
View user's profile Send private message
Aro





Joined: 15 Jul 2003
Posts: 1976 on topic
Location: Whitish Northern Area
Thank you for registering your game
PostPosted: Mon, 19. Jul 10, 21:58    Post subject: Reply with quote Print

Try it and see.. highly doubt it matters though. Will give it a try during the next test I run.

Back to top
View user's profile Send private message Visit poster's website
Snowship



MEDALMEDALMEDAL

Joined: 04 Jan 2006
Posts: 1091 on topic
Location: Sector 666
Thank you for registering your game
PostPosted: Tue, 20. Jul 10, 01:12    Post subject: Reply with quote Print

no, my VM gamestarts were mixed numbers and they were fine...

...although I've sinced sequenced them...

All that happens is they show in the new game screen as how they are sequenced in the XML files.... so you can put like with like and not worry about numbers


_________________

Vanilla Malt Gamestarts
"The only time you have too much fuel is when you're on fire"
Back to top
View user's profile Send private message
Roger L.S. Griffiths



MEDALMEDALMEDAL

Joined: 12 Mar 2004
Posts: 9138 on topic
Location: Albion
Thank you for registering your game
PostPosted: Mon, 21. Mar 11, 15:10    Post subject: Reply with quote Print

I am currently working on a tool that should make manual editing/creation of MD scripts for game starts a thing of the past as well as providing support for translated game start menu information.

In the meantime, I would like to share some of the knowledge I have attained through developing my AWRM Xtra Starts.

In summary, I have a technique that can help to ensure start.xml does not grow excessively.
  • excerpt from L\true\gamestarts.xml
    Code:
      <!-- ATF Admiral : Xenon Core 023 -->
      <gamestart id="507" name="ATF Admiral" description="After waiting patiently for the go order from central command, it is finally time to strike at the heart of the Xenon menace." difficulty="{1900,2202}" image="start01" plot="1">
        <player name="{1900,2302}" species="{1900,2402}" gender="{1900,2502}" age="{1900,2601}"/>
        <sector x="21" y="6"/>
        <ship typename="SS_SH_TR_M0"/>
      </gamestart>

  • excerpts from director\start.xml
    Code:
                  <do_when value="{player.gamestart}" exact="507" comment="ATF Admiral">
                    <set_value name="Terran Plot" exact="1"/>
                    <set_value name="HUB Plot" exact="1"/>
                    <set_value name="HQ Plot" exact="1"/>
                  </do_when>
    Code:
                  <do_when value="{player.gamestart}" exact="507" comment="ATF Admiral">
                    <reward_player>
                      <money exact="100000"/>
                      <notoriety>
                        <relation race="argon" operation="set" exact="neutral"/>
                        <relation race="boron" operation="set" exact="neutral"/>
                        <relation race="paranid" operation="set" exact="enemy"/>
                        <relation race="split" operation="set" exact="shuned"/>
                        <relation race="teladi" operation="set" exact="neutral"/>
                        <relation race="goner" operation="set" exact="neutral"/>
                        <relation race="pirate" operation="set" exact="enemy" mutual="1"/>
                        <relation race="khaak" operation="set" exact="min" mutual="1"/>
                        <relation race="xenon" operation="set" exact="min" mutual="1"/>
                        <relation race="atf" operation="set" exact="{lookup.notoriety@notop7}"/>
                        <relation race="terran" operation="set" exact="friend" mutual="1"/>
                        <relation race="yaki" operation="set" exact="enemy" mutual="1"/>
                      </notoriety>
                      <equipment>
                        <ware typename="SS_WARE_TECH213" exact="{player.ship.equipment.SS_WARE_TECH213.maxcount}" comment="Engine Tunings"/>
                        <ware typename="SS_WARE_TECH246" exact="{player.ship.equipment.SS_WARE_TECH246.maxcount}" comment="Rudder Optomisation"/>
                        <ware typename="SS_WARE_TECH251" exact="{player.ship.equipment.SS_WARE_TECH251.maxcount}" comment="Cargo Bay Extension"/>
                        <ware typename="SS_SHIELD_F" exact="7"/>
                        <ware typename="SS_LASER_AWRM_FUSIONBEAM_X" exact="48"/>
                        <ware typename="SS_LASER_AWRM_EMP_H" exact="18"/>
                        <ware typename="SS_WARE_TECH231" exact="1" comment="SETA"/>
                        <ware typename="SS_WARE_TECH241" exact="1" comment="Docking Computer"/>
                        <ware typename="SS_WARE_TECH242" exact="1" comment="Video Enhancement Goggles"/>
                        <ware typename="SS_WARE_TECH276" exact="1" comment="Freight Scanner"/>
                        <ware typename="SS_WARE_SCANNER3" exact="1" comment="Triplex Scanner"/>
                        <ware typename="SS_WARE_SW_NAV_1" exact="1"/>
                        <ware typename="SS_WARE_SW_FIGHT_1" exact="1"/>
                        <ware typename="SS_WARE_SW_FIGHT_2" exact="1"/>
                        <ware typename="SS_WARE_SW_SPECIAL_1" exact="1"/>
                        <ware typename="SS_WARE_BIOSCANNER" exact="1"/>
                        <ware typename="SS_WARE_SW_EXPLORE_1" exact="1"/>
                      </equipment>
                      <map>
                        <sector x="8" y="0"/>
                        <sector x="10" y="0"/>
                        <sector x="11" y="0"/>
                        <sector x="7" y="1"/>
                        <sector x="8" y="1"/>
                        <sector x="9" y="1"/>
                        <sector x="10" y="1"/>
                        <sector x="11" y="1"/>
                        <sector x="12" y="1"/>
                        <sector x="15" y="1"/>
                        <sector x="16" y="1"/>
                        <sector x="10" y="2"/>
                        <sector x="11" y="2"/>
                        <sector x="12" y="2"/>
                        <sector x="13" y="2"/>
                        <sector x="15" y="2"/>
                        <sector x="16" y="2"/>
                        <sector x="11" y="3"/>
                        <sector x="12" y="3"/>
                        <sector x="13" y="3"/>
                        <sector x="13" y="4"/>
                      </map>
                    </reward_player>

                    <set_value name="ATF Notoriety" exact="{lookup.notoriety@notop7}"/>
                    <set_value name="Terran Plot" exact="1"/>
                    <set_value name="HUB Plot" exact="1"/>
                    <set_value name="HQ Plot" exact="1"/>
                  </do_when>

  • Sample director\<mystart>.xml
    Code:
    <?xml version="1.0" encoding="iso-8859-1" ?>
    <?xml-stylesheet href="director.xsl" type="text/xsl" ?>
    <director name="rlsg_start" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="director.xsd">
      <documentation>
        <author name="Roger L.S. Griffiths" alias="Roger L.S. Griffiths" contact="Roger L.S. Griffiths"/>
        <content reference="rlsg_start" name="rlsg_start" description="Supplemental actions for additonal AWRM/Xtra gamestarts"/>
        <version number="0.1" date="15-Mar-2011" status="release"/>
      </documentation>
      <cues>
        <cue name="md.rlsg.start" version="1" delay="1s">
          <condition>
            <check_age min="0" max="1m" />
          </condition>
          <action>
            <do_all>
              <load_text fileid="2505"/>
             
              <do_choose>
                <do_when value="{player.gamestart}" min="500" max="519" comment="AWRM/Xtra Starts">
                  <incoming_message text="{17,250596}"
                                    popup="1" temporary="1"/>
                  <run_script script="plugin.rlsg.start.news" task="1">
                    <scriptargs>
                      <scriptvalue datatype="integer" datavalue="{player.gamestart}"/>
                    </scriptargs>
                  </run_script>
                </do_when>
              </do_choose>

              <do_choose>
                <do_when value="{player.gamestart}" exact="507" comment="ATF Admiral">
                  <warp_player>
                    <position x="50km" y="50km" z="50km"/>
                  </warp_player>

                  <create_ship name="md.rlsg.start.S507_tp" typename="SS_SH_USC_TP_GAUNTLET" race="player" dockobject="{player.ship}" homebase="{player.ship}">
                    <equipment>
                      <ware typename="SS_WARE_TECH213" exact="10" comment="Engine Tunings"/>
                      <ware typename="SS_WARE_TECH246" exact="10" comment="Rudder Optomisation"/>
                      <ware typename="SS_WARE_TECH251" exact="400" comment="Cargo Bay Extension"/>
                      <ware typename="SS_SHIELD_D" exact="2"/>
                      <ware typename="SS_LASER_AWRM_MAM_M" exact="2"/>
                      <ware typename="SS_LASER_AWRM_EPC_H" exact="2"/>
                      <ware typename="SS_LASER_AWRM_APE_H" exact="4"/>
                      <ware typename="SS_LASER_AWRM_CPC_H" exact="4"/>
                      <ware typename="SS_WARE_TR_TECH7" exact="40"/>
                      <ware typename="SS_WARE_TECH231" exact="1" comment="SETA"/>
                      <ware typename="SS_WARE_TECH241" exact="1" comment="Docking Computer"/>
                      <ware typename="SS_WARE_TECH242" exact="1" comment="Video Enhancement Goggles"/>
                      <ware typename="SS_WARE_TECH276" exact="1" comment="Freight Scanner"/>
                      <ware typename="SS_WARE_SCANNER3" exact="1" comment="Triplex Scanner"/>
                      <ware typename="SS_WARE_SW_NAV_1" exact="1"/>
                      <ware typename="SS_WARE_SW_FIGHT_1" exact="1"/>
                      <ware typename="SS_WARE_SW_FIGHT_2" exact="1"/>
                      <ware typename="SS_WARE_SW_SPECIAL_1" exact="1"/>
                      <ware typename="SS_WARE_BIOSCANNER" exact="1"/>
                      <ware typename="SS_WARE_SW_EXPLORE_1" exact="1"/>
                    </equipment>
                  </create_ship>

                  <create_ship name="md.rlsg.start.S507_tp" typename="SS_SH_USC_TS_2" race="player" dockobject="{player.ship}" homebase="{player.ship}">
                    <equipment>
                      <ware typename="SS_WARE_TECH213" exact="10" comment="Engine Tunings"/>
                      <ware typename="SS_WARE_TECH246" exact="10" comment="Rudder Optomisation"/>
                      <ware typename="SS_WARE_TECH251" exact="3250" comment="Cargo Bay Extension"/>
                      <ware typename="SS_SHIELD_C" exact="5"/>
                      <ware typename="SS_LASER_AWRM_APE_H" exact="2"/>
                      <ware typename="SS_WARE_TECH231" exact="1" comment="SETA"/>
                      <ware typename="SS_WARE_TECH241" exact="1" comment="Docking Computer"/>
                      <ware typename="SS_WARE_TECH242" exact="1" comment="Video Enhancement Goggles"/>
                      <ware typename="SS_WARE_TECH276" exact="1" comment="Freight Scanner"/>
                      <ware typename="SS_WARE_SCANNER3" exact="1" comment="Triplex Scanner"/>
                      <ware typename="SS_WARE_SW_NAV_1" exact="1"/>
                      <ware typename="SS_WARE_SW_FIGHT_1" exact="1"/>
                      <ware typename="SS_WARE_SW_FIGHT_2" exact="1"/>
                      <ware typename="SS_WARE_SW_SPECIAL_1" exact="1"/>
                      <ware typename="SS_WARE_BIOSCANNER" exact="1"/>
                      <ware typename="SS_WARE_SW_EXPLORE_1" exact="1"/>
                    </equipment>
                  </create_ship>

                  <do_all exact="4">
                    <create_ship name="md.rlsg.start.S507_m6" typename="SS_SH_TR_M6" race="player" dockobject="{player.ship}" wing="gold" homebase="{player.ship}">
                      <equipment>
                        <ware typename="SS_WARE_TECH213" exact="10" comment="Engine Tunings"/>
                        <ware typename="SS_WARE_TECH246" exact="15" comment="Rudder Optomisation"/>
                        <ware typename="SS_WARE_TECH251" exact="250" comment="Cargo Bay Extension"/>
                        <ware typename="SS_SHIELD_D" exact="5"/>
                        <ware typename="SS_LASER_AWRM_EMP_H" exact="10"/>
                        <ware typename="SS_LASER_AWRM_PNC_H" exact="4"/>
                        <ware typename="SS_WARE_TECH231" exact="1" comment="SETA"/>
                        <ware typename="SS_WARE_TECH241" exact="1" comment="Docking Computer"/>
                        <ware typename="SS_WARE_TECH242" exact="1" comment="Video Enhancement Goggles"/>
                        <ware typename="SS_WARE_TECH276" exact="1" comment="Freight Scanner"/>
                        <ware typename="SS_WARE_SCANNER3" exact="1" comment="Triplex Scanner"/>
                        <ware typename="SS_WARE_SW_NAV_1" exact="1"/>
                        <ware typename="SS_WARE_SW_FIGHT_1" exact="1"/>
                        <ware typename="SS_WARE_SW_FIGHT_2" exact="1"/>
                        <ware typename="SS_WARE_SW_SPECIAL_1" exact="1"/>
                        <ware typename="SS_WARE_BIOSCANNER" exact="1"/>
                        <ware typename="SS_WARE_SW_EXPLORE_1" exact="1"/>
                      </equipment>
                    </create_ship>
                  </do_all>

                  <do_all exact="4">
                    <create_ship name="md.rlsg.start.S507_m6" typename="SS_SH_TR_M6M" race="player" dockobject="{player.ship}" wing="silver" homebase="{player.ship}">
                      <equipment>
                        <ware typename="SS_WARE_TECH213" exact="10" comment="Engine Tunings"/>
                        <ware typename="SS_WARE_TECH246" exact="15" comment="Rudder Optomisation"/>
                        <ware typename="SS_WARE_TECH251" exact="150" comment="Cargo Bay Extension"/>
                        <ware typename="SS_SHIELD_D" exact="6"/>
                        <ware typename="SS_LASER_AWRM_EMP_H" exact="8"/>
                        <ware typename="SS_LASER_AWRM_PNC_H" exact="6"/>
                        <ware typename="SS_WARE_TECH231" exact="1" comment="SETA"/>
                        <ware typename="SS_WARE_TECH241" exact="1" comment="Docking Computer"/>
                        <ware typename="SS_WARE_TECH242" exact="1" comment="Video Enhancement Goggles"/>
                        <ware typename="SS_WARE_TECH276" exact="1" comment="Freight Scanner"/>
                        <ware typename="SS_WARE_SCANNER3" exact="1" comment="Triplex Scanner"/>
                        <ware typename="SS_WARE_SW_NAV_1" exact="1"/>
                        <ware typename="SS_WARE_SW_FIGHT_1" exact="1"/>
                        <ware typename="SS_WARE_SW_FIGHT_2" exact="1"/>
                        <ware typename="SS_WARE_SW_SPECIAL_1" exact="1"/>
                        <ware typename="SS_WARE_BIOSCANNER" exact="1"/>
                        <ware typename="SS_WARE_SW_EXPLORE_1" exact="1"/>
                      </equipment>
                    </create_ship>
                  </do_all>

                  <do_all exact="30">
                    <create_ship name="md.rlsg.start.S507_m4" typename="SS_SH_TR_M4_HEL" race="player" dockobject="{player.ship}" wing="red" homebase="{player.ship}">
                      <equipment>
                        <ware typename="SS_WARE_TECH213" exact="10" comment="Engine Tunings"/>
                        <ware typename="SS_WARE_TECH246" exact="10" comment="Rudder Optomisation"/>
                        <ware typename="SS_WARE_TECH251" exact="0" comment="Cargo Bay Extension"/>
                        <ware typename="SS_SHIELD_B" exact="4"/>
                        <ware typename="SS_LASER_AWRM_PNC" exact="4"/>
                        <ware typename="SS_LASER_AWRM_APE" exact="4"/>
                        <ware typename="SS_WARE_TECH231" exact="1" comment="SETA"/>
                        <ware typename="SS_WARE_TECH241" exact="1" comment="Docking Computer"/>
                        <ware typename="SS_WARE_TECH242" exact="1" comment="Video Enhancement Goggles"/>
                        <ware typename="SS_WARE_TECH276" exact="1" comment="Freight Scanner"/>
                        <ware typename="SS_WARE_SCANNER3" exact="1" comment="Triplex Scanner"/>
                        <ware typename="SS_WARE_SW_NAV_1" exact="1"/>
                        <ware typename="SS_WARE_SW_FIGHT_1" exact="1"/>
                        <ware typename="SS_WARE_SW_FIGHT_2" exact="1"/>
                        <ware typename="SS_WARE_SW_SPECIAL_1" exact="1"/>
                        <ware typename="SS_WARE_BIOSCANNER" exact="1"/>
                        <ware typename="SS_WARE_SW_EXPLORE_1" exact="1"/>
                      </equipment>
                    </create_ship>
                  </do_all>

                  <do_all exact="15">
                    <create_ship name="md.rlsg.start.S507_m3" typename="SS_SH_TR_M3_VERDANDI" race="player" dockobject="{player.ship}" wing="blue" homebase="{player.ship}">
                      <equipment>
                        <ware typename="SS_WARE_TECH213" exact="10" comment="Engine Tunings"/>
                        <ware typename="SS_WARE_TECH246" exact="10" comment="Rudder Optomisation"/>
                        <ware typename="SS_WARE_TECH251" exact="40" comment="Cargo Bay Extension"/>
                        <ware typename="SS_SHIELD_C" exact="4"/>
                        <ware typename="SS_LASER_AWRM_PNC_M" exact="8"/>
                        <ware typename="SS_LASER_AWRM_APE_M" exact="4"/>
                        <ware typename="SS_WARE_TECH231" exact="1" comment="SETA"/>
                        <ware typename="SS_WARE_TECH241" exact="1" comment="Docking Computer"/>
                        <ware typename="SS_WARE_TECH242" exact="1" comment="Video Enhancement Goggles"/>
                        <ware typename="SS_WARE_TECH276" exact="1" comment="Freight Scanner"/>
                        <ware typename="SS_WARE_SCANNER3" exact="1" comment="Triplex Scanner"/>
                        <ware typename="SS_WARE_SW_NAV_1" exact="1"/>
                        <ware typename="SS_WARE_SW_FIGHT_1" exact="1"/>
                        <ware typename="SS_WARE_SW_FIGHT_2" exact="1"/>
                        <ware typename="SS_WARE_SW_SPECIAL_1" exact="1"/>
                        <ware typename="SS_WARE_BIOSCANNER" exact="1"/>
                        <ware typename="SS_WARE_SW_EXPLORE_1" exact="1"/>
                      </equipment>
                    </create_ship>
                  </do_all>

                  <do_all exact="5">
                    <create_ship name="md.rlsg.start.S507_m5" typename="SS_SH_TR_M5_MANI" race="player" dockobject="{player.ship}" wing="green" homebase="{player.ship}">
                      <equipment>
                        <ware typename="SS_WARE_TECH213" exact="10" comment="Engine Tunings"/>
                        <ware typename="SS_WARE_TECH246" exact="10" comment="Rudder Optomisation"/>
                        <ware typename="SS_WARE_TECH251" exact="80" comment="Cargo Bay Extension"/>
                        <ware typename="SS_SHIELD_B" exact="1"/>
                        <ware typename="SS_LASER_AWRM_PNC" exact="6"/>
                        <ware typename="SS_LASER_AWRM_APE" exact="2"/>
                        <ware typename="SS_WARE_TECH231" exact="1" comment="SETA"/>
                        <ware typename="SS_WARE_TECH241" exact="1" comment="Docking Computer"/>
                        <ware typename="SS_WARE_TECH242" exact="1" comment="Video Enhancement Goggles"/>
                        <ware typename="SS_WARE_TECH276" exact="1" comment="Freight Scanner"/>
                        <ware typename="SS_WARE_SCANNER3" exact="1" comment="Triplex Scanner"/>
                        <ware typename="SS_WARE_SW_NAV_1" exact="1"/>
                        <ware typename="SS_WARE_SW_FIGHT_1" exact="1"/>
                        <ware typename="SS_WARE_SW_FIGHT_2" exact="1"/>
                        <ware typename="SS_WARE_SW_SPECIAL_1" exact="1"/>
                        <ware typename="SS_WARE_BIOSCANNER" exact="1"/>
                        <ware typename="SS_WARE_SW_EXPLORE_1" exact="1"/>
                      </equipment>
                    </create_ship>
                  </do_all>

                  <add_wing_to_group group="md.rlsg.start.S507_grp" wing="gold"/>
                  <add_wing_to_group group="md.rlsg.start.S507_grp" wing="silver"/>
                  <add_wing_to_group group="md.rlsg.start.S507_grp" wing="red"/>
                  <add_wing_to_group group="md.rlsg.start.S507_grp" wing="blue"/>
                  <add_wing_to_group group="md.rlsg.start.S507_grp" wing="green"/>
                  <set_group_homebase group="md.rlsg.start.S507_grp" homebase="{player.ship}"/>
                </do_when>
              </do_choose>
            </do_all>
          </action>
        </cue>
      </cues>
    </director>
If necessary, some/all of the reward_player stuff from the start.xml file could be moved to the additional <mystart>.xml file.

Please feel free to review the content of my start mod in order to see other examples (such as spawning additional ships with other ships already docked with them).


_________________
Roger (aka [SRK] Mr^Rabbit)

"Understanding is a three edged sword... your side, their side... and the Truth!" - J.J. Sheriden, Babylon 5 S4E6 T28:55

"May god stand between you and harm in all the dark places you must walk." - Ancient Egyption Proverb

"When eating an elephant take one bite at a time" - Creighton Abrams
Back to top
View user's profile Send private message
Scoob





Joined: 27 Feb 2003
Posts: 5402 on topic
Location: Oxford, UK
Thank you for registering your game
PostPosted: Tue, 26. Jul 11, 18:00    Post subject: Reply with quote Print

Hi Roger,

Interesting stuff! I'm just looking into Game Starts myself (totally new to this) and wanting to create something a little different.

I understand now the basics of setting my start race, sector, ship etc. as well as creating additional ships, possibly with some docked at an owned ship. This is all good. However, as part of the background to a game start I'm looking at creating I need the starting ships to be less than perfect.

For example, I'd be creating a TL with some ships docked but the TL would be in bad shape so only partiially tuned & equiped, which is easy. However I'd also like it to come with fairly extensive hull damage also...the challange being to protect this ship early-game using a miss-matched batch of equally damaged and poorly equipped fighters. Ulitmately the player could restore this ship & equip it fully as funds allow, though it'd start as a glorified warehouse. I'm still pondering a few ideas...one more being that I'd like to create a couple of bailed and damaged ships nearby at game start - as if the remains of a battle.

So, in your experience, can I spawn a damaged as well as bailed damged ships or would I have to script certain things in after initial creation?

Any advice welcome.

Cheers,

Scoob.

Back to top
View user's profile Send private message
Vayde





Joined: 06 Feb 2004
Posts: 830 on topic
Location: England,UK
Thank you for registering your game
PostPosted: Tue, 26. Jul 11, 23:50    Post subject: Reply with quote Print

I can add 10 rnd marines to a TP with this code.

Code:
<ware typename="SS_WARE_SOLDIER_2" exact="10" comment="Marine"/>


How would I go about creating 10 trained marines with a few stars each?


_________________
DDTC

Please visit us at the DDTC Forums or HERE at our Egosoft thread.
Back to top
View user's profile Send private message
Ketraar
Moderator (Português)
Moderator (Português)

MEDALMEDAL

Joined: 21 May 2004
Posts: 8387 on topic
Location: Guimarães (Portugal)
Thank you for registering your game
PostPosted: Thu, 28. Jul 11, 00:21    Post subject: Reply with quote Print

you would need to use <set_marine_data but for that the marines need to be actors iirc.

MFG

Ketraar

Back to top
View user's profile Send private message Send e-mail
spacek1ght



MEDAL

Joined: 27 Jan 2012
Posts: 12 on topic
Location: UK
Thank you for registering your game
PostPosted: Fri, 27. Jan 12, 22:36    Post subject: Custom Starts Reply with quote Print

Hi all. I've just got into playing X3TC and I'd like to create my own custom player start.

I realise I could just use the cheat scripts to get what I want but I'd like a start that provides the option without cheating.

Basically I want a Teladi start in Terran space with good Terran relations, about 30.000 credits and a Terran freighter.
The idea is that by blind luck a Teladi saved a Terran officers life, losing his cargo ship in the event and was rewarded with access to the Terran sectors and a shiny new Terran freighter.
This Teladi wants to corner the market and build an Empire stretching all the way home. Smile

Of course the only problem being I have no idea to how to do this. I've read a lot of the comments in this section and its very confusing. Plus it needs to work with Version 3.2. My skills lie in 3d and texturing, not coding. So any help would be appreciated. Wink

Back to top
View user's profile Send private message
apricotslice





Joined: 16 May 2004
Posts: 13627 on topic
Location: In the Hunter Legacy Universe
Thank you for registering your game
PostPosted: Thu, 1. Mar 12, 03:54    Post subject: Reply with quote Print

Updates for AP :

There are several significant changes to starts in AP.

Within start.xml, the section I call Part 1 in the OP, has been removed. The plots information is now embedded at the top of each start, in the Part 2 area.

gamestarts.xml has moved location. It is now in the types folder.


_________________
Apricot Mapping Services HQ
CLICK HERE for X3 Handbook; TC and AP Guides, Mods, Scripts & Downloads
Back to top
View user's profile Send private message Send e-mail Visit poster's website
XDrake





Joined: 29 Oct 2008
Posts: 133 on topic

Thank you for registering your game
PostPosted: Fri, 8. Jun 12, 22:55    Post subject: Reply with quote Print

I have seen some of the other start files.

Code:
<equipment loadout="maxium"/>


This load the max weapons and shields on a ship?

What would be the results for some of the other flags for this command?


edit:

So the naming thing is for the MD to have a reference object, and not to change the name in the game itself?


_________________
XDrake
-------------------------------------------------------
NECORE Inc.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic Reply to topic Goto page Previous  1, 2, 3, 4, 5, 6, 7  Next
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum
Control Panel
Login Data
The time now is Tue, 23. May 17, 01:22

All times are GMT + 2 Hours


Board Security

Copyright © EGOSOFT 1989-2017
Powered by phpBB © 2001, 2005 phpBB Group
Template created by Avatar & BurnIt!
Debug: page generation = 1.61017 seconds, sql queries = 29