View Single Post
Old 04-15-11, 01:35 PM   #4
peabody
Admiral
 
Join Date: Jan 2008
Location: New York State, USA
Posts: 2,390
Downloads: 126
Uploads: 7
Default

Quote:
Originally Posted by fitzcarraldo View Post
Hi mates: I have a couple of questions about the Mission Editor and the possibility of add new ships scripted in SH4.

My intention is to add some ships in the Caribbean (U boats, merchants...), and in the San Francisco Bay. I use TMO21 plus RSRDC, and the Map makeover mod; it add the Panama Canal; I like some traffic in the Canal and in the Caribbean, for a campaign starting in New London.

I read some threads about the SH4 ME; I have some skills in SH3 ME, but the lot of MIS files in SH4 confuse me...

My questions:

- I need to make a new mission without objetives for add the new ships scripted in RSRDC campaign...

- Or I need add the traffic to some MIS file (scripted layer) existing in RSRDC...

I think in the first option: make a new mission without the objetives, and add in this mission the traffic, and save the mission as scripted layer. Well done, or...

If I have success in this modification, I publish it for all the mates in beta version.

Many thanks and best regards.

Fitzcarraldo
If you want to add ships to an existing .mis file from RSRDC, DO NOT save it as a "Scripted Layer". Almost all .mis files in a Campaign are for creating traffic that you see/attack in the game. And almost ALL of these .mis file create the traffic using "Random Generated Groups" and if you save as a Scripted layer, it will not save the "Random Generated Groups" so you will basically erase all the 'traffic' in that .mis file.

Japlance has the best idea for beginners, save as a "Normal mission". A normal mission save EVERYTHING, normal ships, groups, random groups, land units (bases, bunkers, Airbases), minefields, sub nets and so on.

One thing you need to do to save a "Campaign" .mis as a "normal mission" is go to the menu "Mission/Parameters" and check "Ignore Player submarines". If you don't, you will get an error message that there is no Player Unit found and you will not be able to save it.

A Normal mission creates a name.mis file and a name.tsr file. In a Campaign you do not need the .tsr file, but it does not seem to cause any problems either, the game just doesn't use it. If you want, you can go into the folder and delete the tsr. It is used with "Single missions/Quick mission" and "War Patrol" (a war patrol is simply a longer "Single Mission")

To add a ship to a Campaign, the best way is to right click on the map and choose "Random Generated Group" (even if you only add one ship). Doing it this way, you can have the ship spawn several times. For example every 4 days for 3 months. To do this, create the RGG, add a ship, enter. Then right click on the RGG on the map and go to "Group Properties" and set Max groups created and "Repeat Interval" (which is in hours). You can also set the % chance that it will be created. If you want it created every time set to 100%.

If you add a ship by dragging from the list on the right and drop it on the map, it will only sail ONCE. There may be times you want to do this. For example: the Battle of Midway. This only happens once so you do not NEED to create Random Generated Groups, you can just add ships by dragging and dropping, they will sail once and be done. You can do the same thing using RGG by setting them to only spawn once but it is a little harder to control the time they actually sail.

So just to possibly clear up what I found is the difficult part for most people to understand. When you think of a "Mission" (.mis file) you think of sailing your sub from a base to perform a "mission" such as patrol, sink ships etc. ALL the files created for missions, campaigns, traffic, naval bases are ALL saved as .mis files. Even if you create a mission/layer of only land units such as placing Naval Bases on the map and nothing else and save it, it is still a .mis file. So even though placing Naval bases on a map is not a "Mission" the file is still saved as a name.mis. So ignore the .mis as meaning "mission" and things will make more sense. I only say this since you commented

Quote:
make a new mission without the objetives, and add in this mission the traffic, and save the mission as scripted layer.
So don't think of them as "missions" just think of them as adding whatever is needed to the campaign and keep in mind if you do save as a "Scripted Layer", it will not save Random Generated Groups.

Also the other "Save" options:

1 Normal mission saves everything
2. RND Layer saves only Random Generated Groups
3. Scripted layer does not save RGG.
4. Mapnotes does not work in SH4.
5. Land units save only the items under the "Land" tab. (Search Light, Bunkers, AA defence, Air bases, Naval bases.) Note: Coastal Search Light is NOT the lighthouses you see in the game.

Hope some of that makes sense.

Peabody
__________________

System Spec: Gigabyte GA-965P-DS3, PentiumD Dual Core Presler 945 3.4Ghz, Gigabyte Geforce 7600GS, 2-1GB Corsair XMS2 800Mhz in Dual Channel, 2-WD 250 SATA 3Gb/s, Onboard Realtek HD 7.1 Audio, DVD ROM, DVD burner, Hiper 580 Watt Power supply, WinXP SP2.

peabody is offline   Reply With Quote