Campaign creation

This is the place for all questions related to modding Starshatter.
Post Reply
User avatar
Dragonlead
Posts: 303
Joined: Sun May 16, 2004 6:25 am

Campaign creation

Post by Dragonlead »

Does anyone have any info on how to create a custom campaign for 4.5? I thought I saw one on the old Starshatter Central, but I can't find anything about it here. Any help would be appreciated.

V/R
USAF Ret.
User avatar
Zanthras
Posts: 146
Joined: Wed Sep 06, 2006 10:46 am

RE: Campaign creation

Post by Zanthras »

There is a sample campaign that breaks down the first two original SS campaigns. I checked grouper, but couldnt find it, so I downloaded it to my local folder. Maybe one of the other guys from the grouper network might know its location...
 
let me know if you can pull it off grouper, otherwise I can email it to you...
~Z~
"Don't give up the ship!"
-Captain James Lawrence

User avatar
Zanthras
Posts: 146
Joined: Wed Sep 06, 2006 10:46 am

a lesser campaign

Post by Zanthras »

Hey I almost forgot...there is also a way to dat a group of missions together as well, basically the same way as creating a ship mod...but slight diff to the mod_info.def file...here is an example from one I created. You can include as many missions as you like as part of the dat.
 
MOD_INFO
name:       "Operation Backtrack"
version:    8
distribute: true

logo:       "swtwc.pcx"
desc:       "Provide escort for civilian transports as the\n Alliance conducts an orderly retreat from\n the Garrison system.\n\n (Third mission in the 'Long way from home' series.\n\n Require Heavy Spectre and Ssbet (BB set) mods"
copyright:  "Copyright (c) 2005 XM productions.\nAll rights reserved."
           

campaign:  { name: "Operation Backtrack", path: "Mods/Missions" }

 
This will show up in the 'campaign' section after you select missions from the main menu. There isnt really anyway to put missions in any particular order and it wont take advantage of the dynamics in creating missions. They run scripted, the same every time...
 
just something I thought might be useful to know...
~Z~
 
 
"Don't give up the ship!"
-Captain James Lawrence

turgotZ
Posts: 56
Joined: Mon Aug 02, 2004 12:56 am

RE: Campaign creation

Post by turgotZ »

ORIGINAL: Zanthras

There is a sample campaign that breaks down the first two original SS campaigns. I checked grouper, but couldnt find it, so I downloaded it to my local folder. Maybe one of the other guys from the grouper network might know its location...

let me know if you can pull it off grouper, otherwise I can email it to you...
~Z~
I checked grouper, but couldnt find it, so I downloaded it to my local folder. Maybe one of the other guys from the grouper network might know its location...

Its in my share in "Sourcefiles"
User avatar
Dragonlead
Posts: 303
Joined: Sun May 16, 2004 6:25 am

RE: Campaign creation

Post by Dragonlead »

Turgotz,

What does your comment mean?

V/R
USAF Ret.
turgotZ
Posts: 56
Joined: Mon Aug 02, 2004 12:56 am

RE: Campaign creation

Post by turgotZ »

If your part of the starshatter grouper group you can download the file campaign source files (which are for version 4 and 4.5), from there or I gather he is willing to email them to you.

have a look(a visual explanation) :)
http://72.38.179.74/camp.htm
turgotZ
Posts: 56
Joined: Mon Aug 02, 2004 12:56 am

RE: Campaign creation

Post by turgotZ »

and you might want to check this
http://72.38.179.74/wikistar/Campaigns.html
User avatar
Dragonlead
Posts: 303
Joined: Sun May 16, 2004 6:25 am

RE: Campaign creation

Post by Dragonlead »

THANKS TURGOTZ!!

That second link was exactly what I remembered seeing.

V/R
USAF Ret.
turgotZ
Posts: 56
Joined: Mon Aug 02, 2004 12:56 am

RE: Campaign creation

Post by turgotZ »

No problem, hope it helps
User avatar
Dragonlead
Posts: 303
Joined: Sun May 16, 2004 6:25 am

RE: Campaign creation

Post by Dragonlead »

It will. I'm going to work on a new campaign with straight stock ships. If the architecture hasn't changed, it should still be usable with TGS.

V/R
USAF Ret.
User avatar
Zanthras
Posts: 146
Joined: Wed Sep 06, 2006 10:46 am

RE: Campaign creation

Post by Zanthras »

I have been trying mods and missions from 4.5 in TGS and they still seem to work fine...mission editing is exactly the same from what I can see.

note there are a few new events and triggers I have yet to fully comprehend...hopefully we can get some feedback from milo on how they work...
"Don't give up the ship!"
-Captain James Lawrence

User avatar
Dragonlead
Posts: 303
Joined: Sun May 16, 2004 6:25 am

RE: Campaign creation

Post by Dragonlead »

Thanks, that's good to know. One further question for anyone else with campaign building experience. The file TurgotZ has linked mentions ACTIONS and TEMPLATES as folders to be placed in the campaign folder. But there is no explanation of these things. Any ideas?

V/R
USAF Ret.
User avatar
Zanthras
Posts: 146
Joined: Wed Sep 06, 2006 10:46 am

RE: Campaign creation

Post by Zanthras »

Actions- folder containing txt and pcx files for news, mail and debriefs...see example

campaign_end.txt file
Alliance forces have completed operations in the Solus-Renser Theater.  Hegemony resistance has been broken and the Prefect of Renser is meeting with the Alliance Provisional Consulate at this hour to establish terms for a cease-fire and eventual non-agression pact.
All Force:Space units in Third Fleet will be withdrawing from Renser space to predetermined guard points in the surrounding systems.  Force:Command expects to be able to rotate your unit back to home space within a few weeks for replenishment and shore leave.
Well done, Commander!
 
note the pcx files from 4.5 offer different sizes to accomidate different screeen resolutions.

Templates - folder containing mission template files saved in txt, basically a mission def file. see example below...

From the DS_escort_03.def file
MISSION_TEMPLATE
name:       "Freight Escort"
type:       ESCORT_FREIGHT
system:     Solus
region:     Trellis
degrees:    true

alias:      { name: FC1, elem: "Trellis-Solus"                 }
alias:      { name: Obs, elem: "Tal Vesta Stellar Observatory" }

callsign:   { name: Alpha,   iff: 2 }
callsign:   { name: Bravo,   iff: 2 }

element: {
  name:    Ward,
  design:  TypeIII,
  rloc:    { ref: FC1, dex: 180e3, dex_var: 50e3, el: 0, el_var: 0 },
  mission: freight,
  count:   1,
  iff:     1,
  intel:   tracked,
  hold:    900,

   navpt:   { cmd: vector, rloc: { ref: Ward, dex: 50e3, dex_var:10e3, el: 0, el_var: 0 }, speed: 450, rgn: Trellis  },
  navpt:   { cmd: vector, rloc: { ref: Obs,  dex: 40e3, dex_var:10e3, el: 0, el_var: 0 }, speed: 450, rgn: Meridian },
}

ward: Ward
alias:      {
  name:    Player,
  code:    player,
  mission: escort_freight,

   navpt:   { cmd: vector, rloc: { ref: "Ward",   dex: 15e3, az: 270, az_var: 20, el_var: 0 }, speed: 500, rgn: Trellis  },
  navpt:   { cmd: escort, rloc: { ref: "Ward:1", dex: 10e3, az: 270, az_var: 30, el_var: 0 }, speed: 500, rgn: Trellis  },
  navpt:   { cmd: escort, rloc: { ref: "Ward:2", dex:  7e3, az: 270, az_var: 20, el_var: 0 }, speed: 500, rgn: Meridian },
  navpt:   { cmd: rtb,    rloc: { ref: Player,   dex: 20e3,                      el_var: 0 }, speed: 250, rgn: Trellis  },

  objective: { cmd: patrol,            tgt_desc: "inbound enemy units" },
  objective: { cmd: escort, tgt: Ward, tgt_desc: "the merchant vessel" },
}

event: {
  id:              1,
  event:           Hold,
  event_ship:      Ward,
  event_param:     0,

   trigger:         Navpoint,
  trigger_ship:    Player,
  trigger_param:   1,
}

event: {
  id:              2,
  event:           Message,
  event_ship:      Player,
  event_source:    Ward,
  event_message:   "Glad to see you guys! Thanks for escorting us.",
  event_chance:    50,

   trigger:         Event,
  trigger_param:   1,
  delay:           1,
}

 
the template file will ref a template list file, which you may already have...see example below.

TEMPLATELIST
// specialized templates first
mission: { type: PATROL,         group: INTERCEPT_SQUADRON, script: "Templates/IS_Patrol_HS.def", rgn: Solus,   name: "Harmony Patrol", after: "05/12:00:00", exec_once: 1 }
mission: { type: PATROL,         group: FIGHTER_SQUADRON,   script: "Templates/FS_Patrol_HS.def", rgn: Solus,   name: "Harmony Patrol", after: "05/12:00:00", exec_once: 1 }

// then general templates
mission: { type: PATROL,         group: INTERCEPT_SQUADRON, script: "Templates/IS_Patrol_01.def" }
mission: { type: PATROL,         group: FIGHTER_SQUADRON,   script: "Templates/FS_Patrol_01.def" }
mission: { type: PATROL,         group: INTERCEPT_SQUADRON, script: "Templates/IS_Patrol_02.def" }
mission: { type: PATROL,         group: FIGHTER_SQUADRON,   script: "Templates/FS_Patrol_02.def" }
mission: { type: PATROL,         group: INTERCEPT_SQUADRON, script: "Templates/IS_Patrol_03.def" }
mission: { type: PATROL,         group: FIGHTER_SQUADRON,   script: "Templates/FS_Patrol_03.def" }

 
this is only a partial list from the templatelist file...

other files that you might already know about...the order of battle file, (this is from the Alliance.def file)

ORDER_OF_BATTLE
group: {
type:   force,
id:     1,
name:   "Terellian Alliance",
intel:  known,
iff:    1,
loc:    (0, 0, 0),
}

// -----------------------
// JARNELL

group: {
type:   fleet,
id:     1,
name:   "Aradiel",
intel:  known,
iff:    1,
region: "Jarnell",
loc:    (0, 0, 0),
parent_type: force,
parent_id:   1,
}

group: {
type:   carrier_group,
id:     4,
name:   "Aradiel",
intel:  known,
iff:    1,
region: "Jarnell",
loc:    (-130e3, 50e3, 0),
parent_type: fleet,
parent_id:   1,

  unit: {
   name:   "Aradiel",
   type:   "Carrier",
   design: "Aradiel",
   regnum: "69",
   },

  unit: {
   name:   "Adonai",
   type:   "Battleship",
   design: "Adonai",
   regnum: "521",
   },

  unit: {
   name:   "Merkava",
   type:   "Destroyer",
   design: "Merkava",
   regnum: "708",
   },
}

 
 
and finally the zones file, again this is only a partial list...

ZONES
zone: {
  system: Solus,
  region: Meridian
}

zone: {
  system: Solus,
  region: Solus,
  region: Telmera,
  region: Omane
}

zone: {
  system: Solus,
  region: Jalah
}

zone: {
  system: Solus,
  region: Trellis
}

 
zone: {
  system: Renser,
  region: Garana
}


hope this proves helpful.
"Don't give up the ship!"
-Captain James Lawrence

User avatar
Dragonlead
Posts: 303
Joined: Sun May 16, 2004 6:25 am

RE: Campaign creation

Post by Dragonlead »

WHOAH!! Where did you get this!?!? Could you email me a more complete sample? I'm not sure what some of those command lines are (i.e. ward: Ward).

V/R
USAF Ret.
User avatar
Zanthras
Posts: 146
Joined: Wed Sep 06, 2006 10:46 am

RE: Campaign creation

Post by Zanthras »

I sent you a couple emails with the complete data for the Template.def file and the Templatelist file. Let me know if you got them...
 
The campaign.ace file that is posted on grouper should have all the info that I have, not sure if that is where you got it.
 
I applaude your attempt to put together a campaign, although it doesnt apprear to be that hard, it certainly could be time consuming from scratch. I know with the missions I created it took many hours of testing and trying to make one working mission, something challenging with a lot of content. Based on my methods and ideas I guess it might take me hundreds of hours to complete a full campaign with some in depth content, personally I cant justify the time it might take right now...maybe this winter though.
 
 I suppose if you simpified things and minimized content it might take a lot less...all depends on what you are looking to achieve. Whatever the case might be, simple or complex, anybody that does this will be the first person I am aware of that has put together a real campaign beyond the original 4. Good luck!
 
If I can be of any other help, let me know...
 
"Don't give up the ship!"
-Captain James Lawrence

User avatar
Dragonlead
Posts: 303
Joined: Sun May 16, 2004 6:25 am

RE: Campaign creation

Post by Dragonlead »

Zanthras,

I got your emails. Thanks much!! I also sent you a reply as well. I welcome your input. It takes me quite a while as well for any complex mission, but from the looks of things, not every mission is "custom". That might simplify things a bit.
I welcome any inputs from anyone else out there who has worked on this and has tips, techniques and procedures they are willing to share.

V/R
USAF Ret.
Post Reply

Return to “Starshatter Modding Forum”