Problem with launching fighters from carrier...

This is the place for all questions related to modding Starshatter.
Post Reply
TexMurphy
Posts: 137
Joined: Fri Jun 11, 2004 7:16 pm

Problem with launching fighters from carrier...

Post by TexMurphy »

Ok here is what Im doing and it aint working.

Code: Select all

 element: {
    name:      "Element",
    design:    "Arrow",
    squadron:  "Squad",
    mission:   "Misc",
 
    intel:     "Located",
    count:     2,
    alert:     true,
    command_ai:0,
    iff:       1,
    player:    1,
    playable:  false,
    region:    "McAuliffeVikyah 1",
    loc:       (-20000, 8000, 0),
 
    loadout:   { ship: -1, name: "Clean" },
 }
 
 element: {
    name:      "Squad",
    design:    "Arrow",
    carrier:   "Base",
    commander: "Base",
    mission:   "Patrol",
 
    intel:     "Located",
    count:     1,
    command_ai:1,
    iff:       1,
    region:    "McAuliffeVikyah 1",
    loc:       (-19000, -15000, 0),
 
    loadout:   { ship: -1, name: "Clean" },
 }
 
 
 
 element: {
    name:      "Base",
    design:    "Vesuvius",
    mission:   "Patrol",
 
    intel:     "Located",
    count:     1,
    command_ai:1,
    iff:       1,
    playable:  false,
    region:    "McAuliffeVikyah 1",
    loc:       (0, 0, 0),
 }
 

As you see "Squad" is assigned to the carrier "Base". "Element" is derived of "Squad" and set to Alert. This *should* launch my fighters of the carrier at mission start.

But it aint workin.

Any ideas?

Tex
Mehrunes
Posts: 257
Joined: Wed Mar 31, 2004 6:56 am
Contact:

RE: Problem with launching fighters from carrier...

Post by Mehrunes »

Your squadron only has 1 ship in it. Yet you're trying to launch 2 craft from it.
TexMurphy
Posts: 137
Joined: Fri Jun 11, 2004 7:16 pm

RE: Problem with launching fighters from carrier...

Post by TexMurphy »

Ok now its set to 2. still no go though.

Im attaching a file that is the mission file. Do you think you could take a look at it and then post it back if you get it to work?

would really apriciate it.

Tex
Attachments
custom005.def.txt
(1.1 KiB) Downloaded 14 times
John DiCamillo
Posts: 360
Joined: Sat Feb 28, 2004 7:02 am
Contact:

RE: Problem with launching fighters from carrier...

Post by John DiCamillo »

Try reversing the order of the elements in the mission file. Carrier should come first, then squadrons, then alert fighter packages.
TexMurphy
Posts: 137
Joined: Fri Jun 11, 2004 7:16 pm

RE: Problem with launching fighters from carrier...

Post by TexMurphy »

If I put the carrier first then no matter what setting I have I will be in command of the carrier. This is even if I have NO player flag on the carrier.

Tex
TexMurphy
Posts: 137
Joined: Fri Jun 11, 2004 7:16 pm

RE: Problem with launching fighters from carrier...

Post by TexMurphy »

actually scratch that... If I have base, element, squad THEN its always the carrier... if I do what you say milo it works.

Thanks.
Tex
Post Reply

Return to “Starshatter Modding Forum”