Blockland Forums
Home
Help
Login
Register
Blockland Forums
»
Blockland Forums
»
Modification Help
»
Coding help for knifes
« previous
next »
Print
Pages: [
1
]
Author
Topic: Coding help for knifes (Read 8288 times)
Slippery Soap
October 17, 2014, 12:05:10 PM
OK i want to make custom knifes for a knife TDM I Need it so you raise the knife over your head like the butterfly knife, does anyone have the code to do that?
Ad Bot
Advertisement
Thorfin25
October 17, 2014, 12:30:37 PM
Yeah, just play
spearReady
on a player.
Slippery Soap
October 17, 2014, 07:14:47 PM
What?
Thorfin25
October 17, 2014, 08:13:18 PM
Package the firing function and add
%obj.playThread(2,spearThrow);
Then create charge/abort charge functions and use
root
and
spearReady
«
Last Edit: October 17, 2014, 08:14:58 PM by Thorfin25
»
Axo-Tak
October 17, 2014, 11:02:18 PM
Can't you play animations using image states, though?
Slippery Soap
October 18, 2014, 06:20:07 PM
thank you
Dannu
October 19, 2014, 03:16:14 AM
Quote from: Axo-Tak on October 17, 2014, 11:02:18 PM
Can't you play animations using image states, though?
Spearready seems to be more practical for knives though.
Slippery Soap
October 19, 2014, 01:56:30 PM
How would i make a spear in to a knife?
Dannu
October 20, 2014, 03:58:02 PM
My knowledge does not extend to this level so i am just fishing in the dark, but i believe Spearready is the function used with the spear to hold it above your head until mouse is released, you should check the Spear weapons code.
Thorfin25
October 20, 2014, 04:26:16 PM
Quote from: Dannu on October 20, 2014, 03:58:02 PM
Spearready is the function
Not a function, but rather an animation.
Dannu
October 20, 2014, 07:44:00 PM
Oh, my bad.
-Jetz-
October 23, 2014, 03:00:08 PM
Quote from: Axo-Tak on October 17, 2014, 11:02:18 PM
Can't you play animations using image states, though?
That's for making the weapon model play an animation. If you want to imitate the spear, I advise reading the spear script. Namely the few functions at the bottom that have playThread in them.
Print
Pages: [
1
]
« previous
next »
Blockland Forums
»
Blockland Forums
»
Modification Help
»
Coding help for knifes