![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
|||||||||
![]() |
|
|
Thread Tools | Display Modes |
|
|
12-15-21, 11:21 PM
|
#1 | |||
|
CTD - it's not just a job
|
I don't know if you remember this, KM, but Bubblehead1980 might also be interested:
Quote:
Quote:
needless to say, we're going back through some of the suspect files and trying to do test "layouts" in a text editor to be able to accurately count lines, until I can figure-out a 010 script to do my character, word, and line counting for me recursively...Quote:
__________________
"...and bollocks to the naysayers" - Jimbuna Last edited by propbeanie; 12-15-21 at 11:31 PM. |
|||
|
|
12-16-21, 11:28 AM
|
#2 | |
|
Silent Hunter
![]() |
Quote:
you know, i never did offer to help with this issue. if you want, i can help you craft some of the long TSR messages/files. if you want some help, send me a PM and we can collaborate.
__________________
there are only two things in the world: submarines and targets. Fortis et stabilis et fidelis, semper ![]() ![]() ![]() ------------------------------------------------------------ Silent Hunter 4 1.5 Gold Edition on CDROM LAA enabled Dell XPS with 32 GB Ram running Win10 |
|
|
|
12-16-21, 03:14 PM
|
#3 |
|
Watch
![]() Join Date: Jan 2017
Posts: 27
Downloads: 39
Uploads: 0
|
Picturesk: https://ibb.co/sVq5zJQ
Sorry, i was kinda busy. This must be this: "That happens when you play with the big guys" (Ise Battleship) 1st Patrol of new Campaign. After a fourth attempt yesterday. Played it really nice and cool. On search course never always between 256 and 512. Around 80.000 BRT and three Torps left. And then in the morning, cause i wanted to finish the patrol, electric breakdown in tha hood. But i had a save after the first four sunken ships. And then: Huge Task Force, i mean huuuge: -A Kongo BB, The allready mensioned Ise, An escort Carrier, Two heavy Cruisers, and some Light Cruiser and... Ok, we have trained for this... I was from the point of detection in front of the japs. Then we started to dance South, 195, 185. Ninty degrees, tourned with Back Slow with the first Destroyer to give him no...silhouette. Torps prepared 8-9 feet below keel for the big girls, sea was caaaalm 0 Meter Wind per second light fog and full darkness has just set in. Everything is perfect. First the escort carrier first torp 1 degree against the running direction and the second 1 degree in front. They (Mark 14 never dud on influence setting) hitted front and rear. Cause the carrier cant speed up very fast, now that i think bout it. Second the Kongo BB first torp on zero degrees, second plus 2, third plus 4. All three went up midship from the middle to the start of the first third of the ship. Huge explosions... We hit it, she is taking water. Thank you Officer Obvious. Periscope always "swimmy", but know it didnt need a rocket scientist to know where the yankees are camping. And shots from all around. Then we and the destroyers played our little games. And now: Flank ahead around through the night. Again in Front. When they were kinda resorting themselves in the middle of nowhere. The Carrier was dripping deep in the front and was just standing, as all the others were dancing around him. Head on, 1.400 Meters another one to the keel. And as they were firering me down. I gave him another one, since i expected him to blow up instantly but there was nothing to hear. Another one with the big boom. And as i tryed to evade me out of ****. There was this Ise BB at my rear. Last three hecktorps. 0, +2, +4, but the Captain didnt accelerate, so the first hitted midships, the last in the very front, and the second between. Another dance with the DDs and they let the Ise sail on its own. Ok, lets try 6.500 Meters. Sea still 0 Meter per Second. But allready daytime. The shots where hitting below waterline, and the next one up to the middle of the tower. And another one over the ship, calm seas? So i hardly hitted with half of my around 105 AP Shells, and then with my ca. 65 remaining explosive shells. Good, why not try to scratch them with the .50Cal. AP at least. Following up to 5.200 Meters had im on 23 degrees, no way to turn the flak further. Since i had no glue where my shots are landing, i shot, and switched to the uzo and as my bullets rained in, they were out of sight, no glue where they were landing. But first it seemed exectly when the disappeared there was simultanious fire starting all over the ship. And i thought: How epic is that all the fires which were allready burning inside now have got air. Like a very ripe grape. Then i realised that those bastards are firing back. Not even making 4 Konts but whistling "La Paloma". Back in port i insisted in keeping the holes, cause then we seem really badass. But that wouldnt work because of insurance issues. THIS IS WAR, he has said! P.S. 77% Hull damage, i ve made it home. Last edited by Rock Storm; 12-16-21 at 03:30 PM. |
|
|
12-16-21, 04:05 PM
|
#4 |
|
GLOBAL MODDING TERRORIST
|
Just looking at Stock tsr files I'm not seeing line breaks and such.
So my thought is something in the menu_1024_768.ini is limiting lines? Since the text is placed over an image, there's probably a control line to say how many letters can be on a line. It would go by width settings of course is my guess. |
|
|
12-16-21, 07:22 PM
|
#5 |
|
CTD - it's not just a job
|
@ Rock Storm: Sounds like you are having fun! Continue skipper!
![]() @ Jeff-Groves: Yes, menu_1024_768.ini, and I am tempted to attempt to add a scroll gutter, but... there is probably a reason they left that off. Only one way to find out though! lol - The Stock game uses very generic mission orders, that might be four lines long. With the copies of RL orders I have, a person would need a notepad, legal-sized, to hold the orders and charts they carried, sometimes in sealed envelopes "Not to be opened until on-site", initially with only a "lat/long" location to go to. The Narwhal and Nautilus were often tasked with 3 and 4 objectives, half of which might be cancelled enroute, and replaced with other objective locations, due to countering Japanese movements, or the capture of guerrilla groups. We're trying to get as much "authenticity" in to that roughly 850 characters the game allows. But the limit on characters does not appear to be set in stone, and is a function, as you say, of the "window" size for the "paper", and is a combination of lines, words, characters & line breaks (my opinion). As in an earlier post, if I put one character and a carriage return (using the keyboard) on each of 20 lines, they all display fine. I can add more characters to each line, but when I hit roughly 742 characters, I have to drop a line. That trend continues all of the way up the page. The more characters, the fewer lines allowed. It seems the more you fill a line with up to 60 characters, the fewer lines allowed, but as I mentioned, I did have a "short" orders text that bombed, most likely due to my use of double "pipes" for a forced carriage return to separate sections of text for Objectives A, B & C. The game did not like that. Removed 2 characters, and it was fine. When I removed the double "pipes" and went with singles separating the sections, it was fine. My guess is that the "pipe" character is worth the whole line of 60 characters. There is no other explanation - in my mind. anyway... strange stuff, this game...
__________________
"...and bollocks to the naysayers" - Jimbuna |
|
|
12-17-21, 08:41 AM
|
#6 | |
|
I break things
|
Quote:
Menu.ini [G36 I1] Name=Page mission order Type=1027;Menu page ItemID=0x36000000 ParentID=0x0 Pos=0,0,1024,768 Zone= 0 768 1024 768 2 1 0x0 0.5 -0.5 0x36000000 -0.5 0.5 0 0 LoadingMode=2 [G36 I2] Name=Orders text Type=1029;Static text ItemID=0x36000003 ParentID=0x36000000 Pos=66,-163,330,567 Zone= 66 605 330 567 0 1 0x36000000 0.0644531 -0.21224 0x36000003 0 0 0 0 Color=0xFF Font=5 Text=0 TextFlags=0x10 [G36 I3] Name=Orders State text Type=1029;Static text ItemID=0x36000004 ParentID=0x36000000 Pos=402,-163,148,567 Zone= 402 605 148 567 0 1 0x36000000 0.392578 -0.21224 0x36000004 0 0 0 0 Color=0xFF Font=5 Text=0 TextFlags=0x10 [G36 I4] Name=Briefing text Type=1029;Static text ItemID=0x36000002 ParentID=0x36000000 Pos=66,-163,488,567 Zone= 66 605 488 567 0 1 0x36000000 0.0644531 -0.21224 0x36000002 0 0 0 0 Color=0xFF Font=5 Text=0 TextFlags=0x10 [G36 I5] Name=Briefing Type=1032;Button ItemID=0x36000005 ParentID=0x36000000 Pos=577,-255,307,103 Zone= 577 513 307 103 0 1 0x36000000 0.563477 -0.332031 0x36000005 0 0 0 0 Color=0xFFFFFFFF Materials=4 Display=3;Middle Font=0 Text=4002 TextFlags=0x14 StatesColors=0xFFFFFFFF, 0x555555FF, 0xDD5800FF, 0xDD5800FF [G36 I6] Name=Orders Type=1032;Button ItemID=0x36000006 ParentID=0x36000000 Pos=582,-501,266,98 Zone= 582 267 266 98 0 1 0x36000000 0.568359 -0.652344 0x36000006 0 0 0 0 Color=0xFFFFFFFF Materials=4 Display=3;Middle Font=0 Text=4003 TextFlags=0x14 StatesColors=0xFFFFFFFF, 0x222222FF, 0xAA3300FF, 0xAA3300FF [G36 I7] Type=1030;Static bmp ItemID=0x36000001 ParentID=0x36000000 Pos=0,0,1024,768 Zone= 0 768 1024 768 0 1 0x36000000 0 0 0x36000001 0 0 0 0 Color=0xFFFFFFFF Materials=1 Display=2;Linear Mat 0=data/menu/gui/morderbgnd.tga MatFlags=0x9 TexFmt=0x0 But how to understand it, is another matter. perhaps create the page for SH5, and use the SH5 editor to view the layout for ideas ?
__________________
|
|
|
|
12-17-21, 10:29 AM
|
#7 |
|
CTD - it's not just a job
|
Yes, the SH5 editor does work for that, but the "logic" behind the placement is elsewhere. The menu ini file "places" the text, but does not determine the actual formatting of the text, only where it displays. If I remember, the actual text is either I4 or I5 (the pages build "backwards"), but with no apparent error checking anywhere, if it does not fit on the page, the game immediately CTDs - but how to "count" to prevent that?
__________________
"...and bollocks to the naysayers" - Jimbuna |
|
|
12-17-21, 04:15 PM
|
#8 |
|
Watch
![]() Join Date: Jan 2017
Posts: 27
Downloads: 39
Uploads: 0
|
@ propbeanie: Hell Yeah, now i know, what i was missing all those years
![]() I have tried the Ctrl-N thing to get a whether refresh or a new "dice roll" after four hours, if i understood it right. But i had 15m/s without rain for the first two weeks of March and 7 - 15 Meters with heavy prescr...rain and heavy fog, for the last two weeks of march. But ok, don't want to brag, but i have watched the "Werner Sobe Sonarvids", like 15 years ago. I also used to sail with no map updates, but then one is really busy, and what do i have a boat full of experts for. The torpedoes: Sniper297 wrote: MK-10 36/3200 80-160 MK-14 31/8200 46/4100 120-180 MK-16 46/12500 180-350 MK-18 29/3650 100-170 MK-23 46/4100 120-180 MK-27 12/4750 50-100 any devatriations from these numbers in your mod. And does the Mk-23 only cost renown because he is more reliable. They must have some extraordinary pins! And do some of the Japanese Submarines really have recon planes? I allways draw circles around the airports, but in the middle of the ocean a scout plane caught us in the night, came down Stuka-like in an 80 degrees angle for the center of the sub and... nothing. I guess he tried to spit on us, at least i would have tried. Crazy mother helpers those pilots: |
|
|
12-17-21, 09:22 PM
|
#9 |
|
CTD - it's not just a job
|
top to bottom:
1. No two computers are alike, and no two runs of the game on the same computer are alike. You never know when the game or machine wants to take a holiday... The main things with weather are not doing high TC when you do hit a storm, since the TC seems to interfere with the chance of a roll. It can be tough to notice when you hit a storm though, but watch for the boat's speed to fluctuate, along with rudder changes if you have set a course. Slow down to 512x max. Also, there can be times where you go from storm to clear and back to storm, and do not notice due to TC use. Shelling out to windows will also do that, since each time you go out, the game's "clock", which is based on a DirectX v9 dll library call, gets re-set. But "weather" is not realistic in SH4. I would rather be in a storm with somewhat limited visibility, than the dead-calm you can get stuck in just as badly. It can be near-suicide to attack when it's calm. 2. In a regular FotRSU activation, you are dealing with the Stock game's "Dud" rate. So you do have to have the choice enabled on the Career Captain's Office "Options" "Game Play" menu to encounter duds. Also, in the AddInModzPak are several choices of dud rate modifiers. The "650_MoreDudz" is probably the closest to "real life" percentages, and most of the torpedoes do have issues, including the Mark 10 running 5' deep. It amazes me that BuOrd would not have taken the weight of a real warhead, as compared to a practice head, into consideration when they did their settings "recommendations" ("Do this or else"). 3. The Mark 23 at first costs renown, but when the "fix" is in, it represents the "repaired" Mark 14 and becomes free. But there are still deep runners, duds, and circle runner chances. Just not as high. You'll also notice that CapnScurvy has the warhead default from a magnetic pistol to impact pistol about then. 4. Yes Martha, we have no bananas, and the Japanese subs that carried planes do "launch" (spawn) airplanes. They will do it based upon your sub's detection. In other words, if a shore battery, a ship, a picket, a plane etc., happens to see you, and the sub is close enough, it will spawn a plane that will come your direction, with a pre-calculate angle error, similar to what the guns have. If it's time for their radar to be active, they will bee-line for you and attempt to put the whoop on you. Didja hear it "screaming" as it came in? Some of the planes have that now. Sounds like a Stuka, 'cause it is that sound (thanks Jeff!!!) 5. Blackadder is required study on this team... as well as a few other shows... lol - must have the proper "chip chip cheerio and all that!" ![]() PS: If I missed something, berate me. "sorry" ahead of time!
__________________
"...and bollocks to the naysayers" - Jimbuna |
|
|
12-16-21, 02:18 PM
|
#10 | |
|
Navy Seal
![]() |
Quote:
Does the character limit in missions include all sections such as objectives, messages triggered etc or just the mission briefing? as in say 1000 characters for all of them combined or ? |
|
|
|
12-16-21, 02:41 PM
|
#11 |
|
GLOBAL MODDING TERRORIST
|
"until I can figure-out a 010 script to do my character, word, and line counting for me recursively"
![]() Do you mean to have 010 scan and check all the files and report or 1 file at time not auto changing folders? |
|
|
12-16-21, 03:11 PM
|
#12 | |
|
CTD - it's not just a job
|
Quote:
The Objective synopsis seem to be limited to two lines each, but thus far, I have not hit a limit on the number of Objectives. That page scrolls. The same with the photo missions "Photos" page. It scrolls fine and can hold at least twelve pictures. I try to keep all "labels" as one word, maybe using an underscore for separation. I don't trust the game to misinterpret a "space" in a name. But near as I can tell, you are only limited in the mission orders, and only as they display when you are in the Captain's Office at home port, getting ready to go on patrol, since that page does NOT have a scroll gutter. It makes it a bit tough on the Narwhal / Nautilus missions that often had three initial objectives on their orders, oftentimes rather complex in nature. What I have done with several missions is break the orders into two parts, with an overview in the office orders, and then use the Timer with a few minutes or couple of hours max set to display some details via a radio message. The radio message page can scroll, and is better for that.Yes, exactly. I also have a time of it doing "calculations" with what I have found... the logic of trying to figure-out which words will be on the next line is giving me a headache. It's been entirely too long since my C days... sorry, bad pun... Anyway, it might be easier if I used VB to build a small app, since I do know how to recursively open files there, and I am more familiar with string functions and RegEx there... I just need a running character counter per line, a running line count and something to throw an error with flashing lights and sirens when several set conditions are hit, such as 20 lines of text, or over 848 characters. I also want it to throw a "Danger Will Robinson" warning when 17 lines of text are hit, or 840 characters used. Nothin' to it. It sure would have been nice of Ubisoft to supply some documentation on this type of stuff...
__________________
"...and bollocks to the naysayers" - Jimbuna |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
