UGX-Mods Login

or login with an authentication provider below
Sign In with Google
Sign In with Twitter
Sign In with Discord
Sign In with Steam
Sign In with Facebook
Sign In with Twitch

Deathanim + Knifing = Fall to ground

broken avatar :(
Created 8 years ago
by Scobalula
0 Members and 1 Guest are viewing this topic.
2,356 views
broken avatar :(
×
broken avatar :(
OnionmanVere Bo21
Location: ieu dnt wnt 2 no
Date Registered: 27 September 2013
Last active: 1 year ago
Posts
1,864
Respect
Forum Rank
Zombie Destroyer
Primary Group
Community Mapper
My Groups
More
Personal Quote
ok
Signature
Aye mate you don't know me so y don't you shut tf up ok buddy :)

×
Scobalula's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Box Mappers Elite
Box Mappers Elite
Community Mapper Has released one or more maps to the UGX-Mods community which have been added to the UGX Map Manager.
Community Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
Scobalula's Contact & Social Links
Porting Microwave Gun/ Wave Gun AI animations and they seem to be working for the most part, but if you knife them, they fall to ground, like this:

https://i.gyazo.com/77211338d24027513e607c3b7638da65.mp4

Hitman originally suggested I add this when they would fall to ground originally after a second:

Code Snippet
Plaintext
self.nodeathragdoll = true;

Which worked for that, but he said it should work for knifing?

Looked at the BO1 GSC, can't really find anything, help appreciated. ^^
This topic contains a post which is marked as the Best Answer. Click here to view it.
broken avatar :(
×
broken avatar :(
Location: ph
Date Registered: 22 May 2016
Last active: 5 months ago
Posts
225
Respect
Forum Rank
Mr. Elemental
Primary Group
Member
Signature
×
KhelMho's Groups
KhelMho's Contact & Social Links
Wow! Very cool. How can i use this?  :rainbow:
broken avatar :(
×
broken avatar :(
Location: gbMilton Keynes
Date Registered: 17 January 2014
Last active: 4 years ago
Posts
6,877
Respect
1,004Add +1
Forum Rank
Immortal
Primary Group
Community Scripter
My Groups
More
My Contact & Social Links
More
Signature
If you want scripts / features made for you, then contact me by PM or email / skype etc
it will cost you tho so if you have no intention of reciprocating don't even waste my time ;)
×
Harry Bo21's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Community Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
Harry Bo21's Contact & Social Links[email protected]HarryBo21HarryBo000
enable magic bullet shield or invulnerability on the zombies in your wave gun functions so you cannot kill them or hurt them

they are not ragdolling, they are still alive when you knife them - which makes their death anim auto correct on to a "regular kill" then "after" that anim they ragdoll

you really dont want anything else to be able to kill them once they are "marked" by the wave gun anyway, to prevent dead threads etc

its also a good idea to consider this is only happening coz they "die". I imagine its highly unlikely that people will be getting the wave gun on round one in your map, or any infact, so should hopefully be a rare / non issue
Last Edit: July 15, 2016, 11:44:35 pm by Harry Bo21
broken avatar :(
×
broken avatar :(
Location: fr
Date Registered: 8 August 2014
Last active: 4 years ago
Posts
16
Respect
Forum Rank
Legless Crawler
Primary Group
Donator ♥
My Groups
More
×
torox850's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
torox850's Contact & Social Links
Yeah it's very unlikely for player to get Wave gun on round one but one shot knife also happen with Insta-kill
broken avatar :(
×
broken avatar :(
OnionmanVere Bo21
Location: ieu dnt wnt 2 no
Date Registered: 27 September 2013
Last active: 1 year ago
Posts
1,864
Respect
Forum Rank
Zombie Destroyer
Primary Group
Community Mapper
My Groups
More
Personal Quote
ok
×
Scobalula's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Box Mappers Elite
Box Mappers Elite
Community Mapper Has released one or more maps to the UGX-Mods community which have been added to the UGX Map Manager.
Community Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
Scobalula's Contact & Social Links
Tried enabling Invulnerability, but unfortunately didn't work, neither did the magic_bullet_shield(). :alone:

It happens on any round also btw, and but yeah it also happens if I shoot them with let say and ACR, or an M1911.

Wow! Very cool. How can i use this?  :rainbow:

You can't. :P It is, however, essentially a direct port of the BO1 GSC
Marked as best answer by Scobalula 8 years ago
broken avatar :(
×
broken avatar :(
Location: nlApeldoorn
Date Registered: 17 December 2013
Last active: 1 year ago
Posts
1,187
Respect
1,404Add +1
Forum Rank
Zombie Colossus
Primary Group
Community Scripter Elite
My Groups
More
My Contact & Social Links
More
Personal Quote
It aint much, if it aint Dutch
Signature
×
BluntStuffy's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Community Scripter Elite Has shown excellence and experience in the area of custom scripting in the UGX-Mods community.
Oil Rig Beta Access
Oil Rig Beta Access
BluntStuffy's Contact & Social LinksBluntstuffy@BluntZombieBluntStuffyStuffyZombie
make it so this line in animscripts\death.gsc doesnt get threaded when a zombie is killed with the wave-gun, think that might do it ( untested )

Code Snippet
Plaintext
			self thread death_anim_short_circuit();


EDIT:

depending on if your death-anims have the notetrack "start_ragdoll" you might still need the "self.nodeathragdoll" as well

Last Edit: July 16, 2016, 09:38:54 am by BluntStuffy
broken avatar :(
×
broken avatar :(
OnionmanVere Bo21
Location: ieu dnt wnt 2 no
Date Registered: 27 September 2013
Last active: 1 year ago
Posts
1,864
Respect
Forum Rank
Zombie Destroyer
Primary Group
Community Mapper
My Groups
More
Personal Quote
ok
×
Scobalula's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Box Mappers Elite
Box Mappers Elite
Community Mapper Has released one or more maps to the UGX-Mods community which have been added to the UGX Map Manager.
Community Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
Scobalula's Contact & Social Links
make it so this line in animscripts\death.gsc doesnt get threaded when a zombie is killed with the wave-gun, think that might do it ( untested )

Code Snippet
Plaintext
			self thread death_anim_short_circuit();


EDIT:

depending on if your death-anims have the notetrack "start_ragdoll" you might still need the "self.nodeathragdoll" as well

This worked absolutely perfect! I left that in there anyway since without it, after a second they would fall to the ground, I didn't add any notetracks to the anims yet, all there is atm is 2 anims for legs and no-legs, lol, I said I leave that until I have it working.

For anyone who is wondering, just change the if statement to this around line 104~:

Code Snippet
Plaintext
if( IsDefined(self.is_zombie) && (!IsDefined(self.in_the_ground) || !self.in_the_ground) && self.damageweapon != "weaponfilename")




 
Loading ...