SUBSIM Radio Room Forums



SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997

Go Back   SUBSIM Radio Room Forums > Silent Hunter 3 - 4 - 5 > Silent Hunter 4: Wolves of the Pacific
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 07-01-20, 03:28 AM   #1
Col7777
Grey Wolf
 
Col7777's Avatar
 
Join Date: Jun 2003
Location: Manchester UK
Posts: 944
Downloads: 222
Uploads: 0
Default Single Mission Title

I created a simple single mission as a test but how do you name it?

I renamed the file but when I go in the sim it shows as no name.
I saved it using a name but still the same thing when I go in the sim.

Col.
__________________


Silent and Violent
Col7777 is offline   Reply With Quote
Old 07-01-20, 04:20 AM   #2
Moonlight
Admiral
 
Join Date: Dec 2010
Location: Fookhall Copse
Posts: 2,108
Downloads: 184
Uploads: 0


Default

Look in the stock game files for the answer, use SM01 Battle of Midway mission files as an example.

Name your MODS mission folder whatever you want to call it but the files inside the Data folder must be named the same, SM01 Battle of Midway.mis, SM01 Battle of Midway.tga and finally the SM01 Battle of Midway.tsr.

Any objectives, triggers or events must be named the same as well,

[Objective 1]
ObjName=SM01_Objective01

[Trigger 1]
TrigName=SM01_Trigger01

[Event 1]
EventName=SM01_Message01

[EditorParams]
InitLongOff=-42829500.000000
InitLatOff=10714500.000000
ZoomIndex=0
Prefix=SM01 Don't know if this is needed or not.
__________________
Moonlight is offline   Reply With Quote
Old 07-01-20, 05:38 AM   #3
Col7777
Grey Wolf
 
Col7777's Avatar
 
Join Date: Jun 2003
Location: Manchester UK
Posts: 944
Downloads: 222
Uploads: 0
Default

Thank you, another question, can I or how do I swap the player unit in a mission for a different unit?

Col.
__________________


Silent and Violent
Col7777 is offline   Reply With Quote
Old 07-01-20, 10:07 AM   #4
Moonlight
Admiral
 
Join Date: Dec 2010
Location: Fookhall Copse
Posts: 2,108
Downloads: 184
Uploads: 0


Default

Yes, you can change things like that.
Back in the Midway mission example, if you are going to change the unit from a submarine to a ship the mission needs to know which ship you're going to use.
The name=, class=, the type=, the origin= "American, Japanese or a Martian if you're playing as one of them." the side=, 0 is for America and 2 is for Japan, I don't know what side the Martians are on though.
Don't forget about the Height, Height=-18.000000 is periscope depth, Height=0.000000 is on top of the sea. Play about with it and you'll eventually get it working.

[Unit 1]
Name=USS Grouper
Class=SSSalmon
Type=200
Origin=American
Side=0
Commander=1
CargoExt=-1
CargoInt=-1
CfgDate=19420301
DeleteOnLastWaypoint=false
DockedShip=false
GameEntryDate=19380315
GameEntryTime=0
GameExitDate=19451231
GameExitTime=0
EvolveFromEntryDate=false
Long=-21493264.000000
Lat=3726281.000000
Height=-18.000000
Heading=4.081214
Speed=5.000000
CrewRating=3
DelayMin=0
ReportPosMin=-1
ReportPosProbability=100
RandStartRadius=0.000000
NextWP=0
__________________
Moonlight is offline   Reply With Quote
Old 07-01-20, 11:43 AM   #5
Col7777
Grey Wolf
 
Col7777's Avatar
 
Join Date: Jun 2003
Location: Manchester UK
Posts: 944
Downloads: 222
Uploads: 0
Default

Thanks Moon,

How do you get that screen, I've seen others post that but the only one I see is in the mission editor when I click on the sub then properties?

I'm guessing you get that by not using the editor.

Edit: I have file viewer program I forgot about that opened the mission file but it won't let me edit it.

Col.
__________________


Silent and Violent

Last edited by Col7777; 07-01-20 at 11:52 AM.
Col7777 is offline   Reply With Quote
Old 07-01-20, 12:22 PM   #6
Moonlight
Admiral
 
Join Date: Dec 2010
Location: Fookhall Copse
Posts: 2,108
Downloads: 184
Uploads: 0


Default

I've hardly ever used the mission editor, if these missions load in to the editor just move everything where ever you want them to go and save it, you can then rename everything outside of the editor.

As for why your file viewer won't let you edit any files is a mystery to me, use "NOTEPAD" as its perfect for these files.
__________________
Moonlight is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 04:37 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 1995- 2024 Subsim®
"Subsim" is a registered trademark, all rights reserved.