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: Sky ID in raid?  (Read 2056 times)

JRAY

  • Registred Member
  • BLP Convertor
  • *****
  • Posts: 6
    • View Profile
Sky ID in raid?
« on: January 24, 2014, 12:18:48 pm »
Lookin how to find a sky in a raid.The sky for the Illidan fight with the big moon.I tried usin the map dbc to get the id to use for the light dbc but it isnt the one im lookin for.

I stumbled upon the sky i wanted a year ago when I was doin edits but I been away from it for a awhile now and I lost all edits when my other comp fried.So I have nothin to referance.Pretty much I'm just lookin for a point in the right direction what dbc file to look in to locate sky ID for instances not map zone.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

schlumpf

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 2967
    • View Profile
Re: Sky ID in raid?
« Reply #1 on: January 24, 2014, 12:27:49 pm »
Lights are defined the same for "maps" and instances.

Code: [Select]
SELECT Light.* FROM Light, Map WHERE Light.MapID = Map.ID AND Map.InternalName = "BlackTemple"
If you get more than one, you need to try, which one it is.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

JRAY

  • Registred Member
  • BLP Convertor
  • *****
  • Posts: 6
    • View Profile
Re: Sky ID in raid?
« Reply #2 on: January 24, 2014, 05:59:51 pm »
Thats the problem only one is showin for the map.Im lookin for the event sky that comes with the Illidin encounter.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

schlumpf

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 2967
    • View Profile
Re: Sky ID in raid?
« Reply #3 on: January 24, 2014, 06:49:10 pm »
So a sky dynamically appears during the encounter? That's a spell effect then. Just look in the sources of your server's script, then:
https://github.com/TrinityCore/TrinityC ... llidan.cpp
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

JRAY

  • Registred Member
  • BLP Convertor
  • *****
  • Posts: 6
    • View Profile
Re: Sky ID in raid?
« Reply #4 on: January 24, 2014, 07:30:50 pm »
I dont think its a spell effect the sky im lookin for is just isolated to just that one area in Black Temple(Illidan fight).I just can't find the ID and cant remember what its listed as or what dbc its in.Its static to just that one spot no spell or anything causes a sky change.Anyways thanks for the response maybe Ill stumble upon the right entry again someday xD
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

schlumpf

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 2967
    • View Profile
Re: Sky ID in raid?
« Reply #5 on: January 24, 2014, 09:57:26 pm »
If it is a static sky, it is most likely in Light.dbc. If it isn't it may as well be a model. You may want to just look in Stars/ in the MPQ.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

JRAY

  • Registred Member
  • BLP Convertor
  • *****
  • Posts: 6
    • View Profile
Re: Sky ID in raid?
« Reply #6 on: January 25, 2014, 12:44:44 am »
It is in the light dbc i just cant identify which line it is .Im basically just lookin for a reference dbc file to decipher which line it is and the map dbc didnt help me.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

schlumpf

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 2967
    • View Profile
Re: Sky ID in raid?
« Reply #7 on: January 25, 2014, 12:48:30 am »
There is no other way it is within light.dbc except for having that black temple map id.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Steff

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 4551
    • View Profile
Re: Sky ID in raid?
« Reply #8 on: January 26, 2014, 07:48:26 pm »
Look in map table.
Searched BalckTempel ID. It is 564
Fast SQLQUery on Light table.

There is only on global line.

SQL: SELECT * FROM `dbc_Light` WHERE `iRefID_Map` = 564 LIMIT 0, 30 ;

Datensätze: 1

ID___iRefID_Map__position_x__position_y__position_z___falloffStart_____falloffEnd
592 _564_________0_________0_________0__________1101359954___1132706571

I cut off the rest of the filds.
« 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