[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
![[Image: unknown.png?ex=690c1a26&is=690ac8a6&hm=f...3c37c5363&]](https://cdn.discordapp.com/attachments/415944535718494208/909107030298624000/unknown.png?ex=690c1a26&is=690ac8a6&hm=f505fd36011de723cb7a2c6cb32e388fc138c768732a42def065fb03c37c5363&)
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&]](https://cdn.discordapp.com/attachments/415944535718494208/909107030298624000/unknown.png?ex=690c1a26&is=690ac8a6&hm=f505fd36011de723cb7a2c6cb32e388fc138c768732a42def065fb03c37c5363&)
Archived author: Sanctuary • Posted: 2021-11-13T15:47:31.673000+00:00
Original source
like textures and such?
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?
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
Archived author: implave • Posted: 2021-11-13T15:58:34.033000+00:00
Original source
and 335 in general
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
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
Archived author: <o> • Posted: 2021-11-13T16:09:23.383000+00:00
Original source
ill brb, can write a longer reply once im back
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
);
```
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