AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   default cs flashlight fix (https://forums.alliedmods.net/showthread.php?t=156983)

georgik57 05-14-2011 16:41

default cs flashlight fix
 
the default cs flashlight has a bug
when you aim at an entity (like a player model) it doesn't light up...it goes through that entity
how can this be fixed?

SonicSonedit 05-15-2011 05:12

Re: default cs flashlight fix
 
georgik57
...And that's why custom flashlight was created. Can not be fixed.
It's pure client-side, btw. You can even turn on default flashlight on client without server knowing.

georgik57 05-15-2011 05:28

Re: default cs flashlight fix
 
Quote:

Originally Posted by SonicSonedit (Post 1469654)
georgik57
...And that's why custom flashlight was created. Can not be fixed.
It's pure client-side, btw. You can even turn on default flashlight on client without server knowing.

can you please help me by making an exact same custom flashlight like the one in the game but with the entity fix?
if it's not hard for you...

SonicSonedit 05-15-2011 11:08

Re: default cs flashlight fix
 
georgik57
Just use ZP's flashlight, it lights up entities (players) just fine.

bibu 05-15-2011 11:43

Re: default cs flashlight fix
 
Quote:

bibu:
The plugin from Connor is better I think.

georgik57 05-15-2011 12:00

Re: default cs flashlight fix
 
Quote:

Originally Posted by SonicSonedit (Post 1469867)
georgik57
Just use ZP's flashlight, it lights up entities (players) just fine.

causes low fps and lagg
please can you guys come up with a simple flashlight that is the exact same as the default one only it's fixed?

bibu 05-15-2011 12:02

Re: default cs flashlight fix
 
Look to the plugin of Connor and use as rgb color 255255255.

jc980 05-16-2011 02:41

Re: default cs flashlight fix
 
Quote:

Originally Posted by georgik57 (Post 1469907)
causes low fps and lagg
please can you guys come up with a simple flashlight that is the exact same as the default one only it's fixed?

true. no wonder i got 20 fps every time i play ZP in my CS. with bots.

.Dare Devil. 05-16-2011 05:48

Re: default cs flashlight fix
 
Yeah, Bots using your fps too : )

but that hud message where is ammo packs, healts and class this lag too.
But a flashlight i think he not lag he is just slow.

-- somewhere zombieplague40.sma --

Flashlight message
write_byte(3) // life

3 is too slow but when i change this 1 then my flashlight flashes, like flare nade light when i change he message write_byte(1) // life too :)

jc980 05-16-2011 08:40

Re: default cs flashlight fix
 
Quote:

Originally Posted by .Dare Devil. (Post 1470343)
Yeah, Bots using your fps too : )

but that hud message where is ammo packs, healts and class this lag too.
But a flashlight i think he not lag he is just slow.

-- somewhere zombieplague40.sma --

Flashlight message
write_byte(3) // life

3 is too slow but when i change this 1 then my flashlight flashes, like flare nade light when i change he message write_byte(1) // life too :)

yeah, when i disable custom flashlight it goes back to 30 fps. lol.


All times are GMT -4. The time now is 04:29.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.