• Please make sure you are familiar with the forum rules. You can find them here: https://forums.tripwireinteractive.com/index.php?threads/forum-rules.2334636/
  • Weve updated the Tripwire Privacy Notice under our Policies to be clearer about our use of customer information to come in line with the EU General Data Protection Regulation (GDPR) rules that come into force today (25th May 2018). The following are highlights of our changes:


    We've incorporated the relevant concepts from the GDPR including joining the EU and Swiss Privacy Shield framework. We've added explanations for why and how Tripwire processes customer data and the types of data that we process, as well as information about your data protection rights.



    For more information about our privacy practices, please review the new Privacy Policy found here: https://tripwireinteractive.com/#/privacy-notice

RO2 How to make team mates block other players

LordGleedo

FNG / Fresh Meat
Jul 18, 2010
800
74
0
Bucks, England
www.theoldgitsarmy.com
In the game, as everyone knows, you can run straight through a team mate.

I want to stop this behaviour and make the player block instead. I did notice that you do bump into the enemy players though....

Ive looked at the at ROPawn's Touch event which is as follows:
Code:
/**
 * Overriden to support non-blocking, but still player kickable actors
 * Created by: aladenberger 5/31/2011
 */
simulated event Touch( Actor Other, PrimitiveComponent OtherComp, vector HitLocation, vector HitNormal )
{
	//local KActorFromStatic NewKActor;
	local StaticMeshComponent OtherStaticMesh;

	if ( WorldInfo.NetMode != NM_DedicatedServer )
	{
		if ( Other.bWorldGeometry && Other.CollisionType == COLLIDE_RO_CanBecomeDynamic )
		{
			OtherStaticMesh = StaticMeshComponent(OtherComp);
			if ( OtherStaticMesh != None && OtherStaticMesh.CanBecomeDynamic() )
			{
				class'KActorFromStatic'.Static.MakeDynamic(OtherStaticMesh);
			}
		}
	}
}
Judging by those comments above, overriding it from my custom pawn class "should" maybe put blocking back on but it does not.

What other things could I look for in order to achieve this?
 

Zetsumei

FNG / Fresh Meat
Nov 22, 2005
12,459
1,433
0
31
Falmouth UK
there should actually be an server based ini setting for this. Players used to block each other more aggressively, which was quite annoying in small and narrow trenches, thats why an interrim solution came to be. Which allows you to somewhat get inside another player.

in rogame.ini of the server
under [ROGame.ROGameInfo]
change FriendlyInfantryCollisionType=1

to something else (not sure what the options are, but you should be able to figure it out by opening up rogameinfo.uc)
 
Last edited:

®omano

Grizzled Veteran
May 14, 2009
3,969
170
63
France
www.hellsoldiers.tk
In webadmin settings/ gameplay / gameplay override look at this:

Friendly Infantry Collision Type
No Collision | Reduced Size Collision | Full Size Collision

No collision is like ghost team mates you can go through
Reduced Size Collision make you go a little through your mates but block you
Full Size is more realistic, but you can not cross people in trenches in Mamayev for example
 
Last edited: