View Single Post
Old 04-17-06, 02:34 AM   #12
JScones
Navy Seal
 
Join Date: Apr 2005
Posts: 5,501
Downloads: 19
Uploads: 0
Default

Here's how I am thinking this could be added to SH3Cmdr. I am focussing on the general "Equipment Malfunction" aspect as opposed to damage caused by Sabotage.

Quote:
[SETUP]
NbSystems=9 <-refers to the list of systems that can be damaged
MaxSystemsAffected=1 <-Max number of systems damaged at any one time. Actual number of systems affected will be between 0 and this number.
0=DieselMaxSpeed <-the system.points to section name following this block
1=ElecMaxSpeed
2=DieselRange
3=ElecRange
4=DiveTime
5=Schnorkel
6=AttackPeriscope
7=Rudder
8=CrashDive

[DieselMaxSpeed]
Probability=<1939>|<1940>|<1941>|<1942>|<1943>|<19 44>|<1945> <- As % of 100, ie "20|15|15|15|15|20|25"
IIA=<FileName>|<Offset> OR <Section>^<Key>|<% of default value>*
IID=<FileName>|<Offset> OR <Section>^<Key>|<% of default value>
IXB=<FileName>|<Offset> OR <Section>^<Key>|<% of default value>
IXC=<FileName>|<Offset> OR <Section>^<Key>|<% of default value>
IXC/40=<FileName>|<Offset> OR <Section>^<Key>|<% of default value>
IXD2=<FileName>|<Offset> OR <Section>^<Key>|<% of default value>
VIIB=<FileName>|<Offset> OR <Section>^<Key>|<% of default value>
VIIC=<FileName>|<Offset> OR <Section>^<Key>|<% of default value>
VIIC/41=<FileName>|<Offset> OR <Section>^<Key>|<% of default value>
VIIC/42=<FileName>|<Offset> OR <Section>^<Key>|<% of default value>
XXI=<FileName>|<Offset> OR <Section>^<Key>|<% of default value>

[ElecMaxSpeed]
...
* % of default value can be less than or greater than 1, ie 0.9 for 90% (decrease) or 1.1 for 110% (increase). Whatever value is already in the game will be used as the base value (for consistency).

Hemisent, how does this sound? Can you see any holes with this logic when comparing with how you've done it?
JScones is offline   Reply With Quote