Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Pet System in Progress (SadScripted)


Ruins of Hell
 Share

Recommended Posts

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

@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

@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

@demonxkid:

> i cant wait till this is released it sounds awesome  XD

If 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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...