Creating a new Ship Resource File (.srf)

Please post here for questions and discussion about scenario design and general game modding.
Post Reply
User avatar
RyanCrierie
Posts: 1327
Joined: Fri Oct 14, 2005 7:15 am
Contact:

Creating a new Ship Resource File (.srf)

Post by RyanCrierie »

The Ship SRFs uses the same format as the plane SRFs, albeit with a different layout

To figure out how to add pictures, etc, go to Unhappy's guide for aircraft Here

spr profile

Left 0---------Right 512
Top 1---------Bottom 153

spr silok

Left 1---------Right 204
Top 154---------Bottom 194

spr sildamaged

Left 1---------Right 204
Top 194---------Bottom 235

spr silsunk

Left 205---------Right 408
Top 154--------Bottom 194

spr silglow

Left 205---------Right 408
Top 195---------Bottom 235

spr topdown

Left 409---------Right 476
Top 154---------Bottom 169

spr topdowngunssouth

Left 409---------Right 476
Top 170---------Bottom 185

spr topdowngunsnorth

Left 409---------Right 476
Top 186---------Bottom 201

spr topdownglow

Left 409---------Right 476
Top 202---------Bottom 217

spr topdowndam1

Left 409---------Right 476
Top 218---------Bottom 233

Unhappy
Posts: 124
Joined: Fri Jun 08, 2007 9:38 pm

RE: Creating a new Ship Resource File (.srf)

Post by Unhappy »

Hey Ryan - did you find that the waterline of the ship must run along a horizontal line at y coordinate 103? (So, 103 pixels down from the top on the profile image)? That's what I thought but maybe you can reposition the ship image in the Ship Class Editor when adding animations?

Thanks.
User avatar
Grauer_Wolf
Posts: 24
Joined: Sun Jun 17, 2007 8:49 pm
Location: Hannover/Germany

RE: Creating a new Ship Resource File (.srf)

Post by Grauer_Wolf »

Hi...

How can i insert ships in a Scenario and play with them ???

I have provides a SRF File wow in "Unhappy" Tutorial.

But i can´t insert in a Task Force. My new Ship is not listed.

Sorry for my bad english, i hope you understand me. [:(]


Thats the Bismarck

Image

Unhappy
Posts: 124
Joined: Fri Jun 08, 2007 9:38 pm

RE: Creating a new Ship Resource File (.srf)

Post by Unhappy »

Grauer,

Well meinen Deutsch ist nicht sehr gut, so I'll stick to English.

By the looks of the screen shot you've already added the Bismarck to the Ships Class Editor.

You also need to add it to the Ships Editor Screen - so the 'Carrier/Ship Name' field would be Bismarck (presumably) and the Ship Class would be Bismarck (BB) [should be at the bottom of the list box.

Leave Task Group as 'Not Set!'

Now go over to the Task Group Editor Screen, use the Side Select to pick Japanese or Allied...I presume you set it up as Japanese but maybe not. Select a task force (make sure you are on the correct side - Japanese or Allied because the ship only shows up in one or the other). In the 'Available Ships' box at the top-right scroll through the list and you should find one with the name colored green - the green ones are eligible to be added to task groups. Highlight the Bismarck and hit 'Add Ship' at the bottom right of the screen.

Hope that helps.

If not - post some screen shots from the Ship Class Editor/ Ships Editor/ and Taskgroup Editor

Good Luck.

User avatar
Grauer_Wolf
Posts: 24
Joined: Sun Jun 17, 2007 8:49 pm
Location: Hannover/Germany

RE: Creating a new Ship Resource File (.srf)

Post by Grauer_Wolf »

Thanks Unhappy.. [:)]

I have make how you say, but the Game is crashed again. [:(]

Here are Screens how i created the Scenario.

Please look for mistakes.[:(]

Thanks

Image

Image

Image

Image

Image


And thats the Crash Report :

---------------- CAW DEBUG FILE ---------------- Created : 20:31:12 27-Jun-2007 Version 1.00



20:31:14 Func : CGraphicsSystem::SetNewScreenSettings Line : 865 - Setting Screen Resolution : 1280x1024x32

20:31:14 Func : CGraphicsSystem::ResetDevice Line : 941 - Resetting D3D Device!

20:31:16 Func : CGameScreen::CGameScreen Line : 58 - Game Screen Constructor

20:31:16 Func : RandomFunctions::SetRandomNumberSeed Line : 777 - Setting Random Number Seed -> 1182969076

20:31:16 Func : CApp::Init Line : 508 - App Initted OK!

20:31:16 Func : CConfig::AddSetting Line : 404 - Existing Option Re-Added. Option scenariotest Old Value : 0 New Value : 0

20:31:28 Func : CGameScreen::~CGameScreen Line : 65 - Destroying OnMap Windows

20:31:28 Func : CGameScreen::~CGameScreen Line : 73 - Destroyed OnMap Windows

20:31:28 Func : CGameScreen::~CGameScreen Line : 87 - Game Screen Destructor

20:31:28 Func : CGameScreen::CGameScreen Line : 58 - Game Screen Constructor

20:31:28 Func : CGameScreen::LoadGameThread Line : 6684 - Starting New Game. Scenario : Midway.caw Warroom Index: 0

20:31:28 Func : CSquadron::OnGameInit Line : 391 - No Base Of Ops For Squad -> IJNS TONE Lets Hope There Is A Warcard Dealing With This!
Post Reply

Return to “Mods and Scenarios”