Scrap Mechanic

Scrap Mechanic

Cannons Pack
About ricochet and breaking through armor.
Hello. Could you add some ricochets and breaking through armor? Or does this impossible due to of mechanic of Scrap? I think it is nice idea. Thanks for answering.
Last edited by Hououin Kyouma; 5 May, 2020 @ 1:27am
< >
Showing 1-11 of 11 comments
It would be hard. The cannons have only an HE (explosive) effect. Scrap Mechanic devs didnt add proper shells. Cannons are simply spudguns launching explosive canisters. Btw i am not the mod dev so wait until the devs say anything.
Hououin Kyouma 5 May, 2020 @ 1:45am 
Originally posted by Eaglesoft:
It would be hard. The cannons have only an HE (explosive) effect. Scrap Mechanic devs didnt add proper shells. Cannons are simply spudguns launching explosive canisters. Btw i am not the mod dev so wait until the devs say anything.
Ok. I'll wait. Thanks
Hououin Kyouma 7 May, 2020 @ 6:15am 
Is anyone here?
Questionable Mark  [developer] 14 May, 2020 @ 11:12am 
Originally posted by bojuta:
Hello. Could you add some ricochets and breaking through armor? Or does this impossible due to of mechanic of Scrap? I think it is nice idea. Thanks for answering.
it's hard to implement, especially ricochets, there's no way i could calculate an angle of the block
Hououin Kyouma 14 May, 2020 @ 1:15pm 
Originally posted by Question Mark:
Originally posted by bojuta:
Hello. Could you add some ricochets and breaking through armor? Or does this impossible due to of mechanic of Scrap? I think it is nice idea. Thanks for answering.
it's hard to implement, especially ricochets, there's no way i could calculate an angle of the block
Ok. But what about penetrating? I think it is possible to do.
Cigarette 19 May, 2020 @ 5:52pm 
Originally posted by bojuta:
Hello. Could you add some ricochets and breaking through armor? Or does this impossible due to of mechanic of Scrap? I think it is nice idea. Thanks for answering.
Let me sum this is.
In the basic term: Yes.

It IS possible, but really hard. You need to know scripting inside and out. Even then it would not look the best, as scrapmechanic has its limits on modding.
ruarip2 6 Dec, 2020 @ 12:44pm 
Adding onto the penetration suggestion it would be hard at angles but its possible by making the projectile delete whatever it hits
ruarip2 6 Dec, 2020 @ 12:47pm 
Please take my answer with a grain of salt as i have never made a mod.
igroin_the_cat 8 May, 2023 @ 10:42pm 
Originally posted by Questionable Mark:
Originally posted by bojuta:
Hello. Could you add some ricochets and breaking through armor? Or does this impossible due to of mechanic of Scrap? I think it is nice idea. Thanks for answering.
it's hard to implement, especially ricochets, there's no way i could calculate an angle of the block

Theoretically cant you make your projectile do the raycast and by the ray difference make it determine the angle ?
For example if it sees a flat plain and makes a raycast it can determine the relative angle of the surface and then it can make a determination if it ricochets or not. But if it sees some undeterminable data it just ignores it and goes boom.
Hououin Kyouma 10 May, 2023 @ 11:49am 
Originally posted by igroin_the_cat:
Originally posted by Questionable Mark:
it's hard to implement, especially ricochets, there's no way i could calculate an angle of the block

Theoretically cant you make your projectile do the raycast and by the ray difference make it determine the angle ?
For example if it sees a flat plain and makes a raycast it can determine the relative angle of the surface and then it can make a determination if it ricochets or not. But if it sees some undeterminable data it just ignores it and goes boom.

I've thought about this, but I'm not sure that it can work with polygons. I tried to test it, but due to lack of full docs for SM API (some years ago) I gave up very quickly. Maybe some day I will try again...
igroin_the_cat 10 May, 2023 @ 9:11pm 
Originally posted by Hououin Kyouma:
Originally posted by igroin_the_cat:

Theoretically cant you make your projectile do the raycast and by the ray difference make it determine the angle ?
For example if it sees a flat plain and makes a raycast it can determine the relative angle of the surface and then it can make a determination if it ricochets or not. But if it sees some undeterminable data it just ignores it and goes boom.

I've thought about this, but I'm not sure that it can work with polygons. I tried to test it, but due to lack of full docs for SM API (some years ago) I gave up very quickly. Maybe some day I will try again...

I would sudgest with polygons that it would just break it and scan the block behind it .

It fixes few issues
for example: ricochets still leave a mark on armor in IRL.

so it would use this algorithm every time it can't figure out what is going on. To clarify the data.

And btw check out my other suggestion about a ballistic computer in other discussion.
< >
Showing 1-11 of 11 comments
Per page: 1530 50