SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
03-18-23, 01:08 AM | #1 |
Lieutenant
Join Date: Jun 2019
Posts: 259
Downloads: 550
Uploads: 0
|
astvitaliy1982
Stretching the textures of the stations is not a problem, and the location of the sensors in the necessary places should also not be a problem. All this can be solved if you find a way to change the screen resolution
|
03-18-23, 10:07 AM | #2 | ||
Soundman
|
Cel,
Quote:
This is problem is first encountered by new players in the Anti-Sub training (5th) scenario . In this scenario American Perch subs (NIXPerchTarget.UDF) as targets are matched against the player’s American DD (I.e Amer vs. Amer).* These subs were meant to be easy targets with limited sensor capability and no supporting Rules of Engagement (ROE) code. They actually start on the surface then dive down to Peri depth and hover there. They should have been program to dive deeper quicker. (Note You can practice shelling them while they remain on the surface or torpedoing from your DD when they submerge). The dev should have made it clearer that these sub targets are dummies and not representative of those in game. *( There is an actual Amer. Perch or Porpoise class sub described in the sim: “NSSPerch.UDF”) Missions built using the “Mission-builder” aren’t much better because they don’t utilize ROE statements to make the AI work. IMO These MB missions are good for practice but not representative of AI’s potential. Quote:
Two quick ways to improve the AI is to use Fletcher’s mod or Kreigstanz Developer. Both of these add general ROE statements to scenarios making the AI play better. This can be taken a step further by customizing the RoE script individually in each scenario. I’m running out if time, Give me a few days and I post here how I think the DC AI works and a test scenario. Last edited by Vox165; 03-18-23 at 11:40 AM. |
||
03-20-23, 08:27 AM | #3 |
Soundman
|
(The following notes are based entirely on in-game testing of DC only).
The AI is hard-coded (HC) and varies by country and unit type (see DC's AI folder). This is the primary AI used by the sim. Rules of Engagement (ROE) statements can be added to modify HC behavior. There are two ways that ROE is added: (1) While the game is running via the sliding panel menu or (2) Directly to the scenario script (SDF). Some ROE statements can override HC behavior. For example the ATTACK ROE statement can be added to force specific units to attack certain others. However, most ROE "MAY" only have an effect depending on the game situation. Unit AI is strongly influenced by its environment through sensors (visual, radar, sonar, ESM etc). This get complicated very quickly when you consider that each unit type has it's own sensors that come on-line on different dates . (see UDF files) I set up a quick simple Destroyer vs. U-boat test scenario sdf . I suggest setting all visibility Options "on" to watch what happens Description: May 1943. Clear. An Amer. At start the player's destroyer (NDDFletcher) and a Ger. U-boat (NSSUBoat7C) are on opposite courses roughly 5000 yards apart. The U-boat is initially on the surface and immediately spots the player's destroyer and submerges to periscope depth and salvos its torps . Avoid the U-boat's torps, and try to ram the U-boat. The U-boat will spot the player's destroyer at ~ 400 yards and start diving . (Obviously, it would be better if the U-boat picked up the DD sooner) You may be able to ram the sub before it gets deep enough and cause minor damages but either way it continues going deeper and slinks away. Most of this AI behavior is HC but I also added a ROE (ROE,DESTROYER,EVADE,STEALTHY,BEST,FULL ) that can be experimented with by commenting it out with a ";" before the line. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;; ;; SIMPLE TEST: DESTROYER VS SUB ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;; [SCENARIO] Date = 19430515 Time = 1200 TitleEnglish = Training 5 Simple Test Anti-Submarine_Moving&Evading Origin = -10.000000, 62.000000 InitialZoom = 7 Weather = CLEAR Preprocess = FALSE ;;; Objectives ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;; Bases ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;; Radio Messages ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;; Multi ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;; Mutex ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;; Sides ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; [SIDE1] Alignment = ALLIES Name = Allies Doctrine = AMERICAN [SIDE2] Alignment = AXIS Name = Axis Doctrine = German ;;; Groups ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; [GROUP1] Commander = HUMAN Type = SHIPSQUADRON UnitType = Destroyer Side = 1 Name = DD76 Nationality = American WayptDisplay = DO_NOT_SHOW [GROUP1.1] Commander = HUMAN Type = SHIPDIVISION UnitType = Destroyer Side = 1 Name = DD76 Nationality = American WayptDisplay = DO_NOT_SHOW [GROUP2] Type = SHIPDIVISION UnitType = submarine Side = 2 Name = U-123 Nationality = German WayptDisplay = DO_NOT_SHOW Order1.1 = Speed,Telegraph,FULL,-1,-1 Order1.2 = ROE,DESTROYER,EVADE,STEALTHY,BEST,FULL ;;; Units ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; [UNIT1] Group = 1.1 TypeAbrev = DD Class = NDDFletcher Name = DD79 Designation = 79 Control = HUMAN Flag = TRUE Guide = TRUE Location = -10.000000, 62.000000 Orientation = 90 BoilersHot = TRUE IconName = NSHIP [UNIT2] Group = 2 TypeAbrev = SS Class = NSSUBoat7C ;Class = NSSUboat9C40 Name = U-123 Flag = TRUE Guide = TRUE Location = -9.900000, 62.000000 Orientation = 270 Depth = 0 ;Depth =100 BoilersHot = TRUE IconName = SUBMARINE ############## Link to file Dropbox https://www.dropbox.com/s/86z3eanszq...ssion.zip?dl=0 Last edited by Vox165; 03-21-23 at 01:46 PM. |
|
|