Laser and shit

so I should just put the green laser already basically, they would work?

There is additional weapon code for entities.blk to add flash effect.

  "gun_flash_fx__template:shared:list<t>"{
    item:t="event_foolmoon_blaster_muzzle_effect"
  }

ok so
I shot with the gun, the sound was still gun-like but I saw a flash of blue, the real problem might be that I lag so much that I don’t se the laser

Well… There only railgun laser that looks like laser. And yeah… There also bug that railgun laser can ricochet from objects as result disappears. It probably appears after adding/changing the ricochet mechanic.

I’m trying it with less laggy hardware, I’ll let you know

for some reason I only see the railgun trace seldomly while I shoot

It’s visual bug :slightly_frowning_face:

Currently time I looking how to make blaster laser longer, but not sure that I can to do it. Probably there is also some ways how to remove projectile ricochet.

I’m checking if the problem was the same with the blaster rounds

the blaster rounds work better

sorry if I keep asking, it’s not even related, but how do you make a night map?

You can do it editing level entity. And changing level__timeVec properties. Need to write there time. You can click on - to remove or click on + to add (real) lines. After restart level should be with night.

thx
also, last question, can you also remove spent cases?

I edited it and it fucking crashed lol

Yes. It’s possible to remove cases. For that you can set 0.0 in gun_shell_ejection__expireTime property.

O.o

What you did?



If you got crash after coding then make sure that you closed all entity/properties bodies with { or }.