[SHO Mostly] Adding Buff fairys

This forum is for main questions (format files, STB / STL and so on).

Moderators: osRose dev team, ospRose dev team, osiRose dev team, Moderators

Forum rules
Client Editing is a delicate subject. osRose and osiRose will not support or use any Client Editing tool or results as a standard. So you are free to experiment, test, and develop there on Client Editing, but at your own risk :)

[SHO Mostly] Adding Buff fairys

Postby SirIce on Mon May 02, 2016 4:54 am

Alright here we go.

How to add a Buff NPC.
now i saw NPC cause it not necessary NEED to be a fairy to do this.
you can use Anything that is a model... this TUT will use pre-existing NPC`s from the client
we are going to use the butterflies.

First off we should create the NPC that will do the buffing.
For all buffs we do need 4 of them as they hold 1 skill each letting them buff all at same time.
Open your STB editor and open LIST_NPC.stb
we then want to fine a Clean area where no npc`s are writen... we are using lines 1607 to 1610
find a existing NPC say "Santa"
Image
and copy his entire line
past him on lines 1607, 1608, 1609. 1610 ad rename them to say "Fairy" something you can keep note of.
Image
Once done we go to the end of row and change the LNPC#### to "LNPC1607" they can now share this name
save your current work but dont close it....
Open LIST_NPC_S.stl
go to the row 1607 and add its name.
Image
once done you can save and Close the LIST_NPC_s.stl its compleate.

Now we have our NPC ID`s now we can link our model to it.
we want to link the model of the butterfly to our ID.
the butterfly ID is 8
Open up your CHR Editor and open "LIST_NPC.CHR" found in 3ddata/NPC/
Image
using char editor we make sure we are on ID 1607
and tell it to copy the ID 8 stuff.
Do the same with 1608,1609 and1610
Image
Now we have a model to our NPC!

Next up we are to create the skills that the NPC uses.
opening a new window with stb editor you open "LIST_Skill.stb"
find a line you think is good for 4 new skills... make sure they are blank.
for me i am using 3036,3037,3038 and 3039 (IF you are using my aip you need this to match)
and use the Data given in this Excel file ([url="http://www.forum.ragequitnetwork.com/download/img/Buff Fairys STB data.xlsx"]Click here[/url])
Image
save and close LIST_Skill.stb

Once you done this its time to make the NPC brain! ([url="http://www.forum.ragequitnetwork.com/download/img/AI.rar"]you can skip with premade[/url])
Open up an AIP editor and create 4 blank AIP and call it BuffFairy1, BuffFairy2, BuffFairy3, BuffFairy4
you then want to tell the AIP to "Do Skill" when idled and tell it to cast the skill you just made (Above)
Image
You can also modify how often it dose its skills but making the timer higher
Image

now open FILE_AIP.stb with your STB editor and add them into a blank area that they can fit
i have used 356 to 359
Image
Save and close the file_aip.stb

Now open up the LIST_NPC.stb once again
go to your fairy rows (1607,8,9,10) and follow down the STB intill you hit AI coloum.
now put in the AIP ID`s you just created
Image
Save and Close LIST_NPC.stb!

Now the fun part... This tool is around and public so i am showing by using this one. (This not counts OS_ROSE servers)
Open Xadets mapeditor and load up the map you want to have the Buff fairys on
select NPC and add... go to row 1607 and add all 4 of your New NPC`s.
Image
save the maps and close the editor

If you using SHO sever use my tool i made to make srvData and clone your changes directly to your server
This is a lot faster than recalling what you did and changes you made in what files.
Link to tool [url="http://forum.ragezone.com/f291/clean-srvdata-tool-server-data-1101557/"]Click here[/url]

now re-pack your VFS client (or run developers client) and test it out.
Image


Once done you now have working buffing NPC`s that ONLY buff your players.

Thank you and enjoy
-Ice
User avatar
SirIce
Jelly Bean
Jelly Bean
 
Posts: 11
Joined: Wed Nov 14, 2007 5:59 am
Location: Auz

Re: [SHO Mostly] Adding Buff fairys

Postby PurpleYouko on Mon May 02, 2016 3:07 pm

The 3 NPC Buff skills include a warp component in my files so that might cause a bit of a problem.
Something to be aware of for any one trying to do this.
NPCBuff.jpg


the durations are pretty short too

Maybe that's not the case with all VFS from different clients though.

You may need to edit these buffs in LIST_SKILL.STB to make them do what you want.

Additionally the buffs will just be run as an AOE every few seconds for anyone in range.
That's fine as long as your players are aware of this and are fine with just being buffed without asking for it. ;)

I prefer a buff system where you can talk to the NPC and receive a buff that way. But it's WAY harder to make it work that way since there is no easy way for an NPC to actively address an object in the character class in an osrose server. It would require some pretty fancy code modifications :D

Not sure if it's a good idea to be co-opting the skills codes that are designed to be use on consumable items like healing potions. It might be better to actually use the section of the STB that is designed to work with regular skills.
As i recall though, in irose there wasn't a separate section for consumables and active skills. they used the same columns in LIST_SKILL.STB so if you plan to do this in evo make sure that the skills that you use through your AIP are set up correctly
Need to lookup information on NARose items, skills, quests?
Now featuring a newly completed skill tree for all classes
Formatting fixed for different resolutions
Image

"A Gazelle is nothing but a giraffe plotted logarithmicaly"
User avatar
PurpleYouko
Rose Guru
Rose Guru
 
Posts: 4733
Joined: Fri Aug 10, 2007 2:05 pm

Re: [SHO Mostly] Adding Buff fairys

Postby SirIce on Mon May 02, 2016 5:36 pm

well could always just have the Buff scrolls on sale by NPC
then they can buff them self anywhere any time and when they want it.

all they have to deal with is List_sell if not misstaken (not looking atm)

fairy just a easy way to do it.
I knew the STB be different... but i dont touch evo much.
but they can use it as a example i guess.
User avatar
SirIce
Jelly Bean
Jelly Bean
 
Posts: 11
Joined: Wed Nov 14, 2007 5:59 am
Location: Auz


Return to Client Editing Question Zone

Who is online

Users browsing this forum: Google [Bot] and 12 guests

cron