AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Approved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=8)
-   -   [CS1.6|CZ] CSS Flashlight v2.0 [06-22-11] (https://forums.alliedmods.net/showthread.php?t=155336)

schmurgel1983 04-20-2011 14:40

[CS1.6|CZ] CSS Flashlight v2.0 [06-22-11]
 
4 Attachment(s)
CSS Flashlight v2.0


Description:
This plugin add a lightcone. Version 2 has a new cone model,
old model drawn polys ~90, new model ~48, but its smooth and
looks great. New cone model as animations like a player model.

Youtube:
- CSS Flashlight 2.0 new

Plugin Features:
- Supports original game flashlight
- Supports ConnorMcLeod CustomFlashLight (only if flashlight_set show 1)
- Supports Simon Logic Blinding Flashlight v0.2.3SL
- Supports MeRcyLeZZ Zombie Plague Mod 4.3 flashlight (only if zp_flash_show_all 1)

Requirements:
Mods: Counter-Strike 1.6 or Condition Zero
AMXX: Version 1.8.0 or later
Module: engine, fakemeta, hamsandwich


Cvars:
none.

Credits:
.Dare Devil.: lightcone model (not used more)
Hunter-Digital: lightcone base model (with non-animations)
ot_207: for 4096 entity bitsum macro (not used more)
ConnorMcLeod: J'ai toujours été signifié dans le collimateur, positive :D
and all who believe me, thanks.

Other Information:
Code:

/*=====================================
 [Plugin Customization]
=====================================*/

// only for testing :)
//#define TEST_3RD

// supports for zombie plague (need special queries -.-)
//#define ZOMBIE_PLAGUE_MOD

Please post all bugs, feedbacks, suggestions, comments or improvements you may have.
https://forums.alliedmods.net/attach...1&d=1330508806
https://forums.alliedmods.net/attach...7&d=1325471397
v1.0 - v1.1 views 302

bibu 04-20-2011 14:42

Re: [CS|CZ] CSS Flashlight v1.0 [04-20-11]
 
Good job. :)

klatro 04-20-2011 15:11

Re: [CS|CZ] CSS Flashlight v1.0 [04-20-11]
 
Thanks for sharing. As usual good job! ::

georgik57 04-20-2011 15:37

Re: [CS|CZ] CSS Flashlight v1.0 [04-20-11]
 
woah
am going to test it right now
thanks ^^

.Dare Devil. 04-20-2011 17:30

Re: [CS|CZ] CSS Flashlight v1.0 [04-20-11]
 
Very nice plugin.
plugin code seems to very hard to me. But yeah good works.

Hunter-Digital 04-20-2011 18:07

Re: [CS|CZ] CSS Flashlight v1.0 [04-20-11]
 
The model was made by me btw, for Aliens vs Hunters 2 mod, no big deal, it's just a cone... but I spent like an hour trying to adjust it right to the player :)

EDIT: also, about code, don't use fm_* stuff, they're slower because they use more natives, the less communication with modules, the better.

schmurgel1983 04-21-2011 08:49

Re: [CS|CZ] CSS Flashlight v1.0 [04-20-11]
 
Quote:

Originally Posted by Hunter-Digital (Post 1454414)
EDIT: also, about code, don't use fm_* stuff, they're slower because they use more natives, the less communication with modules, the better.

this is New Plugin Submissions i only done the basic stuff.
its not finish, don't have cvars, no optimizations.
i working on 1.1 to optimization and cvars.
but thanks for your improvement :twisted:

.Dare Devil. 04-21-2011 10:04

Re: [CS|CZ] CSS Flashlight v1.0 [04-20-11]
 
Quote:

Originally Posted by Hunter-Digital (Post 1454414)
The model was made by me btw, for Aliens vs Hunters 2 mod, no big deal, it's just a cone... but I spent like an hour trying to adjust it right to the player :)

EDIT: also, about code, don't use fm_* stuff, they're slower because they use more natives, the less communication with modules, the better.

No its not your model lol?
I make this :)
see even texture name is dare-devil

kropto 04-21-2011 13:10

Re: [CS|CZ] CSS Flashlight v1.0 [04-20-11]
 
add screenshot

ConnorMcLeod 04-21-2011 13:19

Re: [CS|CZ] CSS Flashlight v1.0 [04-20-11]
 
Quote:

Originally Posted by kropto (Post 1454876)
add screenshot

"Please" wouldn't hurt there.
If you hardcode charge delay and other delays, you may use default players offsets, dunno if it would suit the plugin but you may have a look.


All times are GMT -4. The time now is 01:31.

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