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

Darthmaul Saber


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Fun Stuff       
[]D [] []v[] []D
Member
Join Date: Jul 2005
Old 08-03-2005 , 03:13   Darthmaul Saber
Reply With Quote #1

credit goes to dontask-jello for making the chucky knife model

if your tired of the regular counter strike knife

you can get this plugin and have a light saber

cvars
dmk_on <on/off>

i tested it with cs and cs:cz it works fine

here is a little what it looks like

Attached Files
File Type: rar darthmaul_knife.rar (36.8 KB, 825 views)
File Type: sma Get Plugin or Get Source (dmk.sma - 1881 views - 604 Bytes)
[]D [] []v[] []D is offline
Send a message via ICQ to []D [] []v[] []D
Tupac
Junior Member
Join Date: May 2005
Location: h00d
Old 08-03-2005 , 03:55  
Reply With Quote #2

that's funny looks lik sumthing barry helped me
out with to get the sabers working on the 776 LINE
starwars gig plugin...

Thou emiting sound as well???

The plugin does have sabers but theres more to it.

Just i havn'tfound the problem of my plugin
so dunt think i been strealing ideas ok...

Here is what i did thou the 776 line plugin is crashing and i
think the emit sound is the prob this is what i have for emit sound...
i think its the prob coz i cut everything else out changed map
plugin didn;t work!


and yes i dunt rmemer the includes frit hsi as i have 5 for the big
starwars one :S


Code:
public plugin_init() {            register_clcmd("array_go","check_uncheck")         register_forward( FM_EmitSound, "EmitSound" ) } public plugin_precache() {     precache_sound("sound/weapons/saber_ignite.wav")     precache_sound("sound/weapons/saber_hit1.wav")     precache_sound("sound/weapons/saber_hit2.wav")     precache_sound("sound/weapons/saber_hit3.wav")     precache_sound("sound/weapons/saber_hit4.wav")     precache_sound("sound/weapons/saber_hitwall1.wav")     precache_sound("sound/weapons/saber_slash1.wav")     precache_sound("sound/weapons/saber_slash2.wav")     precache_sound("sound/weapons/saber_stab.wav") } public check_uncheck(id) { if ( array_go[id] !=0 ) { array_go[id] = 0 return PLUGIN_HANDLED } else { array_go[id] = 1 } return PLUGIN_HANDLED } public EmitSound(entity, channel, const sound[]) {       if( entity > 32 || entity < 1 ) return FMRES_IGNORED;         if( array_go[entity] !=0 ) { if( containi( sound, "sound/weapons/knife_deploy1.wav" ) != -1 ) { emit_sound( entity, channel, "sound/weapons/saber_ignite.wav", 1.0, ATTN_NORM, 0, PITCH_NORM ); return FMRES_SUPERCEDE; }             if( containi( sound, "sound/weapons/knife_hit1.wav" ) != -1 ) { emit_sound( entity, channel, "sound/weapons/saber_hit1.wav", 1.0, ATTN_NORM, 0, PITCH_NORM ); return FMRES_SUPERCEDE; }   if( containi( sound, "sound/weapons/knife_hit2.wav" ) != -1 ) { emit_sound( entity, channel, "sound/weapons/saber_hit2.wav", 1.0, ATTN_NORM, 0, PITCH_NORM ); return FMRES_SUPERCEDE; } if( containi( sound, "sound/weapons/knife_hit3.wav" ) != -1 ) { emit_sound( entity, channel, "sound/weapons/saber_hit3.wav", 1.0, ATTN_NORM, 0, PITCH_NORM ); return FMRES_SUPERCEDE; } if( containi( sound, "sound/weapons/knife_hit4.wav" ) != -1 ) { emit_sound( entity, channel, "sound/weapons/saber_hit4.wav", 1.0, ATTN_NORM, 0, PITCH_NORM ); return FMRES_SUPERCEDE; } if( containi( sound, "sound/weapons/knife_hitwall1.wav" ) != -1 ) { emit_sound( entity, channel, "sound/weapons/saber_hitwall1.wav", 1.0, ATTN_NORM, 0, PITCH_NORM ); return FMRES_SUPERCEDE; } if( containi( sound, "sound/weapons/knife_slash1.wav" ) != -1 ) { emit_sound( entity, channel, "sound/weapons/saber_slash1.wav", 1.0, ATTN_NORM, 0, PITCH_NORM ); return FMRES_SUPERCEDE; } if( containi( sound, "sound/weapons/knife_slash2.wav" ) != -1 ) { emit_sound( entity, channel, "sound/weapons/saber_slash2.wav", 1.0, ATTN_NORM, 0, PITCH_NORM ); return FMRES_SUPERCEDE; } if( containi( sound, "sound/weapons/knife_stab.wav" ) != -1 ) { emit_sound( entity, channel, "sound/weapons/saber_stab.wav", 1.0, ATTN_NORM, 0, PITCH_NORM ); return FMRES_SUPERCEDE; } }       return FMRES_IGNORED; }

omg i think i just found my problem!

Theres another plugin similar that uses emit sound BRB
__________________
Tupac is offline
Tupac
Junior Member
Join Date: May 2005
Location: h00d
Old 08-03-2005 , 04:19  
Reply With Quote #3

bahahha ound it i overlooked a problem i had coz lik
eva since the banning from the forums i ditched it
then hitched it stopped the starwars plugin but since
i have a starwars servers i thought i might had a few sizzle.
__________________
Tupac is offline
lanvo
Member
Join Date: Jul 2005
Old 08-03-2005 , 04:34   Re: Darthmaul Saber
Reply With Quote #4

Quote:
Originally Posted by [
D [] []v[] []D]if your tired of the regular counter strike knife

you can get this plugin and have a light saber

i tested it with cs and cs:cz it works fine

here is a little what it looks like

whoa! pretty cool plugins bro!!! thanks...
__________________
check out my own custom map that i made surf_in-house for CS 1.6
lanvo is offline
Tupac
Junior Member
Join Date: May 2005
Location: h00d
Old 08-03-2005 , 04:43  
Reply With Quote #5

i'll just reopen the topic with emit sound
and try to get it going now.

p.s. u aprroached the model change differ...i'll show
u what i have had

Code:
public set_models(id) {        new temp[2], weapon = get_user_weapon(id, temp[0], temp[1])     switch(weapon)     {         case CSW_KNIFE:         {             if(cs_get_user_team(id) == CS_TEAM_CT){                 entity_set_string(id,EV_SZ_viewmodel,"models/v_bluesaber")                 entity_set_string(id,EV_SZ_weaponmodel,"models/p_bluesaber")             }             else if(cs_get_user_team(id) == CS_TEAM_T) {                 entity_set_string(id,EV_SZ_viewmodel,"models/v_dualsaber")                 entity_set_string(id,EV_SZ_weaponmodel,"models/p_dualsaber")             }         }     } }

only problemo is if your a ct and u see a t u see the single
sabor vise versa but still! i think u've approached it very well
would u mind if i changed my coding to mix with yours?

if thats ok with u.
__________________
Tupac is offline
Tupac
Junior Member
Join Date: May 2005
Location: h00d
Old 08-03-2005 , 05:28  
Reply With Quote #6

Edit.
__________________
Tupac is offline
Tupla
Junior Member
Join Date: Aug 2005
Old 08-03-2005 , 05:33  
Reply With Quote #7

This is like darthmaul in superhero mod ?

I like it, but can u add like

darthmaul_maxdmg
darthmaul_speed

and then

amx_darthmaul <Name/all> <on/off>


sry bad english..
Tupla is offline
Tupac
Junior Member
Join Date: May 2005
Location: h00d
Old 08-03-2005 , 06:01  
Reply With Quote #8

Ok...
I did your coding for the knife seems to work...
Thou what about v_???

why dunt u just do
Code:
        entity_set_string(id, EV_SZ_worldmodel, "models/v_bluesaber.mdl")
__________________
Tupac is offline
Tupac
Junior Member
Join Date: May 2005
Location: h00d
Old 08-03-2005 , 06:06  
Reply With Quote #9

Found it!
__________________
Tupac is offline
ScubaSteve3465
Senior Member
Join Date: Dec 2004
Old 08-03-2005 , 06:47  
Reply With Quote #10

so this changes everyones knife model to a saber? i would like it 10 times better if it was like
Quote:
amx_darthmaul <Name/all> <on/off>
__________________
ScubaSteve3465 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 15:49.


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