Forum Index
SUBSIM Forum Search

The Web's #1 BBS for all submarine and naval simulations!
[ SUBSIM Review ] [ SUBSIM STORE ]
Current Forum | Archives 2002-2003 |

"Working aircraft carrier"

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.     Forum Index -> Silent Hunter II, Destroyer Command & Classic Subsims
View previous topic :: View next topic  
Author Message
Darkfold



Joined: 26 Mar 2005
Posts: 19

PostPosted: Mon Apr 25, 2005 10:28 pm    Post subject: "Working aircraft carrier" Reply with quote

Okay, I just don't get this Damn I want airbases that go with carriers and ships with scout/observation aircraft so they can appear to be launching and recovering planes. I've read the editing files (and they've made life a lot more fun, thanks, guys), but the "working aircraft carrier" thing has eluded me because the base stays put when the ship moves. Enlightenment, please, thanks,
Back to top
View user's profile Send private message Send e-mail
horsa



Joined: 07 Jul 2002
Posts: 2693
Location: Halifax, England

PostPosted: Tue Apr 26, 2005 5:34 am    Post subject: Reply with quote

Hi Darkfold.

Describe what you've actually done to the mission file to get moving carrier bases.
Back to top
View user's profile Send private message Send e-mail
Darkfold



Joined: 26 Mar 2005
Posts: 19

PostPosted: Thu Apr 28, 2005 6:51 am    Post subject: Reply with quote

I think I might know what's wrong. In KLH's notes, it says, "To set up an attached airbase, assign the airbase to the unit that will carry the base. The base will then follow the unit as it travels. If the unit sinks, the base is destroyed and the base will no longer spawn.
This is useful to create effects such as a working aircraft carrier, a scout plane that calls a destroyer group, a shadowing uboat sending contact reports, or spawn friendly wolfpacks when a sub is detected by enemy units.
Place the following in the unit (not group) information: "AirBase = n" (where "n" is the BASE number, this attaches the airbase to the unit). Next, assign a group to airbase block "Group = n" (where "n" is the GROUP number to be spawned)."

What I've been thinking is that the base moves along with the unit, but maybe "the base will follow the unit as it travels" means the base will keep track of the unit, not actually move with it. Is that it? If that's the case, then the base radius has to be big enough so the unit won't move out of it. Do I have that right?
Back to top
View user's profile Send private message Send e-mail
Floater



Joined: 14 Sep 2002
Posts: 2300
Location: England

PostPosted: Thu Apr 28, 2005 6:59 am    Post subject: Reply with quote

No, the base should follow the unit wherever it goes if it's coded properly. Thumbs Up
Back to top
View user's profile Send private message Send e-mail
Darkfold



Joined: 26 Mar 2005
Posts: 19

PostPosted: Thu Apr 28, 2005 10:49 pm    Post subject: Reply with quote

Damn My brain hurts. Rolling Eyes Back to the drawing board.
Back to top
View user's profile Send private message Send e-mail
klh



Joined: 10 Jan 2002
Posts: 465

PostPosted: Fri Apr 29, 2005 6:56 am    Post subject: Reply with quote

Darkfold,

Try posting the relevent parts of your .sdf file here. There are still enough able mission writers around (like Floater) who can help you solve this.
Back to top
View user's profile Send private message
Floater



Joined: 14 Sep 2002
Posts: 2300
Location: England

PostPosted: Fri Apr 29, 2005 8:25 am    Post subject: Reply with quote

KLH: I wouldn't consider myself a mission writer, since I've never hand-coded a mission, unlike clever people like you. Very Happy

Darkfold: I don't know if you've heard of Kriegstanz. It's a random mission generator I wrote for SH2 and DC - the link's in my sig below.

If you use Kriegstanz Developer (aka KD, the mission-writing tool), create yourself a player uber-sub (XXI) and a single enemy carrier, then follow the carrier around the world, you'll get aircraft spawning wherever it goes. You can check the generated SDF to see how it's set out. Having said that, I wrote the carrier airbase stuff based (heh!) on KLH's notes, so we're talking about the same thing here.
Back to top
View user's profile Send private message Send e-mail
klh



Joined: 10 Jan 2002
Posts: 465

PostPosted: Fri Apr 29, 2005 10:18 am    Post subject: Reply with quote

Darkfold,

I would highly recommend Kreigstanz, it's brilliant. Handwriting missions is fun if you want to duplicate a historical or specific fictional situation, but even that can be done well with Kreigstanz (I haven't handwritten a mission for a long time because of that). For example, our current mission in the Atlantik Campaign (which uses Kreigstanz) is based on a historical convoy attack in May 1943.
Back to top
View user's profile Send private message
Darkfold



Joined: 26 Mar 2005
Posts: 19

PostPosted: Fri Apr 29, 2005 5:48 pm    Post subject: Reply with quote

Here's the scenario. The base just sits there when Kumano moves.

I have Kriegstanz, haven't installed it yet, but will try it out tonight.

; Attached Airbases Test.SDF
; Place the following in the unit (not group) information: AirBase =
; n (where n is the BASE number, this attaches the airbase to the
; unit). Next, assign a group to airbase block Group = n (where
; n is the GROUP number to be spawned).

[SCENARIO]
Date = 19411117
Time = 1100
Origin = 152.178897,-4.212618 ; Rabaul
Weather = CLEAR
TitleEnglish = Attached Airbases Test

[SIDE1]
Alignment = Allies
Name = Allies
Doctrine = American

[SIDE2]
Alignment = Axis
Name = Axis
Doctrine = Japanese

[BASE1]
Name =
Alignment = Axis
Location = 155.000000,0.000000 ; Kumano
AirRadius = 15000 ; 7.5nm
Timer = 1
AirProbability = 0.99
Group = 2
AirSupport = 2
OneShot = FALSE
NightAir = FALSE

[GROUP1]
Commander = HUMAN
Type = SHIPSQUADRON
UnitType = Cruiser
Side = 1
Name = Kumano
Nationality = Japanese

[GROUP1.1]
Type = SHIPDIVISION
UnitType = Cruiser
Name = Kumano

[UNIT1]
Group = 1.1
Class = NCAMogami
Name = HIJMS Kumano
Control = HUMAN
Flag = TRUE
Guide = TRUE
AirBase = 1
Location = 155.000000,0.000000 ; NE of Rabaul
Orientation = 180
BoilersHot = TRUE

[GROUP2]
Type = AirWing
UnitType = Fighter
Side = 1
Name = Kumano Scout Plane
Nationality = Japanese
EntryTime = 1800
EntryDate = 19460101
EntryInterval = 15

[UNIT2]
Group = 2
Class = AFFZero-N
Name = Kumano Scout Plane
Flag = TRUE
Guide = TRUE
Location = 155.000000,0.000000
Altitude = 25
Orientation = 270

[GROUP3]
Type = ShipSquadron
UnitType = Destroyer
Side = 2
Name = US Destroyer
Nationality = US

[UNIT3]
Group = 3
Class = NDDClemson
Name = DD000 Target DD
Flag = TRUE
Guide = TRUE
Location = 155.000000,0.100000
Orientation = 180
BoilersHot = TRUE
Back to top
View user's profile Send private message Send e-mail
Hitman



Joined: 14 Sep 2002
Posts: 3059
Location: Spain

PostPosted: Sat Apr 30, 2005 4:09 am    Post subject: Reply with quote

Ahhhh now I see your problem. This is a mission for Destroyer Command!!

In Destroyer Command you can't link bases to any player controlled unit, nor to any unit in a convoy which you can steer (PlayerEscort=TRUE) Sad

The only way to have them work is by linking the base to a unit on a full AI group. I found it whiel scripting my DE campaign (That's one of the reasons I stopped it temporarily...I was so damn angry when I discovered that problem Mad )

In SH2, however, you can have the bases go with your sub everywhere. I have used it many times to have Wolfpacks spawn each time you get close to a convoy. Rock

Sorry!
Back to top
View user's profile Send private message Send e-mail
Darkfold



Joined: 26 Mar 2005
Posts: 19

PostPosted: Sat Apr 30, 2005 4:29 am    Post subject: Reply with quote

So the bad news is I can't do it with a unit I have control of, but the good new is I can do it, in a limited way.

Methinks I'll have more luck trying to make SH2 into something closer to what DC should have been instead of continuing to pummel what is beginning to appear to be a nearly-expired equine. I have a little bit of money now, I'll see about getting a copy. Btw, I don't want to drive subs, I want to make sure they stay sunk. But mainly I want to do surface action - guns & torpedos versus armor, aircraft, etc.

Thanks for your help!
Back to top
View user's profile Send private message Send e-mail
Hitman



Joined: 14 Sep 2002
Posts: 3059
Location: Spain

PostPosted: Sat Apr 30, 2005 4:56 am    Post subject: Reply with quote

You can link airsupport and airbases to the enemies (I use them also to spawn f.e. the destroyer escorts of a cruiser, because their actions are more impredictable and aggressive than when tied to it as subgroups) and to your friendly units, as long as you don't pretend to control them. So if you do scenarios where your BBs or CAs steer around fixed waypoints, or patrol an area, you can have airbases and airsupport tied to it. And given that no real DD commander had control of the bigger units, the result is not that irrealistic Thumbs Up
Back to top
View user's profile Send private message Send e-mail
GlowwormGuy



Joined: 27 Mar 2002
Posts: 615

PostPosted: Sat Apr 30, 2005 11:26 pm    Post subject: So it works sort of Reply with quote

So... if the base is totally under AI control it can spawn airgroups or whatnot even if it's moving around? I was looking around to see if this is possible in DC because I wanted to try and see if 'lifeboats' could be spawned from sinking merchantmen the same way carrier planes can or at least hopefully can.

So this would be possible?
Mountbatten
Back to top
View user's profile Send private message
Hitman



Joined: 14 Sep 2002
Posts: 3059
Location: Spain

PostPosted: Sun May 01, 2005 6:48 am    Post subject: Reply with quote

Yes, but I believe Airsupport will still not work. It will only work as an ordinary base.
Back to top
View user's profile Send private message Send e-mail
Palindromeria



Joined: 21 Sep 2001
Posts: 489
Location: Brooklyn NY

PostPosted: Sun May 22, 2005 12:03 pm    Post subject: Reply with quote

A) use either Group = , OR AirSupport = , NOT both
B) When the airbase is a ship/sub set the location of the base to 0,0
it will then stay "attached" to the unit and randomly spawn when a threat is within the described radius from the unit.

ie with this base if you changed the location to 0,0
the planes would have a 99% chance of spawning whenever a threat was in 15000 m of the "airbase" unit.

whether you use it to have an IJN I class spawn midget kaiten subs or a carrier spawn planes does not seem to matter Smile

also note that IF the unit that is the airbase is destroyed,
the airbase is also "destroyed" and will stop spawning.

sink the carrier/airbase = no more planes.


[BASE1]
Name =
Alignment = Axis
Location = 0.000000,0.000000 ; airbase radius will follow the designated unit
;Location = 155.000000,0.000000 ; airbase attached to unit but will center on this location only
AirRadius = 15000 ; 7.5nm
Timer = 1
AirProbability = 0.99
Group = 2 ; <-- group OR airsupport not both
;AirSupport = 2 ; <-- group OR airsupport not both
OneShot = FALSE
NightAir = TRUE
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.     Forum Index -> Silent Hunter II, Destroyer Command & Classic Subsims All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group