Forums WoW Modding Support Archives WoWModding Support Archives [DiscordArchive] What is everything that needs to be taken from CASC Explorer for WMO files? I want this goldshireInn

[DiscordArchive] What is everything that needs to be taken from CASC Explorer for WMO files? I want this goldshireInn

[DiscordArchive] What is everything that needs to be taken from CASC Explorer for WMO files? I want this goldshireInn

rektbyfaith
Administrator
0
11-13-2021, 03:46 PM
#1
Archived author: Sanctuary • Posted: 2021-11-13T15:46:46.592000+00:00
Original source

What is everything that needs to be taken from CASC Explorer for WMO files? I want this goldshireInn, do i need to extract anything except the folder here?
[Image: unknown.png?ex=690c1a26&is=690ac8a6&hm=f...3c37c5363&]
rektbyfaith
11-13-2021, 03:46 PM #1

Archived author: Sanctuary • Posted: 2021-11-13T15:46:46.592000+00:00
Original source

What is everything that needs to be taken from CASC Explorer for WMO files? I want this goldshireInn, do i need to extract anything except the folder here?
[Image: unknown.png?ex=690c1a26&is=690ac8a6&hm=f...3c37c5363&]

rektbyfaith
Administrator
0
11-13-2021, 03:47 PM
#2
Archived author: Sanctuary • Posted: 2021-11-13T15:47:31.673000+00:00
Original source

like textures and such?
rektbyfaith
11-13-2021, 03:47 PM #2

Archived author: Sanctuary • Posted: 2021-11-13T15:47:31.673000+00:00
Original source

like textures and such?

rektbyfaith
Administrator
0
11-13-2021, 03:52 PM
#3
Archived author: Sanctuary • Posted: 2021-11-13T15:52:09.988000+00:00
Original source

And what do I add to the exportlist in noggit so I can spawn the new object?
rektbyfaith
11-13-2021, 03:52 PM #3

Archived author: Sanctuary • Posted: 2021-11-13T15:52:09.988000+00:00
Original source

And what do I add to the exportlist in noggit so I can spawn the new object?

rektbyfaith
Administrator
0
11-13-2021, 03:58 PM
#4
Archived author: implave • Posted: 2021-11-13T15:58:25.188000+00:00
Original source

if you are taking it from sl you would first need to downport it if you want to use it in noggit
rektbyfaith
11-13-2021, 03:58 PM #4

Archived author: implave • Posted: 2021-11-13T15:58:25.188000+00:00
Original source

if you are taking it from sl you would first need to downport it if you want to use it in noggit

rektbyfaith
Administrator
0
11-13-2021, 03:58 PM
#5
Archived author: implave • Posted: 2021-11-13T15:58:34.033000+00:00
Original source

and 335 in general
rektbyfaith
11-13-2021, 03:58 PM #5

Archived author: implave • Posted: 2021-11-13T15:58:34.033000+00:00
Original source

and 335 in general

rektbyfaith
Administrator
0
11-13-2021, 04:04 PM
#6
Archived author: stoneharry • Posted: 2021-11-13T16:04:03.385000+00:00
Original source

<@!787614711738138634> since you seem to understand this stuff, mind explaining this to me please?

I'm just trying to come to grips with the spell mask system. Looking at a tree of life example where values > 0:
```
-- ID = 5420
-- SpellFamilyName = 7
-- SpellFamilyFlags1 = 134217728
-- EffectSpellClassMaskA1 = 80
-- EffectSpellClassMaskA2 = 67108880
-- EffectSpellClassMaskC1 = 80
-- EffectSpellClassMaskC2 = 67108880
```
So in this case I can query:
```sql
SELECT id, SpellName0 FROM spell WHERE
SpellFamilyName = 7 AND
(
(SpellFamilyFlags & 80) > 0 OR
(SpellFamilyFlags1 & 67108880) > 0 OR
(SpellFamilyFlags2 & 0) > 0
);
```
Where does EffectSpellClassMaskB1..3 and EffectSPellClassMaskC1..C3 map to? Are they AND' against the same family flags? In this case A1..3 and C1..3 have the same values
rektbyfaith
11-13-2021, 04:04 PM #6

Archived author: stoneharry • Posted: 2021-11-13T16:04:03.385000+00:00
Original source

<@!787614711738138634> since you seem to understand this stuff, mind explaining this to me please?

I'm just trying to come to grips with the spell mask system. Looking at a tree of life example where values > 0:
```
-- ID = 5420
-- SpellFamilyName = 7
-- SpellFamilyFlags1 = 134217728
-- EffectSpellClassMaskA1 = 80
-- EffectSpellClassMaskA2 = 67108880
-- EffectSpellClassMaskC1 = 80
-- EffectSpellClassMaskC2 = 67108880
```
So in this case I can query:
```sql
SELECT id, SpellName0 FROM spell WHERE
SpellFamilyName = 7 AND
(
(SpellFamilyFlags & 80) > 0 OR
(SpellFamilyFlags1 & 67108880) > 0 OR
(SpellFamilyFlags2 & 0) > 0
);
```
Where does EffectSpellClassMaskB1..3 and EffectSPellClassMaskC1..C3 map to? Are they AND' against the same family flags? In this case A1..3 and C1..3 have the same values

rektbyfaith
Administrator
0
11-13-2021, 04:09 PM
#7
Archived author: <o> • Posted: 2021-11-13T16:09:09.242000+00:00
Original source

ABC in both cases is one 96-bit long bitfield, so A-bits only map to A-bits, B-bits to B etc

For a SourceEffect (belonging to a SourceSpell) and a TargetSpell:
- If SourceSpell.SpellFamilyName != TargetSpell.SpellFamilyName, there is no match
- If SourceEffect.EffectFlagsABC & TargetSpell.SpellFamilyFlagsABC != 0, there is a match, otherwise no match
rektbyfaith
11-13-2021, 04:09 PM #7

Archived author: <o> • Posted: 2021-11-13T16:09:09.242000+00:00
Original source

ABC in both cases is one 96-bit long bitfield, so A-bits only map to A-bits, B-bits to B etc

For a SourceEffect (belonging to a SourceSpell) and a TargetSpell:
- If SourceSpell.SpellFamilyName != TargetSpell.SpellFamilyName, there is no match
- If SourceEffect.EffectFlagsABC & TargetSpell.SpellFamilyFlagsABC != 0, there is a match, otherwise no match

rektbyfaith
Administrator
0
11-13-2021, 04:09 PM
#8
Archived author: <o> • Posted: 2021-11-13T16:09:23.383000+00:00
Original source

ill brb, can write a longer reply once im back
rektbyfaith
11-13-2021, 04:09 PM #8

Archived author: <o> • Posted: 2021-11-13T16:09:23.383000+00:00
Original source

ill brb, can write a longer reply once im back

rektbyfaith
Administrator
0
11-13-2021, 04:12 PM
#9
Archived author: stoneharry • Posted: 2021-11-13T16:12:19.202000+00:00
Original source

Gotcha, so in this case it would be:
```mysql

SELECT id, SpellName0 FROM spell WHERE
SpellFamilyName = 7 AND
(
(SpellFamilyFlags & (80 + 67108880 + 0)) > 0 OR
(SpellFamilyFlags1 & (0 + 0 + 0)) > 0 OR
(SpellFamilyFlags2 & (80 + 67108880 + 0)) > 0
);
```
rektbyfaith
11-13-2021, 04:12 PM #9

Archived author: stoneharry • Posted: 2021-11-13T16:12:19.202000+00:00
Original source

Gotcha, so in this case it would be:
```mysql

SELECT id, SpellName0 FROM spell WHERE
SpellFamilyName = 7 AND
(
(SpellFamilyFlags & (80 + 67108880 + 0)) > 0 OR
(SpellFamilyFlags1 & (0 + 0 + 0)) > 0 OR
(SpellFamilyFlags2 & (80 + 67108880 + 0)) > 0
);
```

rektbyfaith
Administrator
0
11-13-2021, 04:12 PM
#10
Archived author: stoneharry • Posted: 2021-11-13T16:12:58.662000+00:00
Original source

Or no, summed wouldn't make sense if it is one long field

I guess I'll convert it into a binary string then read it back to a long
rektbyfaith
11-13-2021, 04:12 PM #10

Archived author: stoneharry • Posted: 2021-11-13T16:12:58.662000+00:00
Original source

Or no, summed wouldn't make sense if it is one long field

I guess I'll convert it into a binary string then read it back to a long

Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)