[Current Forum ] [Archive 2003 - 2005]
[Register]  [Profile]  [Preferences]  [Search]
[Private messages]  [Memberslist]  [FAQ]  [Login]
Subsim Radio Room Forum Index » » Silent Hunter II » » Ressupply works!!!!!
Goto page ( 1 | 2 | 3 | 4 | 5 Next Page )
Author Ressupply works!!!!!
CB..


Joined: Jun 03, 2002
Posts: 292
From: UK
Posted: 2002-08-23 07:06   
you might want to read this post by EAJ13

I started the mission demanding ressuply.
2nd, a german u Boat apppears in 270º, and stays in this position.
Aproaching and looking for the nearest position, at 1 third. The messages starts with
transfering fuel: 60%, 70%, 80%, 90%
at 90% fuel transfered, a red torpedo icon appears with the message torpedo transfering started. (previously I had fired all the 5 torps, at the beginnig of the mission)
The sub becomes 2 new torps.
The transfer operation finish and the milk cow start to move at 1/3 and that is it.

In a 800x600 res. I have all the old patches installed (Vickers fireball, realism patch, new sound patches from Flik, etc. But not the MP nor Ubi patch)









http://64.246.21.118/phpBB/viewtopic.php?topic=4500&forum=1&13

many thanks EAJ!!!!



_________________
CB-site



[ This Message was edited by: CB.. on 2002-08-23 07:16 ]


  View Profile of CB..   Email CB..   Goto the website of CB..      Edit/Delete This Post   Reply with quote
Rconch


Joined: Jul 04, 2002
Posts: 225
From: No. Virginia
Posted: 2002-08-23 07:52   
Salute on your efforts-as a single player this could open up all kind of new mission possibilities-again CB-Salute:)
_________________
"Noch und Noch"


  View Profile of Rconch   Email Rconch      Edit/Delete This Post   Reply with quote
Torplexed


Joined: Feb 28, 2002
Posts: 186
From: Des Moines, WA
Posted: 2002-08-23 07:59   
YES!That is good to hear. Now I can finally retire that milchkuh cartoon. Good work!

[ This Message was edited by: Torplexed on 2002-08-23 07:59 ]


  View Profile of Torplexed      Edit/Delete This Post   Reply with quote
CB..


Joined: Jun 03, 2002
Posts: 292
From: UK
Posted: 2002-08-23 08:23   
woohoo as they say in the trade!!


YES!!!!!!!!!!!!!

just to confirm...


using the original

version one..
stock CD boxed version of

sim.exe

//////////////////////////////
(get it from sim.zip by browsing the SH2 disc)

rename your curent version of sim.exe to simbak.exe

place the disk version in the game

sh2/sim/ folder

and it will run fine even with messerwetzer installed...at least for tesing purposes..
seem ok to me any way

not ideal ...as it means you lose the messerwezter features...but

//////////////////////////////

and
using the AVP command in the mission file;(this i believe to be the key here..apart from that, the mission file is no different than any other working resupply file)

(...download the mission on my site..training mission one with resupply enabled...ignore the read me it works lol!! thanks again EAJ!! love ya to bits !!!)

http://www.ebort.com/index.html

gives you working resupply ..

Fuel

and

Torps!!


just
send the radio message; pull along side the milk cow

wait for the message in the message bar;


RESUPPLY OPERATION COMMENCING


and hit time exceleration till it says


RESUPPLY OPERATION COMPLETED

bingo...


surely it's not an impossible job to add the stuff from sim.exe version one to the messerwetzer version of sim.exe??

i have no idea..not an expert,


_________________
CB-site



[ This Message was edited by: CB.. on 2002-08-23 08:34 ]


  View Profile of CB..   Email CB..   Goto the website of CB..      Edit/Delete This Post   Reply with quote
FUBAR295


Joined: Apr 07, 2002
Posts: 125
From: Decks awash in the North Atlantic
Posted: 2002-08-23 09:27   
CB,

I'll say this again, you are a amazing fellow. Many kudos heaped upon you.

I think Neal should supply you with a special medal of honor.

Good Hunting,
FUBAR
_________________
7. Learn from the mistakes of others. You won't live long enough to make all of them yourself.


  View Profile of FUBAR295      Edit/Delete This Post   Reply with quote
CB..


Joined: Jun 03, 2002
Posts: 292
From: UK
Posted: 2002-08-23 09:42   
Cheers Fubar!

here's the basic resupply set up for mission files;

[SIDE1]
Alignment = AXIS
Name = Germany
Doctrine = German

[SIDE2]
Alignment = ALLIES
Name = Allies
Doctrine = AMERICAN



;;; Bases ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[BASE1]
Alignment = Axis
Location = 8.119000,53.510000
AirRadius = 2354873.500000
AirProbability = 0.990000
Timer = 6.000000
Resupply = 2
Group = 2

[BASE2]
Alignment = Allies
Location = 14.515365,35.901562
AirRadius = 291533.500000
AirProbability = 0.150000
Timer = 110.000000
;; -------------------------------------------------------------------
;; -------------------------------------------------------------------


[GROUP1]
Commander = HUMAN
Type = SUBWOLFPACK
Side = 1
Name = Training Group
Nationality = GERMAN

[GROUP2]
Type = SHIPSQUADRON
UnitType = Destroyer
Side = 1
Name = AVPTender
Nationality = Germany
EntryTime = 2300
EntryDate = 19990528
EntryInterval = 18
Order1.1 = resupply,1,Fuel,UNIT,-1,-1
WayptDisplay = DO_NOT_SHOW

;;;;;;;;;;;;;;;;;;;;;;;;
[UNIT1]
Group = 1
Class = NSSUBoat2B
Name = U-24
ShortName = U-24
Designation = 24
Flag = TRUE
Control = HUMAN
Vessel = Submarine
Location = 8.1100,53.51
Orientation = 180
Captain = 80
Crew = 80
Fuel = 0.45
BoilersHot = TRUE
IconName = SUBMARINE
Display = SHOW_AS_GROUP

[UNIT2]
Group = 2
TypeAbrev = AVP
Class = NSSUboat14
Name = U137
Flag = TRUE
Guide = TRUE
Location = 8.119000,53.510000
Orientation = 16
Captain = 80
Crew = 80
BoilersHot = TRUE
IconName = AIRCRAFT2
Display = SHOW_AS_GROUP




credit must go to EAJ13 for feeding back the gen on version one of the game.!!..

_________________
CB-site



[ This Message was edited by: CB.. on 2002-08-23 10:20 ]


  View Profile of CB..   Email CB..   Goto the website of CB..      Edit/Delete This Post   Reply with quote
FUBAR295


Joined: Apr 07, 2002
Posts: 125
From: Decks awash in the North Atlantic
Posted: 2002-08-23 10:31   
CB,

Thanks for posting the complete mod.

I can not understand why with something so simple (when you look at it) that the creators did not add this to any of the original scenarios to make resupply work.

Guess they wanted you to have a job.

This just shows that other mods are possible and the flexiblity of the sim, even though albeit somewhat round about.

Again, many thanks.

Good Hunting,
FUBAR
_________________
7. Learn from the mistakes of others. You won't live long enough to make all of them yourself.


  View Profile of FUBAR295      Edit/Delete This Post   Reply with quote
CB..


Joined: Jun 03, 2002
Posts: 292
From: UK
Posted: 2002-08-23 11:10   
yes i'm slightly taken aback by the fact that a simple experiment with the mission file entrys has got the function working...

which means either i'm Albert Einstien..or some body some where is taking the mick.. . ?
hang on ..just checked the name tag in me under pants.......i'm not Albert Einstein!

..makes me wonder what else is working in version one of the game....changing weather..?
it's certainly written into the weather.ini ..i know that currents are coded into the game...one or two of the weather.ini experiments i did would have you appearing in game with a wake flowing out behind you..lol!! the water was moving even tho you were at all stop...like being moored in a fast flowing river,,,!
the save function for campaign missions works perfectly in version one...
i really hope the messerwetzer team can take a look at version one of the game for these functions..
because it is kind of in limbo...

either resupply and version one of the game or..silent running and manual dive planes in messerwetzer..and version 1.1 of the game...
tough choice to make !!

i'd plump for messerwetzer if it has to be one or the other..

plus with the resupply some one is going to haVe to add the airbase and group units entrys to all the campaign files for it to come into play....i get a head ache just thinkng about it..way points...airbase distances...spawn points...not my favourite subject...



_________________
CB-site




[ This Message was edited by: CB.. on 2002-08-23 11:41 ]


  View Profile of CB..   Email CB..   Goto the website of CB..      Edit/Delete This Post   Reply with quote
BJ


Joined: Feb 28, 2002
Posts: 136
From: Pacific Grove, CA.
Posted: 2002-08-23 11:59   
Resupply is outstanding news, but I'm not sure I follow, so I'll ask.

Is this correct?:
At present, the re-supply function will only
work with the Original Sim.exe file? Any way to get it to work with Neal's 2nd Campaign/Messerwtzer Sim.exe? And right now only with CB's Re-supply mission?

If I'm reading the file correctly, Re-supply would have to be coded into every mission if you wanted it. Basically, every mission where you need resupply would have to be rewritten/coded.
But, only the long range missions, (like the one to the US, or mid-Atlantic), would have to be recoded. By someone who knows. (Not me!)

Lots of work ahead.
But many thanks to CB for showing it IS possible.
Sincere thanks







  View Profile of BJ      Edit/Delete This Post   Reply with quote
CB..


Joined: Jun 03, 2002
Posts: 292
From: UK
Posted: 2002-08-23 12:15   
yes that's it..

what i'm hoping for is that either the resupply code from the original sim.exe can be added to the messerwetzer version...or
that the messerwetzer code can be added to the original sim.exe..as a purely single player game mod..

have to wait and see what the guys say ..

i,m thinking that maybe you could add the mission entrys above into every mission file..as they are..(watching the unit and group number for the resupply sub and airbase carefully...)

so that you could return to Wilhelmshaven
to resupply..that would be the easiest way to set it up...but again i'm actually no mission expert..so it would have to be tested....but no it won't work with any other version of the game except version 1;

with any other version ,as you try to come along side the resupply sub ;your boat gets absolutely trashed...over 80 percent hull damage,, fires..the works..

i'll try and add the resupply to one of the stock campaign missions,,and see how i get on..

_________________
CB-site

[ This Message was edited by: CB.. on 2002-08-23 12:26 ]


  View Profile of CB..   Email CB..   Goto the website of CB..      Edit/Delete This Post   Reply with quote
Neal Stevens


Joined: May 06, 2006
Posts: 0
From: Houston, Texas
Posted: 2002-08-23 12:59   
CB, could you summarize this? What must be done to the sdf mission file to allow resupply; what else is needed? You say this does not work with PM modded game??

I apologize if you have summarized above somewhere but I want to be sure I "get it".

thanks!
e-mail me your address for your Sub Club Mug.
Neal
_________________


  View Profile of Neal Stevens   Goto the website of Neal Stevens      Edit/Delete This Post   Reply with quote
cdragon


Joined: May 29, 2002
Posts: 60
From: Boston, MA USA
Posted: 2002-08-23 13:12   
How close do I have to be to the milk cow for resupply to work? 50 meters? touching? I wonder how 1.1 breaks resupply.

_________________


[ This Message was edited by: cdragon on 2002-08-23 13:13 ]

[ This Message was edited by: cdragon on 2002-08-23 13:17 ]


  View Profile of cdragon   Email cdragon   ICQ status         Edit/Delete This Post   Reply with quote
CB..


Joined: Jun 03, 2002
Posts: 292
From: UK
Posted: 2002-08-23 13:34   
Neal!!!
i'm doing me best !!!!

heres the entire modified training one sdf file ...
/////////////////////////////////////////////

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; File: Training1.SDF
;; Project: Silent Hunter II
;; Author: Troy Heere
;;-------------------------------------------------------------------------
;; Copyright (c) 2000, Ultimation, Inc. All Rights Reserved
;;-------------------------------------------------------------------------
;; Training mission 1
;;
;; History:
;;
;; 09/17/00 TDH Initial definition
;; 09/29/01 SS
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

[SCENARIO]
TitleEnglish = Supply 1
TitleGerman = Kriegspiel 1
Time = 1100
Date = 19390531
Type = SINGLE
Duration = 120
Major = 10
Minor = 5
InitialZoom = 7
Origin = 8.1100,53.51
Map = W020N90
Weather = HIGH_CLOUDS

;; -------------------------------------------------------------------
;; Define the sides for this mission.

[SIDE1]
Alignment = AXIS
Name = Germany
Doctrine = German

[SIDE2]
Alignment = ALLIES
Name = Allies
Doctrine = AMERICAN

;; -------------------------------------------------------------------
;; Objectives

[OBJECTIVE1]
Objective = REACH
Primary = TRUE
Longitude = 8.2
Latitude = 53.58333
Radius = 500.0
DateStart = 19390531
TimeStart = 1100
DateEnd = 19490608
TimeEnd = Displayed
Range = 1.0
Primary = TRUE

[OBJECTIVE2]
Objective = RETURN_TO_BASE
Primary = FALSE
Home = Wilhelmshaven
Time = 1100
Trigger = TIME
DateTrigger = 19390531
TimeTrigger = 1130

;;; Bases ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

[BASE1]
Alignment = Axis
Location = 8.119000,53.510000
AirRadius = 2354873.500000
AirProbability = 0.990000
Timer = 6.000000
Resupply = 2
Group = 2

[BASE2]
Alignment = Allies
Location = 14.515365,35.901562
AirRadius = 291533.500000
AirProbability = 0.150000
Timer = 110.000000

;; -------------------------------------------------------------------
;;Radio Messages

[RADIO1]
Trigger = TIME
Time = 1100
Date = 19390531
File = Training1_1
Title = Welcome Aboard

[RADIO2]
Trigger = WAYPT
Group = 1
Longitude = 8.2
Latitude = 53.58333
File = Training1_2
Title = Objective Completed

;; -------------------------------------------------------------------
;; Group definition. This defines the parameters for a logical grouping
;; such as a task force or destroyer division.

[GROUP1]
Commander = HUMAN
Type = SUBWOLFPACK
Side = 1
Name = Training Group
Nationality = GERMAN

[GROUP2]
Type = SHIPSQUADRON
UnitType = Destroyer
Side = 1
Name = AVPTender
Nationality = Germany
EntryTime = 2300
EntryDate = 19990528
EntryInterval = 18
Order1.1 = resupply,1,Fuel,UNIT,-1,-1
WayptDisplay = DO_NOT_SHOW


;; -------------------------------------------------------------------
;; AI rules of engagement.

[Rules of Engagement]
Targeting = CAPITAL,SCREEN,TRANSPORTS,MERCHANTMEN,SUBMARINES,SHORE_TARGETS,AIRCRAFT,TARGET=xxx
Engagement = UNLIMITED,STEALTHY,LIMITED,RECON
Objectives = DESTROY,REPULSE,HIT_AND_RUN,HARASS,SHADOW
Movement = CRUISING,BEST,CONSERVE,EVADE
Initiative = FULL,PERMISSION,NONE

;; -------------------------------------------------------------------
;; Unit definitions. Note that group affiliation dictates the side
;; each unit is a part of. However, if a unit has no group affiliation,
;; side must be specified for that individual unit (not depicted here.)
;; Individual units should also inherit the group nationality, but an
;; override should be provided so that mixed groups can be created.

;; Good guy units

[UNIT1]
Group = 1
Class = NSSUBoat2B
Name = U-24
ShortName = U-24
Designation = 24
Flag = TRUE
Control = HUMAN
Vessel = Submarine
Location = 8.1100,53.51
Orientation = 180
Captain = 80
Crew = 80
Fuel = 0.45
BoilersHot = TRUE
IconName = SUBMARINE
Display = SHOW_AS_GROUP

[UNIT2]
Group = 2
TypeAbrev = AVP
Class = NSSUboat14
Name = U137
Flag = TRUE
Guide = TRUE
Location = 8.119000,53.510000
Orientation = 16
Captain = 80
Crew = 80
BoilersHot = TRUE
IconName = AIRCRAFT2
Display = SHOW_AS_GROUP


//////////////////////////////////////////////




i think it's either the
units entry


TypeAbrev = AVP

the group
roe entry

Order1.1 = resupply,1,Fuel,UNIT,-1,-1


or the airbase entry


Resupply = 2
Group = 2



TypeAbrev = AVP

is listed in the units db folder/file as a
submarine tender...thats what sparked this off....the missions are usually quite fussy about getting the TypeAbrev = entrys right

i knew something was going on with the sub that turned up because if you so much as touched the resupply boat as you came along side ,it destroyed your boat..so something beyond the normal collision interaction was going on..yes??

but it was EAJ13 , who had down loaded the mission and try-ied it in his stock version one game...(straight of the disk, no patches)
that came back and said the sub had in fact actually resupplyied his boat...


i tried it ..

by getting the version one

sim.exe from the cd
and installing into my patched game...1;1 and messerwetzer.(.off course this removes both patches up-grades..)

and it allso worked...resupply of both fuel and torps.....easyly no messing about no having to be stationary for hours..just straight into the resupply as you pulled along side...with time acelleration aswell..(takes around an hour...game time)
as for really getting to grips with the mechanics of it...i have no idea...
doesnt work with any other version of the game
has to be version one...

(or at least the sim.exe from version one)

with the others you get this destructive collision effect or nothing at all..

to be completely honest i don't have the background to really know quite why it works...

but it's pretty sure that the resupply code in the sim.exe in the stock cd version of the game is not broken..and that they broke it in the 1;1 patch having thought perhaps it was unusable?

and i'm guessing that messerwetzer is based on the 1;1 sim.exe?



_________________
CB-site


perhaps a beta version of messerwetzer could be worked on based on the original sim.exe for single player use...resupply being pretty wasted in a mulitiplayer envouiriment?
althought not undesirable!!

it's more something to do with the original sim.exe; than the mission file ;as far as i can think; it needs looking at by guys like you who know what to look for; and what to do with it when they find it !!!







[ This Message was edited by: CB.. on 2002-08-23 13:59 ]

[ This Message was edited by: CB.. on 2002-08-23 14:00 ]


  View Profile of CB..   Email CB..   Goto the website of CB..      Edit/Delete This Post   Reply with quote
HerrBaron


Joined: Feb 26, 2002
Posts: 493
From: Norwalk, CT
Posted: 2002-08-23 14:12   
First of all, congratulations on the excellent detective work! This is an important feature which I intended to look into for PM; my assumption was that the code for resupply had never been completed (like the silent running code; stubs in a few places, but no code). You've shown that not to be the case. Now, as to looking at version 1.0 source code, that's not possible, as the source code I recieved is version 1.1, and there's no indication in that code what was changed from version 1.0 to 1.1. That said, I'll download your mission file and begin tracing through the code in the debugger, and try to find out where it's currently broke in version 1.1/PM, and fix it.

Again, thanks for your efforts here, guys! Well done!

_________________
Fair Winds and Following Seas!



HerrBaron


  View Profile of HerrBaron   Email HerrBaron   Goto the website of HerrBaron        Edit/Delete This Post   Reply with quote
CB..


Joined: Jun 03, 2002
Posts: 292
From: UK
Posted: 2002-08-23 14:33   
[quote]
On 2002-08-23 13:12, cdragon wrote:
How close do I have to be to the milk cow for resupply to work? 50 meters? touching? I wonder how 1.1 breaks resupply.

_________________
it will only work in version one of the game ,, just pull slowly along side .making sure you are facing the same direction as the resupply sub...and get as close as possible...keep an eye on your message bar..when it says resupply operation commencing..your there...you can then crank up the time excelleration and the whole process takes around 4 minutes at excellerated time..(an hour perhaps normal time)..make sure you fire a couple of torps before calling the sub..just to be sure it recognises you are short..(this may affect it or not try experimenting)
////////


Cheers baron..!!

hope you can sort it out for wesserwetzer...

it'd be a real shame to do without it, now we know it can be made to work..!!
_________________
CB-site

[ This Message was edited by: CB.. on 2002-08-23 14:35 ]


  View Profile of CB..   Email CB..   Goto the website of CB..      Edit/Delete This Post   Reply with quote
Goto page ( 1 | 2 | 3 | 4 | 5 Next Page )
Lock this Topic Move this Topic Delete this Topic
Powered by phpBB Version 1.4.4
Copyright © 2000 - 2001 The phpBB Group

phpBB Created this page in 0.044598 seconds.