good way to play own map ingame


  • Please log in to reply
4 replies to this topic

#1 son_ix

son_ix

    Squaddie

  • Members
  • Pip
  • 19 posts

Posted 25 November 2003 - 11:24 AM

i've found a way to play my map ingame from the select campaign menu, ok i'll explain it :(

1. in the editor choose/add the Scenario Zones tab

2. create a new folder in Scenario Zones with any name

3. in this folder create a new item with any given name

4. dblclick this new created item now, at the properties window enter
[list] your description
Description bigger description :(
TimeOfDay night/day
TemplateID1 link this to your map
Scenario
5. now choose/add Global Maps tab

6. choose the scenario you entered above

7. dblclick the scenario, and at the properties window enter
[list]
now build your mod, start the game choose campaign (the scenario you choosed at no. 4), click trough the dialogs, and then the 1st mission is your map :cry:

#2 LoTekK

LoTekK

    Sergeant

  • Members
  • PipPipPip
  • 85 posts

Posted 25 November 2003 - 04:02 PM

Heeey. Nice find! I'll have to putz around with this when I get home later today. :(

#3 Biggles

Biggles

    Lieutenant

  • Retired Staff
  • PipPipPipPip
  • 498 posts
  • Location:Adelaide, Australia

Posted 26 November 2003 - 01:03 AM

Thats' excellent. Thanks for writing that up with nice clear instructions too!

#4 Viceman

Viceman

    Squaddie

  • Members
  • Pip
  • 33 posts

Posted 26 November 2003 - 06:25 AM

Marvellous! *applause*

#5 Biggles

Biggles

    Lieutenant

  • Retired Staff
  • PipPipPipPip
  • 498 posts
  • Location:Adelaide, Australia

Posted 29 November 2003 - 03:02 AM

[b]Another Method.

This was posted by Damocles on the Nival modding forum:

Quote

Aha, that's the missing link - the config command. Thanks Bandures.

Okay, so if anyone else wants to know, here's how to make a map that runs on it's own:

1) make your map  

2) create a config file in your mod folder and call it anything you feel like (although ending in .cfg is recommended for clarity). In this config file you need one simple line:

map mapID unitID1 unitID2....unitID5

where mapID is the ID number of your map, unitID1 is your hero unit ID, and unit2 through unit5 are your team units IDs.

Save that as plain text format.

3) Create a shortcut to silent storm's game.exe file. How you choose to get this shortcut to other people is another matter. The shortcut needs the following paramters:

game.exe -gamedir modName -cfg ./modFolder/configFile.cfg

modName is the name of the folder in which your mod is created. modFolder is also the name of your folder mod. the ./ is needed as the ./ tells the game to start looking in the root silent storm folder instead of the cfg folder. Also, ensure you include the extension (.cfg) in your parameters, it won't add it itself.

Double click that shortcut and you should be taken straight to your map and have the units you selected. Map based scripting is required if you want the units to have more than basic skills and equipment though.

As I mentioned, getting the shortcut to your players is another matter. I'm currently looking into making a mod organiser that will allow users to select maps and mods to play before starting silent storm with the appropriate parameters. More news on that when I get around to making it





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users