Modcraft - The community dedicated to quality WoW modding!
Wrath of the Lich King Modding => Serverside Modding => Topic started by: Jameyboor on December 19, 2012, 06:11:24 pm
-
So, I got this island, but I dont want people to swim off the island, so I made a custom areatrigger in areatrigger.dbc ( not sure if it works) then I added a row in areatrigger_script and made an areatrigger script that teleports you back, now it should work, only I think teleporting is a bit dull so I want something more realistic, like when the player crosses the line, two guards get summoned, they knock him out, screen fades, screen comes up again and hes somewhere else, anyone knows how to make such an animation?
-
You may add a screeneffect, which is triggered by a spell, which is cast on the player.
-
Thanks for answering Schlumpf could you tell me where I can find those screeneffects, and is there another way to apply them then normal spells ? ( via dbc )
-
I don't know about any other way. The guards attacking the player may cast them.
ScreenEffects are in a DBC.
-
I don't know about any other way. The guards attacking the player may cast them.
ScreenEffects are in a DBC.
Okay thanks man, I'm going to try it now.
-
It sounds like you should be making an areatrigger script rather than anything in the dbc. That way you can script the whole guard event in. Something a bit like this.
Areatrigger script (invisible trigger npc) with any necessary conditions, freezes player and summons 2 guards when triggered, set movepoints for guards via script to offsets of the player location, guards cast (via script) simultaneous stun visual (spell) and player is teleported.
All very possible without too much hard work.
-
thanks for replying and I know that the thing can be done in C++ and I know I can do it, it was the reality made by the black screen that concerns me.
-
I also try to DONT use scripts if not needed :)
Like portals, never used script for this. All DBCs.
-
I also try to DONT use scripts if not needed :)
Like portals, never used script for this. All DBCs.
While I do agree, DBC's still require custom patches. Although this community doesn't, many people, if not the majority of servers try to avoid custom patches.
-
I've duplicated http://www.wowhead.com/spell=50010 (http://www.wowhead.com/spell=50010" onclick="window.open(this.href);return false;) in spell.dbc and only the spell IDand changed column 111 cause the value stated : 61 and that value was an ID in ScreenEffect.dbc , I also duplicated the ghost effect from screeneffect.dbc and changed some parts, so I changed column 111 of my custom spell to = 800 ( my custom screeneffect ID) then I saved it, made a patch with screeneffect and spell.dbc in it, placed it in the wow/data/enGB folder, restarted everything and entered the world, did the .learn command but nothing happened ( no error message aswell) then I did .learn again and it said that I already knew this spell, then I tried .cast spellid, didn't work aswell, am I doing something wrong/missing a step?
^TrinityCore
-
didn't work aswell,
How did not working show?
-
didn't work aswell,
How did not working show?
I did .cast, it just did nothing, no error no visual just nothing
-
You should have the spell in your spell book, which is a nicer way to cast it.
Also, if there is no error given, it casted just fine. Most likely your spell is broken then.
-
You should have the spell in your spell book, which is a nicer way to cast it.
Also, if there is no error given, it casted just fine. Most likely your spell is broken then.
I made a copy of Heroic Strike aswell one week ago, when I learned that it didnt show up in my spellbook, and when I casted it nothing happened aswell, so it's just something I am not doing the proper way instead of that the visual is broken.
-
Does the server know about the modified spell.dbc?
-
Does the server know about the modified spell.dbc?
that is done by just adding it to the server .dbc right?
-
While I do agree, DBC's still require custom patches. Although this community doesn't, many people, if not the majority of servers try to avoid custom patches.
Modding don´t work without patches. So thats not the problem ;)
-
Does the server know about the modified spell.dbc?
that is done by just adding it to the server .dbc right?
Yes. You need the updated spell.dbc in both your clients patch and the servers dbc folder.
Modding don´t work without patches. So thats not the problem ;)
I meant client-side patches vs server-side patches. In my opinion the general audience (again not on modcraft) prefer to not have to download content and would rather just plug and play with a simple realmlist change.