Forums WoW Modding Support Archives WoWModding Support Archives [DiscordArchive] If I want to change the display Id of a spell what column would it be in? Like if I wanted to change

[DiscordArchive] If I want to change the display Id of a spell what column would it be in? Like if I wanted to change

[DiscordArchive] If I want to change the display Id of a spell what column would it be in? Like if I wanted to change

Pages (2): 1 2 Next
rektbyfaith
Administrator
0
09-25-2022, 07:03 PM
#1
Archived author: Sicalicious • Posted: 2022-09-25T19:03:10.998000+00:00
Original source

If I want to change the display Id of a spell what column would it be in? Like if I wanted to change a druids morph display. Would it be in spellvisuals.dbc?
rektbyfaith
09-25-2022, 07:03 PM #1

Archived author: Sicalicious • Posted: 2022-09-25T19:03:10.998000+00:00
Original source

If I want to change the display Id of a spell what column would it be in? Like if I wanted to change a druids morph display. Would it be in spellvisuals.dbc?

rektbyfaith
Administrator
0
09-25-2022, 07:04 PM
#2
Archived author: stoneharry • Posted: 2022-09-25T19:04:24.541000+00:00
Original source

ICC is a good example since the lich king boss fight regularly changes lighting.

Running:
```sql
SELECT id,mapid,(17066-posZ/36) AS "x",(17066.666-posX/36) AS "y",(posY/36) AS "z",falloffStart,falloffEnd,paramsclear FROM light WHERE id IN (2488, 2490, 2508, 2509)
```
We can teleport to each of the dynamic light locations, and see they are placed on the edge of the map out of bounds of player reach.

During the encounter it calls:
```c++
me->GetMap()->SetZoneOverrideLight(AREA_ICECROWN_CITADEL, LIGHT_DEFAULT, LIGHT_SOULSTORM, 10s);`
```

Passing the zone, area as the default light, the override to use, and the transition time. For god knows what reason I _still_ cannot get mine to work, even though my lights are structured in the same way now. This is fiddly.
rektbyfaith
09-25-2022, 07:04 PM #2

Archived author: stoneharry • Posted: 2022-09-25T19:04:24.541000+00:00
Original source

ICC is a good example since the lich king boss fight regularly changes lighting.

Running:
```sql
SELECT id,mapid,(17066-posZ/36) AS "x",(17066.666-posX/36) AS "y",(posY/36) AS "z",falloffStart,falloffEnd,paramsclear FROM light WHERE id IN (2488, 2490, 2508, 2509)
```
We can teleport to each of the dynamic light locations, and see they are placed on the edge of the map out of bounds of player reach.

During the encounter it calls:
```c++
me->GetMap()->SetZoneOverrideLight(AREA_ICECROWN_CITADEL, LIGHT_DEFAULT, LIGHT_SOULSTORM, 10s);`
```

Passing the zone, area as the default light, the override to use, and the transition time. For god knows what reason I _still_ cannot get mine to work, even though my lights are structured in the same way now. This is fiddly.

rektbyfaith
Administrator
0
09-25-2022, 07:06 PM
#3
Archived author: <o> • Posted: 2022-09-25T19:06:42.708000+00:00
Original source

check the implementation for that zone override light function, for some reason i think i ended up writing the packet directly when i did it, but i'm not sure why i did that
rektbyfaith
09-25-2022, 07:06 PM #3

Archived author: <o> • Posted: 2022-09-25T19:06:42.708000+00:00
Original source

check the implementation for that zone override light function, for some reason i think i ended up writing the packet directly when i did it, but i'm not sure why i did that

rektbyfaith
Administrator
0
09-25-2022, 07:06 PM
#4
Archived author: <o> • Posted: 2022-09-25T19:06:54.746000+00:00
Original source

might be something stupid core-side inside it
rektbyfaith
09-25-2022, 07:06 PM #4

Archived author: <o> • Posted: 2022-09-25T19:06:54.746000+00:00
Original source

might be something stupid core-side inside it

rektbyfaith
Administrator
0
09-25-2022, 07:07 PM
#5
Archived author: stoneharry • Posted: 2022-09-25T19:07:37.272000+00:00
Original source

It must be a data issue since I can trigger the ICC lights on/off programatically
rektbyfaith
09-25-2022, 07:07 PM #5

Archived author: stoneharry • Posted: 2022-09-25T19:07:37.272000+00:00
Original source

It must be a data issue since I can trigger the ICC lights on/off programatically

rektbyfaith
Administrator
0
09-25-2022, 07:07 PM
#6
Archived author: stoneharry • Posted: 2022-09-25T19:07:58.952000+00:00
Original source

It basically only checks you are in the zone server side before sending
rektbyfaith
09-25-2022, 07:07 PM #6

Archived author: stoneharry • Posted: 2022-09-25T19:07:58.952000+00:00
Original source

It basically only checks you are in the zone server side before sending

rektbyfaith
Administrator
0
09-25-2022, 07:10 PM
#7
Archived author: <o> • Posted: 2022-09-25T19:10:47.653000+00:00
Original source

are you trying only iwth your custom things or have you tried something like overworld lights that don't normally switch? i'm very sure i at least managed to get the latter to work, i remember changing the skybox in dragonblight to something from zul'drak
rektbyfaith
09-25-2022, 07:10 PM #7

Archived author: <o> • Posted: 2022-09-25T19:10:47.653000+00:00
Original source

are you trying only iwth your custom things or have you tried something like overworld lights that don't normally switch? i'm very sure i at least managed to get the latter to work, i remember changing the skybox in dragonblight to something from zul'drak

rektbyfaith
Administrator
0
09-25-2022, 07:11 PM
#8
Archived author: <o> • Posted: 2022-09-25T19:11:21.733000+00:00
Original source

there might be something fiddly about light id orders as well
rektbyfaith
09-25-2022, 07:11 PM #8

Archived author: <o> • Posted: 2022-09-25T19:11:21.733000+00:00
Original source

there might be something fiddly about light id orders as well

rektbyfaith
Administrator
0
09-25-2022, 07:12 PM
#9
Archived author: stoneharry • Posted: 2022-09-25T19:12:47.892000+00:00
Original source

I don't think that is possible since you cannot apply the ICC lights outside of the frozen throne area
rektbyfaith
09-25-2022, 07:12 PM #9

Archived author: stoneharry • Posted: 2022-09-25T19:12:47.892000+00:00
Original source

I don't think that is possible since you cannot apply the ICC lights outside of the frozen throne area

rektbyfaith
Administrator
0
09-25-2022, 07:23 PM
#10
Archived author: stoneharry • Posted: 2022-09-25T19:23:27.919000+00:00
Original source

Ok I take it back. You can apply the ICC lights on any map and they work.
rektbyfaith
09-25-2022, 07:23 PM #10

Archived author: stoneharry • Posted: 2022-09-25T19:23:27.919000+00:00
Original source

Ok I take it back. You can apply the ICC lights on any map and they work.

Pages (2): 1 2 Next
Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)