Custom mission questions here!

Starshatter: The Gathering Storm extends the classic space sim by combining fighter and starship combat in a single dynamic campaign game.
Post Reply
Isil`Zha
Posts: 27
Joined: Tue Apr 13, 2004 10:04 am

Custom mission questions here!

Post by Isil`Zha »

I have more, but just for now:

When making a mission event/trigger - what type of sound files and what directory does it read from?
"To strive, to seek, to find, and not to yield."
isferno
Posts: 16
Joined: Mon Apr 05, 2004 3:49 pm

RE: Custom mission questions here!

Post by isferno »

As I understand it, plain .wav files in the dir you want them to be.

I've got a question of my own:
A small part of my Mission I'm working on (introduction into the rest) concerns a runaway spy ship which surrenders after first damage.
Two pair of fighters have been dispatch to do this job (search and engage), but one pair (who were escorts of other pair) chances IFF.

My question, How can I change an engage spy-ship into an escort spy-ship job and an escort fighter into an engage fighter?

Without my interference, the hunters will continue to destroy the surrendering "spy-ship" and the turned agents will continue to escort.


If this is not possible, I can still change the intro into, "dispatch some fighters and confince the spy with a shot or two to hold until ..."
Thoug it will then be difficult to program an event of agent fighters trying to aid their spy with some sensitive info.
A new insight comes when you stop
swinging the bucket of water over your head.
John DiCamillo
Posts: 360
Joined: Sat Feb 28, 2004 7:02 am
Contact:

RE: Custom mission questions here!

Post by John DiCamillo »

Yes, the sounds are plain wave files, but they should be in the /Mods/Sounds directory. I think you can place them in a subdirectory such as /Mods/Sounds/milo/mission1 as long as you specify the subdirectory in the event. So the sound file would be "milo/mission1/sound1.wav".

I'm a bit confused over what you want to happen in the mission. What is the spy-ship's initial IFF? What happens when it surrenders? You could have it signal its surrender by changing IFF from 2 (enemy) to 0 (non-combatant).

You will also need an event to change the objective on the fighters that have been told to engage the spy-ship. Set the following parameters:

Event action = Objective
Event ship = the fighter element callsign
Event target = the spy-ship callsign
Event param = 9

At least, I think that 9 is the correct parameter for "escort". It might be 4 or 5. I'll have to look it up and get back to you on that...
Isil`Zha
Posts: 27
Joined: Tue Apr 13, 2004 10:04 am

RE: Custom mission questions here!

Post by Isil`Zha »

could we get a list off all those parameter numbers?

PS: does the damage parameter refer to the % that's displayed in-game?

Oh, and from the response before I got the sound working, just needed the -filesys. :)
"To strive, to seek, to find, and not to yield."
isferno
Posts: 16
Joined: Mon Apr 05, 2004 3:49 pm

RE: Custom mission questions here!

Post by isferno »

ORIGINAL: John DiCamillo

I'm a bit confused over what you want to happen in the mission. What is the spy-ship's initial IFF? What happens when it surrenders? You could have it signal its surrender by changing IFF from 2 (enemy) to 0 (non-combatant).

You will also need an event to change the objective on the fighters that have been told to engage the spy-ship. Set the following parameters:

Event action = Objective
Event ship = the fighter element callsign
Event target = the spy-ship callsign
Event param = 9

At least, I think that 9 is the correct parameter for "escort". It might be 4 or 5. I'll have to look it up and get back to you on that...

The spy ship is an cargo ship (IFF 0) which turns into 1. (A fighter ship would have be blown away with missiles unless I send them out clean)
After the Iff changes including a surrender message, my pilots still keep shooting at the cargo ship.
After a delay, the escorts show their true color (IFF 2) but fly by harmlessly, nothing more then escorting their original target.

But with your parameter list, (It seems logical numbered as with assignment?) I guess I can continue from there one.

After that, a war scene slowly turns toward the spy ship and objectives change from defending an important post to avoid losing the target.

At least I can be more specific with targeting ship for the AI then just hook them and jump then right and timed.
A new insight comes when you stop
swinging the bucket of water over your head.
isferno
Posts: 16
Joined: Mon Apr 05, 2004 3:49 pm

RE: Custom mission questions here!

Post by isferno »

The following appears to happen while changing the Objective: (fighters are IFF 1)

With - Changing cargo ship IFF 0 to IFF 1 and the fighter
- The fighters keep on continuing the last thing they are doing (can't be placed on hold either)
- The fighters effectively change their objective to escort when the enemy agents are in the vicinity
With - Changing cargo ship IFF 2 to IFF 0 and the fighters will
- continue to damage the cargo ship until it is destroyed
- only after succesful destruction will engage enemy agents

And also:
Fighters on Patrol don't bother enemies though drop decoys and might make evasive maneuvres
Fighters who are launched after the game has started can not artificialy be influenced to change objectives


For reference you can find the small events tryout defenition attached as ZIP file.
Attachments
custom005.zip
(1.27 KiB) Downloaded 15 times
A new insight comes when you stop
swinging the bucket of water over your head.
Post Reply

Return to “Starshatter: The Gathering Storm”