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

Knife Duel Edits


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
joshknifer
Veteran Member
Join Date: Jun 2011
Location: Denver, CO
Old 02-07-2013 , 13:50   Knife Duel Edits
Reply With Quote #1

Hey all!

There is a thread on this plugin but it hasn't been active in almost a year so idk if the author is supporting or not, so thought I would post the request here. A couple of edits/changes that would be helpful:

1.) When someone declines a knife fight, they are not allowed to be challenged again until the round is over.

2.) Add color chat at the beginning of the fight that resembles Mortal Kombat or something. Either giant red letters that say "Fight!" or "Finish Him!" or something fun

Thanks everybody!
__________________

Last edited by joshknifer; 02-07-2013 at 13:51. Reason: Hyperlink
joshknifer is offline
Send a message via Skype™ to joshknifer
joshknifer
Veteran Member
Join Date: Jun 2011
Location: Denver, CO
Old 02-21-2013 , 16:45   Re: Knife Duel Edits
Reply With Quote #2

Bump time.
__________________
joshknifer is offline
Send a message via Skype™ to joshknifer
joshknifer
Veteran Member
Join Date: Jun 2011
Location: Denver, CO
Old 03-12-2013 , 13:55   Re: Knife Duel Edits
Reply With Quote #3

And again.
__________________
joshknifer is offline
Send a message via Skype™ to joshknifer
Unkolix
Veteran Member
Join Date: Sep 2012
Old 03-12-2013 , 15:07   Re: Knife Duel Edits
Reply With Quote #4

Quote:
Originally Posted by joshknifer View Post
Hey all!

There is a thread on this plugin but it hasn't been active in almost a year so idk if the author is supporting or not, so thought I would post the request here. A couple of edits/changes that would be helpful:

1.) When someone declines a knife fight, they are not allowed to be challenged again until the round is over.

2.) Add color chat at the beginning of the fight that resembles Mortal Kombat or something. Either giant red letters that say "Fight!" or "Finish Him!" or something fun

Thanks everybody!
I am going to try to do the first one and in addition I will fix the bug, when you can challenge your opponent when the bomb is planted and afterwards, he can't escape from the knife duel range. That means that CT will lose the round.

+++++ Multi Lingual


EDIT:
Put knife_duel.txt in amxmodx/data/lang folder. Enjoy! Let me know if something goes wrong and if you add more translations, give them to me!!!

EDIT 2:
Have forgot to add the include to colored chat
Attached Files
File Type: sma Get Plugin or Get Source (knife_duel.sma - 497 views - 9.9 KB)
File Type: txt knife_duel.txt (1.0 KB, 113 views)
File Type: inc colorchat.inc (5.9 KB, 87 views)

Last edited by Unkolix; 03-12-2013 at 16:49.
Unkolix is offline
ositoe
Member
Join Date: Nov 2009
Location: Palmdale, CA
Old 03-13-2013 , 01:53   Re: Knife Duel Edits
Reply With Quote #5

hey budd it says plugin failed...:

Plugin failed to compile! Please try contacting the author.Welcome to the AMX Mod X 1.8.1-300 Compiler. Copyright (c) 1997-2006 ITB CompuPhase, AMX Mod X Team /home/groups/alliedmodders/forums/files/2/0/0/0/6/7/117030.attach(4) : fatal error 100: cannot read from file: "colorchat" Compilation aborted. 1 Error.
__________________
It isnt time to Hibernate????
ositoe is offline
Unkolix
Veteran Member
Join Date: Sep 2012
Old 03-13-2013 , 02:07   Re: Knife Duel Edits
Reply With Quote #6

Quote:
Originally Posted by ositoe View Post
hey budd it says plugin failed...:

Plugin failed to compile! Please try contacting the author.Welcome to the AMX Mod X 1.8.1-300 Compiler. Copyright (c) 1997-2006 ITB CompuPhase, AMX Mod X Team /home/groups/alliedmodders/forums/files/2/0/0/0/6/7/117030.attach(4) : fatal error 100: cannot read from file: "colorchat" Compilation aborted. 1 Error.
Download the colorchat.inc in my post above yours, put it to scripting/include folder.
Unkolix is offline
ositoe
Member
Join Date: Nov 2009
Location: Palmdale, CA
Old 03-14-2013 , 12:06   Re: Knife Duel Edits
Reply With Quote #7

Sorry for not bieng more in detail, originally the problem that i had was the amxx.file ... i tried compiling the sma file that u provided and I did put the colorchat.inc in the include folder.. but i didnt have the amxx.file to put in the plugins folder... so when i compiled the sma. file what i posted is the error it gave me from the amxx-compiler.....

but thank you for fixing it... i see now the amxx file is working..... much appreciated!!!!! =)
__________________
It isnt time to Hibernate????

Last edited by ositoe; 03-14-2013 at 12:08.
ositoe is offline
Unkolix
Veteran Member
Join Date: Sep 2012
Old 03-14-2013 , 13:27   Re: Knife Duel Edits
Reply With Quote #8

I added accept and decline sounds, you have to put them to sound/misc folder with names "accept.wav" and "decline.wav". I don't know if it will work, could you guys try it?

[EDIT]
Fixed sound problem.
Added a CVar to control the maximum times you can challenge your opponent to a duel. Once, by default.
Code:
kd_kniferequest "1"
Attached Files
File Type: inc colorchat.inc (5.9 KB, 146 views)
File Type: txt knife_duel.txt (1.0 KB, 162 views)
File Type: sma Get Plugin or Get Source (knife_duel.sma - 570 views - 10.4 KB)

Last edited by Unkolix; 03-15-2013 at 15:38.
Unkolix is offline
TRUE RED
Senior Member
Join Date: Mar 2012
Location: Ukraine
Old 04-21-2013 , 23:35   Re: Knife Duel Edits
Reply With Quote #9

Quote:
Originally Posted by Unkolix
I added accept and decline sounds, you have to put them to sound/misc folder with names "accept.wav" and "decline.wav". I don't know if it will work, could you guys try it?

[EDIT]
Fixed sound problem.
Added a CVar to control the maximum times you can challenge your opponent to a duel. Once, by default.
Code:
kd_kniferequest "1"
when the duel starts i can pick up weapons.
TRUE RED is offline
Send a message via ICQ to TRUE RED Send a message via Skype™ to TRUE RED
Old 06-03-2013, 19:02
wizz
This message has been deleted by wizz. Reason: No problem anymore..
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 12:22.


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