How do I disable kickback from teammates?

Discuss all aspects related to modding Zandronum here.
Post Reply
User avatar
wolfboyft
New User
Posts: 3
Joined: Sun Jul 10, 2016 1:11 pm
Location: London
Contact:

How do I disable kickback from teammates?

#1

Post by wolfboyft » Sun Jul 10, 2016 1:56 pm

When playing any teamplay game, kickback against your teammates is enabled, even if team damage is not. How can I disable it? Is it even possible? Should I just disable kickback altogether?

Hopefully any solution can be done using a WAD or PK3.

Thanks in advance.
—wolfboyft

User avatar
SwordGrunt
Forum Regular
Posts: 377
Joined: Thu Jun 07, 2012 8:43 pm

Re: How do I disable kickback from teammates?

#2

Post by SwordGrunt » Sun Jul 10, 2016 4:20 pm

You can edit every Doom weapon to have a kickback of 0 instead of the default 100, or you can edit the doom player to have a very high mass (0x7FFFFFFF) so they are practically unaffected by kickback. I'm afraid the only way to disable kickback for teammates and not enemies would be to make your shots go through teammates, which changes the dynamic of classic Doom quite a bit so I would stay away from it.

TerminusEst13
Retired Staff / Community Team Member
Posts: 865
Joined: Tue Jun 05, 2012 11:06 pm

Re: How do I disable kickback from teammates?

#3

Post by TerminusEst13 » Sun Jul 10, 2016 6:53 pm

It's possible but it must be externally modded in order to do so.

You can give the player a unique species, give them +THRUSPECIES, and the projectiles/bulletpuffs the same species along with +THRUSPECIES.

User avatar
SwordGrunt
Forum Regular
Posts: 377
Joined: Thu Jun 07, 2012 8:43 pm

Re: How do I disable kickback from teammates?

#4

Post by SwordGrunt » Sun Jul 10, 2016 7:19 pm

TerminusEst13 wrote:It's possible but it must be externally modded in order to do so.

You can give the player a unique species, give them +THRUSPECIES, and the projectiles/bulletpuffs the same species along with +THRUSPECIES.
Keep in mind that doing this on the player pawn would make players shoot through each other regardless of whether they're allied or enemy; the species should be changed via ACS depending on the player's team instead of editing the player class, assuming it is a team-based gamemode (can be checked via GetCVar). And to avoid further modification on the weapons, +MTHRUSPECIES should be used on the puffs/missiles instead (eliminating the need for them to have the species declared; however, this requires Zandronum 3.0 to work on puffs)

User avatar
wolfboyft
New User
Posts: 3
Joined: Sun Jul 10, 2016 1:11 pm
Location: London
Contact:

Re: How do I disable kickback from teammates?

#5

Post by wolfboyft » Mon Jul 11, 2016 10:55 am

This is not within my newbie skills. I'm just going to make all weapons do no kickback.

Thanks anyway :/
—wolfboyft

Post Reply