SUBSIM Radio Room Forums

SUBSIM Radio Room Forums (https://www.subsim.com/radioroom/index.php)
-   SHIII Mods Workshop (https://www.subsim.com/radioroom/forumdisplay.php?f=195)
-   -   The "Neutral Ships in Convoy's" Solution. (https://www.subsim.com/radioroom/showthread.php?t=88994)

Marhkimov 02-02-06 04:53 AM

:D :know:

GlobalExplorer 02-02-06 04:55 AM

Quote:

Originally Posted by Marhkimov
Quote:

Originally Posted by GlobalExplorer
Quote:

Originally Posted by Cdre Gibs
Ohh an Yes Marhkimov it is a big big thing I suggest, because it needs the campains redone.

This could also be done programmatically. Basically needs to replace all occurences of "American" for "American_Convoy" (if in Convoy). Ctrl-F / Ctrl-H might do already.

It can be done programmatically, but it also has to be done selectively... Meaning not all of the ships have to be changed.

Meaning someone has to sit there, picking and choosing which ships have to be changed. For thousands of entries, for dozens of nations.

:doh: :doh: :doh:

Hi Marhkimov,

It is pretty easy for a programmer to solve. I am only saying this because I have basically done it. When I am done with parsing the .mis file, I only work with convenient classes like Merchant, Convoy, Taskgroup, etc, which then have their proper Units Collection.

So changing some lines to get the find/replace done is simple.

Hand editing it's a big deal.

Offering a tool that does it for everyone is an even bigger deal :)

Marhkimov 02-02-06 04:58 AM

Well, I hope all of you programmers figure this out... :yep:

GlobalExplorer... Too bad you weren't part of the SH3 Dev team... Too bad...

GlobalExplorer 02-02-06 05:02 AM

Quote:

Originally Posted by Cdre Gibs
Well what you sitting here gabbing on to us for, go on, hop it, an get it done !!

(yes I'm being very cheeky) :rotfl:

What are you smoking? :) :|\

If someone wants to replace things from the .mis files selectively, he can contact me. All credit cards accepted.

Marhkimov 02-02-06 05:13 AM

It's a great idea... Only if it weren't so hard to impliment...

sergbuto 02-02-06 07:00 AM

Quote:

Originally Posted by Cdre Gibs
IF Serg would allow or redo the Flags.dat and Sflags.dat files the rest can go ahead, but till then its just an idea anyway.

Quote:

Originally Posted by Cdre Gibs
...the flag issue can only be addressed by Serg or some1 else who wants to take a crack at it (least ways I'm not allowed to so I can't).

Why shouldn't I allow expansion of my Flags.dat and FlagS.dat? You can go ahead and do that as long as results of modifications will be available for free and have proper credits.

sergbuto 02-02-06 07:07 AM

That was bound to the condition "in case you avoid giving appropriate credits".

Quote:

Originally Posted by Cdre Gibs
I'm not sticking my hand out to get it bitten...

Because there was a reason for that. Isn't it?

sergbuto 02-02-06 07:11 AM

Who cares.

ref 02-02-06 08:19 AM

Are you two going to keep fighting ? :nope:
Perhaps you can start a new thread for that and keep this for modding. ;)

Stiebler 02-02-06 01:53 PM

The new NYGM RUb campaign files already have the great majority of neutral ships in convoys (only) changed to the closest Allied alternatives.

I know, because I did it. Mildly tedious, but not excessively difficult ,and no ships have needed to have their flags changed. There are a few omissions, where (for example) a convoy might enter the game in September 1941 and continue being used until September 1943. Such a convoy might still contain an occasional American ships (neutral until December 1941), just to make things interesting for the player.

Stiebler.

Marhkimov 02-02-06 03:16 PM

Why not just get rid of neutral ships altogether? Just make them all enemies.

The player should be able to use his or her disgression when deciding to attack or not. The blood-thirsty player will end up shooting on sight, whereas the realistic player will respect the rights of Neutrals... Case closed.

Pablo 02-02-06 08:23 PM

Quote:

Originally Posted by sergbuto
Quote:

Originally Posted by Cdre Gibs
IF Serg would allow or redo the Flags.dat and Sflags.dat files the rest can go ahead, but till then its just an idea anyway.

Quote:

Originally Posted by Cdre Gibs
...the flag issue can only be addressed by Serg or some1 else who wants to take a crack at it (least ways I'm not allowed to so I can't).

Why shouldn't I allow expansion of my Flags.dat and FlagS.dat? You can go ahead and do that as long as results of modifications will be available for free and have proper credits.

Sergbuto,

I would really like to expand your Flags.dat & FlagS.dat - with full credit, of course! :)

My problem is I don't know the file format well enough to know which bits to tweak, where to append, etc. All the currently available tools allow you to swap out flags, but not to append new ones.

Any information or suggestions would be appreciated! :)

Pablo

ref 02-02-06 08:42 PM

Quote:

Originally Posted by Pablo
My problem is I don't know the file format well enough to know which bits to tweak, where to append, etc. All the currently available tools allow you to swap out flags, but not to append new ones.

Any information or suggestions would be appreciated! :)

Pablo

By the way, It would be great if all the modders start to make some sort of manual with the discoveries ( I don't know if the term is right, excuse my bad english :oops: ) they make so anybody that follows don't have to "rediscover the wheel", maybe a sticky thread, so the next time someone needs to add a flag (sergbuto, this is not directed to you :up: ), or change a sound value or add a ship, or ...
You see mi point, right?. The credit for the data should be properly documented so nobody feels bad about it ( Really is it so important ?, the advances of the modding Community should be what matters).

Ref

sergbuto 02-03-06 04:56 AM

Quote:

Originally Posted by Pablo
My problem is I don't know the file format well enough to know which bits to tweak, where to append, etc. All the currently available tools allow you to swap out flags, but not to append new ones.

DAT file format has been decribed by lurbz on this forum. I do not have the link to the thread in question at hand but you can make a search for his nick. There are no tools which would allow to append new flags. You need to do manual hex-editing of flag.dat and flagS.dat for that.

Wulfmann 02-03-06 02:30 PM

I must be missing something on this subject?????
All I did was simply change the cfg basic file by deleting the neutral -.(minus)

It was:
NEUTRAL=-1
ALLIED=1
AXIS=-10

I made it:
NEUTRAL=1
ALLIED=1
AXIS=-10

and have never had any problems for months and months. The only time I have have ships hitting other ships is when they are targetting me and another ship gets in their line of fire.

As far as mod files go UBI owns the rights to all modified versions of their copyrighted stuff and the fact they do not impose on our fun does not mean they have given up any of their legal rights.

Wulfmann


All times are GMT -5. The time now is 10:55 PM.

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