Forum > Serverside Modding

[QUESTION] Door System?

(1/2) > >>

Nic:
Hello,

at first sorry for my bad english. To my question. I have seen annother server have an door system for his housing system.

I mean a User have a Key for his house door. The door opens only, when the user have the right key.

And that example for 20-25 doors. Have you an idea how i can create that? I heard that you must edit the lock.dbc. Does anyone have any instructions for it?

Curas:
Yes it is possible, but with ManGOs you can only replace existing LockIDs.

For Example:
"Key of the Master" the Karazhan Key has the LockID 1700
"Portcullis of Karazhan" the Door has the LockID 1700 in the column "open"
That means the Key of the Master is linked to the Portcullis of Karazhan

If you wanna link that Key with an another Gameobject you simply enter the LockID "1700" to an another GameObject.

If you want a new key, then take the old ("Key of the Master") as a template and customize it to your liking.

This is the Entry from Lock.dbc for the Karazhan Key "24490" is the ItemID

--- Code: ---1700,1,0x2,0x2,0x2,0x0,,,,24490,1,16,10,0x0,,,,0,350,350,0x0,0,,,,0x1,1,0x1,0x0,0,,,,
--- End code ---

Here is my Entry from the Lock.dbc for my new Door, my ItemID is "80024" and the Name is "Key to Necromancy Academy"

--- Code: ---1700,1,0x2,0x2,0x2,0x0,,,,80042,1,16,10,0x0,,,,0,350,350,0x0,0,,,,0x1,1,0x1,0x0,0,,,,
--- End code ---

[spoiler:26c1xutr][/spoiler:26c1xutr]

If you want I am writing a more detailed tutorial in the DBC Section.

Regards

Curas

Khira:

--- Quote from: "Curas" ---but with ManGOs you can only replace existing LockIDs.
--- End quote ---
No, you can add new LockId if you want. If you understand french, I have a complete guide if you want.

Curas:
With MaNGOs? Show me that guide please, french is not my strengh but I wanna see that guide, maybe the google translator could help me.  Please PM me or something.

Regards

Curas

Nic:
Sorry i am german and i use Trinity Core 7331 (3.2.2a).

@ Curas A guide would be very good

Navigation

[0] Message Index

[#] Next page

Go to full version