#Brick weapon

1 messages · Page 1 of 1 (latest)

obsidian spear
dense lynx
#

Collision trigger component works on grenades?

obsidian spear
#

No, I had to work on it from the other direction. Start with a projectile (underslung grenade), then add all the stuff that makes it a grenade (WeaponComponent > BaseItemAnimationComponent, GrenadeMoveComponent)

dense lynx
#

Holy smokes

obsidian spear
#

It's janky as the brick disappears once it hits a target, but I'm working on ironing that out. Windows can break with damage type set to collision instead of kinetic so I did that too.

dense lynx
#

I guess you could just add a particle that uses a prefab, but yeah

obsidian spear
#

Yeah, could also use a SubmunitionEffect like the flares do.

dense lynx
#

Insane how much effort this needs

obsidian spear
#

It's super flexible if you want to make a very standard weapon, but can be difficult if you want to make something niche.
I suppose generic entities not being able to do kinetic damage easily is the price we pay for not getting killed by the physics engine constantly like Arma 3.

primal coral
#

Could the brick be configured into say... A throwing knife?

obsidian spear
dense lynx
#

The interesting thing to me is that the components sometimes do not behave the way they are supposed to. A collision trigger component should work on collision, but does not work when using a grenade, even though there is collision.

obsidian spear
#

I imagine BI overrode certain things internally to make frag grenades behave a certain way and didn't necessarily think someone would want to make this. Can't be sure though as I can't see anything but function signatures for most built-in classes in the script editor.

dense lynx
#

I can't imagine making a collision trigger component that only works on some collisions

sturdy phoenix
obsidian spear
#

I saw after I uploaded it, sorry mate! It was very janky to get it working, not surprised you struggled as I did!

sturdy phoenix
gusty chasm
#

Now I can throw bricks at people (in arma)

obsidian spear
#

I'm adding Kemi Badenoch NPC. and a despatch box so you can get the range right ready for PMQs

sturdy phoenix
deft epoch
#

This mod is amazing

gusty chasm
sturdy phoenix
#

RP protests gonna be wild

wet timber
#

Can't wait to brick soviets

deft epoch
#

Are these in a box?

wet timber
#

@obsidian spear can the brick be put in an arsenal?

obsidian spear
#

No reason why not. I'll have to test that though

deft epoch
#

Yay

sturdy phoenix
main wind
#

Free tommy or I'l brick your nan

obsidian spear
obsidian spear
#

Bricks now fragment on hit, with particle effects.
I tried to make them reusable, but the engine wasn't having it so I've made them canonically brittle instead.

wet timber
#

Canonically brittle is so funny

primal coral
#

Will you be taking time to make stuff look nicer later on?

obsidian spear
#

When I have time, yeah.

primal coral
#

No heavens no, just curious

#

The tone was intended without malice

obsidian spear
main wind
#

I heard it's the best of bricks to throw at people

gusty chasm
main wind
obsidian spear
obsidian spear
#

Guerilla tactics ✅

main wind
#

This is the most I've laughed playing Arma, possibly ever.