| View previous topic :: View next topic |
| Author |
Message |
I-25
Joined: 05 Aug 2003 Posts: 328 Location: Tecate BC MEX
|
Posted: Tue Sep 28, 2004 3:14 pm Post subject: Japanese DD |
|
|
| How can i script a japanese dd to play as it?? |
|
| Back to top |
|
 |
turnerg
Joined: 18 Jan 2004 Posts: 1088 Location: Dallas, Texas
|
Posted: Tue Sep 28, 2004 3:43 pm Post subject: |
|
|
How do you mean, like to put it into a mission?
it's very simple really,
take an sdf, say the gun training mission, Training 3 Guns.sdf
open it with wordpad, and this is what you'll see:
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; File: Training 3 Guns.SDF
;;
;; Duration = 120 ; "Afternoon, on through to early morning"
;; Origin = -71.291245,41.478043 ; "Newport RI"
;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[SCENARIO]
Date = 19411117
Time = 1100
Duration = 120
TimeOut = 0
Type = TYPE A
Major = 10
Minor = 5
Origin = -71.099045,41.273354
InitialZoom = 8
Weather = CLEAR
DrawOvlyText = TRUE
TitleEnglish = Training 3 Guns
TitleGerman = Uebungsmission 3
;;; Objectives ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[OBJECTIVE1]
Objective = REACH
Longitude = -71.0381
Latitude = 41.2869
Radius = 8000.0
Range = 8000.0
[OBJECTIVE2]
Objective = REACH
Longitude = -71.3918
Latitude = 41.2765
Radius = 2000.0
Range = 2000.0
[OBJECTIVE3]
Objective = RETURN_TO_BASE
Home = Newport
Time = 1440
Trigger = TIME
DateTrigger = 19411117
TimeTrigger = 1130
[OBJECTIVE4]
Objective = DESTROY
Group = 2
Percentage = 100
Primary = TRUE
[OBJECTIVE5]
Objective = DESTROY
Group = 3
Percentage = 100
Primary = TRUE
;;; Bases ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;; Radio Messages ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[RADIO1]
Trigger = TIME
Date = 19411117
Time = 1100
File = Training3_1
Title = Today's Op Orders
[RADIO2]
Trigger = WAYPT
File = Training3_2
Title = Objective 1 reached
Group = 1
Longitude = -71.0381
Latitude = 41.2869
[RADIO3]
Trigger = WAYPT
File = Training3_3
Title = Objective 2 reached
Group = 1
Longitude = -71.3918
Latitude = 41.2765
;;; 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 = DesRon01
Nationality = American
WayptDisplay = DO_NOT_SHOW
[GROUP1.1]
Type = SHIPDIVISION
UnitType = DESTROYER
Name = DesDiv02
Order1.1 = Formation,COLUMN,500,1
WayptDisplay = DO_NOT_SHOW
[GROUP2]
Type = SHIPDIVISION
UnitType = Merchant
Side = 2
Name = Target Ships
Nationality = Germany
WayptDisplay = DO_NOT_SHOW
[GROUP3]
Type = AIRWING
UnitType = ScoutPlane
Side = 2
Name = Target Planes
Nationality = Germany
Order1.1 = WayPt,-71.384468,41.299919,-1,-1
Order2.1 = WayPt,-71.414154,41.287937,-1,-1
Order3.1 = WayPt,-71.416237,41.260857,-1,-1
Order4.1 = WayPt,-71.380821,41.252522,-1,-1
Order5.1 = WayPt,-71.365715,41.275959,-1,-1
Order6.1 = LoopPatrol,1,-1,-1,-1
WayptDisplay = DO_NOT_SHOW
;;; Units ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[UNIT1]
Group = 1.1
TypeAbrev = DD
Class = NDDFarragut
Name = DD348 Farragut
Designation = 348
Control = HUMAN
Flag = TRUE
Guide = TRUE
Location = -71.268196, 41.461113
Orientation = 127
Captain = 80
Crew = 80
BoilersHot = TRUE
IconName = NSHIP
Display = SHOW_AS_UNIT
[UNIT2]
Group = 1.1
TypeAbrev = DD
Class = NDDFarragut
Name = DD349 Dewey
Designation = 349
Location = -71.273140, 41.466713
Orientation = 127
Captain = 80
Crew = 80
BoilersHot = TRUE
IconName = NSHIP
Display = SHOW_AS_UNIT
[UNIT3]
Group = 1.1
TypeAbrev = DD
Class = NDDFarragut
Name = DD350 Hull
Designation = 350
Location = -71.278221, 41.472313
Orientation = 127
Captain = 80
Crew = 80
BoilersHot = TRUE
IconName = NSHIP
Display = SHOW_AS_UNIT
[UNIT4]
Group = 1.1
TypeAbrev = DD
Class = NDDFarragut
Name = DD351 Mac Donough
Designation = 351
Location = -71.283691, 41.478172
Orientation = 127
Captain = 80
Crew = 80
BoilersHot = TRUE
IconName = NSHIP
Display = SHOW_AS_UNIT
[UNIT5]
Group = 2
TypeAbrev = FC
Class = MFCVictory
Name = Cargo Target
Flag = TRUE
Guide = TRUE
MultiSelect = TRUE
Location = -71.037590, 41.294189
Orientation = 45
Captain = 80
Crew = 80
BoilersHot = TRUE
IconName = MSHIP
Display = SHOW_AS_UNIT
[UNIT6]
Group = 2
TypeAbrev = FC
Class = NIXClemsonTarget
Name = Destroyer Target
MultiSelect = TRUE
Location = -71.065712, 41.282730
Orientation = 45
Captain = 80
Crew = 80
BoilersHot = TRUE
IconName = MSHIP
Display = SHOW_AS_UNIT
Designation = 000
[UNIT7]
Group = 2
TypeAbrev = FC
Class = MOTT2Tanker
Name = Tanker Target
MultiSelect = TRUE
Location = -71.013634, 41.310856
Orientation = 45
Captain = 80
Crew = 80
BoilersHot = TRUE
IconName = MSHIP
Display = SHOW_AS_UNIT
[UNIT8]
Group = 2
TypeAbrev = FC
Class = MSCCargo2
Name = Small Cargo Target
MultiSelect = TRUE
Location = -71.091759, 41.268669
Orientation = 45
Captain = 80
Crew = 80
BoilersHot = TRUE
IconName = MSHIP
Display = SHOW_AS_UNIT
[UNIT9]
Group = 3
TypeAbrev = SC
Class = AFFWildcat
Name = Fighter Target
Flag = TRUE
Guide = TRUE
MultiSelect = TRUE
Location = -71.386551, 41.284813
Orientation = 69
Altitude = 100
Captain = 80
Crew = 80
BoilersHot = TRUE
IconName = AIRCRAFT2
Display = SHOW_AS_UNIT
Throttle = .8
[UNIT10]
Group = 3
TypeAbrev = SC
Class = ASCCatalina
Name = Floatplane Target
MultiSelect = TRUE
Location = -71.404259, 41.278564
Orientation = 69
Altitude = 50
Captain = 80
Crew = 80
BoilersHot = TRUE
IconName = AIRCRAFT2
Display = SHOW_AS_UNIT
Throttle = .8
[UNIT11]
Group = 3
TypeAbrev = SC
Class = AHBB17
Name = Bomber Target
MultiSelect = TRUE
Location = -71.404259, 41.273354
Orientation = 69
Altitude = 25
Captain = 80
Crew = 80
BoilersHot = TRUE
IconName = AIRCRAFT2
Display = SHOW_AS_UNIT
Throttle = .8
[UNIT12]
Group = 3
TypeAbrev = SC
Class = ADBDauntless
Name = Dive Bomber Target
MultiSelect = TRUE
Location = -71.396965, 41.284813
Orientation = 69
Altitude = 15
Captain = 80
Crew = 80
BoilersHot = TRUE
IconName = AIRCRAFT2
Display = SHOW_AS_UNIT
Throttle = .8
see the subgroup "Units"?
change the line where it say class = (whatever unit is there)
to say, NDDFubuki
in any us based mission, you'd have to make sure you're on the axis side.
this works on any mission, but beware:
before you use a unit, look through the unit file. Make sure under propulsion it says
[PROPULSION]
Type = STEAMTURBINE
if it says deisel it will crash.
that should do it, works for most any unit! |
|
| Back to top |
|
 |
turnerg
Joined: 18 Jan 2004 Posts: 1088 Location: Dallas, Texas
|
Posted: Tue Sep 28, 2004 3:45 pm Post subject: |
|
|
Whoops! forgot, you want to change the unit that has the line
Control = HUMAN in it
[UNIT1]
Group = 1.1
TypeAbrev = DD
Class = NDDFarragut
Name = DD348 Farragut
Designation = 348
Control = HUMAN
Flag = TRUE
Guide = TRUE
Location = -71.268196, 41.461113
Orientation = 127
Captain = 80
Crew = 80
BoilersHot = TRUE
IconName = NSHIP
Display = SHOW_AS_UNIT
also, you can change it for the other units in your group, indicated by GROUP = 1.1 in this case. |
|
| Back to top |
|
 |
Palindromeria
Joined: 21 Sep 2001 Posts: 489 Location: Brooklyn NY
|
Posted: Sat Oct 02, 2004 2:40 am Post subject: |
|
|
there are literally hundreds of ships you can drive in dc.
from loveboat to mppsmallboat
the default fubuki's udf needs a minor edit for the sonar to work tho
hand editing as accurately described works great on many of the stock dc missions
to create your own
download the kriegstanz developer at
http://www.brookview.karoo.net/Kriegstanz
its VERY easy to use and you can quickly
choose a japanese detroyer(s) as player unit. (position or "area")
quickly layout a convoy or task force (route) on the map
set the time, weather etc , generate the scenario & promptly go to battle.
maybe sink it from 12 miles with long lance torps
dc a few british and american subs generated from airbases while your at it.
choosing a destroyer with HEAVY escort will generate a squadron for you to drive.
as you can use many of the capital ships
you can hand edit the generated script as described above ie
overwrite 1 of the human contol NDDasashio with NBBNagato.
with several such edits you can edit the 8 dd squadron to an entire player usable battle group. pretty sure all ijn CAPITAL ships are steam turbine.
i converted some of the DC IJN subs for player use in sh2 a couple years ago. you can also import the dc default ijn midget s for immediate use with no modification (copy the units / models from dc to sh2 )http://hometown.aol.com/palindromeria/myhomepage/index.html
truly , the kriegstanz developer will get you up and running / playing /blasting away with virtully any type of mission youd care to enjoy !
a small mission takes less time than it took to write this post
 |
|
| Back to top |
|
 |
|
|
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
|