Log in

View Full Version : Rocket ship mission


Onkel Neal
01-25-10, 07:59 PM
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? :wah:

timetraveller
01-26-10, 09:09 AM
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

Onkel Neal
01-27-10, 12:01 AM
Thank you man!!

Actually, I completed the mission with one PT boat intact! http://www.battlefront.com/community/images/smilies/smile.gif
http://www.subsim.com/ssr/pt_boats/review/review36.jpg

But after heading south, I ended the mission...it will not let me go on to the next mission. http://www.battlefront.com/community/images/smilies/frown.gif 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 :salute:

Onkel Neal
01-27-10, 12:07 AM
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 )

Onkel Neal
01-27-10, 12:11 AM
Did not work. :wah:

sergbuto
01-27-10, 05:00 AM
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.

Onkel Neal
01-27-10, 08:51 AM
Thanks!

I'm digging through the file, trying to make sense of it. I did manage to keep the planes out of the air, but I still have not been able to get more friendly PT boats in, or weaken the numerous enemy boats.

Oh well, I have played 3/4 of the campaign, that's enough for a review. :03:

timetraveller
01-27-10, 02:17 PM
Like this? .....

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

Onkel Neal
01-27-10, 09:15 PM
Now you tell me :haha:

I broke the file so I am reinstalling. Maybe it will save my career progress.... :hmmm:

Thanks, TT :)

Leandros
12-14-10, 10:56 AM
Thanks!

I'm digging through the file, trying to make sense of it. I did manage to keep the planes out of the air, but I still have not been able to get more friendly PT boats in, or weaken the numerous enemy boats.

Oh well, I have played 3/4 of the campaign, that's enough for a review. :03:
I have also experienced missions that does not make a conclusion (end), either I make it or not. The best help I got was a bypass download.