Jump to content


Photo

Monster loyalty mod


  • Please log in to reply
7 replies to this topic

#1 Sanasol

Sanasol

    Advanced Member

  • Members
  • PipPipPip
  • 43 posts
  • LocationSt. Petersburg
  • Github:s-anasol

Posted 06 September 2014 - 09:35 PM

Have you ever wanted to be friends with aggressive monsters? Now its possible /oops
 
This mod adds little check for aggressive monsters, they will not attack you if you have certain status(char variable). But they will attack if you start first.
 
Source and demo script: GitHub
 
How to:
If you want set some monster loyal to character just set loyalty var to 1
 
For example:

set loya1785,1; // Where 1785 is monster id -> Atroce

 
in this case Atroce will ignore you until you start hit it.
 
Then you can back it to normal state by set 0

set loya1785,0; // Where 1785 is monster id -> Atroce

In this case atroce will attack you as usual

 



#2 GmOcean

GmOcean

    Advanced Member

  • Community Contributors
  • 365 posts
  • Emulator:Hercules

Posted 06 September 2014 - 09:59 PM

Oh? This is a pretty interesting src edit. I can see a few practical uses for this.


Posted Image

#3 Sanasol

Sanasol

    Advanced Member

  • Members
  • PipPipPip
  • 43 posts
  • LocationSt. Petersburg
  • Github:s-anasol

Posted 06 September 2014 - 10:16 PM

Oh? This is a pretty interesting src edit. I can see a few practical uses for this.

here many variants.

easy quest bypsasing when many aggressive monsters can kick your ass, easy mvp kill and other :)

And of course loyalty should be set only after doing some actions(quests). Something like Kill 10 players and Orc Warrior will be your friend :)

#4 evilpuncker

evilpuncker

    The Suggester

  • Community Contributors
  • 2121 posts
  • Locationbr br hue hue

Posted 07 September 2014 - 01:58 AM

I had a similar idea and I'll suggest them to you, some game I used to play, for example there were some kinds of skeleton, lets say: skeleton1, skeleton2, skeleton3 and skeleton4, they were all aggressive, but when you killed a certain quantity of them, there were a bar called "friend of skeletons" (or something like that xD) and when it reaches 100% they would not be aggressive anymore, so all in all my suggestion is:

 

- add an option so we can add another value besides 1 (ex: so we can set it to 1000 and after variable was set to >= 1000 it would activate the script)

- add an option to set an array of monsters from the same kind (like kobolds etc) and a single variable would affect all ids in that variable

 

 

thanks for the source release and feel free to add or not my suggestions xD


before asking for help, click here

some people that I admire:

Ai4rei (tools and client stuff) • Aeomin (the awesome thor patcher) • AnnieRuru (very helpful with script and source stuff)

Neo (N.E.M.O... do I need to say more?) • KeyWord (roBrowser <3) • k3dt (clients and clients) • Tokeiburu (awesome tools)

Dastgir (lua stuff) • Yommy • Ind • Haru • malufett

 

:ok:    and everyone that contributed in any way to the *Athena community in general (emulator, releases, support etc)  :no1: 


#5 Sanasol

Sanasol

    Advanced Member

  • Members
  • PipPipPip
  • 43 posts
  • LocationSt. Petersburg
  • Github:s-anasol

Posted 07 September 2014 - 07:57 AM

I had a similar idea and I'll suggest them to you, some game I used to play, for example there were some kinds of skeleton, lets say: skeleton1, skeleton2, skeleton3 and skeleton4, they were all aggressive, but when you killed a certain quantity of them, there were a bar called "friend of skeletons" (or something like that xD) and when it reaches 100% they would not be aggressive anymore, so all in all my suggestion is:
 
- add an option so we can add another value besides 1 (ex: so we can set it to 1000 and after variable was set to >= 1000 it would activate the script)
- add an option to set an array of monsters from the same kind (like kobolds etc) and a single variable would affect all ids in that variable
 
 
thanks for the source release and feel free to add or not my suggestions xD

 

1. I think this can be done by simple script

OnNPCKillEvent:if (killedrid == MOB ID && !loyaMOB ID){    if(killed_mobs_MOB ID < 100)    {        set killed_mobs_MOB ID,killed_mobs_MOB ID+1;    }    else    {        set loyaMOB ID,1;    }}end;

 

2. I will think about this, but it too depends on your script, how you will code it :P

 

also i want do one variable for all 'loyaltys', using bitmask.



#6 Ezeriel

Ezeriel

    Member

  • Members
  • PipPip
  • 16 posts
  • Emulator:Hercules

Posted 04 May 2016 - 05:29 AM

 

I had a similar idea and I'll suggest them to you, some game I used to play, for example there were some kinds of skeleton, lets say: skeleton1, skeleton2, skeleton3 and skeleton4, they were all aggressive, but when you killed a certain quantity of them, there were a bar called "friend of skeletons" (or something like that xD) and when it reaches 100% they would not be aggressive anymore, so all in all my suggestion is:
 
- add an option so we can add another value besides 1 (ex: so we can set it to 1000 and after variable was set to >= 1000 it would activate the script)
- add an option to set an array of monsters from the same kind (like kobolds etc) and a single variable would affect all ids in that variable
 
 
thanks for the source release and feel free to add or not my suggestions xD

 

1. I think this can be done by simple script

OnNPCKillEvent:if (killedrid == MOB ID && !loyaMOB ID){    if(killed_mobs_MOB ID < 100)    {        set killed_mobs_MOB ID,killed_mobs_MOB ID+1;    }    else    {        set loyaMOB ID,1;    }}end;

 

2. I will think about this, but it too depends on your script, how you will code it :P

 

also i want do one variable for all 'loyaltys', using bitmask.

 

Good day Sir @Sanasol

I know this is quite an old post of yours Sir.. but I must say that this is so nice.. I really hope that if you have your spare time that maybe you can improve this project of yours.

Let just say an idea that when you reach the acquired amount or value that Sir @evilpunker state.. then a Monster that you gain its Loyalty will truly help to fight other monster for you. . some kind of a Pet or Homunculus that helps fight in battle.

 

hehehe.. just a fun idea though..  :D 

May you have a great week wherever you are.



#7 Sanasol

Sanasol

    Advanced Member

  • Members
  • PipPipPip
  • 43 posts
  • LocationSt. Petersburg
  • Github:s-anasol

Posted 04 May 2016 - 03:52 PM

 

 

I had a similar idea and I'll suggest them to you, some game I used to play, for example there were some kinds of skeleton, lets say: skeleton1, skeleton2, skeleton3 and skeleton4, they were all aggressive, but when you killed a certain quantity of them, there were a bar called "friend of skeletons" (or something like that xD) and when it reaches 100% they would not be aggressive anymore, so all in all my suggestion is:
 
- add an option so we can add another value besides 1 (ex: so we can set it to 1000 and after variable was set to >= 1000 it would activate the script)
- add an option to set an array of monsters from the same kind (like kobolds etc) and a single variable would affect all ids in that variable
 
 
thanks for the source release and feel free to add or not my suggestions xD

 

1. I think this can be done by simple script

OnNPCKillEvent:if (killedrid == MOB ID && !loyaMOB ID){    if(killed_mobs_MOB ID < 100)    {        set killed_mobs_MOB ID,killed_mobs_MOB ID+1;    }    else    {        set loyaMOB ID,1;    }}end;

 

2. I will think about this, but it too depends on your script, how you will code it :P

 

also i want do one variable for all 'loyaltys', using bitmask.

 

Good day Sir @Sanasol

I know this is quite an old post of yours Sir.. but I must say that this is so nice.. I really hope that if you have your spare time that maybe you can improve this project of yours.

Let just say an idea that when you reach the acquired amount or value that Sir @evilpunker state.. then a Monster that you gain its Loyalty will truly help to fight other monster for you. . some kind of a Pet or Homunculus that helps fight in battle.

 

hehehe.. just a fun idea though..  :D

May you have a great week wherever you are.

 

It should be something like AI for homunc or mob AI on server, but homunc. mostly controlled by client.

 

So i dont know how it can be done.



#8 Ezeriel

Ezeriel

    Member

  • Members
  • PipPip
  • 16 posts
  • Emulator:Hercules

Posted 05 May 2016 - 03:55 AM

@Sanasol

 

yeah I've been thinking of it. . and it's quite impossible. . but I still hope that I would come to the point that my Server would have a 3rd Party creature that would attack and be attack by other monsters and players.. and players can attain its Loyalty, ofcourse by doing certain task.

 

heheh.. well, it's just an idea to make the server more fun and interactively.  ;)






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users


This topic has been visited by 168 user(s)