![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
|
01-25-06, 09:25 PM
|
#1 |
|
Grey Wolf
![]() Join Date: Nov 2005
Location: Mar del Plata, Argentina
Posts: 871
Downloads: 0
Uploads: 0
|
Last mod is very cool.
The only thing I don't like is that the program overwrites logs entries, I love to generate a report in the middle of the patrol, so the data is more usefull, perhaps a solution is to scan the log for the first entry of a sunk ship : "EntryText=Ship sunk!...." and renumber the following entries, something similar with the map file, preload the file, insert the lines you need at the begining, so we don't lose our previous markings and waypoints. Perhaps you have already tried and is not possible, but asking is free... :P |
|
|
01-26-06, 02:23 PM
|
#2 |
|
Admiral
![]() Join Date: May 2005
Location: Berlin
Posts: 2,015
Downloads: 165
Uploads: 0
|
@ref: I hear ya. Probably I am going to work on that. The problem with writing a parser is that I don't know the proper strings in all the different localisations.
In the German version, for instance, if theres a marker in the map, its name is always "MarkierungXy". Now what would that be in English or French? Having said that, I think I can solve it in some way. I am aware that the clg output must be more intelligent.
__________________
|
|
|
01-26-06, 03:13 PM
|
#3 |
|
Ocean Warrior
![]() Join Date: May 2005
Location: São Paulo Brazil
Posts: 2,728
Downloads: 149
Uploads: 0
|
GlobalExplorer:
I just arrive from a month's vacation. What a great mod! I don't install it yet but the idea is brilliant! I have a question: Can you add a special info about the milk cow units?. I think that will be an useful feature for guys using Sansal/HT mod. If you need some help here just ask me! Greetings, Rubini. |
|
|
01-26-06, 04:33 PM
|
#4 |
|
Admiral
![]() Join Date: May 2005
Location: Berlin
Posts: 2,015
Downloads: 165
Uploads: 0
|
I always like if people post their ideas, but especially if it is you Rubini! Milch cows were only in the back of my mind, but when i think about it, they are a cool addition to the immersion factor. Right now the way Sh3Gen handles them is not convincing .. You will see a marker next to the navalbase's position, but it doesn't have the right name. For instance, I find it odd if 'Corrientes' is annotated as 'Carl Zeiss' or something else from my internal ship database. So I must work on that.
I think possibly the logic could be (pseudocode) if((german_navalbase_found)&&(navalbase_outside_ge rman_port)) { navalbase_is_supply_boat=true; } I could then give the unit the name that you gave it in the mission editor (otherwise I use one from my database). Moreover, I could trigger additional logic that will show a new message in the war diary: "During <timeframe> our U-Boat Supplier 'Corrientes' will be in Vigo" One question: Have you thougt about providing metadata for you campaign files that other applications might read? This would open up fantastic new possibilities.
__________________
|
|
|
01-26-06, 05:20 PM
|
#5 |
|
Ocean Warrior
![]() Join Date: May 2005
Location: São Paulo Brazil
Posts: 2,728
Downloads: 149
Uploads: 0
|
GlobalExplorer,
Yours two possibles solutions are very good! The name can be a generic "Ressuply unit" if would be too hard to find the "real" name. BTW, what is "metadata" ??? :hmm: Rubini. |
|
|
01-27-06, 06:13 AM
|
#6 | |
|
Admiral
![]() Join Date: May 2005
Location: Berlin
Posts: 2,015
Downloads: 165
Uploads: 0
|
Quote:
metadata=buzzword Many people say it's the future of digital information, or the internet. It basically means to provide data that describes data. Metadata should be provided if your data is going to be read and interpreted by other applications. Example data that I took from your Campaign_SCR: [Unit 2584] Name=Pinguin Class=GeAuxCruiser .. If an application can only read this data, a lot of ambiguity remains. In this case, for instance, the Name 'Pinguin' is a correct shipname. But in other cases it is a generic string like '39_RussiaTraffic_001'. The designation of the unit is also very vague, in that I know that it is a German AuxCruiser, but not what it is going to do. It could be a docked ship, a supplier or even a Blockade Breaker on a special mission. Now imagine, you as the campaign designer, would have provided another file, that describes some, maybe just the 10-20 most interesting units. It would then be possible to 'know', what the unit is going to do, and to trigger special logic. Examples (mind that this would never be in Campaign_SCR, but in another file): [Unit 2584] Name=Pinguin Type=CommerceRaider I could trigger a special mission that goes like: Our cruiser 'Pinguin' is on a commerce raiding mission in South Atlantic or [Unit xy] Name=Courageous Type=UnableToMove Special mission could be: The carrier 'Courageous' has been damaged and lies stopped at <position>. Go there at once and sink it or [Unit xy] Name= Type=SpyBoat Resulting output could be: Our agents in Ireland prepare an exchange of documents. They will await you in <location> between <timestart> and <timeend>
__________________
|
|
|
|
01-27-06, 07:20 AM
|
#7 |
|
Ocean Warrior
![]() Join Date: May 2005
Location: São Paulo Brazil
Posts: 2,728
Downloads: 149
Uploads: 0
|
Ok, I understand.
I can help you with a lot of info on this stuff. I know where and when in the SCR some special units goes on patrol, all the info about milk cows (their positions, dates, names, etc) , Uflaks disposable in the bay of Biscay, some german convoys, Bismarck and Tirpitz operations etc... I will try to put all these info on a text file and point them to you...or even make a special SCR with these infos on it with a special codification...What is better? :hmm: Rubini. |
|
|
01-27-06, 08:24 AM
|
#8 |
|
Admiral
![]() Join Date: May 2005
Location: Berlin
Posts: 2,015
Downloads: 165
Uploads: 0
|
Great!
We should start very simple. If you can provide me with some info about the most important targets in HT1.47, it should be my task to come up with a convincing demo. Once this is accomplished, we can think about the concept another time, and more seriously. For the beginning, an unformatted text file with 10-20 units would do. I would analyze it and make a list of all the different types of entities I find, as well as make a proposal for the metadata format. In the interest of analysis, it might be better if you try to write down one example of every type of unit you can thnk of, but of course not every single entity of this class. One is already enough. IMO, the most important types of units would be: - suppliers (docked or milchcows) - commerce raiders (Atlantis) - warships and taskgroups (Weserübung etc) - concentrations of landing crafts or troop ships (d-day) -german and italian convoys (north africa) - concentrations of U-Boats (wolfpacks) For some reason, atm I can't think of any more, but there are loads. All should be from static layer (SCR), because I think this information should be reliable. The info should always contain: [Group/UnitId from Campaign_SCR, so I can match the info, this is very important!] Name=<Historic or fictional name> Class/Type=try to verbalize the type of unit Why is is there? What type of action does perform (i.e. warship patrol, commerce raiding, etc), could also be put into Class/Type Anthing else I didn't think of. I don't need info about waypoints, EntryDate, ExitDate, etc, because this is already in Campaign_SCR, and we should never duplicate data. As I said, lets keep it very simple. I have already been approached with some grand ideas, but I prefer to work on something that will work, and without the user having to understand it. The metadata strategy always works, because the application will check if the metadata file is available, and if it's not, work as usual.
__________________
|
|
|
01-27-06, 09:05 AM
|
#9 |
|
Ocean Warrior
![]() Join Date: May 2005
Location: São Paulo Brazil
Posts: 2,728
Downloads: 149
Uploads: 0
|
Ok GlobalExplorer,
Can you send your email adress to me? This way we can share files easily. Contact me by PM. Rubini. |
|
|
01-27-06, 09:46 AM
|
#10 | |
|
Medic
![]() Join Date: Jun 2005
Location: AN85
Posts: 167
Downloads: 57
Uploads: 0
|
Quote:
|
|
|
|
01-27-06, 10:35 AM
|
#11 |
|
Ensign
![]() Join Date: Apr 2005
Location: Poland
Posts: 226
Downloads: 138
Uploads: 0
|
I have still error
Instaled: XP SP2 .net 1.1 Sh3Gen 0.3.0 commander 2 RUB 1.45 HT 1.47 Mesage : See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ************** Exception Text ************** System.NullReferenceException: Object reference not set to an instance of an object. at Sh3Gen2.Database.Campaign.Interpreter.CInterpreter .prime(CGroups Groups) at Sh3Gen2.Database.Campaign.Interpreter.CInterpreter .Run() at Sh3Gen2.Database.Campaign.CCampaign.initializeCamp aignData() at Sh3Gen2.Applications.MapGen2.CMapGenerator.Run(Str ing PatrolGrid) at Sh3Gen2.Applications.MapGen2.CMapGen2.Button_OK_Cl ick(Object sender, EventArgs e) at System.Windows.Forms.Control.OnClick(EventArgs e) at System.Windows.Forms.Button.OnClick(EventArgs e) at System.Windows.Forms.Button.OnMouseUp(MouseEventAr gs mevent) at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ButtonBase.WndProc(Message& m) at System.Windows.Forms.Button.WndProc(Message& m) at System.Windows.Forms.ControlNativeWindow.OnMessage (Message& m) at System.Windows.Forms.ControlNativeWindow.WndProc(M essage& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) ************** Loaded Assemblies ************** mscorlib Assembly Version: 1.0.5000.0 Win32 Version: 1.1.4322.573 CodeBase: file:///c:/windows/microsoft.net/framework/v1.1.4322/mscorlib.dll ---------------------------------------- Sh3Gen2 Assembly Version: 1.0.2216.30497 Win32 Version: 1.0.2216.30497 CodeBase: file:///F:/Gry/SilentHunterIII/Sh3Gen/Sh3Gen.exe ---------------------------------------- System.Windows.Forms Assembly Version: 1.0.5000.0 Win32 Version: 1.1.4322.573 CodeBase: file:///c:/windows/assembly/gac/system.windows.forms/1.0.5000.0__b77a5c561934e089/system.windows.forms.dll ---------------------------------------- System Assembly Version: 1.0.5000.0 Win32 Version: 1.1.4322.573 CodeBase: file:///c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll ---------------------------------------- System.Drawing Assembly Version: 1.0.5000.0 Win32 Version: 1.1.4322.573 CodeBase: file:///c:/windows/assembly/gac/system.drawing/1.0.5000.0__b03f5f7f11d50a3a/system.drawing.dll ---------------------------------------- ************** JIT Debugging ************** To enable just in time (JIT) debugging, the config file for this application or machine (machine.config) must have the jitDebugging value set in the system.windows.forms section. The application must also be compiled with debugging enabled. For example: <configuration> <system.windows.forms jitDebugging="true" /> </configuration> When JIT debugging is enabled, any unhandled exception will be sent to the JIT debugger registered on the machine rather than being handled by this dialog. |
|
|
01-27-06, 03:27 PM
|
#12 |
|
Admiral
![]() Join Date: May 2005
Location: Berlin
Posts: 2,015
Downloads: 165
Uploads: 0
|
Version 0.3.1 has been uploaded. I made some changes in reaction to the problem posted above. Because this is related with the way I use quadrants, I have added the missing arctic quadrants AA,AB,AC,AW and AT. Unfortunately UBI left these quadrants from Sh3, but they are easily locateable. Basically they are an extension to the north of the current quadrants, stretching from Greenland to Novaya Semlja.
NOTE: This version exludes every unit outside the current quadrant system, so at the moment there will be no info about traffic in the Black Sea and Eastern Mediterranean. Who can give me information about Kriegsmarine Grid system used in these regions? @NiKuTa: Check your pm.
__________________
|
|
|
01-27-06, 04:30 PM
|
#13 |
|
Ensign
![]() Join Date: Apr 2005
Location: Poland
Posts: 226
Downloads: 138
Uploads: 0
|
Oki, but where is a link to new ver of Sh3Gen??????
|
|
|
01-27-06, 05:16 PM
|
#14 | |
|
Grey Wolf
![]() Join Date: Nov 2005
Location: Mar del Plata, Argentina
Posts: 871
Downloads: 0
Uploads: 0
|
Quote:
http://www.global-explorer.de/ |
|
|
|
01-27-06, 05:19 PM
|
#15 |
|
Grey Wolf
![]() Join Date: Nov 2005
Location: Mar del Plata, Argentina
Posts: 871
Downloads: 0
Uploads: 0
|
I don´t know if this is related to sh3gen or a bug in my save files, but when I use sh3 commander and try to update my personell file I got an error message "list index out of bounds", anyone else is getting it?.
Suggestion, for those of us with slow machines, a progress bar should be appreciated. @global explorer, thanks for the file. |
|
|
![]() |
|
|
