Raised This Month: $51 Target: $400
 12% 

[CS1.6|CZ] CSS Flashlight v2.0 [06-22-11]


Post New Thread Reply   
 
Thread Tools Display Modes
schmurgel1983
Veteran Member
Join Date: Aug 2006
Location: Germany
Old 04-21-2011 , 13:27   Re: [CS|CZ] CSS Flashlight v1.0 [04-20-11]
Reply With Quote #11

Quote:
Originally Posted by ConnorMcLeod View Post
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.
Is this for me? don't understand my english sucks really.
__________________

Working on:
nothing
schmurgel1983 is offline
Hunter-Digital
Veteran Member
Join Date: Aug 2006
Location: In the Game [ro]
Old 04-21-2011 , 21:44   Re: [CS|CZ] CSS Flashlight v1.0 [04-20-11]
Reply With Quote #12

Quote:
Originally Posted by schmurgel1983 View Post
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
Yes I know, but it would've been faster to use the engine/cstrike functions from the start.

Quote:
Originally Posted by .Dare Devil. View Post
No its not your model lol?
I make this
see even texture name is dare-devil
Oh wow nvm, I opened the model and it's not smooth at all, it's not mine... I only saw it in the video but you can't see much there.

This is mine:
[IMG]http://img585.**************/img585/7557/clipboard01mh.th.jpg[/IMG][IMG]http://img811.**************/img811/9657/clipboard02ea.th.jpg[/IMG]


Mine doesn't have interior texture because I was planning on adding a glow sprite if you're staring directly at it, but forgot about that ideea... you could add it here btw :}
__________________
Hunter-Digital is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 04-22-2011 , 02:02   Re: [CS|CZ] CSS Flashlight v1.0 [04-20-11]
Reply With Quote #13

Quote:
Originally Posted by schmurgel1983 View Post
Is this for me? don't understand my english sucks really.

Yes it WAS for you, but nevermind, you couldn't use them because the game checks for flashlight like this :
Code:
BOOL CBasePlayer :: FlashlightIsOn( void )
{
	return FBitSet(pev->effects, EF_DIMLIGHT);
}
And you just disable that effect if i'm right.

Anyway, i'm sure you could detect flash on/off with another method than CmdStart, like event (you could block message at plugin_init you would still receive the event callback) Flashlight.

With this event, you could support (my lol) plugin and just add the cone, not any light effect.
__________________
- tired and retired -

- my plugins -

Last edited by ConnorMcLeod; 04-22-2011 at 02:08.
ConnorMcLeod is offline
schmurgel1983
Veteran Member
Join Date: Aug 2006
Location: Germany
Old 04-22-2011 , 04:25   Re: [CS|CZ] CSS Flashlight v1.0 [04-20-11]
Reply With Quote #14

thanks, connor.
my first idea was,
Code:
register_message(get_user_msgid("Flashlight"), "message_Flashlight")

public message_Flashlight(msg_id, msg_dest, msg_entity)
{
    static id ; id = msg_entity
    
    g_bFlashlight[id] = get_msg_arg_int(1)
    
    if (g_bFlashlight[id])
    {
        // code
    }
}
but i use cmd_start. maybe not the best detection.
i take a look on hlsdk flashlight code.

EDIT: wow your flashlight plug is pretty cool
__________________

Working on:
nothing

Last edited by schmurgel1983; 04-22-2011 at 05:59.
schmurgel1983 is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 04-22-2011 , 11:18   Re: [CS|CZ] CSS Flashlight v1.0 [04-20-11]
Reply With Quote #15

If you only use the event, and if you don't try to reproduce the flashlight effect on walls, then your plugin could support default flashlight and my custom flashlight plugin.
That is just a suggestion and it won't affect approval.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
schmurgel1983
Veteran Member
Join Date: Aug 2006
Location: Germany
Old 04-22-2011 , 14:01   Re: [CS|CZ] CSS Flashlight v1.0 [04-20-11]
Reply With Quote #16

I stop working on this plugin.
get a headache from the shit.
can throw in the garbage.
sorry for lose your time .Dare Devil.

i only copy / paste connor fl plug, add cone & zp support. but don't want create a new one...
__________________

Working on:
nothing

Last edited by schmurgel1983; 04-22-2011 at 14:04.
schmurgel1983 is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 04-22-2011 , 14:15   Re: [CS|CZ] CSS Flashlight v1.0 [04-20-11]
Reply With Quote #17

Quote:
Originally Posted by schmurgel1983 View Post
I stop working on this plugin.
What a bad idea.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
bibu
Veteran Member
Join Date: Sep 2010
Old 04-22-2011 , 15:33   Re: [CS|CZ] CSS Flashlight v1.0 [04-20-11]
Reply With Quote #18

Quote:
Originally Posted by ConnorMcLeod View Post
What a bad idea.
Agree.
bibu is offline
georgik57
Veteran Member
Join Date: Oct 2008
Location: 🎧Music World
Old 04-22-2011 , 17:54   Re: [CS|CZ] CSS Flashlight v1.0 [04-20-11]
Reply With Quote #19

please support it schmurgel
it's a really good idea
__________________
georgik57 is online now
Send a message via MSN to georgik57 Send a message via Yahoo to georgik57 Send a message via Skype™ to georgik57
schmurgel1983
Veteran Member
Join Date: Aug 2006
Location: Germany
Old 04-23-2011 , 07:29   Re: [CS|CZ] CSS Flashlight v1.1 [04-23-11]
Reply With Quote #20

-.-"

Plugin Features:
- Supports original game flashlight
- Supports ConnorMcLeod CustomFlashLight (only if flashlight_set show 1)
- Supports MeRcyLeZZ Zombie Plague Mod 4.3 flashlight (only if zp_flash_show_all 1)

EDIT: all optimizations improvement are welcome!
__________________

Working on:
nothing

Last edited by schmurgel1983; 04-23-2011 at 07:31.
schmurgel1983 is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 02:41.


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