| Author |
New Resupply Script by Orzel |
OrzelSH2DC
Joined: Feb 27, 2002 Posts: 124 | Posted: 2002-03-23 17:02  
Here is the script for refueling your sub and perhaps rearming as well. Long time ago I got the blueprint script for refueling from Mark Kundinger at Ultimation INC. Unfortunately I was unable to make that sub show up. After some time while working on my Dynamic Campaign for SH2 and DC I try that script again and made few modifications, alterations and I gave it a last try.
Ok so now I made that sub to show up big sub XIV “Milk Cow” Mooo however I can’t get it to resupply my sub. If any of you want to toy with it and try different things with it please do. And if you make that sub to refuel and ream you let me know. Post it here or e-mail it to me at orzel@sosenkas.com the more people toys with it the better the chances of succeeding at it. What you do is try to expand most of your fuel and all of your torpedoes before you call the resupply sub. Later I was told that you are spouse to get close about 100 meters from the resupply sub possibly make parallel parking and wait for 6 hours or so? No that info is based on speculation like the German Enigma
Copy and paste this code to an empty text document and rename it to Resupply.sdf or whatever you want but make sure you have sdf at the end for example Silent.sdf etc. Put it to your scenarios and try it out. Or you can e-mail me orzel@sosenkas.com and I’ll send you that mission.
Below is the script for the resupply mission.
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;
;;; Resupply Mission by Orzel
;;;
;;;
;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[SCENARIO]
Date = 19390931
Time = 1000
Duration = 3000
TimeOut = 0
Type = TYPE A
TitleEnglish = Resupply (No Briefing Available)
TitleGerman =
TitleFrench =
Major = 10
Minor = 5
Origin = 7.245938, 56.662811
InitialZoom = 4
Weather = CLEAR
Preprocess = TRUE
DrawOvlyText = TRUE
;;; Objectives ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[OBJECTIVE1]
Objective = RETURN_TO_BASE
Home = Wilhelmshaven
Primary = TRUE
Time =
Score = 1
;;; Bases ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[BASE1]
Alignment = Axis
Location = 7.505938, 56.662811
AirRadius = 250000.000000
AirProbability = 0.990000
Timer = 5.000000
Resupply = 2
;;; Radio Messages ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;; Multi ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;; Mutex ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[MUTEX1]
Group2 = 2
;;; Sides ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[SIDE1]
Alignment = ALLIES
Name = Allies
Doctrine = American
[SIDE2]
Alignment = AXIS
Name = Axis
Doctrine = German
[SIDE3]
Alignment = NEUTRAL
Name = Neutral
Doctrine = Neutral
;;; Groups ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[GROUP1]
Commander = HUMAN
Type = SUBWOLFPACK
UnitType = Submarine
Side = 2
Name = German Squad
Nationality = Germany
WayptDisplay = DO_NOT_SHOW
[GROUP2]
Type = SHIPDIVISION
UnitType = SUBMARINE
Side = 2
Name = Mulch Cow
Nationality = Germany
WayptDisplay = DO_NOT_SHOW
EntryTime = 1700
EntryDate = 21000101
EntryInterval = 9900
;;; Units ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[UNIT1]
Group = 1
Class = NSSUboat7C
Name = U-19
Control = HUMAN
Flag = TRUE
Guide = TRUE
Location = 7.245938, 56.662811
Orientation = 0
Captain = 80
Crew = 80
BoilersHot = TRUE
IconName = SUBMARINE
Display = SHOW_AS_GROUP
[UNIT2]
Group = 2
TypeAbrev = SS
Class = NSSUBoat14
Name = U-20
Flag = TRUE
Guide = TRUE
Location = 7.255938, 56.662811
Orientation = 270
Captain = 80
Crew = 80
BoilersHot = TRUE
IconName = SUBMARINE
Display = SHOW_AS_GROUP
;;End of Story 
[ This Message was edited by: OrzelSH2DC on 2002-03-23 17:05 ]
 
|
FAdmiral
Joined: Feb 28, 2002 Posts: 1401 From: Atlanta, GA, USA
| Posted: 2002-03-24 00:08  
Thanks Orzel, I will try this mission & see
if I can get it to work....
Jim
_________________ Contrary to popular belief, most people do possess a photographic memory. The problem is most of them are simply out of film.
 
|
OrzelSH2DC
Joined: Feb 27, 2002 Posts: 124 | Posted: 2002-03-24 01:32  
Yeah-just sail around in circle exhaust as much fuel as you can and fire all torpedoes. Later come to a complete stop and call the refueling sub from the radio room. Everything seem to work but I can’t get that sub to refuel and resupply my both try it
Orzel
 
|
LtHavoc
Joined: Mar 12, 2002 Posts: 17 From: Sweden
| Posted: 2002-03-24 04:45  
I guess it doesn't matter that "Milk Cow" is misspelled as "Mulch Cow" in the script?
(has no clue about mission editing)
 
|
Palindromeria
Joined: Feb 28, 2002 Posts: 353 | Posted: 2002-03-24 11:02  
I have tested the Milch Kow prior to the patch. unfortunately i already scrapped the sdf when i did reinstall. I used the scenario that happens to be included in the altsub download "23pekin"
I added a stationary type 14. (no orders)which i also named MilchKow.
I changed the year so that it matched a date in which both the type 23 ( the human uboat in that MIssion) and the type 14 were historically available as according to the units database. I chose to assume that whatever resupply code there was, would have a date restriction built in to it. i also , being somewhat anal retentive, made sure to assign my type 14 a number that was actually a type 14 historically "available" on whatever date i had used.
that done, i ran the mission
upon start noticed that the type14 icon was listed as German Submarine, not milchkow.
immediately fired my only 2 torps.
here comes the weird part
a SECOND icon for a friendly sub magically appeared just a few miles from my position.
It WAS listed as Milch Kow . I went to the icon position. Nothing there ! nothing happened. Went to "german submarine" it was there and it was a type 14. I pulled up to with in 200 yds and came to full stop. no luck geting a reload. the manual says if you pull up next to t 14 resupply/refuel begins immediately. nothing happened at all.
i repeated the scenario it always happened.
i decided that was enough testing for me at that point.
you might want to try changing the date in your scen .
i didnt test fuel . maybe add a fuel field to your human sub to lower it to 10% ? make it easier
maybe give the type 14 a loop patrol order?
so that hs not just inactive ? i dunno.
im also curious to see what would happen if a type 14 was placed into a multiplay as a human controlled sub. its easy enough to rewrite ,but to participate all participants MUST have a copy in the SIM/scenarios folder with the other multiplay mission.( I THINK !! id like to test it w someone)
ill try your sdf and let you know.
dave
 
|
optik
Joined: Mar 08, 2002 Posts: 47 | Posted: 2002-03-24 12:36  
been testing the script, but all i seem to get is the sub comes every time out of 90 degrees about 500yards sits there and does nothing. when i try to park next to it half the time it will do some type of acrobatic stunt and sinks as a result.(you want pics they sure are funny)
 
|
Kron161
Joined: Feb 27, 2002 Posts: 365 | Posted: 2002-03-24 18:31  
this is just an idea...
Is it possible that when you get next to the milch cow the mission exits (it saves itself) and then prompt captains's cabin (as in the mediterranean mission) at the moment you hit the book, we need something that re-scripts the saved game topping fuel and torpedoes, and adding 6 hours to the timer, then you go again (reload modified savegame)
What kind of script we would need to do this?
_________________ _________________________________
"It is well that war is so terrible- otherwise, we would grow too fond of it." R.E.L.
 
|
FAdmiral
Joined: Feb 28, 2002 Posts: 1401 From: Atlanta, GA, USA
| Posted: 2002-03-24 18:37  
I copied Orzels Resupply mission to my
singles folder in SH2 but keep getting the
good ole Janus error. Will try to make some
changes. Isn't there a resupply mission
where it is interrupted by an enemy crusier?
Maybe I can do some editing on that one to
make it work....
Jim
_________________ Contrary to popular belief, most people do possess a photographic memory. The problem is most of them are simply out of film.
 
|
johnlax
Joined: Feb 28, 2002 Posts: 54 | Posted: 2002-03-24 21:31  
keep trying GUYS it sounds like you are getting close to solving the re-supply issues!!!!!! It would really over come a major short coming of the game!!!
 
|
Rommel McDonald
Joined: Mar 02, 2002 Posts: 183 From: P-Town, California
| Posted: 2002-03-25 16:29  
I tried this forever and couldnt get it to work at all. I would LOVE to see someone get it going.
FAdmiral- I think the mission you are referring to is Supply Ship single mission- you start out next to a supply tanker, and a cruiser comes in to pee on your parade, but you dont get refueled at all.
As far as having the TypXIV in MP games- I dont know who would want to control it- I made a mod a while back for the Milk Cow, and it does have 2 of the 3.7cm AA cannons and a single 20mm up on the wintergarten, but other than that, it is completely defensless- it has no torpedo tubes at all.
(it also has a wide turn radius and is huge in cross section for ASDIC to detect)
And to top it all off- I couldnt get my emblem (or any for that matter) to appear on the tower!! AAAAAARRRGGGHHH!
_________________ Rommel McDonald

 
|
pjohn51
Joined: Feb 28, 2002 Posts: 178 From: Tennessee
| Posted: 2002-03-26 00:12  
Well, haven't got the type XIV to refuel my boat yet .. twice she sank as I approached, and once she just vanished, never to be seen again
But it was a welcome change to see my supply request message sent instead of hearing, "Unable to contact supply vessel":-)
 
|
johnlax
Joined: Feb 28, 2002 Posts: 54 | Posted: 2002-03-26 09:19  
wow just to hear that the radio message was sent is good news. keeping working at it guys please. That along with a dynamic campaign would really bump up the ratings on this game!!!
 
|
OrzelSH2DC
Joined: Feb 27, 2002 Posts: 124 | Posted: 2002-04-06 10:34  
I thought I would bump this old topic with some explanation.
Some time ago I posted resupply script for the mod community for testing. Mark Kundinger provided original script to me when I kindly asked him about it. At first it didn’t work but later I got it working to the point that the resupply sub showed up but I couldn’t get it to refuel and rearm my U-boat.
The intention of this script was to get it working or to find out if it fully works and not to complain that it wasn’t fully implemented.
To the few or perhaps one mod creator that strongly complains that it doesn’t work and would like to beat up Ultimation INC or UBI for it I’ll say grow up. If you want to do something about it add your vote to implement this feature in the topic “RE-SUPPLY VOTE” posted by Samotny Wilk. BTW those of you who annoy me the most about this feature by demanding it never voted for it in his topic. It seems you only want to put down SH2 in general.
A true mod creator improves the game, finds new hidden features, adds new features and expands on the existing game in any way he or she can.
Please if you want to add this feature through official means, do it nicely with kindness, respect and dignity. I’m sure you’ll get response from the developers or UBI.
Just to make sure so most people know. Ultimation INC or UBI reserves the right to add, remove, and improve features in the game at any point. I’m sure you will find something like this somewhere in SH2 License Agreement.
orzel@sosenkas.com
http://www.sosenkas.com/sh2
Orzel
[ This Message was edited by: OrzelSH2DC on 2002-04-06 11:13 ]
 
|
johnlax
Joined: Feb 28, 2002 Posts: 54 | Posted: 2002-04-06 10:51  
point well made by orzel. I do hope that the company will add this neat feature. For the record I would be willing to pay them for a missions update disk just like what was done in SH I. I think that was a nice way to do some patching and develope new missions along the way.
 
|
OrzelSH2DC
Joined: Feb 27, 2002 Posts: 124 | Posted: 2002-04-06 10:57  
Here is another good and creative idea what you can do with the current resupply script.
Instead of making the current script to resupply your boat just use it as a destroyer escort near homeport. So when the player returns from the mission and will be near his homeport he can call for resupply and you’ll get destroyer showing up instead of the Milk Cow sub. You can also modify the radio message from resupply to destroyer escort, in the dsf file to make it look like the call is for the escort etc. Have Fun !
PS. If you want me to post that script for the destroyer showing up let me know. Otherwise use my original script and substitute the sub unit and group with German Destroyer I haven’t tested it but it should work.
Orzel
[ This Message was edited by: OrzelSH2DC on 2002-04-06 11:04 ]
 
|