From: FruitieX Date: Tue, 27 Jul 2010 11:35:03 +0000 (+0300) Subject: Merge remote branch 'origin/master' into fruitiex/fruitbalance X-Git-Tag: xonotic-v0.1.0preview~403 X-Git-Url: http://git.xonotic.org/?a=commitdiff_plain;h=2d81a316380b30b764014ac55e8b7db1b44b98f5;p=xonotic%2Fxonotic-data.pk3dir.git Merge remote branch 'origin/master' into fruitiex/fruitbalance --- 2d81a316380b30b764014ac55e8b7db1b44b98f5 diff --cc effectinfo.txt index a55f7870f,dddf34c88..4116ae438 --- a/effectinfo.txt +++ b/effectinfo.txt @@@ -4976,55 -4976,27 +4976,65 @@@ velocityjitter 156 156 15 // used in qcsrc/server/w_electro.qc: pointparticles(particleeffectnum("electro_muzzleflash"), w_shotorg, w_shotdir * 1000, 1) // used in qcsrc/server/w_electro.qc: pointparticles(particleeffectnum("electro_muzzleflash"), w_shotorg, w_shotdir * 1000, 1) effect electro_lightning + countabsolute 1 + type decal + tex 59 59 + size 16 16 + alpha 256 256 0 + originjitter 2 2 2 + lightradius 50 + lightradiusfade 200 + lightcolor 3.125 4.375 10 + effect electro_lightning count 300 type spark -color 0x283880 0x283880 // 0x202020 0x404040 +color 0x501860 0x501860 // 0x202020 0x404040 +tex 65 65 +size 6 6 +alpha 100 206 1724 +originjitter 1.5 1.5 1.5 +velocityjitter 6 6 6 +sizeincrease 10 +velocitymultiplier 2000 +effect electro_lightning +count 30 +type spark +tex 8 15 +color 0xDDFDFF 0xFDFDFF +size 2 5 +alpha 110 170 1500 +originjitter 1 1 1 +velocityjitter 150 150 150 +velocitymultiplier 0.5 +airfriction 2 +stretchfactor 1.5 +effect electro_lightning +count 50 +type spark +tex 41 41 +color 0xFDFDFF 0xF9FDFF +size 2 3 +alpha 110 170 1500 +originjitter 1 1 1 +velocityjitter 350 350 350 +velocitymultiplier 2.5 +airfriction 8 +gravity 1.3 +stretchfactor 0.1 + +// used in qcsrc/server/w_gauntlet.qc: pointparticles(particleeffectnum("electro_muzzleflash"), w_shotorg, w_shotdir * 1000, 1) +effect gauntlet_lightning +count 300 +type spark +color 0x280000 0x280000 // 0x202020 0x404040 tex 65 65 - size 5 5 + size 3 3 alpha 256 256 1024 originjitter 1.5 1.5 1.5 velocityjitter 6 6 6 - sizeincrease 20 + sizeincrease 15 velocitymultiplier 2000 -effect electro_lightning +effect gauntlet_lightning count 30 type spark tex 8 15 diff --cc qcsrc/client/hook.qc index 513c79263,e53cd0026..2fe9a86dd --- a/qcsrc/client/hook.qc +++ b/qcsrc/client/hook.qc @@@ -176,10 -182,9 +182,10 @@@ void Draw_GrapplingHook( case ENT_CLIENT_HOOK: break; case ENT_CLIENT_LGBEAM: - pointparticles(particleeffectnum("electro_lightning"), b, normalize(a - b), frametime); + pointparticles(particleeffectnum("electro_lightning"), trace_endpos, normalize(atrans - trace_endpos), frametime); break; case ENT_CLIENT_GAUNTLET: + pointparticles(particleeffectnum("gauntlet_lightning"), b, normalize(a - b), frametime); break; } }