Subtracting and Adding the same Brush?

Tutorials and discussions about Mapping - Introduce your own ones!
User avatar
Barbie
Godlike
Posts: 2953
Joined: Fri Sep 25, 2015 9:01 pm
Location: moved without proper hashing

Subtracting and Adding the same Brush?

Post by Barbie »

While fixing some errors in map MH-Sky_Isles I noticed a strange mapping method: the mapper has subtracted and added a brush with the same size, shape and position and has done this pairwise with almost all brushes. Does this have a special aim or is it just nonsense? I guess it's a failure because that has lead to some HoM effects.
"If Origin not in center it be not in center." --Buggie
User avatar
sektor2111
Godlike
Posts: 6442
Joined: Sun May 09, 2010 6:15 pm
Location: On the roof.

Re: Subtracting and Adding the same Brush?

Post by sektor2111 »

Game-Type Class'UnrealShare.VRikersGame'
Heh, another "SaveAs" dropped to MH for completing the mountain of trash...
This one cannot be fixed with a mutator.
User avatar
Barbie
Godlike
Posts: 2953
Joined: Fri Sep 25, 2015 9:01 pm
Location: moved without proper hashing

Re: Subtracting and Adding the same Brush?

Post by Barbie »

sektor2111 wrote:Heh, another "SaveAs" dropped to MH for completing the mountain of trash...
Recently found this in a MonsterHunt map, even multiple times repeated in different state functions:
NPCMaleOneBot

Code: Select all

if (DefenderTeam)
	{
	if (PlayerReplicationInfo.Team != Assault(Level.Game).Defender.TeamIndex)
		{
		PlayerReplicationInfo.Team = Assault(Level.Game).Defender.TeamIndex;
		}
	}
else
	{
	if (PlayerReplicationInfo.Team != Assault(Level.Game).Attacker.TeamIndex)
		{
		PlayerReplicationInfo.Team = Assault(Level.Game).Attacker.TeamIndex;
		}
	}
Back to topic: Fix reason was that Inventory items were added but map was not rebuild what leads among others to none working double jump.
"If Origin not in center it be not in center." --Buggie
User avatar
Hellkeeper
Inhuman
Posts: 914
Joined: Tue Feb 25, 2014 12:32 pm
Personal rank: Soulless Automaton
Location: France

Re: Subtracting and Adding the same Brush?

Post by Hellkeeper »

Barbie wrote:Does this have a special aim or is it just nonsense?
Definitely nonsense. Adding the brush would be enough.
You must construct additional pylons.