SUBSIM Radio Room Forums



SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997

Go Back   SUBSIM Radio Room Forums > Silent Hunter 3 - 4 - 5 > SH4 Mods Workshop
Forget password? Reset here

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 04-29-07, 08:15 AM   #7
mcoca
Loader
 
Join Date: Apr 2005
Location: Madrid, Spain
Posts: 86
Downloads: 0
Uploads: 0
Default

Jace11, all that is possible right now. The program has four entry fields:

- Condition for changing a group, for example:

Code:
group.groupName.contains("Jap_Convoy")
- Changes to apply to a group:

Code:
group.spawnProbability = group.spawnProbability/2
- A condition for changing each unit in the group:

Code:
unit.unitType == UnitType.DESTROYER
- Changes for units that fulfill that condition:

Code:
unit.shipClass = None
(that last one is untested, but it should remove the specific class, and thus make the destroyers a "GENERIC Destroyer")

Press the "change" button, and all japanese convoys will have half the spawn probability, and generic escorts.

I'll send you a PM once I have it ready.
mcoca is offline   Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 07:17 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 1995- 2025 Subsim®
"Subsim" is a registered trademark, all rights reserved.