| Author |
Ressupply works!!!!! |
ddiplock
Joined: Aug 23, 2002 Posts: 14 | Posted: 2002-08-23 14:36  
How exactly so you get the ressuply thing to work? I don't work for me the guy keeps sayin "unable to contact supply vessel?" I wanna know how to get this thing workin.
Do I need a patch
 
|
CB..
Joined: Jun 03, 2002 Posts: 292 From: UK
| Posted: 2002-08-23 14:40  
Quote:
|
On 2002-08-23 14:36, ddiplock wrote:
How exactly so you get the ressuply thing to work? I don't work for me the guy keeps sayin "unable to contact supply vessel?" I wanna know how to get this thing workin.
Do I need a patch
|
|
your going to have to experiment..
if your writing your own mission trying to incorporate the resupply ...apart from the one i've allready written/ the training one scenario../
i am struggling the same as you..!!
_________________ <a href="http://www.ebort.com/index.html"target = blank>CB-site</a>
 
|
ddiplock
Joined: Aug 23, 2002 Posts: 14 | Posted: 2002-08-23 14:42  
I just want to get the ressuply thing in teh campaign mode. Do i need to experimaent or what?
 
|
cdragon
Joined: May 29, 2002 Posts: 60 From: Boston, MA USA
| Posted: 2002-08-23 14:47  
Thanks, CB. Actually I've been fooling with the version 1.1, so even if I did get as close as possible on the same heading, resupply doesn't work. I'm running no mods at all.
As to how 1.1 broke resupply, I'm wondering if the changes to collision handling by AI ships mentioned in the 1.1 readme had something to do with it.
An interesting note: the resupply sub in your supply1.sdf invariably spawns at my starting location, not at the its spawning location. Its always heading a different way than the heading specified in the mission file. It ignores all the orders given it in the mission file.
_________________

 
|
ddiplock
Joined: Aug 23, 2002 Posts: 14 | Posted: 2002-08-23 15:11  
what is messerwetzer and how do i get it to work? and where can i find it
 
|
HerrBaron
Joined: Feb 26, 2002 Posts: 493 From: Norwalk, CT
| Posted: 2002-08-23 16:19  
Ok, So far, I've traced this back into the Janus Library (The AI commander specifically), and he doesn't seem to be sending the simulation message that indicates that a resupply unit is available to the simulation world. This is gonna take a bit, because I don't know what changed between version 1.0 and version 1.1. Can't work more on this til later tonight (have an anniversary party to go to for some friend's parents). We'll get to the bottom of it.
_________________ Fair Winds and Following Seas!

HerrBaron
 
|
cdragon
Joined: May 29, 2002 Posts: 60 From: Boston, MA USA
| Posted: 2002-08-23 16:47  
Herr Baron, you're the best!
_________________

 
|
cdragon
Joined: May 29, 2002 Posts: 60 From: Boston, MA USA
| Posted: 2002-08-23 20:29  
Herr Baron, I was thinking (always a danger)... you said in your last post that the AI Commander is not notifying the simulation that a resupply vessel has appeared. Perhap the "resupply" message was switched off (inadvertantly or not) because the message was incompatible with Destroyer Command. In a multiplayer game, I assume that the resupply message would be sent to all the clients, sub and destroyer alike. Perhaps such an event crashes or destabilizes the DC clients enough to warrant the deactivation of the resupply message during multiplay. Unfortunately, the programmers forgot to add a conditional statement somewhere that activated the resupply message for single player.
Its just a thought.
C.
_________________

 
|
CB..
Joined: Jun 03, 2002 Posts: 292 From: UK
| Posted: 2002-08-23 22:01  
Dragon.!!
you hit the nail on th head as far as mission writing for the resupply.. !!
"An interesting note: the resupply sub in your supply1.sdf invariably spawns at my starting location, not at the its spawning location. Its always heading a different way than the heading specified in the mission file. It ignores all the orders given it in the mission file."
this is what makes the damn things so hard to get right...and it means that there's actually more to be discovered about using the resupply sub...quite possibily a LOT more.....i've got the resupply sub to respond to way-points and attack ROE instructions in the patched version of the game..1;1 and PM
but it was a real night mare to get right...
you can add escorts to the supply sub..so it brings a wolf pack with it as it arrives..
theres a mission illustrating this on my site if you fancy investigating..
i reckon there's a lot can be done with this function ..given time to explore it and get familiar with the way it works..where the heck is ORZEL when you need him!!
there's a specificially named
sub tender american surface ship model file in SH2..
the AVPBarnegat...
i wonder if that model is duplicated in DC?
and if that might indicate that there's some residual code for resupply and multiplayer compatibility?
course without Baron and the Guys working this into PM ..it's all a bit lost..if the sub turns up in the pm pacthed version of the game..does this mean the sim has understood the availability of the resupply sub ..but can't grasp it's function.?..the dammage caused if you gently nudge the sub as you come alongside..is obviuosly not caused by the normal collision detection..?..there must be code there indicating a relationship between the resupply sub and the player sub that doesn;t exsist between other vessels and the player..?
_________________
CB-site
[ This Message was edited by: CB.. on 2002-08-23 22:17 ]
 
|
ddiplock
Joined: Aug 23, 2002 Posts: 14 | Posted: 2002-08-24 16:25  
hopefully a patch will be made for this ressupply problem.
 
|
HerrBaron
Joined: Feb 26, 2002 Posts: 493 From: Norwalk, CT
| Posted: 2002-08-24 17:24  
Here's what's going on:
When you hit the button to request resupply, the radio message goes via a circuitous route to an AI Tactical Admiral, who then checks his bases for the availability of a resupply unit. Finding one, he creates an AI Group under the command of a tactical commander, and adds the AI Orders for "spawn at a specific location" and "Send a radio message that says you're available for resupply". The spawn order is being executed; the resupply sub surfaces. It looks like the "Send out a radio message..." order is being deleted from the order queue before it gets executed, and is changed to a "Wait for proximity order" on the standing orders queue. I believe this is wrong. I've narrowed this down to the AI commander for the resupply sub. I'll let you know when I have it solved. This is VERY thick, and VERy deep; MANY layers down into the underlying library code. Hang tough.
_________________
Fair Winds and Following Seas!
HerrBaron
[ This Message was edited by: HerrBaron on 2002-08-24 17:26 ]
 
|
CB..
Joined: Jun 03, 2002 Posts: 292 From: UK
| Posted: 2002-08-24 21:42  
NIce one Baron..thanks for the up-date.
i get the all the correct responses from the resupply sub in PM except the actual resupply facility.
message sent..
sub turns up..
just no resupply..
what comes after wait for proximity..? thats what it does in version one..it spawns /surfaces/ and waits for proximity before resupply begins..proximity to player..?
if the code offers any insight into the spawn points for the sub .i'd be grate full for them !!!...it's puzzling
thanks for the hard work !!!
PS;//
in the missions where i have got the resupply variables balanced..(tho only by trail and error..still don't have a grasp of the info needed to write it into the stock campaign..wish the mission experts would take a bash at it...Jester? Fadmiral.?..Orzel !!? god knows why i'm doing this..i'm crap at bl**dy missions)
the sub will ALLWAYS turn up with medium dammage...i thought this was perhaps because it was appearing submerged then surfacing...but it appears with medium dammage even if the area has infinite depth associated wih it....this of course has got to mean something ,nothing in the commputer game world happens without some sort of background to it..?/
so far i have three reliable resupply areas mapped...the one at Wilheisham..one of the english coast and one in the north sea/
even then adding too many ships to the scenario seems to alter the dynamics of the sub spawn...this is what i don't have any insight into...there seems to be some relation ship between the supply sub and all the ships in the scenario///...might be as simple as, it picks them up on the sound room as it spawns, and trys to avoid them; getting utterly confused in the process and appearing at scapa flow or some where../in this situation it just appears BEFORE you send the radio message...have yet to be able to test wether it still resupplys under this scenario....but if you beat it too the punch and radio as soon as you enter the mission; it appears ;it usually behaves it self and seems happy to sit and wait while you go off ,use your torps on whatever ships you can find, and come back for resupply...
///or some thing more complex....
_________________
CB-site
[ This Message was edited by: CB.. on 2002-08-25 07:26 ]
 
|
HerrBaron
Joined: Feb 26, 2002 Posts: 493 From: Norwalk, CT
| Posted: 2002-08-25 16:56  
Ok, here's the latest on resupply:
I've got it working with one minor problem: sometimes, the milch cow will start to move or dive, aborting the resupply operation; I'm working on this now.
_________________ Fair Winds and Following Seas!

HerrBaron
 
|
FUBAR295
Joined: Apr 07, 2002 Posts: 125 From: Decks awash in the North Atlantic
| Posted: 2002-08-25 17:03  
Herr Baron,
Thanks for the latest update.
It appears you almost have this working. You don't know how many U-Boot Kaptains you'll make real happy once you do.
Good Hunting,
FUBAR
_________________ 7. Learn from the mistakes of others. You won't live long enough to make all of them yourself.
 
|
HerrBaron
Joined: Feb 26, 2002 Posts: 493 From: Norwalk, CT
| Posted: 2002-08-25 17:24  
Quote:
|
On 2002-08-25 17:03, FUBAR295 wrote:
Herr Baron,
Thanks for the latest update.
It appears you almost have this working. You don't know how many U-Boot Kaptains you'll make real happy once you do.
Good Hunting,
FUBAR
|
|
In version 1.0, did anyone notice that the milch cow moved or dived? I'm trying to figure out whether this is something I've introduced with the changes I've had to make in the way the orders are submitted to the AIOrder queue...
_________________ Fair Winds and Following Seas!

HerrBaron
 
|