![]() |
SUBSIM: The Web's #1 BBS for all submarine and naval simulations! |
|
|
10-03-2006, 09:58 PM
|
#1 |
|
XO
![]() Join Date: Jun 2006
Location: North Carolina
Posts: 404
Downloads: 23
Uploads: 0
|
First off--If this had been already done or discussed before can some one point me in that direction--if not... Edit: I figured out a way to do it!! see screenies and post below.
I have been messing with adding ports, cities, lighthouses, etc. with the mission editor. I've been trying to place AA emplacements on the roofs of the german sub pens. I tried placing them on the pens and setting thier height vales at different levels (trying to guess at the height of the pens in game) but that hasn't worked. When placing the AA unit in a new LND file, I can change the height value and then save the placement and it will hold that value (ex: AA gun set at 10.5 m height). But, whenever I save the file or merge it into the Campaign_LND file it reverts back to it's default height (in this case -17 m which is the height of the seafloor under the pen) and the Campaign LND file will not save any height changes entered) . CB..'s stationary seaplane mod has given me an idea :hmm: (his seaplane is placed in the sea folder of sh3 and scripted in the editor with the ships roster). Would placing the "LAA_AAPlatform" file from the data land folder into the data AIR folder (and it's corosponding roster land GFG file into the roster air folder) allow the placement of AA units in the editor to be done through the aircraft roster??? Aircraft can be set at varying heights and as long as you set the speed of the AA unit to 0 it should be easy to set the correct height of the emplacement to mesh with the sub pen roof (through many load up tests to obtain correct height value). Im going to try this when I get the extra time but could anyone who has already found a workaround for this clue me in??--- Or if any of the gurus that are more about the sh3 files who know this method won't work or it can only be done through more advanced methods such as hex editing,etc (way above my level at this time ) ---please let me know so I won't waste too much time.In the end it's just eye-candy I guess, but it would give the sub-pens a more historic look and possibly help out with the devasting late-war air raids on the ports. Any help or response would be appreciated!!
__________________
.."Some men are born mediocre, some men acheive mediocrity, and some men have mediocrity thrust upon them"... Last edited by U-snafu; 10-04-2006 at 11:36 AM. |
|
|
10-04-2006, 11:33 AM
|
#2 |
|
XO
![]() Join Date: Jun 2006
Location: North Carolina
Posts: 404
Downloads: 23
Uploads: 0
|
I figured out a way for it to work
:Edit: these are the new heights![]() Farther out:
__________________
.."Some men are born mediocre, some men acheive mediocrity, and some men have mediocrity thrust upon them"... Last edited by U-snafu; 10-04-2006 at 05:38 PM. |
|
|
10-04-2006, 11:44 AM
|
#3 |
|
Sea Wolf
Join Date: Oct 2005
Location: Cornwall, UK
Posts: 5,485
Downloads: 39
Uploads: 1
|
![]() ![]() I love it. Leaving Lorient in late 1944 is really hard with the formation bombing. I nearly always get hit. Please, Please, Please I Want, I Want, I Want Oh, but take your time |
|
|
10-04-2006, 12:53 PM
|
#4 |
|
XO
![]() Join Date: Jun 2006
Location: North Carolina
Posts: 404
Downloads: 23
Uploads: 0
|
What I did:
I copied and pasted the "LAA_AAPlatform" file from the sh3 data land folder into the data AIR folder and it's corosponding german roster land GFG file into the german roster air folder. I then added the line "CDAAPlatform=AA Defense" into the english names file of the data air folder. I then had to change the AA CFG file within the data air and german air roster to UnitType=305. Type 305 is for "helicopter" in the default air file. [Unit] ClassName=CDAAPlatform UnitType=305 MaxSpeed=0.000000 MinSpeed=0.000000 Length=11.5 Width=13.8 RenownAwarded=10 I opened a new file in the mission editor and the AA gun was then available in the aircraft listing for placement (enabling setting an assigned height). I placed four guns on the pens at different heights--30m, 20m, 15m, and 10m and saved it as a SCR file then merged it with the Campaign_SCR file within the editor and saved. loaded up the game and only the gun set at 30m showed. The base of the gun at 10m was sticking out a little from one of the sub pen walls so the other gun heights formed inside the pen walls. I am going to play more with the height value to try to reduce the elongated base of the gun at 30m as shown in the above photo. I don't know if the guns will fire because i have not had any air attacks yet with them--but I can't see any reason why they would not. (side note-the original AA guns are still left in the land folder for normal placement) If enough are interested I could do a small SCR script file with the gun placements on the sub pens for the different german bases. It would be just a small scr file to paste in your CampaignSCR and the changed AA folder to paste where I showed them to go. But the scr file would have to match the game mod scr file your running--i.e. im using the Uwac-1.7 Campaign file over GW and I do know that the lorient base has been moved in that file from the GW file. It will take me a little while to have it available. Like i said before-it's just added harbor eye-candy but it is possible to do for those who want it
__________________
.."Some men are born mediocre, some men acheive mediocrity, and some men have mediocrity thrust upon them"... Last edited by U-snafu; 10-04-2006 at 12:56 PM. |
|
|
10-04-2006, 01:56 PM
|
#5 |
|
A-ganger
![]() Join Date: Sep 2006
Posts: 75
Downloads: 0
Uploads: 0
|
Great work U-snafu, and thanks for sharing the how to's.
Since you know how to edit the .scr files, you can just pop an air attack in there, or someone who knows (I don't) how can step up and help you to test it. I'd like to see this added. It is realistic to have AAA in the harbors, and sure would help in the later years when you get nailed coming out of the pen. My problem has always been FPS when leaving base, it's so low it's hard to fight back when leaving port. In 44 when I leave port, I either man the flak guns before pulling out, or go to snorkel depth (which doesn't help much). This is a welcome addition. |
|
|
10-04-2006, 04:38 PM
|
#6 | |||
|
Ocean Warrior
![]() Join Date: Dec 2005
Location: Norway
Posts: 3,198
Downloads: 11
Uploads: 0
|
Nice one, U-Snafu.
Quote:
Let's say you want a flight of Swordfish torpedo bombers to hit Wilhelmshaven from February '41 to March '41.
Quote:
Quote:
__________________
Last edited by Safe-Keeper; 10-04-2006 at 05:09 PM. |
|||
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|