Forum Index
SUBSIM Forum Search

The Web's #1 BBS for all submarine and naval simulations!
[ SUBSIM Review ] [ SUBSIM STORE ]
Current Forum | Archives 2002-2003 |

database syntax question

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.     Forum Index -> Silent Hunter II, Destroyer Command & Classic Subsims
View previous topic :: View next topic  
Author Message
clive bradbury



Joined: 05 Jun 2004
Posts: 510
Location: stoke-on-trent, UK

PostPosted: Fri Jul 30, 2004 5:08 am    Post subject: database syntax question Reply with quote

Gentlemen,

could anyone please tell me the reason for, and function of, the last entry for naval vessels line in the unit databases? With merchants it is always n/a, but with warships seems to link one class to another or something.

The reason I ask is I want to add Canadian escorts into the game, plus ships like the US Sub chaser.
Back to top
View user's profile Send private message
Hitman



Joined: 14 Sep 2002
Posts: 3059
Location: Spain

PostPosted: Fri Jul 30, 2004 6:08 am    Post subject: Reply with quote

I believe it was first introduced for grouping shipīs damage screens and interfaces when many are player selectable, but was finally unused.

But to add a nationality, you must tweak on the unitīs UDF ( Sim/Units )

Create for example a NFlowerCAN.UDF, instead of the stock NFlower.UDF, and change on it the nationalty to "Canadian". Then add them to the British database ( You canīt add new databases checkable in the vehicle viewer, as far as I know ). Sergbuto might explain you how to hexedit the jrf archive to have the ship display the canadian flag instead of the Brit.

Good hunting
Back to top
View user's profile Send private message Send e-mail
clive bradbury



Joined: 05 Jun 2004
Posts: 510
Location: stoke-on-trent, UK

PostPosted: Fri Jul 30, 2004 6:55 am    Post subject: Reply with quote

Thanks for your help, Hitman.
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.     Forum Index -> Silent Hunter II, Destroyer Command & Classic Subsims All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group