-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create separate boat class instead of overwriting
- Loading branch information
Showing
4 changed files
with
25 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,16 @@ | ||
#define BOAT_PROPERTIES \ | ||
insideSoundCoef = 1; \ | ||
rudderForceCoef = 0.25; \ | ||
enginePower = 24.5; \ | ||
thrustDelay = 1.5; \ | ||
waterLinearDampingCoefX = 1.2 | ||
|
||
class CfgVehicles { | ||
class Rubber_duck_base_F; | ||
class Rescue_duck_base_F: Rubber_duck_base_F { | ||
BOAT_PROPERTIES; | ||
}; | ||
|
||
class I_C_Boat_Transport_01_F: Rubber_duck_base_F { | ||
BOAT_PROPERTIES; | ||
}; | ||
|
||
class I_G_Boat_Transport_01_F: Rubber_duck_base_F { | ||
BOAT_PROPERTIES; | ||
}; | ||
class B_Boat_Transport_01_F; | ||
class PzGrenBtl402_CRRC: B_Boat_Transport_01_F { | ||
displayName = CSTRING(CRRC); | ||
|
||
class I_Boat_Transport_01_F: Rubber_duck_base_F { | ||
BOAT_PROPERTIES; | ||
}; | ||
|
||
class B_Boat_Transport_01_F: Rubber_duck_base_F { | ||
BOAT_PROPERTIES; | ||
}; | ||
|
||
class O_Boat_Transport_01_F: Rubber_duck_base_F { | ||
BOAT_PROPERTIES; | ||
}; | ||
insideSoundCoef = 1; | ||
rudderForceCoef = 0.25; | ||
enginePower = 24.5; | ||
thrustDelay = 1.5; | ||
waterLinearDampingCoefX = 1.2; | ||
|
||
class O_T_Boat_Transport_01_F: Rubber_duck_base_F { | ||
BOAT_PROPERTIES; | ||
class TransportItems { | ||
delete _xx_FirstAidKit; | ||
}; | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project name="PzGrenBtl402"> | ||
<Package name="A3_Boats"> | ||
<Key ID="STR_PzGrenBtl402_A3_Boats_CRRC"> | ||
<Original>S-Boot</Original> | ||
<German>S-Boot</German> | ||
</Key> | ||
</Package> | ||
</Project> |