This is a read only copy without any forum functionality of the old Modcraft forum.
If there is anything that you would like to have removed, message me on Discord via Kaev#5208.
Big thanks to Alastor for making this copy!

Menu

Author Topic: [QUESTION] Door System?  (Read 2680 times)

Nic

  • Registred Member
  • Polygonshifter
  • *****
  • Posts: 52
    • View Profile
[QUESTION] Door System?
« on: November 02, 2010, 06:36:05 pm »
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?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Curas

  • Registred Member
  • Race Changer
  • *****
  • Posts: 36
    • View Profile
    • http://worldofelysium.dyndns.org/
Re: [QUESTION] Door System?
« Reply #1 on: November 10, 2010, 11:02:49 pm »
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: [Select]
1700,1,0x2,0x2,0x2,0x0,,,,24490,1,16,10,0x0,,,,0,350,350,0x0,0,,,,0x1,1,0x1,0x0,0,,,,
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: [Select]
1700,1,0x2,0x2,0x2,0x0,,,,80042,1,16,10,0x0,,,,0,350,350,0x0,0,,,,0x1,1,0x1,0x0,0,,,,
[spoiler:26c1xutr][/spoiler:26c1xutr]

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

Regards

Curas
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Khira

  • Registred Member
  • GM Isle Explorer
  • *****
  • Posts: 18
    • View Profile
Re: [QUESTION] Door System?
« Reply #2 on: November 11, 2010, 02:13:30 pm »
Quote from: "Curas"
but with ManGOs you can only replace existing LockIDs.
No, you can add new LockId if you want. If you understand french, I have a complete guide if you want.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Curas

  • Registred Member
  • Race Changer
  • *****
  • Posts: 36
    • View Profile
    • http://worldofelysium.dyndns.org/
Re: [QUESTION] Door System?
« Reply #3 on: November 11, 2010, 04:41:40 pm »
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
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Nic

  • Registred Member
  • Polygonshifter
  • *****
  • Posts: 52
    • View Profile
Re: [QUESTION] Door System?
« Reply #4 on: November 13, 2010, 12:19:51 am »
Sorry i am german and i use Trinity Core 7331 (3.2.2a).

@ Curas A guide would be very good
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Curas

  • Registred Member
  • Race Changer
  • *****
  • Posts: 36
    • View Profile
    • http://worldofelysium.dyndns.org/
Re: [QUESTION] Door System?
« Reply #5 on: November 13, 2010, 03:47:52 am »
Tutorial is made, waitin' for approval. Should be available in the next two days.

Regards

Curas
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Steff

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 4551
    • View Profile
Re: [QUESTION] Door System?
« Reply #6 on: November 18, 2010, 01:47:40 pm »
Nice that questions are lead to tutorials.

Thats the right way. God work.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
Please mark as solved if solved.
Don't ask if you could ask a question... JUST ask the Question.
You can send me also offline messages. I will answer if I get online.
Skype: project.modcraft
Discord: steff#6954

Nic

  • Registred Member
  • Polygonshifter
  • *****
  • Posts: 52
    • View Profile
Re: [QUESTION] Door System?
« Reply #7 on: November 30, 2010, 06:13:04 pm »
Ah sorry i forgot this Thread. My problem has resolved, it was easy to make new doors. Thanks for helping =)
« Last Edit: January 01, 1970, 01:00:00 am by Admin »