
shot A is the emited shot.
When the mech is moving, shot A will explode on the mech if it is fired in front of the ms
the weapon def
When stationary it fires fine.
Any idea what I can do to prevent the shot from exploding on the mech?
Moderator: Moderators
Pretty sure you can use Query or Shot to move between points?smoth wrote:Burst only fires out of 1 emit point.
Check out the Scalpel (nsaclash) hover in Zero-K, fires 2 rockets simultaneously from different points using 1 weapon and projectiles=2smoth wrote:Nope. I tried before with the rx79 plus.
unless something has changed.
works by returning different emit points in QueryWeapon()smoth wrote:Burst only fires out of 1 emit point.
Long story short, you can't emit cannon shots. Just give it another weapon and slave to 1. That will achieve the desired behavior. I agree though, I prefer to emit weapons when I can just for efficiency's sake, but with a cannon projectile you cannot to it. The projectile will explode usually the moment it is emitted (A lot of this has to do with the fact that the emitted cannon projectile gains no velocity and just falls to the ground usually (if it didn't explode outright).Cannon (anything that didn't trigger another weapon)
Aka plasma. Shoots a ballistic projectile. Unlike the DGun it aims properly. Can't be emit-sfxed properly, maybe a ballistic DGun can fill that role.
No other weapon can get high trajectory. Dealwithit.jpg.Forboding Angel wrote:1. That will achieve the desired behavior. I agree though, I prefer to emit weapons when I can just for efficiency's sake, but with a cannon projectile you cannot to it.
You didn't read the thread. it emits fine. It doesn't fall to the ground etc.Forboding Angel wrote:The projectile will explode usually the moment it is emitted
maybe your weapon def was incorrect.Forboding Angel wrote:(A lot of this has to do with the fact that the emitted cannon projectile gains no velocity and just falls to the ground usually (if it didn't explode outright).
That's outdated information. You can emit cannon shots these days.Forboding Angel wrote:Long story short, you can't emit cannon shots.Cannon (anything that didn't trigger another weapon)
Aka plasma. Shoots a ballistic projectile. Unlike the DGun it aims properly. Can't be emit-sfxed properly, maybe a ballistic DGun can fill that role.
tl;drsmoth wrote:I tried the code and it doesn't like fireweapon it seems to require the function shot instead.
any idea on this?