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-nmm7 (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-nmm7 (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-nmm7 (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
Dragon's breath improvement
Author Message
Coruja
Sphere Developer
*****

Posts: 987
Likes Given: 5
Likes Received: 226 in 187 posts
Joined: Jul 2012
Reputation: 7

Dimension Shard

Post: #1
Dragon's breath improvement
Yesterday I tried to improve some npc's and noticed a important thing: on sphere we lack support to control npc's breath attack

All we have is a NPC=brain_dragon to make it fires the breath, and TAG.OVERRIDE.BREATH.DAM to change the breath damage

There's no way to make a non-dragon have a breath attack, nor control the breath effect/sound/etc. So the idea is make a great improvement on this with just a few changes

1) Instead allow only dragon have the breath attack, others non-dragon npc's must have it too, like nightmare, fire gargoyle, hellcat, hell hound, and even leviathan (water breath).
A great way to do this is move the breath code from AI brain_dragon to a new CAN=mt_breath that can be used on any npc

2) Add some new override tags on chars to get more control over the breath attack:
-TAG.OVERRIDE.BREATH.EFFECTID (i_fx_smoke, etc)
-TAG.OVERRIDE.BREATH.SOUND
-TAG.OVERRIDE.BREATH.COLOR
03-14-2014 01:55 AM
Find all posts by this user Like Post Quote this message in a reply
[+] 3 users Like Coruja's post
Staff_Stanic
Journeyman
*

Posts: 96
Likes Given: 25
Likes Received: 14 in 8 posts
Joined: Nov 2012
Reputation: 1

Dimension Shard

Post: #2
RE: Dragon's breath improvement
I believe that only dragon have the breath attack because just him have the animation (or not?).
(This post was last modified: 03-14-2014 06:48 AM by Staff_Stanic.)
03-14-2014 06:47 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Coruja
Sphere Developer
*****

Posts: 987
Likes Given: 5
Likes Received: 226 in 187 posts
Joined: Jul 2012
Reputation: 7

Dimension Shard

Post: #3
RE: Dragon's breath improvement
the breath animation is the "stomp anim" (anim 12), every NPC can use it I think
03-14-2014 09:44 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


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