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 |

Adding other nation's Kilo or Perry ?

 
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 -> DW Mod Workshop
View previous topic :: View next topic  
Author Message
XabbaRus



Joined: 21 Sep 2001
Posts: 6949

PostPosted: Wed Apr 20, 2005 3:37 pm    Post subject: Reply with quote

To make new playables would require hacking the exe and dlls a big no can do.

There is a way to swap playables without hacking but you would have to sacrifice one of the playables.

Sorry..
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
Amizaur



Joined: 22 Nov 2002
Posts: 549
Location: Poland

PostPosted: Thu Apr 21, 2005 3:11 am    Post subject: Adding other nation's Kilo or Perry ? Reply with quote

I think about adding polish Kilo sub and two polish Perry FFGs to the game. Well is that possible without any hacking ?
Would that be "adding new playable platform" and prohibited if the platform is still a Kilo and still a Perry, just under another country's flag ?

If I take DWEdit and add new country, then new object (cloned Kilo), new class, entity, assign launchers and tubes, link 3D object I would got a polish Kilo but not playable. If I add new entry in controllers.ini with Kilo interface and my new class ID (exactly like for Chinese or Indian Kilo entries) then I would get playable polish Kilo... but the armament would not work and I don't know why. Even with assigned chinese Kilo's existing launchers the armament selection screen would be blocked and Kilo would be perfectly playable but without any weapons. Anyone have idea why the armament wouldn't work ? What else should be done ?

I also wondered about making Australian navy Perrys (Adelaide class) playable but it would require to remove all Adelaide-native stuff from it and give it all Perry's launchers, sensors and helo and new entry in controllers.ini with Perry interface and Adelaide class ID. Then it's playable Adelaide... or rather it's Australian navy Perry with Adelaide graphics, but perfectly playable and possible to select in all missions with Perry FFGs.

So if the Adelaide is possible to add, then another Kilo should be possible also.... I hope. What should be done to have it with working armament, even borrowed from Chinese Kilo but working ?

cheers!

EDIT: there is no problem with adding another country's FFG, everything works ok, but on added subs the armament don't work. Or even on subs that were in the game - like Indian Kilos. Look at this:
http://www.tknet.pl/~amizaur/DangerousWaters/Tests/controllers.ini
As one example this is controllers file with enabled Indian Kilo, added interface entry. It's playable but armament screen is disabled and I have no idea why. On FFGs armament works OK.
Back to top
View user's profile Send private message Send e-mail
Amizaur



Joined: 22 Nov 2002
Posts: 549
Location: Poland

PostPosted: Thu Apr 21, 2005 3:20 am    Post subject: Reply with quote

XabbaRus wrote:
To make new playables would require hacking the exe and dlls a big no can do.

There is a way to swap playables without hacking but you would have to sacrifice one of the playables.

Sorry..


Do you mean submarines ? Because it seems that it's possible to make perfectly playable other nation's Perry FFGs with everything working on them. But the added Kilos have armament blocked Sad
Back to top
View user's profile Send private message Send e-mail
jsteed



Joined: 27 Mar 2002
Posts: 771

PostPosted: Thu Apr 21, 2005 10:21 am    Post subject: Reply with quote

Hi Amizaur,

The weapon loadouts are hardcoded in the dlls, (poor software design), instead of using the data from the launcher db. Only AI controlled vessels use that db.

cheers, jsteed
Back to top
View user's profile Send private message
finiteless



Joined: 05 Aug 2004
Posts: 751
Location: Australia

PostPosted: Thu Apr 21, 2005 1:07 pm    Post subject: Reply with quote

yeah, noticed that with the USGTs I've added, only the AI can use them. :shifty:
Back to top
View user's profile Send private message
Amizaur



Joined: 22 Nov 2002
Posts: 549
Location: Poland

PostPosted: Thu Apr 21, 2005 1:10 pm    Post subject: Reply with quote

But still I don't understand why cloned FFG works perfectly, and on cloned Kilo armament don't work :-/. What's the difference ? Well where is right thread for it, I'll have to ask Sonalysts for polish Kilo and Perry. It's proved that it takes half an hour to add a country and clone the platform (plus few minutes to add picture with flag), so I don't see why it couldn't go with next patch... I'm sure MANY people would be happy (and buy more copies Wink if their nations Perry's and Kilos become playable.
Back to top
View user's profile Send private message Send e-mail
jsteed



Joined: 27 Mar 2002
Posts: 771

PostPosted: Thu Apr 21, 2005 2:35 pm    Post subject: Reply with quote

Hi Amizaur,

Yes, cloning one of the playables is possible to do without changing any dlls. However, that clone will have exactly the same weapons as the parent.

cheers, jsteed
Back to top
View user's profile Send private message
Amizaur



Joined: 22 Nov 2002
Posts: 549
Location: Poland

PostPosted: Thu Apr 21, 2005 6:25 pm    Post subject: Reply with quote

Yes I know. From what I know polish Kilos don't have TEST-71 torpedos only SET-53ME and don't have SAMs... but even cloned copy of chinese Kilo would be better than nothing. So why the armament doesn't want to work on cloned Kilo ? Can you help with this ? Armament selection screen is blocked (X on each launcher) and in a sim tubes are empty...
Back to top
View user's profile Send private message Send e-mail
jsteed



Joined: 27 Mar 2002
Posts: 771

PostPosted: Thu Apr 21, 2005 11:12 pm    Post subject: Reply with quote

Hi Amizaur,

If I understand correctly, you would like to clone the Chinese Kilo into a Polish Kilo. Is that correct? If so, I'll try it and write an instruction guide.

cheers, jsteed
Back to top
View user's profile Send private message
MaHuJa



Joined: 10 Jan 2002
Posts: 447
Location: 59.96156N 11.02255E

PostPosted: Fri Apr 22, 2005 10:46 am    Post subject: Reply with quote

It's a fact that the interfaces, not the db, says what the player carries. That's been established elsewhere.

The kilos are unique in that the different hulls in the game has different loadouts. E.g. the russians have the ss-n-15, and the test-71, and the 56-65K (?) the chinese has the test-71-nk, 56-65KE, and one sub capable of the klub (ss-n-27)

The kilo interface uses a 'loadout database' in which your new polish sub doesn't exist.

This is contrary to the FFG in which only one loadout exists, which is used across all boats.
Back to top
View user's profile Send private message MSN Messenger
jsteed



Joined: 27 Mar 2002
Posts: 771

PostPosted: Fri Apr 22, 2005 11:05 am    Post subject: Reply with quote

Hi Amizaur,

Here are the instruction to create a playable Polish Kilo. Neutral\

1. Create a new country if necessary, (e.g. #168 Poland)

2. Create a new sonar profile if necessary, (for polish Kilo just use #34 Kilo SSK)

3. Create a new object if necessary, (e.g. #581 Kilo SS PO)
Assign it the just created sonar profile

4. Create a new class if necessary, (e.g. #338 Kilo)

5. Create a new entitiy if necessary (e.g. #1765 Orzel)
Assign it the just created class number

6. Create a new 3dObject if necessary (e.g. Kilo SS PO)
Name must exactly match object name

7. Now you must switch the newly created object number with the object number of an already existing playable!
This is because the object numbers are hardcoded in a dll, (more poor software design).
e.g. switch #581 with #425 Kilo SS CHI, (do not switch the names)

8. Open Controllers.ini and copy the interface section of the appropriate playable.
Paste it at the end of the file.
Change the number in the 1st line to the class number of the new playable (e.g. replace "Kilo" 72 with "Kilo" 338)

9. Create a mission and have fun!

Note, if you want to play the Chinese Kilo again, you will have to switch the object numbers back to their original values.

cheers, jsteed
Back to top
View user's profile Send private message
Amizaur



Joined: 22 Nov 2002
Posts: 549
Location: Poland

PostPosted: Sun Apr 24, 2005 12:06 am    Post subject: Reply with quote

MaHuJa wrote:

The kilos are unique in that the different hulls in the game has different loadouts. E.g. the russians have the ss-n-15, and the test-71, and the 56-65K (?) the chinese has the test-71-nk, 56-65KE, and one sub capable of the klub (ss-n-27)

The kilo interface uses a 'loadout database' in which your new polish sub doesn't exist.

This is contrary to the FFG in which only one loadout exists, which is used across all boats.


This is the information I needed! Thanks !! Now I understand why FFGs works and Kilos don't.

jsteed wrote:


Here are the instruction to create a playable Polish Kilo. Neutral\

1.2. 3. 4. 5. 6. and 8.


In this part there was no problems, figured it myself.

Quote:


7. Now you must switch the newly created object number with the object number of an already existing playable!
This is because the object numbers are hardcoded in a dll, (more poor software design).
e.g. switch #581 with #425 Kilo SS CHI, (do not switch the names)


And that is the help I needed, thanks again !!! Now I know where is the problem and how to overcome it if I desperatly needed. Don't know if use this because I don't feel it's good idea to remove a playable platform in public mod, but maybe I'll try for my own use.

Thanks again for both of you !
Cheers!
Back to top
View user's profile Send private message Send e-mail
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 -> DW Mod Workshop 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