[Request] BD Kick Attack as individual wad.

Archive of the old editing forum
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
User avatar
Average
Posts: 626
Joined: Fri May 20, 2011 4:28 am

[Request] BD Kick Attack as individual wad.

Post by Average »

I have tried to do this but I don't have a clue. I'm not a mapper or a modder and I have no technical skill whatsoever.

What I'd like is an individual wad containing only the kick attack as used in Brutal Doom that I can autoload and assign to ZDoom's secondary attack in the controls menu. I would be eternally grateful if someone could kindly do this for me. I'm sure other players would find it useful too.

Thanks in hope. :)
User avatar
Mikk-
Posts: 2274
Joined: Tue Jun 30, 2009 1:31 pm
Location: Somewhere off Kanagawa

Re: [Request] BD Kick Attack as individual wad.

Post by Mikk- »

I'm pretty sure the Brutal Doom kick is a part of every weapon. As in, you press a button and the current weapon jumps to the kick state. So you'd have to edit all of the vanilla doom weapons to incorporate it.

Either that or there's some method I'm unaware of.
User avatar
The Zombie Killer
Posts: 1528
Joined: Thu Jul 14, 2011 12:06 am
Location: Gold Coast, Queensland, Australia

Re: [Request] BD Kick Attack as individual wad.

Post by The Zombie Killer »

You'd also have to modify the monsters if you want them to react to the kick.
Mikk- wrote:Either that or there's some method I'm unaware of.
Indeed there is

Code: Select all

// ACS
#library "kick"
#include "zcommon.acs"

// Defines

// Scripts
Script "Kick" (void)
{
	str weapon = GetWeapon();
	if (StrICmp(weapon, "KickWeapon"))
	{
		SetPlayerProperty(0, 1, PROP_INSTANTWEAPONSWITCH);
		GiveInventory("Kicking", 1);
		SetWeapon("KickWeapon");
		While (CheckInventory("Kicking"))
			Delay(1);
		SetWeapon(weapon);
		SetPlayerProperty(0, 0, PROP_INSTANTWEAPONSWITCH);
	}
}

// Functions
The "KickWeapon" weapon would just play the kick animation in its ready state, and take away the "Kicking" actor when it's done
Last edited by The Zombie Killer on Sat Nov 16, 2013 6:04 pm, edited 1 time in total.
User avatar
Mikk-
Posts: 2274
Joined: Tue Jun 30, 2009 1:31 pm
Location: Somewhere off Kanagawa

Re: [Request] BD Kick Attack as individual wad.

Post by Mikk- »

What would this other method be then? The only way I could think of it would be using ACS and SetWeapon & PROP_INSTANTWEAPONSWITCH trickery
User avatar
The Zombie Killer
Posts: 1528
Joined: Thu Jul 14, 2011 12:06 am
Location: Gold Coast, Queensland, Australia

Re: [Request] BD Kick Attack as individual wad.

Post by The Zombie Killer »

Sneakily edited the method in, and yes, you're right. That's what it is.
User avatar
Mikk-
Posts: 2274
Joined: Tue Jun 30, 2009 1:31 pm
Location: Somewhere off Kanagawa

Re: [Request] BD Kick Attack as individual wad.

Post by Mikk- »

Very clever. I like that. Probably 100x more intuitive than having every single weapon use the same chunk of code and A_JumpIfInventory calls in the ready state.
User avatar
Average
Posts: 626
Joined: Fri May 20, 2011 4:28 am

Re: [Request] BD Kick Attack as individual wad.

Post by Average »

Is that code for the kick attack as in kicking with your feet? I didn't mean the kick back of the weapons in BD but the actual kick attack along with the foot animation. I presume it would be just like a little weapon mod wad but containing only one weapon (the foot) and assigned to secondary attack in the ZDoom engine?

The code above may be simple to you guys but I can't even see where the animation fits in! I'm just an old fart who like to play Doom...
User avatar
The Zombie Killer
Posts: 1528
Joined: Thu Jul 14, 2011 12:06 am
Location: Gold Coast, Queensland, Australia

Re: [Request] BD Kick Attack as individual wad.

Post by The Zombie Killer »

@Average
That's not all of the required code, that's just the code to make the player begin kicking.
You wouldn't see where the animation fits in because it isn't in that part of the code :p

It works really well

Bind a key to "pukename kick"
So just type this in the console (WITH the quotes):
bind q "pukename kick"
Attachments
brutalkick.pk3
(89.81 KiB) Downloaded 2149 times
User avatar
Average
Posts: 626
Joined: Fri May 20, 2011 4:28 am

Re: [Request] BD Kick Attack as individual wad.

Post by Average »

Thank you so, so much! That's exactly what I've been looking for. Now I can kick those pinkies in the nuts all day!

Again, thank you. :)
User avatar
The Zombie Killer
Posts: 1528
Joined: Thu Jul 14, 2011 12:06 am
Location: Gold Coast, Queensland, Australia

Re: [Request] BD Kick Attack as individual wad.

Post by The Zombie Killer »

No problem :D, if only Brutal Doom used a method similar to this for the kicking, but then again... Zandronum support. Ugh.
User avatar
Average
Posts: 626
Joined: Fri May 20, 2011 4:28 am

Re: [Request] BD Kick Attack as individual wad.

Post by Average »

Yeah, Zandronum. I kinda gave up on that a while ago. I wonder what stops (G)ZDoom just using the netcode from it as a base and get itself an online-multiplayer presence.

I've been playing with the kick all morning. It works wonderfully with Cosmetic Doom. Between the kick pk3, Cosmetic Doom, Contrast3.wad, firesky.pk3 and the PSXSM music wad I think I now have the perfect balance between traditional Doom and modern looks and gameplay.

Thanks again. :)
User avatar
wildweasel
Posts: 21706
Joined: Tue Jul 15, 2003 7:33 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): A lot of them
Graphics Processor: Not Listed
Contact:

Re: [Request] BD Kick Attack as individual wad.

Post by wildweasel »

Average wrote:Yeah, Zandronum. I kinda gave up on that a while ago. I wonder what stops (G)ZDoom just using the netcode from it as a base and get itself an online-multiplayer presence.
From what I recall, it's not that easy, because Zan had to rewrite large chunks of the code for netcode-friendliness.
User avatar
Bitterman
Posts: 564
Joined: Mon Jun 25, 2012 12:06 pm
Location: Stranded on Lh'owon

Re: [Request] BD Kick Attack as individual wad.

Post by Bitterman »

But I thought (G)ZDoom already had 8-player netplay? Unless it's really limited in terms of features.
User avatar
wildweasel
Posts: 21706
Joined: Tue Jul 15, 2003 7:33 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): A lot of them
Graphics Processor: Not Listed
Contact:

Re: [Request] BD Kick Attack as individual wad.

Post by wildweasel »

Netplay, yes. Client/server netplay with in-game joining, no. Someone else would need to explain it further, though, as this is about the end of my knowledge on the subject.
User avatar
Average
Posts: 626
Joined: Fri May 20, 2011 4:28 am

Re: [Request] BD Kick Attack as individual wad.

Post by Average »

Yeah, it seems to be a bit of a black art. I've never understood why, nowadays, Doom requires dedicated 'open & online' versions. In the old days I got it, but now? Maybe the maintenance overheads are just too high... ?
Locked

Return to “Editing (Archive)”