The following warnings occurred:
Warning [2] Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP) - Line: 3388 - File: inc/functions.php PHP 7.4.33-nmm6 (Linux)
File Line Function
/inc/functions.php 3388 errorHandler->error
/showthread.php 116 build_archive_link
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm6 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/inc/functions.php 3324 build_forum_breadcrumb
/showthread.php 195 build_forum_breadcrumb
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm6 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Animals won't start fights
Author Message
Anarch Cassius
Master
**

Posts: 273
Likes Given: 19
Likes Received: 10 in 9 posts
Joined: Mar 2012
Reputation: 2



Post: #3
RE: Animals won't start fights
Yeah that's the thing, I don't want to do that. It'll affect other things. I want neutral animals attacking out of hunger, which I specifically scripted to happen and used to work.

I know what brain_animal does and I am fine with that. In versions of Sphere up to around a year ago however ANY brain would attack when a script explicitly told it too. Now they intitiate hostilities (*x is attacking y*) but don't move to attack the target.

And I just confirmed it's not even an animal thing...

Monsters won't fight monsters either.

I switched a rabbit's brain to monster and it went for the rat before I could even change it. Then I changed the rat's brain and they both stopped fighting.

The problem looks to be here: https://github.com/Sphereserver/Source/b...s.cpp#L449

Brains of the same type aren't hostile. Changing the threat doesn't seem to help and I don't know how to affect hostility directly.

Current Projects: Necromancy SCP overhaul. Custom Faction AI/System. Imbuing.
(This post was last modified: 01-26-2017 12:42 PM by Anarch Cassius.)
01-26-2017 12:30 PM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Animals won't start fights - massis87 - 01-26-2017, 12:20 PM
RE: Animals won't start fights - Anarch Cassius - 01-26-2017 12:30 PM
RE: Animals won't start fights - darksun84 - 01-26-2017, 07:39 PM
RE: Animals won't start fights - Leonidas - 01-27-2017, 12:09 PM
RE: Animals won't start fights - Leonidas - 01-28-2017, 07:36 AM
RE: Animals won't start fights - Leonidas - 01-28-2017, 09:43 AM
RE: Animals won't start fights - Coruja - 01-28-2017, 06:52 PM
RE: Animals won't start fights - Coruja - 01-31-2017, 01:31 AM
RE: Animals won't start fights - Coruja - 01-31-2017, 08:32 AM

Forum Jump:


User(s) browsing this thread: 2 Guest(s)