![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
|
01-25-10, 07:59 PM
|
#1 |
|
Author, STARLING
|
I believe this is the 4th campaign, 2nd mission, where I need to take two PT boats and two rocket PT boats, fight off 8 enemy patrols and take out the airfield on the island. After about 30 tries, I am stumped. Any suggestions? Anyway to hack the mission and get rid of about 5 of the enemy boats?
__________________
' ' Starling: Onkel Neal's novel. Sci-fi in the classic tradition! ![]() https://amzn.to/4rw67vA |
|
|
01-26-10, 09:09 AM
|
#2 |
|
Beach Leaf
![]() Join Date: Dec 2004
Location: Atlantic Shipping Lanes
Posts: 287
Downloads: 1
Uploads: 0
|
HI Neal,
It's possible to set your boats to God mode. I have used this technique to get past some hard ones. For instance. Open the mission script in the \MISSIONS folder (the .py file for the mission). Find where your boats are defined. It will look something like this: GTorpedoBoat1 = NavalObject ( 'Elco',RelationType.Friend,ObjectType.TorpedoBoat ) GTorpedoBoat1.setLogicalName('PT-24') Add the following line of code after the above: GTorpedoBoat1.enableGodMode ( True ) You will be invincible. TT |
|
|
01-27-10, 12:01 AM
|
#3 |
|
Author, STARLING
|
Thank you man!!
Actually, I completed the mission with one PT boat intact! ![]() ![]() But after heading south, I ended the mission...it will not let me go on to the next mission. Why won't it let me progress to the next mission?Has anyone completed the whole campaign? I will try it again in God mode.... thanks
__________________
' ' Starling: Onkel Neal's novel. Sci-fi in the classic tradition! ![]() https://amzn.to/4rw67vA |
|
|
01-27-10, 12:07 AM
|
#4 |
|
Author, STARLING
|
Like this?
RTBoat1 = NavalObject ( 'Elco', RelationType.Friend, ObjectType.TorpedoBoat ) RTBoat1.setLogicalName('TK-158') RTBoat1.enableGodMode ( True ) RTBoat2 = NavalObject ( 'G5ROCKET', RelationType.Friend, ObjectType.TorpedoBoat ) RTBoat2.setLogicalName('TK-277') RTBoat2.enableGodMode ( True ) RTBoat3 = NavalObject ( 'G5ROCKET', RelationType.Friend, ObjectType.TorpedoBoat ) RTBoat3.setLogicalName('TK-280') RTBoat3.enableGodMode ( True ) RTBoat4 = NavalObject ( 'Elco', RelationType.Friend, ObjectType.TorpedoBoat ) RTBoat4.setLogicalName('TK-160') RTBoat4.enableGodMode ( True )
__________________
' ' Starling: Onkel Neal's novel. Sci-fi in the classic tradition! ![]() https://amzn.to/4rw67vA |
|
|
01-27-10, 12:11 AM
|
#5 |
|
Author, STARLING
|
Did not work.
__________________
' ' Starling: Onkel Neal's novel. Sci-fi in the classic tradition! ![]() https://amzn.to/4rw67vA |
|
|
01-27-10, 05:00 AM
|
#6 |
|
Pacific Aces Dev Team
![]() |
When I was browsing through script files a while ago, I actually came across another way of setting the God mode but I do no remember how it was now, unfortunately.
Neal, Removing a few enemy boats from a mission file may require quite a bit of editing. The quicker way is to replace the enemy boats with weaker/slower units or strengthen your force. Say, try to replace some of your boats with cruisers, i.e. instead of RTBoat1 = NavalObject ( 'Elco', RelationType.Friend, ObjectType.TorpedoBoat ) put RTBoat1 = NavalObject ( 'M_GORKY', RelationType.Friend, ObjectType.TorpedoBoat ) and see if this helps. Last edited by sergbuto; 01-27-10 at 06:58 AM. |
|
|
01-27-10, 02:17 PM
|
#7 |
|
Beach Leaf
![]() Join Date: Dec 2004
Location: Atlantic Shipping Lanes
Posts: 287
Downloads: 1
Uploads: 0
|
Hi Neal,
What you tried looks good. Seems that further down in the mission godmode is reset back to false for all RT boats. Look for the code lines: for RTBoat in RTBoats: RTBoat.enableGodMode ( False ) RTBoat.enableSubFocusing () and change False to True I think that should do it. TT |
|
|
01-27-10, 09:15 PM
|
#8 |
|
Author, STARLING
|
Now you tell me
![]() I broke the file so I am reinstalling. Maybe it will save my career progress.... ![]() Thanks, TT
__________________
' ' Starling: Onkel Neal's novel. Sci-fi in the classic tradition! ![]() https://amzn.to/4rw67vA |
|
|
![]() |
|
|
