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)
-   -   C2 Cargo Lights. Download. (https://www.subsim.com/radioroom/showthread.php?t=94962)

Anvart 06-25-06 02:38 PM

C2 Cargo Lights. Download.
 

Deep Six 06-25-06 03:44 PM

okay love the mod but what would be the best way of using this mod? Would I have to edit my Roster files as countries became neutral???

Ya know I love using mods but don't know fink about editing and such :damn: :damn: :rotfl:

Deep Six

bigboywooly 06-25-06 03:59 PM

Well you can just put it in the swedish folder but would be a waste

I altered the ship in the US folder thus

[UnitClass]
ClassName=LLS
UnitType=102
AppearanceDate=19380101
DisappearanceDate=19411210
DisplayName=C2 Cargo
[Unit 1]
Name=C2 Cargo
DOC=19380101
DOD=19411210
That way it disappears in the American folder the day the US entered the war

Changed the US original C2 thus

[UnitClass]
ClassName=KLS
UnitType=102
AppearanceDate=19411211
DisappearanceDate=19470101
DisplayName=US C2 Cargo

[Unit 1]
Name=Santa Cecilia
DOC=19411211
DOD=19470101

[Unit 2]
Name=Winged Racer
DOC=19411211
DOD=19470101

So the blacked out ships start when the US enters the war

Its easy to replace the individual ships dates using the replace as feature in notepad

For the US i typed DOC=19380101 in the find what field and put DOC=19411211 in the replace with field
Hit replace all and done:up:
That way you should come across lit up C2's in the convoys early war

bigboywooly 06-25-06 04:45 PM

For Brasil its

[UnitClass]
ClassName=LLS
UnitType=102
AppearanceDate=19380101
DisappearanceDate=19420821
DisplayName=C2 Cargo

[Unit 1]
Name=C2 Cargo
DOC=19380101
DOD=19420821 and

[UnitClass]
ClassName=KLS
UnitType=102
AppearanceDate=19420822
DisappearanceDate=19470101
DisplayName=BA C2 Cargo

[Unit 1]
Name=BA C2 Cargo
DOC=19420822
DOD=19470101

For the Netherlands its
[UnitClass]
ClassName=LLS
UnitType=102
AppearanceDate=19380101
DisappearanceDate=19400509
DisplayName=C2 Cargo

[Unit 1]
Name=C2 Cargo
DOC=19380101
DOD=19400509 and

[UnitClass]
ClassName=KLS
UnitType=102
AppearanceDate=19400510
DisappearanceDate=19470101
DisplayName=NE C2 Cargo

[Unit 1]
Name=NE C2 Cargo
DOC=19400510
DOD=19470101

for Greece its
[UnitClass]
ClassName=LLS
UnitType=102
AppearanceDate=19380101
DisappearanceDate=19401112
DisplayName=C2 Cargo

[Unit 1]
Name=C2 Cargo
DOC=19380101
DOD=19401112 and
[UnitClass]
ClassName=KLS
UnitType=102
AppearanceDate=19401113
DisappearanceDate=19470101
DisplayName=GR C2 Cargo

[Unit 1]
Name=GR C2 Cargo
DOC=19401113
DOD=19470101

Norway is

[UnitClass]
ClassName=LLS
UnitType=102
AppearanceDate=19380101
DisappearanceDate=19400408
DisplayName=C2 Cargo

[Unit 1]
Name=C2 Cargo
DOC=19380101
DOD=19400408 and

[UnitClass]
ClassName=KLS
UnitType=102
AppearanceDate=19400409
DisappearanceDate=19470101
DisplayName=NO C2 Cargo

[Unit 1]
Name=NO C2 Cargo
DOC=19400409
DOD=19470101

Belgium is

[UnitClass]
ClassName=KLS
UnitType=102
AppearanceDate=19400510
DisappearanceDate=19470101
DisplayName=belC2 Cargo

[Unit 1]
Name=Janet Marie
DOC=19400510
DOD=19470101 and

[UnitClass]
ClassName=LLS
UnitType=102
AppearanceDate=19380101
DisappearanceDate=19400509
DisplayName=C2 Cargo

[Unit 1]
Name=C2 Cargo
DOC=19380101
DOD=19400509

Turkey is

[UnitClass]
ClassName=KLS
UnitType=102
AppearanceDate=19450302
DisappearanceDate=19470101
DisplayName=Tu C2 Cargo

[Unit 1]
Name=Tu C2 Cargo
DOC=19450302
DOD=19470101 and

[UnitClass]
ClassName=LLS
UnitType=102
AppearanceDate=19380101
DisappearanceDate=19450301
DisplayName=C2 Cargo

[Unit 1]
Name=C2 Cargo
DOC=19380101
DOD=19450301

Argentina\Ireland\Spain and Portugal should all have the new ship and delete the KLS as were all neutral
I left Yugoslavia alone as they change sides about 4 times lol

Latvia are

[UnitClass]
ClassName=KLS
UnitType=102
AppearanceDate=19441031
DisappearanceDate=19470101
DisplayName=C2 Cargo

[Unit 1]
Name=C2 Cargo
DOC=19441031
DOD=19470101 and

[UnitClass]
ClassName=LLS
UnitType=102
AppearanceDate=19380101
DisappearanceDate=19441030
DisplayName=C2 Cargo

[Unit 1]
Name=C2 Cargo
DOC=19380101
DOD=19441030

Lithuania are

[UnitClass]
ClassName=KLS
UnitType=102
AppearanceDate=19441031
DisappearanceDate=19470101
DisplayName=C2 Cargo

[Unit 1]
Name=C2 Cargo
DOC=19441031
DOD=19470101 and

[UnitClass]
ClassName=LLS
UnitType=102
AppearanceDate=19380101
DisappearanceDate=19441030
DisplayName=C2 Cargo

[Unit 1]
Name=C2 Cargo
DOC=19380101
DOD=19441030

Estonia are

[UnitClass]
ClassName=KLS
UnitType=102
AppearanceDate=19441031
DisappearanceDate=19470101
DisplayName=C2 Cargo

[Unit 1]
Name=C2 Cargo
DOC=19441031
DOD=19470101 and

[UnitClass]
ClassName=LLS
UnitType=102
AppearanceDate=19380101
DisappearanceDate=19441030
DisplayName=C2 Cargo

[Unit 1]
Name=C2 Cargo
DOC=19380101
DOD=19441030

For Finland I deleted the KLS completely and replaced with LLS as it was neutral then axis then neutral - either way I am not gonna sink it

The Italians I did

[UnitClass]
ClassName=KLS
UnitType=102
AppearanceDate=19431013
DisappearanceDate=19470101
DisplayName=C2 Cargo

[Unit 1]
Name=C2 Cargo
DOC=19431013
DOD=19470101 and

[UnitClass]
ClassName=LLS
UnitType=102
AppearanceDate=19380101
DisappearanceDate=19431013
DisplayName=C2 Cargo

[Unit 1]
Name=C2 Cargo
DOC=19380101
DOD=19431013 they changed sides as well often but in between 2 goes at neutrality they were on the axis side so again dont mind if they lit up

The other countries either have no KLS or came into the war same time as Britain

Well hope that make it easy for you to use this ship:up:

Edit
Hmm well the KLS doesn't show up in the museum until the start dates I added but the LLS continue after the end date - must be just the museum because it does it with all the ships that end mid war such as the Bismark\Tirpitz etc

Stiebler 06-26-06 04:00 AM

This new lighted cargo ship looks absolutely fantastic in NYGM! Congratulations Anvart!

BigBoyWooley's ideas for adding this ship as a neutral to countries that subsequently became Allies also works very well - good idea, BBW.

There remains, however, a difficult practical problem to consider:
If this new lighted cargo ship is added generically (Type=102) to the campaign files, then neutral countries will appear to the player as a puzzling mixture of lighted (C2Cargo) and unlighted (eg C3Cargo) ships. Even if Anvart is willing to convert all the other type 102 merchants into lighted ships, how will anyone else be able to add their own modded type 102 ships which presumably will not be lit?

To put it another way, we now have to decide whether to make all generic occurrences of Type 102 ships in campaign_RND.mis into Class NLLS ships (Anvart's lighted C2 Cargo) for all neutral countries. Moreover, all existing occurrences of the named unlighted C2 Cargo (Class=NKLS) for neutral ships are going to have to be replaced with the lighted variant (definitely).

Any suggestions, anyone? Does Anvart have any plans to make any other merchants into their lighted forms?

Stiebler.

bigboywooly 06-26-06 05:09 AM

well I think Anvart is hoping to do them all

I went thru my .rnd and .scr ysterday
Working from the bottom up and using the find feature I looked for all Class=KLS

When that is highlighted ( If you search up ) you can see the country of the ship and the side eg 0 = neutral

All I did was change the KLS entries For LLS where neutral and to coutries I added them to
Eg: Where Origin American and Side 0 I changed to LLS and where side 1 I left as KLS
Will post example when I get home later

Didnt take that long to do both scr and rnd and mine are GW ones so not small

U-Bones 06-26-06 01:25 PM

Quote:

Originally Posted by bigboywooly
...For Finland I deleted the KLS completely and replaced with LLS as it was neutral then axis then neutral - either way I am not gonna sink it
The Italians I did...they changed sides as well often but in between 2 goes at neutrality they were on the axis side so again dont mind if they lit up...

Leaving them lit just because they were Axis is not appropriate IMO. They would have been hiding from Allied subs at that point...

Stiebler 06-26-06 02:23 PM

I believe that I did not explain the practical difficulty with deployment of Anvart's remarkable new lighted ships clearly enough.

If you look through file campaign_RND.mis, which is where the neutral single ships are sent out across the oceans, you will see that many of the ships are 'generic' - that is, they have only associated types, not classnames. In particular, many of the generic merchants are of type=102, a general cargo ship.

This means that when the ship is randomly sent off on its route, it may be any kind of cargo ship of type 102; for example a C2 Cargo or a C3 Cargo. BigBoyWooly has explained clearly how to prevent Anvart's lighted C2 Cargo from conflicting with the old, unlighted C2 Cargo. But the neutral ship could have the lighted C2 Cargo replaced by another unlighted ship of type 102, for example an unlighted C3 Cargo.

Does this matter? It depends on whether players in general think it is more important to see just one kind of lighted neutral merchant, or a selection of merchants, one of which is lighted and the others are not. I myself would prefer to see the same, single lighted ship every time, rather than a confusing mixture of lighted and unlighted neutrals.

I wrote a short program to extract this information from NYGM TW's v2.0 campaign_RND.mis file. Other mods will probably give somewhat different results.
There are 88 qualifying neutral ships of generic type 102 ('qualifying' means neutral throughout the war, or neutral at the latest dates they sail).
There are 46 qualifying neutral tankers of generic type 101, and there are 43 qualifying neutral coastal ships of generic type 104. Strangely, there are *no* qualifying liners of type 103.

Having had several hours to ponder, I have decided that all my neutral ships of generic type 102 should be made into Anvart's lighted C2 Cargo, class LLS. Therefore I have adjusted the campaign_RND.mis file accordingly, by assigning classname=LLS for these generic types. If Anvart makes another lighted type 102 merchant, it will be a simple matter to alter randomly the assigned class names with a computer program, to incorporate the new ships. [Incidentally, if anyone else decides to do the same, don't forget also to change the external cargo loading to -1 (no external cargo) - neutral ships don't need to take dangerous emergency loading measures.]

The campaign_SCR.mis file is less important, at any rate for NYGM TW, since all the neutral merchants are static, in harbour. The same applies to Rubini's harbour traffic mod, which also predominantly affects the _SCR.mis file. It doesn't matter much if these ships are lighted.

Could I suggest to Anvart that we (the modding community) need one lighted medium tanker (type 101), one *additional* lighted cargo ship (type 102; I suggest the C3 Cargo) and one lighted coastal ship (type 104) to give us a full hand of neutral ships. This is on the basis of the above results, and it is much easier to ask than to implement, I know.

Stiebler.

bigboywooly 06-26-06 02:56 PM

Stiebler, I understand what you are saying - depends on the .Rnd you are using I suppose - mine have ship classes in it ie;

[RndGroup 63.RndUnit 9]
Class=KLS
Type=102
Origin=British
Side=1
CargoExt=0
CargoInt=0
CfgDate=19390911
No=1
Escort=false
SpawnProbability=100
CrewRating=3

[RndGroup 63.RndUnit 10]
Class=OTSF
Type=101
Origin=British
Side=1
CargoExt=-1
CargoInt=0
CfgDate=19390911
No=1
Escort=false
SpawnProbability=100
CrewRating=3

[RndGroup 63.RndUnit 11]
Class=LLS
Type=102
Origin=Greece
Side=0
CargoExt=0
CargoInt=0
CfgDate=19390911
No=1
Escort=false
SpawnProbability=100
CrewRating=3

so it was fairly simple for me to change to LLS in neutral times

Same with the .Scr - mine has neutral ships sailing within convoys

[Group 91.Unit 29]
Name=US C2 Cargo#4
Class=LLS
Type=102
Origin=American
Side=0
Commander=0
CargoExt=5
CargoInt=0
CfgDate=19380101
DeleteOnLastWaypoint=true
DockedShip=false

Indeed just now while playing a test career came across a Neutral C2 in the middle of a convoy bound for Britain

http://img412.imageshack.us/img412/6...nter0452kj.jpg

I agree totally that we could do with more of the lit ships and no doubt Anvart will get round to doing them

I suppose when there are enough of them one of the big mods will include in their latest release but you will always have to have a couple of classless ships in the rnd or we will be rewriting it every new ship release:o

Shadow9216 06-26-06 04:03 PM

Just a quick question- how correct is it to have lighted neutrals in convoy?

Rules of engagement stated that any ship in convoy or under escort was fair game. Thus neutral ships in convoy could expect to be sunk, no?

With that in mind, they would've adopted the same light discipline as the rest of the convoy. Of course, no convoy commander would ever allow a lighted vessel into his convoy...

I love the lighted neutral concept, as I believe it gets us that little bit closer to the "perfect" subsim...but I do wonder if they should be in the game as single contacts rather than encountered in convoys.

Boris 06-27-06 04:47 AM

Stiebler, any chance of sharing that small program you wrote?

I haven't installed this ship yet... does it have it's own rec manual page?
If so, is there any way to have it not show up in the rec manual...as of course there already is a C2 Cargo.

Stiebler 06-27-06 08:40 AM

A CORRECTION:

I proposed earlier that anyone who installs Anvart's lighted C2 Cargo should set the 'cargoext' value to -1 in campaign_RND.mis, indicating no cargo.

I'd forgotten that Anvart said that this ship carries no cargo. Using a value of -1 causes a crash-to-desktop (CTD) whenever any of these ships are encountered at sea. You should use 'cargoext=2' instead (and 'cargoint=0').

Apologies to anyone who was misled.

To Boris, re program to extract neutral ships.
Sorry, but it isn't practical to share programs of this sort. I use them all the time for dealing with the NYGM campaign files; they take about 30 minutes to write and test, and about one second to execute. But the reason that I can produce them so quickly is that there is only the briefest error trapping and no user-friendly interface. I don't want to get involved with long arguments about why the program doesn't work (or does crash), or doesn't give the expected result. The programs are usually only appropriate for a very limited task on a very definite campaign file anyway.

Stiebler.

bigboywooly 06-27-06 03:16 PM

Well I would say you would probably need to do the C3, small merchant,coastal merchant and all the tankers :rotfl: no seriously Anvart whatever you do is a bonus :know: oh and maybe the trawler hehe

Boris 06-27-06 11:46 PM

Anyone know how to prevent this ship from showing up im the rec manual but have it working in the game?

Also... How realistic is it to see lit up neutral ships in allied convoys? Wouldn't they have given the convoy's position away? All ships in convoy were considered fair game anyway.

bigboywooly 06-28-06 01:48 AM

To stop it showing up in the rec manual just delete the .sil in the NLLs_ folder


All times are GMT -5. The time now is 09:47 AM.

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.