| Author |
need help with ATTACK and ROE orders |
Col7777
Joined: Jan 25, 2003 Posts: 98 From: Manchester UK
| Posted: 2003-02-14 07:07  
Sounds good, I did a mission in Liverpool bay and I know the depth there is very shallow, a lot of stealth required.
If you want to add a bit more to your mission try this at the mouth of the harbour, it's sunken ships, they will act as a defence barrier.
All credit for the sunken ships goes to CB who thought the idea up and modded it to work.
[GROUP3]
Type = SHIPDIVISION
UnitType = Merchant
Side = 2
Name = ASdefenses
Nationality = Britain
WayptDisplay = DO_NOT_SHOW
[UNIT3]
Group = 3
TypeAbrev = SC
Class = MSCCargoSunk
Name = ASDefenses
Flag = TRUE
Guide = TRUE
Location = 29.083333,60.149994
Orientation = 0
Captain = 80
Crew = 80
Inactive = TRUE
BoilersHot = FALSE
IconName = MSHIP
Display = SHOW_AS_GROUP
Almost forgot, you will need this file also, it's the UDF file that goes in the Units Folder, copy and paste it in notebook and save it as MSCCargoSunk.UDF
;; MSCCargoSunk.UDF Generic sunken cargo ship
[UNIT]
Category = SHIP
Type = MERCHANT
Class = Cargo
Origin = US
Date = 3901
Crew = 0
UpdatesPerSecond = 10
ExemptFromSilliness = TRUE
Preprocess = TRUE
#if between(19010101,date,19400731)
Model = MSCCargo
#endif
#if between(19400801,date,19400930)
Model = MSCCargoMG
#endif
#if between(19401001,date,19990101)
Model = MSCCargoDG
#endif
Translate = 0,-30,0
[VESSEL]
Displacement = 6641
[PROPULSION]
Type = STEAMTURBINE
System = Propulsion
Screws = 1
Speed = 0 ; for 10kts flank at sea state 2
Range = 0000
FuelCapacity = 00
[BOILERS]
Count = 2
[MANEUVER]
System = Maneuver
FullTurn = 1730
;[SENSOR1]
;Type = LOOKOUT
;System = Lookout
;-------------------------------
;---------------------------------
[COMM1]
Type = SEMAPHORE
[COMM2]
Type = BLINKER
[COMM3]
Type = RADIO
System = RadioComm
[ARMOR]
Side = 0
Deck = 0
Edited to add UDF File.
[ This Message was edited by: Col7777 on 2003-02-14 07:13 ]
 
|
Mark K
Joined: Feb 27, 2002 Posts: 474 From: Petaluma, California
| Posted: 2003-02-14 07:10  
Buried in the code are the "preference matrices" depending on how the ROE is set. I don't remember what any of them are.
But... I was able to use a mis-scripted ROE to my advantage in a Destroyer Command mission. Had airplanes attacking the player (screen) and one tanker (merchant). If ROE was set to either of them, they'd get clobbered. If set to CAPITAL, the planes would tend to jump on the player, since it was a warship. But, it turns out if they were looking for SUBMARINE(s?), then it would be roughly 50/50 which they attacked, since both were near the bottom of the preference pile.
One thing to be careful about with friendly airplanes is that sometimes they have more fun than the player.
Mark
 
|
klh
Joined: Mar 07, 2002 Posts: 115 From: Wirral, UK
| Posted: 2003-02-14 12:38  
Quote:
|
On 2003-02-14 07:10, Mark K wrote:
Buried in the code are the "preference matrices" depending on how the ROE is set. I don't remember what any of them are.
But... I was able to use a mis-scripted ROE to my advantage in a Destroyer Command mission. Had airplanes attacking the player (screen) and one tanker (merchant). If ROE was set to either of them, they'd get clobbered. If set to CAPITAL, the planes would tend to jump on the player, since it was a warship. But, it turns out if they were looking for SUBMARINE(s?), then it would be roughly 50/50 which they attacked, since both were near the bottom of the preference pile.
One thing to be careful about with friendly airplanes is that sometimes they have more fun than the player.
Mark
|
|
Mark K.
Thanks for the explanation. I think I understand a little better what's happening. Using a "mis-scripted ROE" as you say is pretty clever.
Could you also give a little more information on how to properly use the initiative parameter of the ROE order (full, none, permission)?
_________________ Kapitänleutnant Hähl
 
|
Mark K
Joined: Feb 27, 2002 Posts: 474 From: Petaluma, California
| Posted: 2003-02-14 19:14  
I don't even know if that portion does anything. It might be unused.
thanks,
Mark Kundinger
(Ultimation)
 
|
Col7777
Joined: Jan 25, 2003 Posts: 98 From: Manchester UK
| Posted: 2003-02-15 08:22  
Mark,
I remember you posting a thread once about instructions on the SDF file that do nothing, it may have been on VWarrior I'm not sure but can you post it again please, not just for me but there seems to be a few more scripting missions again lately and this will be valuable information for them too.
 
|
Col7777
Joined: Jan 25, 2003 Posts: 98 From: Manchester UK
| Posted: 2003-02-16 05:30  
Bump; Sorry to bump it but I wanted Mark to see it, I think after a lot of posts some get missed.
 
|
Col7777
Joined: Jan 25, 2003 Posts: 98 From: Manchester UK
| Posted: 2003-02-17 13:05  
just another bump
 
|
Tallest
Joined: Jul 12, 2002 Posts: 21 | Posted: 2003-02-17 19:44  
I'll bump it for ya this time, Col7777
(coz I'd love to read it too) 
 
|
|