| Author |
adding an escort for the player? |
CB..
Joined: Jun 03, 2002 Posts: 292 From: UK
| Posted: 2002-06-05 07:25  
i added the
[GROUP1.1]
Type = subwolfpack
UnitType = escort
Name = U-boat
WayptDisplay = DO_NOT_SHOW
and added it to the inits section and i got a sub appearing along side me at the start of the mission..but it doesn't move when i move ..is it possible to sort this out so i appear in a wolfpack and they move with me..?
 
|
Easy Rhino
Joined: Feb 27, 2002 Posts: 331 From: Californey
| Posted: 2002-06-05 17:28  
I doubt you'd get people to follow the player in SH2. Destroyer Command sure, but not SH2.
Well, Neal did a thing where the escort ship followed a set path, and the player was supposed to follow it.
ER
 
|
CB..
Joined: Jun 03, 2002 Posts: 292 From: UK
| Posted: 2002-06-06 08:44  
yep your right ..i aded a sub as escort as above but it just sits there..doesn't follow the player....but if i put some way points into the file it might go vaguely wher the player goes...or something i dunno...might put some way points in the player description and see if the game crashes or not..if it can cope with it (which isn't likely !!) then the escort sub might at least get it-self moving..
 
|
CB..
Joined: Jun 03, 2002 Posts: 292 From: UK
| Posted: 2002-06-06 10:24  
he he!!
i added this to the file;
[GROUP1]
Commander = HUMAN
Type = SUBWOLFPACK
UnitType = Submarine
Side = 2
Name = U-boat
Nationality = Germany
Order1.1 = Speed,Telegraph,FLANK,15,-1
Order1.2 = ROE,Merchantmen,Limited,Harass,Best,Full,-1,-1
WayptDisplay = DO_NOT_SHOW
[GROUP1.1]
Type = SHIPDIVISION
UnitType = Destroyer
Name = U-59
WayptDisplay = DO_NOT_SHOW
thought it might do something..
the escorting sub did get moving and headed of in a straight line not following the player..but fascinatingly ..the player torpedo firing went joint AI and player controlled lol!!!
ie; the torpedos fired automatically when lined up on an enemy ship...damn good shots they were too...getting very very close at extreme range...part from thati enetered the mission at all stop ( not flank) and had complete controll over the player sub as per normal...i could allso fire the torpedoes manually
curious !!
you don't suppos they're a
ROE,resupply, option to let the AI take care of the positioning by the milkcow?
[ This Message was edited by: CB.. on 2002-06-06 10:59 ]
 
|
CB..
Joined: Jun 03, 2002 Posts: 292 From: UK
| Posted: 2002-06-06 10:57  
well i used the search function here at the forums and have gathered some wonderfull stuff from the posts here..many thanks !! great stuff...
as per the improved aggression/behavouir of the subs etc
telling the game there destryers instead of subwolfpack seems to et them behaveing like the destroyers..
[GROUP2.1]
Type = SHIPDIVISION
UnitType = Destroyer
Name = U-55
WayptDisplay = DO_NOT_SHOW
leave the units as per normal..i dunno if i'm right but it looks to have changed theyre mode of patrolling yet they still submerge etc..
[ This Message was edited by: CB.. on 2002-06-06 10:58 ]
 
|
CB..
Joined: Jun 03, 2002 Posts: 292 From: UK
| Posted: 2002-06-06 12:58  
tried this;
[GROUP1]
Commander = HUMAN
Type = SHIPSQUADRON
UnitType = Submarine
Side = 2
Name = U-boat
Nationality = Germany
WayptDisplay = DO_NOT_SHOW
[GROUP12]
Type = SHIPSQUADRON
UnitType = Destroyer
Name = U-59
Nationality = Germany
Order1.1 = Speed,Telegraph,FULL,-1,-1
Order1.2 = Formation,1,recon,UNIT,-1,-1
WayptDisplay = DO_NOT_SHOW
it seemed more than happy to follow me about..but it attacked me and showed as red on the plot...even tho it was reported as german submarine both in sightings and sinkings
maybe i can strip the unit file of it's weapons and add it as another ship
any one have any idea of a command that would tell it to be recognised as german ?
 
|
CB..
Joined: Jun 03, 2002 Posts: 292 From: UK
| Posted: 2002-06-06 14:45  
off course making it friendl just results in it ignoring you!! so..
i made a copy of the player sub from units edited to remove the weapons (so it wouldn't fire at me) gave it armour..(so it would survive the occasional burst of friendly fire);
switched on all the radar/sonar options (so it could find me),,
and renamed the units dsf file so itwould be a selectable (in the mission file) seperate unit...it appears allright in game
i'll try it out later
[ This Message was edited by: CB.. on 2002-06-06 14:47 ]
[ This Message was edited by: CB.. on 2002-06-06 14:48 ]
 
|