Modcraft - The community dedicated to quality WoW modding!
Wrath of the Lich King Modding => Miscellaneous => Tutorials => Topic started by: akriso on January 18, 2013, 05:00:49 pm
-
First we need to create a spell that will hang up on us effect.
The figure below outlines all that is necessary for that would spell overlay effects.
(http://i.imgur.com/vMf5Z.png)
Next, you need to convert ScreenEffect.dbc with dbcUTIL
(http://i.imgur.com/whb4W.png)
1 ID int
2 Name str
3 Type int
- 0: ffxEffectGlow
- 1: ffxEffectDeath
- 2: ffxEffectNetherWorld
- 3: ffxEffectSwirlingFog
4 Col color, see in hex. rrggbbxx
5 edge int Screen Edge Size
6 bw int (the higher this is.. the more Black and White the screen will go)
7 unk null
8 LightParams iRefId
9 SoundAmbience iRefId
10 ZoneMusic iRefId
Let's create a test for the effect.
900,"test@akriso-2",3,-872349952,0x2,0,,-1,0,0,
900 - ID;
test@akriso-2 - Name;
3 - Effect Swirling Fog;
-872349952 - rrggbbxx;
0x2 - Screen Edge Size;
0 - bw int (the higher this is.. the more Black and White the screen will go);
_ - null;
-1 - LightParams;
0 - SoundAmbience;
0 - ZoneMusic.
Save both DBC file, restart the server and make a patch for the client.
902,"test@akriso-3",2,-176267558,0x2,0,,-1,0,0,
(http://i.imgur.com/WhOtq.jpg)
900,"test@akriso-2",3,-872349952,0x2,0,,-1,0,0,
(http://i.imgur.com/lDMpu.jpg)
-
If you have questions about spell.dbc screenEffect.dbc or you can ask them in the thread.
-
Thanks for this tutorial :)
-
I have a question, where do you define that this spell activated when u enter in a custom continent?
Thanks.
-
I have a question, where do you define that this spell activated when u enter in a custom continent?
Thanks.
as I said - I do not know much English, but understood how you want to learn how to do so, that would spell-activated when a player enters a certain zone.
Here is a chunk of code from TrinityCore
REPLACE INTO `spell_area` VALUES ('Spell ID ', 'Area ID, '0', '0', '0', '0', '2', '1', '64', '11');
Spell will be applied automatically when you log into the zone and can not be canceled.
-
Looks pretty good akriso. Thanks for the guide :)
-
I have a question, where do you define that this spell activated when u enter in a custom continent?
Thanks.
as I said - I do not know much English, but understood how you want to learn how to do so, that would spell-activated when a player enters a certain zone.
Here is a chunk of code from TrinityCore
REPLACE INTO `spell_area` VALUES ('Spell ID ', 'Area ID, '0', '0', '0', '0', '2', '1', '64', '11');
Spell will be applied automatically when you log into the zone and can not be canceled.
Thanks, are u spanish or...¿
-
Thanks, are u spanish or...¿
Russian :)
-
I think is necessary extract custom vmaps cause spell_area need a Area Id, and if you havent got it, it wont work, if someone can confirm it...
Thanks.
-
I think is necessary extract custom vmaps cause spell_area need a Area Id, and if you havent got it, it wont work, if someone can confirm it...
Thanks.
How are vmaps even remotely related to areaid if you want to create a screen effect for a spell ?
-
I think is necessary extract custom vmaps cause spell_area need a Area Id, and if you havent got it, it wont work, if someone can confirm it...
Thanks.
How are vmaps even remotely related to areaid if you want to create a screen effect for a spell ?
Where else would the server know the area id from?!
-
Here is a video showing the work of the example dungeon Zul'Gurub, I used only 2 new dbc file and line in the sql shown above.
http://www.youtube.com/watch?v=yMvrWDWkCe8
-
Here is a video showing the work of the example dungeon Zul'Gurub, I used only 2 new dbc file and line in the sql shown above.
http://www.youtube.com/watch?v=yMvrWDWkCe8
Yes, thanks, but Zulgurub have got a blizzlike Area Id's so if you want to put the screen effect in a custom map, you need to extract custom vmaps, to do that the server recognise the area id of the new zone.
Thanks. when i get it i will make a tutorial.
-
to create AreaID not need Vmaps ...
-
to create AreaID not need Vmaps ...
Create areaid is areatable, but when u put .gps in custom zone dont recognise Vmaps, so dont recognise AreaId, try putting .gps in a blizzlike zone and in a custom zone, see the diference, i think this is the error.
Thanks.
-
I think is necessary extract custom vmaps cause spell_area need a Area Id, and if you havent got it, it wont work, if someone can confirm it...
Thanks.
How are vmaps even remotely related to areaid if you want to create a screen effect for a spell ?
Where else would the server know the area id from?!
I am pretty sure you mean maps, because vmaps are not even calling the area ids within extracting and assembling process.
-
In game said: "There arent Vmaps for this zone" instead of AreaID