SA-MP Forums Archive
[Include] [ALPHA] Throwing-Knife - A new kind of weapon - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+---- Forum: Includes (https://sampforum.blast.hk/forumdisplay.php?fid=83)
+---- Thread: [Include] [ALPHA] Throwing-Knife - A new kind of weapon (/showthread.php?tid=539632)

Pages: 1 2


Re: [ALPHA] Throwing-Knife - A new kind of weapon - IDarkness - 01.10.2014

Hello I would be glad to take a part in the testing stage , add me on Skype pumpkin.boi or pm me


Re: [ALPHA] Throwing-Knife - A new kind of weapon - codectile - 01.10.2014

New video added.

https://www.youtube.com/watch?v=3PrONhiuccc


Re: [ALPHA] Throwing-Knife - A new kind of weapon - iFarbod - 01.10.2014

Quote:
Originally Posted by codectile
View Post
@iZN: It is the github who makes the indentation look weird. Anyway, I'll fix it.
Use 4 spaces for indenting, Not tabs.


Re: [ALPHA] Throwing-Knife - A new kind of weapon - codectile - 02.10.2014

UPDATE [PRE-RELEASE]

• Improved code.
• Improved crosshair.
• Improved Damage status (0 -100)
• Fixed Bugs.

NOTE: The clean version of this include will be released after few days.

Download [PRE]: https://github.com/codectile/Throwin...ag/PRE-RELEASE

EDIT:

@Lordzy: I considered your suggestion, about the knife speed.


Re: [ALPHA] Throwing-Knife - A new kind of weapon - gARRRy - 02.10.2014

Nice ^_^


Re: [ALPHA] Throwing-Knife - A new kind of weapon - JJack - 02.10.2014

You should use the Physics.inc that might help you in making the object rotate after its being thrown... I'm not really sure.


Re: [ALPHA] Throwing-Knife - A new kind of weapon - codectile - 02.10.2014

@JJack: Thanks for suggesting, I'll consider your suggestion as soon as I return back home. (Maybe 10 days)


Re: [ALPHA] Throwing-Knife - A new kind of weapon - JJack - 02.10.2014

Quote:
Originally Posted by codectile
Посмотреть сообщение
@JJack: Thanks for suggesting, I'll consider your suggestion as soon as I return back home. (Maybe 10 days)
Welcome that would make the knife more realistic .
Question:
When I throw the knife at someone would a knife object get attached to the target? and if so you should add something like /removeknife to remove the knife from the target(he would loose more HP on removing it before removing it the target would being to loose 2 HP per one sec)


Re: [ALPHA] Throwing-Knife - A new kind of weapon - codectile - 02.10.2014

@JJack: I already knew about those system, and I am kept those for the final release.


Re: [ALPHA] Throwing-Knife - A new kind of weapon - MicroD - 03.10.2014

I'd like to see some physics with 100% less _@___@___@__@___@_@ . Just my suggestion, code should be readable.


Re: [ALPHA] Throwing-Knife - A new kind of weapon - codectile - 19.11.2014

Note: Set the magnitude of the "distance" parameter from 30 - 35 units for visible knife rotations.


Re: [ALPHA] Throwing-Knife - A new kind of weapon - codectile - 14.12.2014

UPDATE: Clean/Stable version of this include has been added.
DOWNLOAD: Throwing-Knife [Clean]


Re: [ALPHA] Throwing-Knife - A new kind of weapon - TRTDM - 14.12.2014

thanks for the update I will implement it on my upcoming server


Re: [ALPHA] Throwing-Knife - A new kind of weapon - codectile - 07.01.2015

Update

The c1 version of throwing-knives has been released, There are some new features added to it. Now aiming completely depends upon player's crosshair. Players can throw knives vertically upwards and downwards. Enhances gameplay as well.

Download Links are update.

If you get to know about any bugs in the include(you can test it in "test server") please report them here.


Re: [ALPHA] Throwing-Knife - A new kind of weapon - codectile - 16.02.2015

UPDATE:

• Added new callback "OnPlayerGetKnifed(playerid, killerid)" //Only for throwing knives.


Re: [ALPHA] Throwing-Knife - A new kind of weapon - codectile - 29.03.2015

UPDATE
---------

• Added new knife object only for 0.3.7 (model = 19583), just add "#define KNIFE_NEW" at the top of your gamemode to start using the new knife. If not defined the script will automatically switch to the old knife.

Note: To use new knife object, you must have your client updated to 0.3.7.


Re: [ALPHA] Throwing-Knife - A new kind of weapon - Extremo - 29.03.2015

Where is the video? I cant seem to find it. I am blind lol.

Also, maybe a cleaner version:

http://pastebin.com/JbvjeVp2


Re: [ALPHA] Throwing-Knife - A new kind of weapon - codectile - 30.03.2015

Make a pull request in github. About the video, I will upload a fresh video soon.


Re: [ALPHA] Throwing-Knife - A new kind of weapon - Extremo - 30.03.2015

Quote:
Originally Posted by codectile
Посмотреть сообщение
Make a pull request in github. About the video, I will upload a fresh video soon.
Done.


Re: [ALPHA] Throwing-Knife - A new kind of weapon - shadowstorm - 30.03.2015

Cool man