Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1.12.2 #1270 fix #1316

Open
wants to merge 6 commits into
base: 1.12.2
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
140 changes: 71 additions & 69 deletions run/Flan/Apocalypse Pack/vehicles/Buggy.txt
Original file line number Diff line number Diff line change
@@ -1,69 +1,71 @@
//Naming
Name Buggy
ShortName buggy
//Visuals
Icon Buggy
Model apocalypse.Buggy
Texture Buggy
RotateWheels True
//Third Person Camera Distance
CameraDistance 7.5
//Throttle
MaxThrottle 0.8
MaxNegativeThrottle 0.5
//Steering modifiers
TurnLeftSpeed 0.4
TurnRightSpeed 0.4
//Drag
Drag 10.0
//For calculating whether wheels are on the ground or not for driving
WheelRadius 1.5
//Wheel positions for collision handling. Tanks still have 4 wheels, they are just the corner ones.
WheelPosition 0 -36 -10 -19
WheelPosition 1 -36 -10 19
WheelPosition 2 22 -10 18
WheelPosition 3 22 -10 -18
WheelSpringStrength 0.5
//If true, then all wheels will apply drive forces
FourWheelDrive true
//Tank mode activate
Tank false
//Fuel Tank Size (1 point of fuel will keep one propeller going with throttle at 1 for 1 tick)
FuelTankSize 2000
//Inventory Slots
CargoSlots 32
ShellSlots 0
//Driver and passenger positions
Driver -19 -2 -6 -360 360 -89 89
RotatedDriverOffset 0 0 0
Passengers 1
Passenger 1 -19 -2 6 core -360 360 -89 89
BarrelPosition 0 0 0
//Delays are in ticks or 1/20ths of seconds
ShootDelay 1
ShellDelay 70
//Sounds
StartSound Engine
StartSoundLength 20
EngineSound Engine
EngineSoundLength 20
ShootSoundPrimary TankShell
ShootSoundSecondary M60Shoot
//Recipe
//Each section of the plane may have many parts
//The sections are tailWheel, tail, bay, topWing, leftWingWheel, leftWing, rightWingWheel,
//rightWing, nose, turret, coreWheel, core
AddRecipeParts core 1 smallChassis 2 vehicleSeat
AddRecipeParts frontLeftWheel 1 wheel
AddRecipeParts frontRightWheel 1 wheel
AddRecipeParts backLeftWheel 1 wheel
AddRecipeParts backRightWheel 1 wheel
//Dye colours are "black", "red", "green", "brown", "blue", "purple", "cyan", "silver", "gray", "pink", "lime", "yellow", "lightBlue", "magenta", "orange", "white"
AddDye 10 gray
//Health and collision
SetupPart core 120 -42 -5 -14 75 25 28
SetupPart frontLeftWheel 75 13 -10 15 15 15 5
SetupPart frontRightWheel 75 13 -10 -20 15 15 5
SetupPart backRightWheel 85 -43 -10 -22 15 15 7
SetupPart backLeftWheel 85 -43 -10 15 15 15 7
BulletDetection 7
//Naming
Name Buggy
ShortName buggy
//Visuals
Icon Buggy
Model apocalypse.Buggy
Texture Buggy
RotateWheels True
//Third Person Camera Distance
CameraDistance 7.5
//Throttle
MaxThrottle 0.8
MaxNegativeThrottle 0.5
//Steering modifiers
TurnLeftSpeed 0.4
TurnRightSpeed 0.4
//Drag
Drag 10.0
//For calculating whether wheels are on the ground or not for driving
WheelRadius 1.5
//Wheel positions for collision handling. Tanks still have 4 wheels, they are just the corner ones.
WheelPosition 0 -36 -10 -19
WheelPosition 1 -36 -10 19
WheelPosition 2 22 -10 18
WheelPosition 3 22 -10 -18
WheelSpringStrength 0.5
//If true, then all wheels will apply drive forces
FourWheelDrive true
//Tank mode activate
Tank false
//Fuel Tank Size (1 point of fuel will keep one propeller going with throttle at 1 for 1 tick)
FuelTankSize 20000
//Increasing fuel tank size in order to beat "Vehicles consume fuel very fast" #1270 issue. It was tested in real game, now jerry cans may fill it fully for 4-5 mins,
//as in real life, and players have real reason to make fuel stations/storages, dig coal, etc.
//Inventory Slots
CargoSlots 32
ShellSlots 0
//Driver and passenger positions
Driver -19 -2 -6 -360 360 -89 89
RotatedDriverOffset 0 0 0
Passengers 1
Passenger 1 -19 -2 6 core -360 360 -89 89
BarrelPosition 0 0 0
//Delays are in ticks or 1/20ths of seconds
ShootDelay 1
ShellDelay 70
//Sounds
StartSound Engine
StartSoundLength 20
EngineSound Engine
EngineSoundLength 20
ShootSoundPrimary TankShell
ShootSoundSecondary M60Shoot
//Recipe
//Each section of the plane may have many parts
//The sections are tailWheel, tail, bay, topWing, leftWingWheel, leftWing, rightWingWheel,
//rightWing, nose, turret, coreWheel, core
AddRecipeParts core 1 smallChassis 2 vehicleSeat
AddRecipeParts frontLeftWheel 1 wheel
AddRecipeParts frontRightWheel 1 wheel
AddRecipeParts backLeftWheel 1 wheel
AddRecipeParts backRightWheel 1 wheel
//Dye colours are "black", "red", "green", "brown", "blue", "purple", "cyan", "silver", "gray", "pink", "lime", "yellow", "lightBlue", "magenta", "orange", "white"
AddDye 10 gray
//Health and collision
SetupPart core 120 -42 -5 -14 75 25 28
SetupPart frontLeftWheel 75 13 -10 15 15 15 5
SetupPart frontRightWheel 75 13 -10 -20 15 15 5
SetupPart backRightWheel 85 -43 -10 -22 15 15 7
SetupPart backLeftWheel 85 -43 -10 15 15 15 7
BulletDetection 7
5 changes: 3 additions & 2 deletions run/Flan/Modern Weapons Pack/planes/A10.txt
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@ MissileSlots 4
AllowAllAmmo False
AddAmmo mk4Rocket
//Fuel Tank Size (1 point of fuel will keep one propeller going with throttle at 1 for 1 tick)
FuelTankSize 6000
FuelTankSize 620000
//6200L IRL
// ------------------------------------------------------ Passengers ------------------------------------------------------
Pilot 105 43 0
Passengers 0
Expand Down Expand Up @@ -121,4 +122,4 @@ CollisionPoint 2 40 -181 leftWing
CollisionPoint -5 27 47 rightWing
CollisionPoint -5 35 111 rightWing
CollisionPoint 2 40 181 rightWing
ModelScale 1.28
ModelScale 1.28
3 changes: 2 additions & 1 deletion run/Flan/Modern Weapons Pack/planes/Apache.txt
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@ MissileSlots 8
AllowAllAmmo False
AddAmmo Hellfire
//Fuel Tank Size (1 point of fuel will keep one propeller going with throttle at 1 for 1 tick)
FuelTankSize 5000
FuelTankSize 143000
//officially, 1421L+4x871L in aux-tanks. If someone will introduce aux-tanks for helicopter, here is value 87000 for each.
// ------------------------------------------------------ Passengers ------------------------------------------------------
Pilot 54 32 0
Passengers 1
Expand Down
5 changes: 3 additions & 2 deletions run/Flan/Modern Weapons Pack/planes/B52.txt
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,8 @@ AddAmmo largeBomb
AddAmmo smallBomb
AddAmmo napalm
//Fuel Tank Size (1 point of fuel will keep one propeller going with throttle at 1 for 1 tick)
FuelTankSize 6000
FuelTankSize 18173000
//officially has 181725L fuel capacity and fueled by machines, not jerry cans
// ------------------------------------------------------ Passengers ------------------------------------------------------
Pilot 412 69 -13
Passengers 5
Expand Down Expand Up @@ -107,4 +108,4 @@ SetupPart nose 6000 28 18 -10 56 24 20
SetupPart core 7000 -5 19 -11 33 23 21
SetupPart tail 5000 -94 18 -46 89 55 94
HasGear True
ModelScale 1
ModelScale 1
5 changes: 3 additions & 2 deletions run/Flan/Modern Weapons Pack/planes/BlackHawk.txt
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@ MissileSlots 0
AllowAllAmmo False
AddAmmo None
//Fuel Tank Size (1 point of fuel will keep one propeller going with throttle at 1 for 1 tick)
FuelTankSize 5000
FuelTankSize 137000
//IRL fuel capacity is 1361L+2x700L aux-tanks.
// ------------------------------------------------------ Passengers ------------------------------------------------------
Pilot 49 13 14
Passengers 11
Expand Down Expand Up @@ -97,4 +98,4 @@ SetupPart tail 2000 -174 7 -15 112 35 30
SetupPart blades 1000 -164 59 -163 328 4 328
BulletDetection 8
HasGear False
ModelScale 1
ModelScale 1
7 changes: 4 additions & 3 deletions run/Flan/Modern Weapons Pack/planes/Chinook.txt
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,13 @@ ModePrimary FullAuto
ModeSecondary FullAuto
//Add shoot origins. These are the points on your vehicle from which bullets / missiles / shells / bombs appear
// ------------------------------------------------------ Inventory ------------------------------------------------------
CargoSlots 0
CargoSlots 3
BombSlots 0
MissileSlots 0
AllowAllAmmo False
//Fuel Tank Size (1 point of fuel will keep one propeller going with throttle at 1 for 1 tick)
FuelTankSize 5000
FuelTankSize 783000
//7828L (+3x3028L aux-tanks in cargo)
// ------------------------------------------------------ Passengers ------------------------------------------------------
Pilot 154 17 10
Passengers 25
Expand Down Expand Up @@ -144,4 +145,4 @@ CollisionPoint 239 73 -146 blades
CollisionPoint 239 73 146 blades
HasGear False
ModelScale 1
BulletDetection 24
BulletDetection 24
7 changes: 4 additions & 3 deletions run/Flan/Modern Weapons Pack/planes/Cobra.txt
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,14 @@ ModeSecondary FullAuto
ShootPointPrimary 12 -4 -29 rightWing
ShootPointPrimary 12 -4 29 leftWing
// ------------------------------------------------------ Inventory ------------------------------------------------------
CargoSlots 0
CargoSlots 1
BombSlots 0
MissileSlots 8
AllowAllAmmo False
AddAmmo mk4Rocket
//Fuel Tank Size (1 point of fuel will keep one propeller going with throttle at 1 for 1 tick)
FuelTankSize 5000
FuelTankSize 116000
//IRL FC is 1153L and 1165L from 4 aux-tanks, thanks to German Wikipedia
// ------------------------------------------------------ Passengers ------------------------------------------------------
Pilot 32 -4 0
Passengers 1
Expand Down Expand Up @@ -92,4 +93,4 @@ SetupPart blades 1000 -24 20 -20 48 16 40
SetupPart rightWing 2000 -12 1 -38 24 2 28
SetupPart leftWing 2000 -12 1 10 24 2 28
SetupPart tail 2000 -100 -12 -9 76 24 18
BulletDetection 10
BulletDetection 10
5 changes: 3 additions & 2 deletions run/Flan/Modern Weapons Pack/planes/F22.txt
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@ MissileSlots 4
AllowAllAmmo False
AddAmmo mk4Rocket
//Fuel Tank Size (1 point of fuel will keep one propeller going with throttle at 1 for 1 tick)
FuelTankSize 6000
FuelTankSize 981000
//8200kg of fuel or 2590USG or 9805L + 2x600USG aux-tanks.
// ------------------------------------------------------ Passengers ------------------------------------------------------
Pilot 103 31 0
Passengers 0
Expand Down Expand Up @@ -117,4 +118,4 @@ CollisionPoint -83 76 -50 tail
CollisionPoint -83 76 50 tail
CollisionPoint -128 26 75 tail
CollisionPoint -128 26 -75 tail
ModelScale 1.19
ModelScale 1.19
7 changes: 4 additions & 3 deletions run/Flan/Modern Weapons Pack/planes/Hind.txt
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,14 @@ ModeSecondary FullAuto
ShootPointPrimary -13 7 -53 rightWing
ShootPointPrimary -13 7 53 leftWing
// ------------------------------------------------------ Inventory ------------------------------------------------------
CargoSlots 0
CargoSlots 4
BombSlots 0
MissileSlots 8
AllowAllAmmo False
AddAmmo mk4Rocket
//Fuel Tank Size (1 point of fuel will keep one propeller going with throttle at 1 for 1 tick)
FuelTankSize 5000
FuelTankSize 213000
//2130L in 5 internal tanks total
// ------------------------------------------------------ Passengers ------------------------------------------------------
Pilot 64 18 0
Passengers 5
Expand Down Expand Up @@ -94,4 +95,4 @@ SetupPart tail 2000 -242 32 -10 148 26 20
SetupPart leftWing 1000 -39 2 -83 25 33 65
SetupPart rightWing 1000 -39 2 18 25 33 65
SetupPart blades 1000 -30 68 -30 60 2 60
BulletDetection 10
BulletDetection 10
7 changes: 4 additions & 3 deletions run/Flan/Modern Weapons Pack/planes/LittleBird.txt
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,14 @@ ModePrimary FullAuto
ModeSecondary FullAuto
//Add shoot origins. These are the points on your vehicle from which bullets / missiles / shells / bombs appear
// ------------------------------------------------------ Inventory ------------------------------------------------------
CargoSlots 0
CargoSlots 2
BombSlots 0
MissileSlots 0
AllowAllAmmo False
AddAmmo None
//Fuel Tank Size (1 point of fuel will keep one propeller going with throttle at 1 for 1 tick)
FuelTankSize 5000
FuelTankSize 24000
//IRL 62USG or 235L
// ------------------------------------------------------ Passengers ------------------------------------------------------
Pilot 16 7 6
Passengers 7
Expand Down Expand Up @@ -92,4 +93,4 @@ SetupPart tail 1000 -64 22 -5 38 13 11
SetupPart blades 1000 -54 37 -61 122 6 122
BulletDetection 8
HasGear False
ModelScale 1
ModelScale 1
7 changes: 4 additions & 3 deletions run/Flan/Modern Weapons Pack/planes/SU25.txt
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,14 @@ ShootPointSecondary 38 28 64 leftWing
ShootPointSecondary 38 28 -64 rightWing

// ------------------------------------------------------ Inventory ------------------------------------------------------
CargoSlots 0
CargoSlots 2
BombSlots 0
MissileSlots 3
AllowAllAmmo False
AddAmmo mk4Rocket
//Fuel Tank Size (1 point of fuel will keep one propeller going with throttle at 1 for 1 tick)
FuelTankSize 6000
FuelTankSize 366000
//IRL 3660L from 4 internal tanks and 2*840L external aux-tanks
// ------------------------------------------------------ Passengers ------------------------------------------------------
Pilot 79 32 0
Passengers 0
Expand Down Expand Up @@ -116,4 +117,4 @@ CollisionPoint 2 42 98 rightWing
CollisionPoint -27 42 154 rightWing
CollisionPoint -153 52 0 tail
CollisionPoint -55 52 0 tail
CollisionPoint -108 109 0 tail
CollisionPoint -108 109 0 tail
5 changes: 3 additions & 2 deletions run/Flan/Modern Weapons Pack/planes/Tiger.txt
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,14 @@ ShootPointPrimary 27 21 -31 leftWing m60
ShootPointSecondary 27 21 31 rightWing

// ------------------------------------------------------ Inventory ------------------------------------------------------
CargoSlots 0
CargoSlots 2
BombSlots 0
MissileSlots 8
AllowAllAmmo False
AddAmmo TRIGAT
//Fuel Tank Size (1 point of fuel will keep one propeller going with throttle at 1 for 1 tick)
FuelTankSize 5000
FuelTankSize 136000
//IRL 1360L; No data about aux-tanks
// ------------------------------------------------------ Passengers ------------------------------------------------------
Pilot 53 15 0
Passengers 1
Expand Down
5 changes: 3 additions & 2 deletions run/Flan/Modern Weapons Pack/planes/Tornado.txt
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,14 @@ ShootPointPrimary 60 3 5 nose m60
ShootPointSecondary -60 16 -58 leftWing
ShootPointSecondary -60 16 58 rightWing
// ------------------------------------------------------ Inventory ------------------------------------------------------
CargoSlots 0
CargoSlots 2
BombSlots 0
MissileSlots 8
AllowAllAmmo False
AddAmmo mk4Rocket
//Fuel Tank Size (1 point of fuel will keep one propeller going with throttle at 1 for 1 tick)
FuelTankSize 6000
FuelTankSize 150000
//Thanks to German Wikipedia, IRL 1500L + 750L in aux-tanks.
// ------------------------------------------------------ Passengers ------------------------------------------------------
Pilot -4 20 0
Passengers 0
Expand Down
3 changes: 2 additions & 1 deletion run/Flan/Modern Weapons Pack/vehicles/Abrams.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ FourWheelDrive true
//Tank mode activate
Tank true
//Fuel Tank Size (1 point of fuel will keep one propeller going with throttle at 1 for 1 tick)
FuelTankSize 2000
FuelTankSize 191000
//Fuel capacity is oficially 504.4 US gallons, or 1909,3617 liters. Assume that jerry can has 1000 fuel points equal to 10 liters. So capacity will be approximately 1910000. As US Army Government in real life, you will also worry about fuel.
//Inventory Slots
CargoSlots 0
ShellSlots 5
Expand Down
Loading