Register for your free account! | Forgot your password?

You last visited: Today at 23:25

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Creating Custom Mobs

Discussion on Creating Custom Mobs within the SRO PServer Questions & Answers forum part of the SRO Private Server category.

Reply
 
Old   #1
 
erdgtr's Avatar
 
elite*gold: 0
Join Date: Dec 2009
Posts: 157
Received Thanks: 40
Creating Custom Mobs

Hi,
i would like to ad a custom mob. For example i would like to copy Lord Yarkan with custom skills and custom stats and give him a new name. I already searched if there is already a guide but i couldnt find one. Some hints would be really great. Thanks in advance
erdgtr is offline  
Old 01/20/2023, 16:01   #2
 
elite*gold: 0
Join Date: Jul 2020
Posts: 234
Received Thanks: 230
Here is some guide I created long time ago, ofc. there might be more up to date information:


To copy a mob, you need to do the following steps (put the results to excel to change stuff):
1. Query mob ID by codename of mob in RefObjCommon
2. Query RefObjChar mob ID by using Link from RefObjCommon (last column)
3. Add different skills for skills 1 to 10 in RefObjChar to use different skills on mob (need to match animations, LY = three animations only)
4. Query Tactics ID in RefTactics by mob ID from RefObjCommon
5. Copy your new information to the tables in your DB: with new RefObjCommon ID, new RefObjChar ID, new RefTactics ID, ofc. they need to be linked
6. Use DB2Media tool to generate media entries, for chardata text files
7. If you did not add new Skill IDs, you do not need to add anything to skilldata files

To check for the animations, you need to use the skilleffect file (browse with notepad++ and search for all lines). Usually there should be skills on mobs with "ANI_ATTACK1", "ANI_ATTACK2" and so on. These need to match your new skills or you do not see any animation ongoing.

I attached a quick query to catch (almost) all information for specific mobs by given name. Make sure to match the skillnames too.
Attached Files
File Type: txt Mob_Query.txt (1,014 Bytes, 60 views)
OKeks is offline  
Thanks
5 Users
Old 03/27/2024, 01:35   #3
 
yoneh1's Avatar
 
elite*gold: 0
Join Date: Dec 2011
Posts: 72
Received Thanks: 42
I added my own mob but my skills crash my client, when I use skills from another mob it works. Is it because I did not update reftactics?
I’d like to add my own skills so I can further add skilleffect animations.
TY
yoneh1 is offline  
Old 04/02/2024, 23:03   #4
 
elite*gold: 0
Join Date: Jul 2020
Posts: 234
Received Thanks: 230
If you add your own skill you can get the following result:

ONE Crash: You will receive a crash, if your skill is invalid (e.g. skill ID not correct), your skill does not work in general (e.g. wrong formatting, params do not work ...), your client cannot use the skill, because you did not add it to the client's media file correctly OR you called an animation that does not match to the BSR file.

TWO Nothing happens: Most likely you did not add the skill to chardata of mob OR your mob cannot attack, because of missing tactics entry.

THREE Only damage numbers (mob do not move): In this case you need to match your skilleffect file part 3 (skill details) and part 2 (animation).

In your case I would recommend the following tests:
1. Disable all skills on your mob, spawn it ingame and make sure it is loading correctly.
2. Open the BSR file and check how many animation will be supported by your mob (search for _attack). You can also find them in skilleffect file e.g. ANI_ATTACK1 and under data/prim/ani folder for you mob. Make sure you do not use a non supported animation call (e.g. higher number or completely missing animation)
3. Use a dummy skill from a different mob with ANI_ATTACK1 as you did before. Please also make sure there is no AI Skill used. (Check ingame)
4. Make an exact copy of the whole skill and give it a new (unused) skill ID.
5. Add the copy of the skill to your chardata line and update your skilldata file from media.pk2.
6. Check the skill ingame and let us know about what is happening.
6a. If there is no crash, you can proceed to modify skill parameters FIRST and double check each step ingame.
6b. If there is still a crash, you might need to upload the files for us to check.

(It might be possible, that the mob still does not move. Hoever, if you add some status information e.g. burn, you should see a result ingame, if you do not eat pills.)

AFTER your successfully loaded your skill and there is no crash, you can start to clone the skilleffect entries for the skill too and modify the lines as needed. If you want to use the original animation for testing, you can add the original skill into RefSkill.

Please let us know about your result.
OKeks is offline  
Thanks
1 User
Old 04/13/2024, 01:04   #5
 
yoneh1's Avatar
 
elite*gold: 0
Join Date: Dec 2011
Posts: 72
Received Thanks: 42
Thank You
yoneh1 is offline  
Reply

Tags
add, create, custom, mob


Similar Threads Similar Threads
[HELP]Spawning Mobs/Creating Mobs
06/01/2015 - 4Story - 3 Replies
#fuckyouelite
[HELP]Spawning Mobs/Creating Mobs
03/13/2013 - 4Story - 0 Replies
Someone Know how to spawn Mobs with Happy tool or Create other mobs? I tried to modify level for Mobs to create a custom server, but when i edit, restart server, Mob disappears i'm waiting New version of RegisterScript Coming Soon xD Some one please have a solution?



All times are GMT +1. The time now is 23:26.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.