How to make new mobid?

Post Reply
KOSMOS
Posts: 67
Joined: Thu Jan 29, 2015 10:36 pm

How to make new mobid?

Post by KOSMOS » Mon Apr 11, 2016 7:41 pm

Ok so here is what I am trying to do. I am trying to make an Epona(Rani) BC!
But when I try to make a spawn point for it, it will not let me due to fact I already have an entry for that mobid. I added it to mob_groups.sql though I can not seem to find how to create a new mob id. Is this something not in sql or lua? If it is that is fine just trying to figure out what I seem to be missing here.

Thanks in advance.

KOSMOS
Posts: 67
Joined: Thu Jan 29, 2015 10:36 pm

Re: How to make new mobid?

Post by KOSMOS » Mon Apr 11, 2016 9:09 pm

Never mind dug around a bit realizing I can only modify other mobs already in a zone.

KOSMOS
Posts: 67
Joined: Thu Jan 29, 2015 10:36 pm

Re: How to make new mobid?

Post by KOSMOS » Thu Apr 14, 2016 7:49 am

KOSMOS wrote:Never mind dug around a bit realizing I can only modify other mobs already in a zone.
Though I am guess it is possible just will require modifying the source code? Which I do plan to figure out though want to get server set up and open to public before I start something like that.

nasomi
Posts: 141
Joined: Wed Feb 13, 2013 8:51 am

Re: How to make new mobid?

Post by nasomi » Thu Apr 14, 2016 8:45 am

KOSMOS wrote:
KOSMOS wrote:Never mind dug around a bit realizing I can only modify other mobs already in a zone.
Though I am guess it is possible just will require modifying the source code? Which I do plan to figure out though want to get server set up and open to public before I start something like that.
Unless you're modifying the source code to the client, no. These id's are hard coded into the client, if you tried to send your own, the client would not know what to do with it.

KOSMOS
Posts: 67
Joined: Thu Jan 29, 2015 10:36 pm

Re: How to make new mobid?

Post by KOSMOS » Thu Apr 14, 2016 6:25 pm

nasomi wrote:
KOSMOS wrote:
KOSMOS wrote:Never mind dug around a bit realizing I can only modify other mobs already in a zone.
Though I am guess it is possible just will require modifying the source code? Which I do plan to figure out though want to get server set up and open to public before I start something like that.
Unless you're modifying the source code to the client, no. These id's are hard coded into the client, if you tried to send your own, the client would not know what to do with it.
I am not trying to make completely different mobs just using mobs from other zones. So just need to figure out how to pull the correct ROM, just got to figure out how to do that figure.

Basically I am trying to make new BCs with mobs not in BCs. Like Rani, Tojil, etc.

User avatar
TeoTwawki
Developer
Posts: 527
Joined: Mon Jul 15, 2013 9:50 pm

Re: How to make new mobid?

Post by TeoTwawki » Fri Apr 15, 2016 6:43 pm

Nasomi wrote:Unless you're modifying the source code to the client, no
Dat mods, not source. Its really easy to mode the entity list dat, but you'd have to have all the player using that same modification which is a big pain in the rear
KOSMOS wrote:I am not trying to make completely different mobs just using mobs from other zones. So just need to figure out how to pull the correct ROM, just got to figure out how to do that figure.

Basically I am trying to make new BCs with mobs not in BCs. Like Rani, Tojil, etc.
Client hard codes them by zone. The only way around that it to let the object be named "NPC" in game (though server side it can be anything) or to use a faked pet object after either getting Kj to tell you how to use instantiate code or figuring that out yourself. Good luck! :lol:
Hi, I run The Demiurge server.


Image
Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live. - Martin Golding
PLS USE [ code ] CODE TAGS [ /code ] WHEN POSTING CODE
DO NOT PRIVATE MESSAGE ME ABOUT BUGS

KOSMOS
Posts: 67
Joined: Thu Jan 29, 2015 10:36 pm

Re: How to make new mobid?

Post by KOSMOS » Fri Apr 15, 2016 9:09 pm

TeoTwawki wrote:
Nasomi wrote:Unless you're modifying the source code to the client, no
Dat mods, not source. Its really easy to mode the entity list dat, but you'd have to have all the player using that same modification which is a big pain in the rear
KOSMOS wrote:I am not trying to make completely different mobs just using mobs from other zones. So just need to figure out how to pull the correct ROM, just got to figure out how to do that figure.

Basically I am trying to make new BCs with mobs not in BCs. Like Rani, Tojil, etc.
Client hard codes them by zone. The only way around that it to let the object be named "NPC" in game (though server side it can be anything) or to use a faked pet object after either getting Kj to tell you how to use instantiate code or figuring that out yourself. Good luck! :lol:
Sweet thank you, I will try to figure that out on my own. Once I have a decent idea what it is then I will try to see if I can get Kj to help.

Post Reply