| Author |
Mission Editing Questions & Answers |
Palindromeria
Joined: Feb 28, 2002 Posts: 353 | Posted: 2002-04-23 20:12  
yes orzel thats kinda what i expected to hear. i know i could spawn them from other ships or just "in the area" but that defeats the purpose.
I was hoping to be able to spawn several small groups instead of one huge group. Its much easier to control the smaller groups.
With multiple small groups one could make air cover nearly constant. One plane spawns searches bombs , whatever, and before he leaves another enters. all from the one carrier. Oh well.
 
|
Palindromeria
Joined: Feb 28, 2002 Posts: 353 | Posted: 2002-04-24 14:23  
BTW - thanks again for the help orzel.
I really had thought that in order to spawn planes the base had to have an airstrip nearby ( as ive seen code for airstrip).
Following that line of thinking, i had thought the since a carrier IS an airstrip that once the base was attached to the carrier , the "airstrip" was the center of radius and that the game would update the radius center based on position of carriers "airstrip". at least thats the way it SHOULD BE. thx for the clarification.
I dunno how interested ill be in the BOLD but it should a fun thing to try at the least. The mines sound fun too. I think i recall seeing both a shell code for the mines as well as a different loading sys for the mines. is this the case ?
there also a typeixMINE.udf , as if SOMEONE had hoped to implement this all along, but just didnt get to it.
May i suggest a type7BOLD.udf and type9BOLD.udf ? (and mines.udf) Once added to the unitsge.DB one can script these vessels into the sdf without having to permanently mod the regular udf's. Just a thought,you probably are already working on it anyway...
In any event, i tip my cap to your usurpation (is that actually a word?) of the code !!
Resupply - i am about to test changing the unit DB etc for the type 14 to RSV class. (resupply vehicle as listed in "unittypes")
will let u know if that has ANY beneficial value.
dave
 
|
Tinfish
Joined: Feb 27, 2002 Posts: 140 From: New Zealand
| Posted: 2002-04-26 02:04  
Orzel....whenever i make scenarios i get this error upon launch
Tue Mar 12 01:25:24 2002
Error -1 [eCat = UNIT_GROUP_UNKNOWN]
DirectX code: "Unrecognized error: 0xffffffff"
F:\Devel\Janus2\Portable\Sources\SWorld.cpp
Line 2097
any ideas?
 
|
OrzelSH2DC
Joined: Feb 27, 2002 Posts: 124 | Posted: 2002-04-26 10:57  
Hey no problem Palindromeria any time
Tinfish,
You can send me your mission orzel@sosenkas.com but I can tell you right now what is wrong. Check both your Group and Unit specs and make sure that the class unit you specified exists in game. Example below:
[GROUP3]
Type = SHIPDIVISION
UnitType = Destroyer ; you may check this as well
Side = 1
Name = Scott-DD(Random-1Ship)
Nationality = Britain
EntryTime = 0800
EntryDate = 19990903 ; If you use this make sure it’s; if don’t have disregard it
EntryInterval = 9930
Order1.1 = WayPt2,1.141614,51.584667,-1,-1
WayptDisplay = DO_NOT_SHOW
[UNIT3]
Group = 3
TypeAbrev = DD
Class = NDDCampbell ; THIS IS VERY IMPORTANT see if you have it in unit folder.
Name = Mackay
Flag = TRUE
Guide = TRUE
Location = 1.218696, 51.561749
Orientation = 24
Captain = 80
Crew = 80
BoilersHot = TRUE
IconName = NSHIP
Display = SHOW_AS_GROUP
Class is very important if you mistype it, it will crash your game.
Orzel
[ This Message was edited by: OrzelSH2DC on 2002-04-26 11:04 ]
 
|
Tinfish
Joined: Feb 27, 2002 Posts: 140 From: New Zealand
| Posted: 2002-04-29 23:49  
hmmm....i tweaked a few problems i saw but still get the same error.....here is a copy of my mission
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Battle of the River Plate
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[SCENARIO]
Date = 19391213
Time = 0600
Duration = 3000
TimeOut = 875444013
Origin = -56.466,-35.2833
InitialZoom = 2
Weather = OVERCAST
DrawOvlyText = TRUE
TitleEnglish = Battle of the River Plate
;;; Objectives ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;; Bases ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;; Radio Messages ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;; Multi ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;; Sides ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[SIDE1]
Alignment = ALLIES
Name = Allies
Doctrine = British
[SIDE2]
Alignment = AXIS
Name = Axis
Doctrine = German
;;; Groups ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[GROUP1]
Commander = HUMAN
Type = SHIPSQUADRON
UnitType = Cruiser
Side = 1
Name = Squadron1
Nationality = British
[GROUP2]
Commander = HUMAN
Type = SHIPSQUADRON
UnitType = Cruiser
Side = 1
Name = Squadron2
Nationality = British
[GROUP3]
Commander = HUMAN
Type = SHIPSQUADRON
UnitType = Cruiser
Side = 1
Name = Squadron3
Nationality = British
[GROUP4]
Commander = HUMAN
Type = SHIPSQUADRON
UnitType = Cruiser
Side = 2
Name = Squadron4
Nationality = German
;;; Units ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[UNIT1]
Group = 1
TypeAbrev = CA
Class = NCANorfolk
Name = HMAS Norfolk CA
Designation = 216
MultiSelect = TRUE
Location = -56.4666,-35.2833
Orientation = 270
Captain = 80
Crew = 80
BoilersHot = TRUE
IconName = NSHIP
Display = SHOW_AS_UNIT
[UNIT2]
Group = 2
TypeAbrev = CL
Class = NCLLeander
Name = HMAS Ajax CL
Designation = 230
MultiSelect = TRUE
Location = -56.6666,-35.4833
Orientation = 270
Captain = 80
Crew = 80
BoilersHot = TRUE
IconName = NSHIP
Display = SHOW_AS_UNIT
[UNIT3]
Group = 3
TypeAbrev = CL
Class = NCLLeander
Name = HMAS Achilles CL
Designation = 230
MultiSelect = TRUE
Location = -56.8666,-35.7833
Orientation = 0
BoilersHot = TRUE
Captain = 80
Crew = 80
Guide = TRUE
Flag = TRUE
Control = HUMAN
[UNIT4]
Group = 4
TypeAbrev = CA
Class = NCCDeutschland
Name = Admiral Graf Spee
Designation = 230
MultiSelect = TRUE
Location = -56.02,-35.133
Orientation = 270
Captain = 80
Crew = 80
BoilersHot = TRUE
IconName = NSHIP
Display = SHOW_AS_UNIT
 
|
OrzelSH2DC
Joined: Feb 27, 2002 Posts: 124 | Posted: 2002-04-30 03:42  
I corrected your scenario see below.
Orzel
[SCENARIO]
Date = 19391213
Time = 0600
Duration = 0
TimeOut = 0
Type = TYPE A
TitleEnglish = Battle of the River Plate
TitleGerman =
TitleFrench =
Major = 10
Minor = 5
Origin = -56.466,-35.2833
InitialZoom = 7
Weather = HIGH_CLOUDS
Preprocess = FALSE
DrawOvlyText = TRUE
[SIDE1]
Alignment = ALLIES
Name = Allies
Doctrine = British
[SIDE2]
Alignment = AXIS
Name = Axis
Doctrine = German
[GROUP1]
Commander = HUMAN
Type = SHIPSQUADRON
UnitType = Cruiser
Side = 1
Name = Squadron1
Nationality = British
[GROUP1.1]
Type = SHIPDIVISION
UnitType = Cruiser
Name = Squadron1
WayptDisplay = DO_NOT_SHOW
[GROUP2]
Type = SHIPSQUADRON
UnitType = Cruiser
Side = 1
Name = Squadron2
Nationality = British
[GROUP3]
Type = SHIPSQUADRON
UnitType = Cruiser
Side = 1
Name = Squadron3
Nationality = British
[GROUP4]
Type = SHIPSQUADRON
UnitType = Cruiser
Side = 2
Name = Squadron4
Nationality = German
[UNIT1]
Group = 1.1
TypeAbrev = CA
Class = NCANorfolk
Name = HMAS Norfolk CA
Designation = 216
MultiSelect = TRUE
Location = -56.4666,-35.2833
Orientation = 270
Captain = 80
Crew = 80
BoilersHot = TRUE
IconName = NSHIP
Display = SHOW_AS_UNIT
[UNIT2]
Group = 2
TypeAbrev = CL
Class = NCLLeander
Name = HMAS Ajax CL
Designation = 230
MultiSelect = TRUE
Location = -56.6666,-35.4833
Orientation = 270
Captain = 80
Crew = 80
BoilersHot = TRUE
IconName = NSHIP
Display = SHOW_AS_UNIT
[UNIT3]
Group = 3
TypeAbrev = CL
Class = NCLLeander
Name = HMAS Achilles CL
Designation = 230
MultiSelect = TRUE
Location = -56.8666,-35.7833
Orientation = 0
BoilersHot = TRUE
Captain = 80
Crew = 80
Guide = TRUE
Flag = TRUE
Control = HUMAN
[UNIT4]
Group = 4
TypeAbrev = CA
Class = NCCDeutschland
Name = Admiral Graf Spee
Designation = 230
MultiSelect = TRUE
Location = -56.02,-35.133
Orientation = 270
Captain = 80
Crew = 80
BoilersHot = TRUE
IconName = NSHIP
Display = SHOW_AS_UNIT
[ This Message was edited by: OrzelSH2DC on 2002-04-30 03:50 ]
 
|
Tinfish
Joined: Feb 27, 2002 Posts: 140 From: New Zealand
| Posted: 2002-04-30 05:14  
new error:(
Mon Mar 4 17:50:28 2002
Error -1 [pTestUnit == 0]
DirectX code: "Unrecognized error: 0xffffffff"
F:\Devel\DestroyerCmd\Sim\Sources\CDestroyerSim.cpp
Line 670
I think its to do with the fact that the cruiser isnt controlable....
[ This Message was edited by: tinfish on 2002-04-30 05:18 ]
 
|
OrzelSH2DC
Joined: Feb 27, 2002 Posts: 124 | Posted: 2002-04-30 11:47  
Well all the units in that scenario that I corrected do not require any editing. But you have put some new unit in there now I spouse. You have to make sure it works. Scenario that I’ve corrected for you works, if you have modified it again and added new units check your new units make sure they work.
PS. You’re testing this scenario in DC and not in SH2 yes? SH2 scenario will work different it must be modified. It doesn’t have all the units from DC so make sure you’ve go all the units etc.
Orzel
 
|
FAdmiral
Joined: Feb 28, 2002 Posts: 1401 From: Atlanta, GA, USA
| Posted: 2002-04-30 12:07  
I changed the Norfolk over to the Cumberland which was a ship that was actually there.
NCAKent instead of NCANorfolk, changed the
unit files to human control, flag true and
guide true to the right ship (Cumberland)
Then the mission came in OK. Still needs
orders to the AI ships. You can control all
3 Brit. cruisers if you set up as a 1.2,3
group. Or you can switch to the German ship
if so desired....
JIM
_________________ Contrary to popular belief, most people do possess a photographic memory. The problem is most of them are simply out of film.
 
|
Merneo
Joined: Mar 01, 2002 Posts: 212 From: UK
| Posted: 2002-04-30 12:32  
guys
what dose the no sillyness mean in the script and the node, also updates per second
UpdatesPerSecond = 10
ExemptFromSilliness = TRUE
Node = Sec1
also posted in a dc thread question that is?
Fa take a look has a question for ya
Merneo
[ This Message was edited by: merneo on 2002-04-30 13:12 ]
 
|
Mark K
Joined: Feb 27, 2002 Posts: 474 From: Petaluma, California
| Posted: 2002-04-30 16:00  
UpdatesPerSecond = 10
Does nothing
ExemptFromSilliness = TRUE
Always have this present. It can break sensors if you don't have it.
Node = Sec1
Nodes are built into the 3D models by the artists. For a weapon, the node name tells the weapon which actual device on the model is the weapon we're talking about in the data file.
thanks,
Mark Kundinger
(Ultimation)
 
|
Palindromeria
Joined: Feb 28, 2002 Posts: 353 | Posted: 2002-04-30 16:33  
kewl, anyone understand these ?
this is only in some japanese subs
translate = 0,-1,0 ?
this seems to be just for midgetA midgetB
but i did not notice any air probs when running as human controlled
C02 death time = 20 minutes hours ?
 
|
Merneo
Joined: Mar 01, 2002 Posts: 212 From: UK
| Posted: 2002-04-30 18:06  
Guys
is there a ROE to set a ship zig zaging ie near subs Thinking DC here
and is there a full list of the ROE commands
just getting to grips with starting mission editing looked at the subsim readme, but need a good glossary of all the commands with syntax would help
 
|
OrzelSH2DC
Joined: Feb 27, 2002 Posts: 124 | Posted: 2002-04-30 23:52  
translate = 0,-1,0 ; This means how deep the model is set in the water. You can find this in some battleships etc.
There is no ROE order to make ships zigzag you can only do this by setting up waypoints.
Orzel
 
|
Easy Rhino
Joined: Feb 27, 2002 Posts: 331 From: Californey
| Posted: 2002-05-01 01:29  
In Destroyer command, you can order your ships to "evasive" ROE. Maybe it's worth trying in SH2 for the ai?
Or you can make a convoy with ships too close together. Things go apeshit that way too.
ER
 
|