![]() |
SUBSIM: The Web's #1 BBS for all submarine and naval simulations! |
05-27-2012, 10:05 AM
|
#1321 | |
|
Black Magic
![]() |
Quote:
|
|
|
|
05-27-2012, 10:18 AM
|
#1322 | |
|
Black Magic
![]() |
Quote:
![]() EDIT: Disregard - user error with ZipGenius
|
|
|
|
05-27-2012, 10:45 AM
|
#1323 |
|
Black Magic
![]() |
Looks like I found what determines whether resupply available or not. A call is made into SimData to see if resupply available. The return value is tested and if 0 then you are denied resupply. Tracking down what makes the return value be 0 now. I can always override the return value check so you can always get a resupply
|
|
|
05-27-2012, 11:08 AM
|
#1324 |
|
Black Magic
![]() |
Ok, now I understand what's going on. The game only gives you one resupply. I'm trying to track down what sets the memory address for the number of resupplies currently.
Now the question is how many resupplies should you be granted? I think you should be able to request as many as you want if there are resupply points available. Now maybe we should add a random % chance that the resupply ship has no resupplies and thus you are denied ![]() EDIT: I'm going to release a patch that will let you resupply if a resupply point is shown on the map. Give me a few... |
|
|
05-27-2012, 11:31 AM
|
#1325 | |
|
Ocean Warrior
![]() Join Date: Jan 2011
Location: CJ8937
Posts: 3,224
Downloads: 511
Uploads: 5
|
Thank you TDW and Trevally
![]() and sorry for the intrusion... Quote:
I wonder if the same could be done for bases: it is, being given limited or no resupplies at all after docking. This, coupled with the ability to dock at more than one base at any given time, would add a third dimension to this campaign, forcing us to move from base to base, and exposing us to the risk of being attacked by enemy submarines during the short passages (as often happended during Operation Monsun), not to mention the waste of time! |
|
|
|
05-27-2012, 11:33 AM
|
#1326 | |
|
Silent Hunter
Join Date: Apr 2007
Location: AN1536 (Orkney)
Posts: 4,487
Downloads: 131
Uploads: 27
|
Quote:
Great work TDW
|
|
|
|
05-27-2012, 11:36 AM
|
#1327 |
|
Black Magic
![]() |
|
|
|
05-27-2012, 11:38 AM
|
#1328 | |
|
Black Magic
![]() |
Quote:
Have to find the function that's called when you ask for resupply at bases
|
|
|
|
05-27-2012, 11:38 AM
|
#1329 | |
|
Silent Hunter
Join Date: Apr 2007
Location: AN1536 (Orkney)
Posts: 4,487
Downloads: 131
Uploads: 27
|
Quote:
|
|
|
|
05-27-2012, 11:49 AM
|
#1330 |
|
Admiral
![]() |
So, we don't need the Patch1 anymore?
|
|
|
05-27-2012, 11:55 AM
|
#1331 |
|
Silent Hunter
Join Date: Apr 2007
Location: AN1536 (Orkney)
Posts: 4,487
Downloads: 131
Uploads: 27
|
No - patch one should be removed
I will remove the link. If you have started MG - you may want to start again - sorry |
|
|
05-27-2012, 11:58 AM
|
#1332 | |
|
Black Magic
![]() |
Quote:
I see no reason why it wouldn't but it's always best to verify I know it works in the campaign test I did and that should be all the proof needed but better to be safe than sorry (especially when restarting campaigns!) |
|
|
|
05-27-2012, 12:06 PM
|
#1333 | |
|
Silent Hunter
Join Date: Apr 2007
Location: AN1536 (Orkney)
Posts: 4,487
Downloads: 131
Uploads: 27
|
Quote:
|
|
|
|
05-27-2012, 12:21 PM
|
#1334 |
|
Black Magic
![]() |
You know what the great thing about these little side projects I take on is? The excellent side benefits that usually reveal themselves. This little project exposed perfect assembly code for how to spawn a unit
Now let's see if I can spawn wolfpacks on demand
|
|
|
05-27-2012, 12:47 PM
|
#1335 | |
|
XO
![]() Join Date: May 2011
Posts: 432
Downloads: 91
Uploads: 0
|
Quote:
|
|
|
|
![]() |
| Tags |
| awesome , campaign , graf zeppelin , harbour , new bases , new ships , ohii |
| Thread Tools | |
| Display Modes | |
|
|