no monsters override

Discussions about Coding and Scripting
Post Reply
duckme
Novice
Posts: 28
Joined: Tue Aug 19, 2014 9:43 pm

no monsters override

Post by duckme »

question

does advanced -> no delete over ride nomonster=true...or is my ut pooched again :omfg:
User avatar
papercoffee
Godlike
Posts: 10443
Joined: Wed Jul 15, 2009 11:36 am
Personal rank: coffee addicted !!!
Location: Cologne, the city with the big cathedral.
Contact:

Re: no monsters override

Post by papercoffee »

duckme wrote:question

does advanced -> no delete over ride nomonster=true...or is my ut pooched again :omfg:
What exactly is the question? :???:
duckme
Novice
Posts: 28
Joined: Tue Aug 19, 2014 9:43 pm

Re: no monsters override

Post by duckme »

is that normal? from what ive read in tutorials monsters can not be overridden, yet when i put no delete on them they still appear....i still have my settings as no monster=true
User avatar
papercoffee
Godlike
Posts: 10443
Joined: Wed Jul 15, 2009 11:36 am
Personal rank: coffee addicted !!!
Location: Cologne, the city with the big cathedral.
Contact:

Re: no monsters override

Post by papercoffee »

I have no monsters in my game ... so would you please first explain what game mode?
Our members have sold their crystal balls and can't see what you may mean. Please elaborate.
User avatar
TheDane
Masterful
Posts: 660
Joined: Tue Feb 12, 2008 2:47 pm
Personal rank: Happy fool :-)

Re: no monsters override

Post by TheDane »

duckme wrote:question

does advanced -> no delete over ride nomonster=true...or is my ut pooched again :omfg:
Yes it does.

the code for bNoMonsters are defined in the GameInfo class:

Code: Select all

function bool IsRelevant( actor Other )
{
	.........
	if( bNoMonsters && (Pawn(Other) != None) && !Pawn(Other).bIsPlayer )
		return False;
       .........
}
This is not adressed any further in the default gamestyles, custom gamestyles may customize this function though. However, you see that if bNoMonsters=True then every Pawn actor that hasn't bIsPlayer=True is deleted. So since monsters (ScriptedPawns) has bIsPlayer=False they should be deleted. By that I think it's safe to say that the bNoDelete=True will be handled elsewhere to overrule the IsRelevant() function?
Retired.
User avatar
papercoffee
Godlike
Posts: 10443
Joined: Wed Jul 15, 2009 11:36 am
Personal rank: coffee addicted !!!
Location: Cologne, the city with the big cathedral.
Contact:

Re: no monsters override

Post by papercoffee »

Ok ...can you now explain what exactly duckme means?
User avatar
Sp0ngeb0b
Adept
Posts: 376
Joined: Wed Feb 13, 2008 9:16 pm
Location: Cologne
Contact:

Re: no monsters override

Post by Sp0ngeb0b »

He wants to know whether the bNoDelete actor option overrules the bNoMonster Gametype setting. He probably wants to ensure his Non-Player Pawns are always present in the map, no matter of the local/server settings.
Website, Forum & UTStats

Image
******************************************************************************
Nexgen Server Controller || My plugins & mods on GitHub
******************************************************************************
Higor
Godlike
Posts: 1866
Joined: Sun Mar 04, 2012 6:47 pm

Re: no monsters override

Post by Higor »

If you set bNoDelete=True, then the pawns won't ever be deleted after death.
This is a problem.

What you're looking for is:
bGameRelevant=True
That'll prevent the IsRelevant call on the GameInfo class
duckme
Novice
Posts: 28
Joined: Tue Aug 19, 2014 9:43 pm

Re: no monsters override

Post by duckme »

no they deleted after i killed them - higor, they were placed on map to start with...i actually telefragged them because they had over a million health...
spongbob had it right...sorry was tired...put 18+ hours into a map..
User avatar
EvilGrins
Godlike
Posts: 9668
Joined: Thu Jun 30, 2011 8:12 pm
Personal rank: God of Fudge
Location: Palo Alto, CA
Contact:

Re: no monsters override

Post by EvilGrins »

Say duckme, just curious... what's your language?

I get the distinct sense English isn't something you're overly familiar with, or you're using a bad translator program.
http://unreal-games.livejournal.com/
Image
medor wrote:Replace Skaarj with EvilGrins :mrgreen:
Smilies · viewtopic.php?f=8&t=13758
duckme
Novice
Posts: 28
Joined: Tue Aug 19, 2014 9:43 pm

Re: no monsters override

Post by duckme »

jibberish...rap music has broken my english beyond repair
Post Reply