Cob and emit-sfx 2048 glow ball issue
Moderator: Moderators
- bobthedinosaur
- Blood & Steel Developer
- Posts: 2702
- Joined: 25 Aug 2004, 13:31
Cob and emit-sfx 2048 glow ball issue
Weaponfire via emit-sfx 2048+weapon_to_fire creates a little ball of ugliness every time it is used. Is there any way around this?
If this is a default engine thing then can this be moved to feature request to fix it.
If this is a default engine thing then can this be moved to feature request to fix it.
Re: Cob and emit-sfx 2048 glow ball issue
couldn't you try to emit it with a CEG instead of engine one?
- bobthedinosaur
- Blood & Steel Developer
- Posts: 2702
- Joined: 25 Aug 2004, 13:31
Re: Cob and emit-sfx 2048 glow ball issue
it has a ceg. when you use an emit-sfx 2048 it doesn't matter what you have for a ceg, it will make a glowy ball.
Re: Cob and emit-sfx 2048 glow ball issue
Is the weapon a beamlaser? :/
- bobthedinosaur
- Blood & Steel Developer
- Posts: 2702
- Joined: 25 Aug 2004, 13:31
Re: Cob and emit-sfx 2048 glow ball issue
no it is not a beam laser. one is an explosion weapon and one is an impulse weapon, and both no matter what i change the cegs to, invisible or super special fx, the cob emit-sfx 2048 creates a stupid glowy blob. if you dont believe me i can post many many many screen shots...
Re: Cob and emit-sfx 2048 glow ball issue
"explosion weapon", "impulse weapon"?
- bobthedinosaur
- Blood & Steel Developer
- Posts: 2702
- Joined: 25 Aug 2004, 13:31
Re: Cob and emit-sfx 2048 glow ball issue
explosion weapon, is just an explosion with a ceg. impulse is pretty much the same but with no ceg and impulse. but you can try pretty much anythings for a weapon and get the glow effect.
Re: Cob and emit-sfx 2048 glow ball issue
could you post a screenshot? so i could try to make a ceg
Re: Cob and emit-sfx 2048 glow ball issue
Did you test the same weapons assigned to units in the normal way to make double sure it is emitting which is causing the problem?
- bobthedinosaur
- Blood & Steel Developer
- Posts: 2702
- Joined: 25 Aug 2004, 13:31
Re: Cob and emit-sfx 2048 glow ball issue
EDIT: I was mistake again. You can fire any weapon with this!
And some weapons that use projectiles.... don't cause the glowy thing to happen. Weapons that do are non projectile weapons??
But all non projectile weapons can be fired using this, but the side effect is these glowy things:

So this kind of weapon will cause it
But this kind will not:

But all non projectile weapons can be fired using this, but the side effect is these glowy things:
So this kind of weapon will cause it
Code: Select all
Push = {
name = [[Push]],
areaofeffect = 80,
edgeeffectiveness = 1,
collidefriendly = 1,
avoidfriendly = 0,
tolerance = 64000,
impulsefactor = 10,
impulseBoost = 1,
craterMult = 0,
craterBoost = 0,
explosionGenerator = [[custom:nothing]],
interceptedbyshieldtype = 0,
damage = {
default = 0,
inf = 1,
sentry = 1,
barrel = 1,
crate = 1,
},
},
But this kind will not:
Code: Select all
mbtmg = {
id = 101, --med supression
avoidFriendly = false,
burst = 3,
burstrate = .1,
collideFriendly = false,
craterBoost = 0,
craterMult = 0,
duration = .03,
explosionGenerator = [[custom:kaplosion]],
impactonly = 1,
impulseBoost = 0,
impulseFactor = 0,
name = [[Machine Gun]],
range = 500, -- 800
reloadtime = 2,
rgbColor = [[1 .5 .2]],
soundStart = [[gunfire]],
soundhit = [[shothit]],
sprayAngle = 900,
thickness = 0.6,
tolerance = 100,
turret = true,
weaponType = [[LaserCannon]],
weaponVelocity = 1000,
interceptedByShieldType = 1,
damage = {
default = 100,
defense = 10,
armor = 5,
base = 0,
},
},
- Attachments
-
- badglowy.jpg
- (82.04 KiB) Downloaded 3 times
Re: Cob and emit-sfx 2048 glow ball issue
maybe try a -1 on that weapon id? perhaps it starts at 0? I forget.
- bobthedinosaur
- Blood & Steel Developer
- Posts: 2702
- Joined: 25 Aug 2004, 13:31
Re: Cob and emit-sfx 2048 glow ball issue
no changing the weapon id doesn't help.
I can't win. I can hide the ugly effect by using a laserweapon, but then it never hits the units to push them out of the way, or I can stick with ugly glow ball tank...
I can't win. I can hide the ugly effect by using a laserweapon, but then it never hits the units to push them out of the way, or I can stick with ugly glow ball tank...
Last edited by bobthedinosaur on 01 Jan 2011, 08:49, edited 1 time in total.
Re: Cob and emit-sfx 2048 glow ball issue
Those are cannon projectiles. Note how they slowly fall to the ground and then explode. If you only wanted the explosion use emit-sfx 4096, 2048 will spawn the projectile.
- bobthedinosaur
- Blood & Steel Developer
- Posts: 2702
- Joined: 25 Aug 2004, 13:31
Re: Cob and emit-sfx 2048 glow ball issue
hmmm I will try that. TY KDR
edit: you are awesome! my cob documentation does not have those one there but that is exactly what I wanted and explains the strange glowy thing. I assumed it was a bug left over from developing the weapon fire from emit-sfx, but that makes sense now.
KDR to the rescue!
edit: you are awesome! my cob documentation does not have those one there but that is exactly what I wanted and explains the strange glowy thing. I assumed it was a bug left over from developing the weapon fire from emit-sfx, but that makes sense now.
KDR to the rescue!
- Forboding Angel
- Evolution RTS Developer
- Posts: 14673
- Joined: 17 Nov 2005, 02:43
Re: Cob and emit-sfx 2048 glow ball issue
You cannot properly emitsfx ballistic projectiles (except missiles and vlaunch weapons).
Re: Cob and emit-sfx 2048 glow ball issue
Wasn't that fixed?
- bobthedinosaur
- Blood & Steel Developer
- Posts: 2702
- Joined: 25 Aug 2004, 13:31
Re: Cob and emit-sfx 2048 glow ball issue
I dont know about ballistics but i just did emit weapons that were nto missiles. infact that what i was doing when i was trying to do something else. I was emiting lasers and particle weapons.
- Forboding Angel
- Evolution RTS Developer
- Posts: 14673
- Joined: 17 Nov 2005, 02:43
Re: Cob and emit-sfx 2048 glow ball issue
./SLAPbobthedinosaur wrote:I dont know about ballistics but i just did emit weapons that were nto missiles. infact that what i was doing when i was trying to do something else. I was emiting lasers and particle weapons.
And no kdr, it was never fixed, despite my whining and bitching about it for years now.
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.
Re: Cob and emit-sfx 2048 glow ball issue
Have you tried it? I could swear I fixed it.
- Forboding Angel
- Evolution RTS Developer
- Posts: 14673
- Joined: 17 Nov 2005, 02:43
Re: Cob and emit-sfx 2048 glow ball issue
Sure, I'll give it another go. It didn't work last spring version, and 6 was a minor release so I didn't figure that it had been touched.