Scrap Mechanic

Scrap Mechanic

115 ratings
Cannons Pack Realistic
6
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
801.501 KB
Oct 26, 2023 @ 6:19am
May 13 @ 4:37am
34 Change Notes ( view )

Subscribe to download
Cannons Pack Realistic

Description
Cannons Pack Realistic.



Videos in Russian about this mod:(u can use subtitles)

https://youtu.be/3U-BDA4Cpbo
https://youtu.be/h25sNP1Jy_A



Developers:
Scripts:
Heterty(Ricochets, Penetrations, Shrapnels, all other additions)
Questionable Mark(Base for mod, original CP dev.)

Other:
Driver(Polish localisation)

3d models of shrapnels was taken from the Machine Gun Pack(MGP).



Info:
Min. projectile force to ricochet - 50 m/s(don't forget about shell’s speed loss)

Value parameters:
"Ricochet Chance 0.0 - 1.0"
Chance of a ricochet, 0 - impossible, 1 - always
"Ricochet Angle 0.0 - 90.0 (deg)"
Angle for ricochet, 0 - no ricochet, 89.9 - in almost any situation, and 10, for example, only at a strong tilt

"Normalization 0.0 - 30.0 (deg)"
Turn towards the armor in degrees
"Max. Penetration (blocks)"
Maximum penetration in blocks
"Explosion Power (Modern sys.)"
When turning on the armor penetration loss with a distance, this value is multiplied by the distance traveled from 0 to 1. When turning on the armor penetration loss with an angle, the strength level of the block increases depending on how large the angle is. Eventually, the strength of the block decreases from this value. And then, when calculating whether there will be a breakthrough or not, the formula current value / starting value * explosion level is used. Example: Falling with distance and angle is disabled. Value = 10. Explosion Level = 5. When the tree block is broken, the value will become 7. The Explosion Level will become 7 / 10 * 5 = 3.5
"Ignore less than (x) qual. lvl."
When hitting a quality level below and including the value, the penetration will not decrease and a ricochet will not occur.

"Expl.Lvl. Lose Dist. Start (m)"
Start of the distance from which the explosion power decreases
"Expl.Lvl. Lose Dist. End (m)"
The end of the distance from which the explosion power decreases
"Expl.Lvl. Lose Angle Value"
A value that controls how much the angle will affect the power of the explosion

"F. Explosion level"
The level of an explosion after shell despawns
"F. Explosion radius"
The radius of an explosion after shell despawns

"Shrapnel Type"
Shrapnel Type F. - Shrapnels that are created after the final explosion W. - Shrapnels that are created after each obstacle Parameters used for both types: Shrapnels Count: Number of shrapnels Shrapnel Speed: Shrapnel speed Shrapnel Damage: Damage of one shrapnel Shrapnel Spread: Shrapnel spread cone
"F. Shrapnels Count"
"F. Shrapnel Speed (m/s)"
"F. Shrapnel Damage (hp)"
"F. Shrapnels Spread (deg)"
"W. Shrapnels Count"
"W. Shrapnel Speed (m/s)"
"W. Shrapnel Damage (hp)"
"W. Shrapnels Spread (deg)"

Logic parameters:
"Lose Power With Distance"
Loss of explosive power with distance
"Lose Power With Angle"
Explosion power loss with angle

"(F)Shrapnels On Despawn"
The fragments that spawn at the very end
"(W)Shrapnels On Penetration"
Shards after each broken block

"Always explode on ground-hit"
Always explode when hitting the ground. No ricochet.

"Modern system of Expl.Lvl."
Modern armor penetration and power loss system



Questions about mod - coms, or Discord: https://discord.gg/Wu8nNcp9fm
101 Comments
Fox_Reich Jun 20 @ 1:48pm 
The mod is great, but there is not enough signal from the gun itself that it is loaded, that is, so that the gun would emit a signal 0-1, 0 - not loaded, 1 - loaded, so that it could be connected, for example, to a lamp and it would glow when the gun is loaded
Kebapich May 18 @ 2:18am 
почему когда я лечу на самолете и стреляю из пушки один снаряд ИЗ пушки поподает либо в самик либо в пушку взрывая их?
Energizer May 4 @ 4:12am 
Почему снаряд при любом уровне пробития перестаёт взрываться и застревает в воздухе после пробития 1 блока?
ben ekonomistim Apr 16 @ 2:08am 
i wanna ask 2 questions. 1) how to disable the text when i open the world 2) is there a way that penetration is 3+ blocks when i shoot lvl1 concrete but if there is a lvl2 concrete penetration drops to 2 blocks or smt like that?
janex2000 Apr 5 @ 8:55am 
I am trying to make an HEAT cannon. However, the shrapnel doesnt penetrate the armor and it comes back damaging my tank. How do I properly configure the cannon?
the biggest monke Mar 23 @ 7:52am 
Where is the HEAT mode?
CaptainFlo Mar 22 @ 6:31am 
Why does it happen that after 1 shot the realistic small smart cannon just stops shooting? I dont know if it has just happened to me or someone else too.
Kop4eny Mar 21 @ 2:13pm 
А можете снять видос с настройками ? (что за что отвечает и полний розбор всех настроек) и как зделать тот или иной тип снаряда . Просто большая часть людей по видео будет проще воспринять информацию
Heterty  [author] Mar 20 @ 8:20am 
i can do it later, maybe in 2-3 weeks
Mr.Mat711 Mar 19 @ 9:25pm 
Having the proximity fuse cause shrapnel would be cool. You could make a good flak cannon with it.