[Include] [ALPHA] Throwing-Knife - A new kind of weapon
#21

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

New video added.

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

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.
Reply
#24

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.
Reply
#25

Nice ^_^
Reply
#26

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

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

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)
Reply
#29

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

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

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

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

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

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.
Reply
#35

UPDATE:

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

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.
Reply
#37

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

Also, maybe a cleaner version:

http://pastebin.com/JbvjeVp2
Reply
#38

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

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

Cool man
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)