Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Boss System
Author Message
Staff_Stanic
Journeyman
*

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

Dimension Shard

Post: #1
Boss System
Very useful script to create a Boss with some guardians to protect him!
You can configure to the boss loss life when some guardian die Tongue

Example:
[Image: boss.png]

When some boss's guardian dies and the boss loss life:
[Image: boss_2.png]

When the boss summon a new guardian:
[Image: boss_3.png]

The install guide is inside the script.
Download: http://forum.spherecommunity.net/sshare....wnload=288
(This post was last modified: 04-15-2014 10:18 AM by Staff_Stanic.)
04-12-2014 12:27 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
[+] 3 users Like Staff_Stanic's post
amonvangrell
Banned

Posts: 337
Likes Given: 17
Likes Received: 32 in 20 posts
Joined: Aug 2012

britannia shard

Post: #2
RE: Boss System
Thanks man!
04-12-2014 02:32 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Staff_Stanic
Journeyman
*

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

Dimension Shard

Post: #3
RE: Boss System
Updates:

1.01:
- Just some optimizations in the system
- Changed @Death to @Destroy in events, to fix when the NPC is removed and the guardians stay alive.

1.02:
- Added anim to the Boss when some guardian die and when spawn a new guardian.
- Changed the id of the example boss to c_ettin

1.03:
- Added two custom triggers that you can use to customize your boss to do something when a new guardian is spawned and when a guardian dies. The anim added in the update 1.02 are here now.
(This post was last modified: 04-15-2014 10:32 AM by Staff_Stanic.)
04-15-2014 04:14 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
[+] 1 user Likes Staff_Stanic's post
amonvangrell
Banned

Posts: 337
Likes Given: 17
Likes Received: 32 in 20 posts
Joined: Aug 2012

britannia shard

Post: #4
RE: Boss System
I really like this man! keep it up!
04-15-2014 11:38 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
htid4life
Journeyman
*

Posts: 162
Likes Given: 27
Likes Received: 4 in 3 posts
Joined: Mar 2012
Reputation: 2



Post: #5
RE: Boss System
very nice script nice release Smile

[Image: htid.jpg]
04-16-2014 12:26 AM
Find all posts by this user Like Post Quote this message in a reply
babazar
Journeyman
*

Posts: 189
Likes Given: 2
Likes Received: 10 in 9 posts
Joined: Jun 2013
Reputation: 0



Post: #6
RE: Boss System
very nice script, slight improvement could be if someone trys to kill the boss all the guardians protect the boss, Also had a couple of players testing this out and the guardians just wandered away, didnt really pick up there was a player about..
04-18-2014 07:37 AM
Find all posts by this user Like Post Quote this message in a reply
[+] 1 user Likes babazar's post
Anarch Cassius
Master
**

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



Post: #7
RE: Boss System
Try replacing the e_BossSettings @attack trigger with this one

Code:
ON=@Attack
IF (<SRC.TAG0.GuardianBoss>==<UID>)
return 1
ENDIF
//call guardians to attack target
OBJ=<UID>
LOCAL.TARGET=<SRC>
FORCHARS 15 //check nearby chars
    IF (<TAG0.GuardianBoss>==<OBJ>) //if they are my guardian
        IF !(<FLAGS> & statf_war) // if not in a  fight
            TIMERF 1, TRYSRC <LOCAL.TARGET> ATTACK    //attack my target
        ENDIF
    ENDIF
ENDFOR

Current Projects: Necromancy SCP overhaul. Custom Faction AI/System. Imbuing.
01-21-2017 12:31 PM
Find all posts by this user Like Post Quote this message in a reply
[+] 1 user Likes Anarch Cassius's post
Swiftik023
Apprentice
*

Posts: 8
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Jan 2018
Reputation: 0



Post: #8
RE: Boss System
very nice
03-04-2018 01:20 AM
Find all posts by this user Like Post Quote this message in a reply
jexnico
Journeyman
*

Posts: 191
Likes Given: 114
Likes Received: 3 in 3 posts
Joined: Jan 2014
Reputation: 0



Post: #9
RE: Boss System
what is wrong with it?

09:04:ERROR:(boss_system.scp,99)Can't resolve <HOME>
09:04:ERROR:(boss_system.scp,99)Undefined symbol ''

IF (<HOME>)
NEW.HOME=<HOME>
IF (<HOMEDIST>)
NEW.HOMEDIST=<HOMEDIST>
NEW.MOVENEAR <UID>,<R<HOMEDIST>>
ENDIF
ENDIF
04-14-2019 10:29 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
jexnico
Journeyman
*

Posts: 191
Likes Given: 114
Likes Received: 3 in 3 posts
Joined: Jan 2014
Reputation: 0



Post: #10
RE: Boss System
(04-14-2019 10:29 PM)jexnico Wrote:  what is wrong with it?

09:04:ERROR:(boss_system.scp,99)Can't resolve <HOME>
09:04:ERROR:(boss_system.scp,99)Undefined symbol ''

IF (<HOME>)
NEW.HOME=<HOME>
IF (<HOMEDIST>)
NEW.HOMEDIST=<HOMEDIST>
NEW.MOVENEAR <UID>,<R<HOMEDIST>>
ENDIF
ENDIF

solved Tongue

ON=@Create
HOME=<P>
04-17-2019 04:22 AM
Visit this user's website 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)

This forum uses Lukasz Tkacz MyBB addons.