![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
![]() |
#1 |
Born to Run Silent
|
![]()
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 )
__________________
SUBSIM - 26 Years on the Web |
![]() |
![]() |
![]() |
#2 |
Born to Run Silent
|
![]()
Did not work.
![]()
__________________
SUBSIM - 26 Years on the Web |
![]() |
![]() |
![]() |
#3 |
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. |
![]() |
![]() |
![]() |
#4 |
Born to Run Silent
|
![]()
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. ![]()
__________________
SUBSIM - 26 Years on the Web |
![]() |
![]() |
![]() |
#5 | |
Seasoned Skipper
![]() Join Date: Jul 2008
Location: Stockholm
Posts: 676
Downloads: 17
Uploads: 0
|
![]() Quote:
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. |
|
![]() |
![]() |
![]() |
#6 |
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 |
![]() |
![]() |
![]() |
#7 |
Born to Run Silent
|
![]()
Now you tell me
![]() I broke the file so I am reinstalling. Maybe it will save my career progress.... ![]() Thanks, TT ![]()
__________________
SUBSIM - 26 Years on the Web |
![]() |
![]() |
![]() |
|
|