Ruins of Hell Posted August 25, 2009 Author Share Posted August 25, 2009 Hey guys, so I've decided to start working on a pet system. Here's what I've done so far:* Make the NPC follow you, change maps and give the ability to summon/dismiss it.* Give the NPC little words (hey, bluber, haha, aahh!, etc.)TODO:* Add bonuses to the NPC's* Make the NPC's give "attack animation's"* Create an Beta test to get all these haters off my back >.>.And… a little teaser...![](http://www.freemmorpgmaker.com/files/imagehost/pics/d4730c962063035937534df58024c323.png)Yep, it's working fine too. I'll keep you updated. Link to comment Share on other sites More sharing options...
Fragment Posted August 25, 2009 Share Posted August 25, 2009 Looks great, when do you think this will be released? Link to comment Share on other sites More sharing options...
Patrick Posted August 25, 2009 Share Posted August 25, 2009 Have you worked the attack point allocations? Link to comment Share on other sites More sharing options...
Owen F Posted August 25, 2009 Share Posted August 25, 2009 i challenge that the npc is actually your pet and not just an npc standing side to side. Link to comment Share on other sites More sharing options...
Ruins of Hell Posted August 25, 2009 Author Share Posted August 25, 2009 @Owen:> i challenge that the npc is actually your pet and not just an npc standing side to side.I challenge that you are Owen Fox and not an evil project sent to destory Eclipse.But, I'll get a better screen shot (of us moving and in different maps.@üÑÂøчġġÑâ€Ã‘‚:> Have you worked the attack point allocations?Yep.@Fragment:> Looks great, when do you think this will be released?Don't ask for release dates. But, I suspect around the next two months. I'm also working on a way to make the Pet work in PvP. Link to comment Share on other sites More sharing options...
munro Posted August 25, 2009 Share Posted August 25, 2009 No offence, but it looks like you just took a screen of an npc standing beside you.I'm not saying it doesnt exist or you're not working on it, its just that screen doesnt really show anything. Link to comment Share on other sites More sharing options...
Ruins of Hell Posted August 25, 2009 Author Share Posted August 25, 2009 @Munro:> No offence, but it looks like you just took a screen of an npc standing beside you.> > I'm not saying it doesnt exist or you're not working on it, its just that screen doesnt really show anything.None taken, you don't have to take my word for it. It's not like it matters whether you think it exists or not. It's real, and nothing you say can change the fact that the script is in the main.txt. Link to comment Share on other sites More sharing options...
Owen F Posted August 27, 2009 Share Posted August 27, 2009 tell me how you can get rid of the npc, and ill believe you <3I already know how to make it appear but not how to:Follow youGet rid of the pest. (yes, pest not pets) Link to comment Share on other sites More sharing options...
Ruins of Hell Posted August 27, 2009 Author Share Posted August 27, 2009 If I told you, I would give it away. But, if you go to unnowns "All Commands" list under the Acouncements, you'll find the two commands and the serveral functions you need. Link to comment Share on other sites More sharing options...
emblem Posted August 27, 2009 Share Posted August 27, 2009 It's easy to do this …The only limitation would be having more than one pet on a map.Although you could increase the number of NPC's per map, but that's a source edit not a script. Link to comment Share on other sites More sharing options...
Ruins of Hell Posted August 27, 2009 Author Share Posted August 27, 2009 Yeah, but still, the Pet System is scripted. Not anything I else I use. I use .ini a lot in this script for pretty much everything. Link to comment Share on other sites More sharing options...
Guest Posted August 27, 2009 Share Posted August 27, 2009 i cant wait till this is released it sounds awesome XD Link to comment Share on other sites More sharing options...
Ruins of Hell Posted August 27, 2009 Author Share Posted August 27, 2009 @demonxkid:> i cant wait till this is released it sounds awesome XDIf it is. I'm debating on whether to release it because if I do, everybody will just rip it and call it their own. Also, I still have to iron out some bugs. In addition to that, I now have my own project.So the point I'm trying to get across: Don't hold your breath, it might not be released.Anyway, I didn't even add any new things in. Anybody can just put the default commands together. (Also I plan to have this released on Cartoon Worlds Online, so you guys can Beta Test the pet system when it comes out) Link to comment Share on other sites More sharing options...
Owen F Posted August 27, 2009 Share Posted August 27, 2009 Call SetMapNpcNumber(MapNum, Index, number)Quote Call SetMapNpcNumber(MapNum, Index, number) number = the number of the npc - set the npc on that map Example: Call SetMapNpcNumber(1, Index, 1)Call SetMapNpcTarget( MapNum, Index, Target)Quote Call SetMapNpcTarget( MapNum, Index, Target) target = the index number of the player the npc should target - set the target of the npc Example: Call SetMapNpcTarget(1, Index, 1)Call SetMapNpcDir(MapNum, Index, direction)Quote Call SetMapNpcDir( MapNum, Index, direction) direction = the direction the npc should face - set the direction of the npc Example: Call SetMapNpcDir(4, Index, 0)Call SetMapNpcY( MapNum, Npc_Index, NPC_Y)Quote Call SetMapNpcY( MapNum, npc_Index, NPC_Y) - set the Y location of the npc Example: Call SetMapNpcY(1, 2, 5)Call SetMapNpcX( MapNum, Index, NPC_X)Quote Call SetMapNpcX( MapNum, npc_Index, NPC_Y) - set the X location of the npc Example: Call SetMapNpcX(1, 2, 5)Call SetMapNpcHP( MapNum, npc_Index, HitPoints)Quote Call SetMapNpcHP( MapNum, npc_Index, HitPoints) - set the health of the npc Example: Call SetMapNpcHP(1, 2, 15)Call sendNPC( MapNum, MapNpcNum)Quote Call sendNPC( MapNum, MapNpcNum) - update the npc after altering it through scripts Example: Call sendNPC(1, 2)Function GetNpcMaxhp(npc_Index)Quote GetNpcMaxhp(npc_Index) - get the max health of the npc Example: GetNpcMaxhp(1)Function GetMapNPCnumber( MapNum, Index)Quote GetMapNPCnumber( MapNum, Index) - get the number of the npc on that map Example: GetNpcMaxhp(1, 5)Function GetMapNpcHP( MapNum, Index)Quote GetMapNpcHP( MapNum, Index) - get the health of the npc on that map Example: GetMapNpcHP(1, 5)Function GetNpcName(number)Quote GetNpcName(number) - returns the name of the npc Example: GetNpcName(50)Function GetNpcBehavior( number)Quote GetNpcBehavior( number) - returns the behavior of the npc (shopkeeper, guard, etc) Example: GetNpcBehavior(50)Function GetNpcExp(number)Quote GetNpcExp(number) - returns the number of exp you get from that specific npc Example: GetNpcExp(50)Function GetNpcDefence(number)Quote GetNpcDefence(number) - returns the defence of that specific npc Example: GetNpcDefence(50)Function GetNpcStrength( number)Quote GetNpcStrenght(number) - returns the strenght of that specific npc Example: GetNpcStrenght(50)Call SendIndexWornEquipment(Index)Quote SendIndexWornEquipment(Index) - updates you're current equipment to everybody Example: call SendIndexWornEquipment(Index)Call SendIndexWornEquipmentFromMap(Index)Quote SendIndexWornEquipmentFromMap(Index) - updates you're current equipment to everybody on the same map as you are on Example: call SendIndexWornEquipmentFromMap(Index)Function getPlayersOnMap(MapNum)Quote getPlayersOnMap(MapNum) - returns the number of players on that map Example: getPlayersOnMap(1)Call ScriptSpawnNpc(MapNpcNum, MapNum, spawn_x, spawn_y, NpcNum)Quote ScriptSpawnNpc(MapNpcNum, MapNum, spawn_x, spawn_y, NpcNum) - spawns an npc on that specific map Example: Call ScriptSpawnNpc(5, 1, 20, 10, 50)**This is very interesting. i could probably make a pet script from this**But do you guys want me to ? it would be public but idk how long it would take xd im scripting a lot of things atm. Link to comment Share on other sites More sharing options...
Ruins of Hell Posted August 27, 2009 Author Share Posted August 27, 2009 Alot of the functions are not needed. And you missed a lot of them. Link to comment Share on other sites More sharing options...
Owen F Posted August 27, 2009 Share Posted August 27, 2009 > This is very interesting. i could probably make a pet script from this Link to comment Share on other sites More sharing options...
Valon328 Posted August 27, 2009 Share Posted August 27, 2009 i support you soul! I beleive you WILL make a very smexy script! XD Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now