Duke4.net Forums: Is there a code to lower weapons when using the mighty foot (kick) - Duke4.net Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Is there a code to lower weapons when using the mighty foot (kick)  "Without having to use D3d 0.99 Just wonderin'"

User is offline   Zaxtor 

#1

Like when you press the mighty foot engage hotkey it lowers all the weapons (in current use).

Like if I use the mighty foot (probably will be claw in my mod) it lowers the weapon currently in use (wait for a very short delay perhaps 0.5 sec and then you kick and probably another short delay before weapon will either auto rise or manually rise)
0

User is offline   The Commander 

  • I used to be a Brown Fuzzy Fruit, but I've changed bro...

#2

Of course there is code to do that, or are you asking someone to code it for you?
0

User is offline   Zaxtor 

#3

asking if some has a code and he/she quote it and I use it :P

reason for code.
It wouldn't make sense if your char use his claws / punches etc and shoot with guns at the same time.
Would make it having 3-4 arms :D

This post has been edited by Zaxtor: 16 April 2010 - 05:03 AM

0

User is offline   Mblackwell 

  • Evil Overlord

#4

http://wiki.eduke32....EVENT_QUICKKICK
http://wiki.eduke32....wiki/Weapon_pos
0

User is offline   Zaxtor 

#5

Possible alternative is disabling quick kick but is in last options.
0

User is offline   Mblackwell 

  • Evil Overlord

#6

It's not really an alternative... it's the best option. Disable quick kick, set a var, set weapon_pos to -9 while the var is set, display an animation of your claw weapon raising and firing, then lowering back down, set the var back to 0, enjoy.
0

User is offline   Zaxtor 

#7

Ok so guess ill disable that Q-kick.

The normal punch is (weap 1).
No need to add an extra animation or code for the clawing thing, it's already there. I am replacing the animated foot by the claw thing will be weapon (1 da kick) so only a code needed to disable the quick kick.

So where do I place the vars to disable the dreaded quick kick thing?

This post has been edited by Zaxtor: 16 April 2010 - 06:33 AM

0

User is offline   The Commander 

  • I used to be a Brown Fuzzy Fruit, but I've changed bro...

#8

onevent EVENT_QUICKKICK
setvar RETURN -1
endevent

0

User is offline   Zaxtor 

#9

It worked. thx
0

User is offline   Jinroh 

#10

Claw sounds cool. :P Twilight Mod or something? :D

This post has been edited by Jinroh: 16 April 2010 - 07:57 AM

0

User is offline   Zaxtor 

#11

Not really twilight.
Player is an anthro-wolverine, with of course weapons and instead of kicking he uses his claws. Does like 3 times more damage than duke's kick.
Can kill a liztroop in 1 hit.
0

User is offline   Jinroh 

#12

Ah sounds cool. :P Good luck with your mod.

WOLVERINE! ^o^
Posted Image
0

User is offline   Jblade 

#13

Or try this, it should lower the player's weapon:

onevent EVENT_QUICKKICK
setplayer[THISACTOR].weapon_pos 10
endevent
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic


All copyrights and trademarks not owned by Voidpoint, LLC are the sole property of their respective owners. Play Ion Fury! ;) © Voidpoint, LLC

Enter your sign in name and password


Sign in options