Scrap Mechanic

Scrap Mechanic

Cannons Pack
 This topic has been pinned, so it's probably important
Questionable Mark  [developer] Nov 10, 2020 @ 2:31pm
[USE GUI INSTEAD] Smart Cannon instructions
------------------------------------------Number inputs-----------------------------
1st orange = fire force (min value = 1)
3rd orange = spread (no limits)
4th orange = reload time (no limits)
1st red = explosion level (min value = 1)
2nd red = explosion radius (min value = 1)
3rd red = explosion impulse radius (min value = 1)
4th red = explosion impulse strength (no limits)
1st pink = projectile gravity (no limits)
2nd pink = projectile lifetime (min value = 1)
3rd pink = recoil force (min value = 1)
4th pink = proximity fuse (min value = 1)
4th violet = projectiles per shot (min value = 0, max value = 20)
1st yellow = x offset
2nd yellow = y offset
3rd yellow = z offset
while = projectile type (works only in spud gun mode, min value = 0)
----------------------------------------Logic Inputs----------------------------------
4th yellow = ignore cannon rotation (useful for offsets)
white = spud gun mode (shoots non-explosive projectiles when turned on)
2nd gray = no projectile friction (projectiles won't slow down)
3rd gray = no recoil
Any other color = shoot
---------------------------------------------------------------------------------------
Last edited by Questionable Mark; Jun 3, 2022 @ 11:00am
< >
Showing 1-15 of 59 comments
InsultToInjury Nov 11, 2020 @ 7:30am 
I understand that it would be difficult to explain what they all mean, so I'll just ask- what settings would emulate a tank cannon?
Questionable Mark  [developer] Nov 11, 2020 @ 8:07am 
Originally posted by Commander Shadow:
I understand that it would be difficult to explain what they all mean, so I'll just ask- what settings would emulate a tank cannon?
Basically you would need to set fire force, projectile gravity, explosion level and spread to the desired values. You could also play around with all the settings to get the hang of it.

If you don't really understand what "3rd red" means then you could check the screenshots at the workshop page of the mod.

i'ma try to update that guide a bit later, so it would contain more info about each setting.
Ellomus Nov 18, 2020 @ 9:21am 
How to save settings? When i break number panel, all settings also became deleted.
Last edited by Ellomus; Nov 18, 2020 @ 9:37am
Kototop_CMB Nov 18, 2020 @ 9:31am 
Originally posted by Ellomus:
How to save settings? When i break number panel, all setting also became deleted.
setting working only with signals
Ellomus Nov 18, 2020 @ 9:38am 
Originally posted by Kototop_CMB:
Originally posted by Ellomus:
How to save settings? When i break number panel, all setting also became deleted.
setting working only with signals
Thanks for answer.
ruarip2 Dec 6, 2020 @ 12:32pm 
I made the world i was testing it in die by putting the explosion radius to 100.
Questionable Mark  [developer] Dec 6, 2020 @ 12:49pm 
Originally posted by ruarip2:
I made the world i was testing it in die by putting the explosion radius to 100.
Your fault
InsultToInjury Dec 11, 2020 @ 6:01pm 
Is it just me, or is the recoil setting not working?
Kototop_CMB Dec 11, 2020 @ 10:00pm 
need wery big signal to working
Questionable Mark  [developer] Dec 12, 2020 @ 2:17am 
Originally posted by Commander Shadow:
Is it just me, or is the recoil setting not working?
you gotta set the values really high to feel the recoil
BalistiK Dec 27, 2020 @ 12:55pm 
Maybe i just overlooked this, but how can i make the smart cannon "explode" when it shoots to look like it actually left the barrel with a detonation effect. Just like the premade guns do?

As far as i'm concerned, there seems not to really be an option for that, but rather a workaround. For anyone interested: Add a second smart cannon (best behind the actual one) and set the explosion radius to 0 as well as the lifetime to a very small number. Set the offset of this cannon to the actual cannon that will shoot the projectile and shoot both at the same time. This seems to be a valid workaround.
Last edited by BalistiK; Jan 5, 2021 @ 7:21am
CatLord8 Feb 6, 2021 @ 8:38pm 
Question- How does the proximity function work? Does it only apply to players or can it detect creations too?
Kototop_CMB Feb 6, 2021 @ 8:53pm 
Originally posted by CatLord8:
Question- How does the proximity function work? Does it only apply to players or can it detect creations too?
its working as timer
Questionable Mark  [developer] Feb 6, 2021 @ 11:24pm 
Originally posted by CatLord8:
Question- How does the proximity function work? Does it only apply to players or can it detect creations too?
it applies only to players, detecting creations will torture your cpu
Liam Mar 5, 2021 @ 11:58am 
wish i knew how to use the number logic
< >
Showing 1-15 of 59 comments
Per page: 1530 50