View unanswered posts | View active topics It is currently Tue May 22, 2012 4:43 am



Reply to topic  [ 24 posts ]  Go to page 1, 2, 3  Next
 Monster Vs Monster 
Author Message

Joined: Sat Jan 17, 2009 6:58 am
Posts: 39
Post Monster Vs Monster
Monster Vs Monster on MH Mod :wtc:

What can i do? Mutator for this problem?


Wed Jan 21, 2009 4:19 pm
Profile
BANNED

Joined: Mon Aug 11, 2008 9:44 am
Posts: 848
Location: Coos Bay Oregon
Post 
Are you mapping or just playing?

_________________
BANNED FOR LIFE


Wed Jan 21, 2009 4:44 pm
Profile

Joined: Sun Jan 18, 2009 3:00 pm
Posts: 19
Post 
I know a small piece of code can prevent monsters from fighting each other but I do not think a mutator can do that trick, it would require it to replace every monster with their script still intact as it is hardcoded into the pawns. by the "Attitudes" Like "Attitude_HATE" And Kellys "Attitude_BAN"

_________________
Image


Wed Jan 21, 2009 6:05 pm
Profile
BANNED

Joined: Mon Aug 11, 2008 9:44 am
Posts: 848
Location: Coos Bay Oregon
Post 
Nah it can be done. It's easier to do by pawn (see the NOFF monsters in the downloads) but you can call a mutator for this. I will include it in the mod rewrite.

_________________
BANNED FOR LIFE


Wed Jan 21, 2009 6:11 pm
Profile

Joined: Sat Jan 17, 2009 6:58 am
Posts: 39
Post 
Im have a new Monsterhunt server and im a mapper.
But on the du. server mod have not Monter Vs Monster.


Thu Jan 22, 2009 5:06 am
Profile

Joined: Tue Aug 12, 2008 4:41 pm
Posts: 107
Location: England: Land of Harry Potter and TRUFFLES!
Post 
gopostal wrote:
Nah it can be done. It's easier to do by pawn (see the NOFF monsters in the downloads) but you can call a mutator for this. I will include it in the mod rewrite.


I have a question about that too, Postal, will monsters not be able to fight any more at all, or is it just a changeable option somewhere? (E.G. attitude) Some people might actually want to create some sort of atmosphere or tension by causing monster fighting in particular spots, if this mod was done (and put on servers) then that would kinda make what has been done by the mapper sort of redundant wouldn't it?

_________________
BANZAI!!!!!!


Thu Jan 22, 2009 10:11 am
Profile

Joined: Mon Oct 27, 2008 2:51 pm
Posts: 197
Location: London
Post 
Now I think of it, Monsters fighting each other (And being able to injure one another) is the point of the map "Lost Souls"

_________________
Image
Image
Alucard supports derideal


Thu Jan 22, 2009 11:47 am
Profile
BANNED

Joined: Mon Aug 11, 2008 9:44 am
Posts: 848
Location: Coos Bay Oregon
Post 
OK, please excuse me if this gets a little long winded but I've read a LOT of discussions about this on various monster forums and most of it is incorrect.

There are some mods that can ease monster fighting and a couple of ways to cease it completely. You run into problems though as Al mentioned, and also some script problems with monsters "seeing" the proper triggers for things.

Some no-fight scripts block monsters from seeing other monsters but the problem is that if they "bump" into each other or one hits another with a projectile it accesses a class called SetEnemy, which basically decides friend-or-foe. As the stock game sits everything outside of each monster's race is considered (for the most part) foe, so this causes them to start fighting.

The way I chose to change it is by altering the SetEnemy code so that a check is placed to prevent *ANY* scripted pawn (read monster) from *ever* becoming an enemy, no matter what. Now this works fantastically well in almost all normal situations but if you needed monsters to attack a certain thing or other monster, they probably can't be made to. This is exactly why I posted the monsters in map form so they could be borrowed and placed into your mapping on an as-needed basis. Without a wholesale reclassing the occasional monster that needs to kill something can still function, but the vast majority of monsters can carry the gene for never attacking anything but players.

Whew....hope that helps.

Oh, something else just occured to me too. I noticed the monsters to be more aggressive with my code injected into them. It troubled me until a code bud of mine pointed out why: They aren't concerned with anyone else but you! They don't need to spend time accessing the other 30 monsters and players in the room, decide an order of importance and then choose whom to attack. Once they find you, you become the sole purpose for them. No wonder they seemed sharper.

_________________
BANNED FOR LIFE


Thu Jan 22, 2009 2:18 pm
Profile

Joined: Mon Oct 27, 2008 2:51 pm
Posts: 197
Location: London
Post 
Now that's nice, and I assume also a lot more performance friendly.. Is that the case?

_________________
Image
Image
Alucard supports derideal


Fri Jan 23, 2009 8:05 am
Profile
BANNED

Joined: Mon Aug 11, 2008 9:44 am
Posts: 848
Location: Coos Bay Oregon
Post 
Honestly Al, I need to make an intense testmap and post it to my testserver. Let it run a bit then see if the logs look cleaner. You have any shell maps lying around that I could use? It won't be a release just a test for me to see before and after with a monster swap. I can't imagine anything but positive coming from it.

_________________
BANNED FOR LIFE


Fri Jan 23, 2009 8:20 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 24 posts ]  Go to page 1, 2, 3  Next

Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.

phpBB SEO