#Explosive minigun mod

1 messages · Page 1 of 1 (latest)

somber hearth
somber hearth
#

How can you detect if someone presses left mouse button?

azure ridge
#

you can use the apis input system

somber hearth
azure ridge
somber hearth
#

yeah

#

but i have no idea how to make the bullet move yet

#

rightt now i'm just making everything around that

azure ridge
#

ill experiment with this idea later today

somber hearth
azure ridge
#

ouch looks like its only keyboard inputs

weary plume
#

Would still work fine

azure ridge
weary plume
#

30mm go thump thump thump thump

somber hearth
#

Might try it on the testing branch of old combat mod

azure ridge
#

at least for me the bulk of the crashes seemed to come from my complex ass plane blowing up the wrong way that the physics dont like or putting too big of an explosion.
mind this was using the slow update version

somber hearth
#

how do you use raycast?
i have something like this and it does not work

local ray = tm.physics.RaycastData(pos, rot, 1200, false)
if ray.DidHit() == true then
....
end

azure ridge
#

might be benifical to ask in #1140936220487192587

somber hearth
#

i have something that works but right now it's just hitscan, i'm probably gonna do some more ui things and then try making it shoot actual bullets

unborn ermine
#

there are no bullet prefabs anymore so youll have to make your own bullets

somber hearth
somber hearth
#

Right now i've finished everything besides the bullets so it's more of a explosive railgun

somber hearth
#

i'm having problems with people joining while the mod is on, the server just crashes

somber hearth
somber hearth
somber hearth
#

Bullets are now a thing

#

i just have to fix crashing when people join and the bullets still being there after they hit

#

then a first version of the mod is pretty much done

somber heart
#

very realistic bullets

#

this actually looks like it would be so fun to use ingame

somber hearth
somber hearth
#

i updated the mod, now it has configurable bullet speed, fire rate and explosion size. i also fixed the ui flickering

somber hearth
#

now the square horn secondary color needs to be black for the mod to detect it

somber hearth
somber hearth
#

Updated the mod, now the bullets are visible at any range

#

There is right now a bug that breaks the mod when someone is in build mode and someone shoots

warm knot
#

Do you plan to continue deving of this mod, as they are adding high fire rate explosive weaponry next update? (ik the HEVT effect hinders it from making this mod completely obsolete, due to this one being better for representing stuff like autocannons, but it might)

somber hearth
#

Right now I'm thinking about updating the bullet visuals, idk if i will, but it is an idea i have

warm knot
#

K, nice

#

Btw, could you add smt like a delay so we can stagger the guns?

#

Might be useful for multigunned structures, like AA turrets etc

somber hearth
stray pollen
#

but im curious how do we make mods?

somber hearth
somber hearth
warm knot
#

How hard would it be to have custom keybinds?
I am just gonna go ahead and assume it is hard as hardly any mod has it.

somber hearth
warm knot
#

fair