Jump to content
  • 0

Question

Posted (edited)

I'm trying to create my own custom castle, but using an existing map, I already duplicated it and have it working.

My problem is how could I add the mapflags and have the guild emblem show when the castle is taken?

I've attempted this on my own, but I get an warning saying a guild castle isn't set for my map.

Any help would be greatly appreciated!

~Thank you very much! /no1

Edited by Screwdriver

5 answers to this question

Recommended Posts

Posted

Define the map as a castle in trunk/db/castle_db.txt

You will also need to edit trunk/npc/guild/agit_main.txt

Search for these sections: // Add custom Guild Castles here

and add the appropriate info for your map (emp coordinates, monster spawns, donpcevent, guild town warp coordinates, guardian coordinates, guild dungeon warp coordinates, treasure mob_id/coordinates, etc.)

Thank you ^_^, I have a question /meh

For this line;

Agit_Main.txt

else if (strnpcinfo(2) == "CASTLE") { donpcevent "::OnRecvCastlePt01"; }

Would I use my own ::ONEvent, or use an existing one?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...