Jump to content

Teleport to area on death if died in a certain area + phasing

By Смердокрыл
in Serverside

Recommended Posts

Hey!

I try to avoid editing/creating spells thanks to the fucked up dbc system, but I know this is gonna involve spells, so I'm ready. Just please keep in mind I'm bad at it.

1)I want the players to be teleported (alive) to a certain map when they die, but ONLY if they died in a certain area.

2)The area they are teleported to should be phased in a way so that the players cannot see/interact with each other. Maybe some kind of 1-man instance system?

or not


 skarnnoggitlogpost.thumb.jpg.d752b4e8541

Link to comment
Share on other sites

1) Maybe you can do it with C++

Since my server is pre-compiled and I'm not going to compile one myself unless there is a person ready for such extent of self-sacrifice as to explain me every little step of that process as if I was a 5 year old, which I highly doubt.

I thought that this could be realised through a passive spell, which I could make default for all classes/races. For example, priests have a spell that, on death, turns them into a kind of angel (don't remember how they are called). Maybe I could use that spell as a base.

2) Set your map as an instance in Map.dbc if it's a custom map !

Can I set it as an instance for one person, who isn't in a group? Also, would be nice to allow those IN a group to see and interact with each other in that zone.

or not


 skarnnoggitlogpost.thumb.jpg.d752b4e8541

Link to comment
Share on other sites

You can set it as an instance for one person or for a group, it's the same flag, I used this system for some maps, if you aren't in a group => you're alone but if you are in group => it's ok.

I'll take a look, I think you'll have to modify map.dbc and mapdifficulty.dbc too but I'm not sure for the second dbc...

Link to comment
Share on other sites

×
×
  • Create New...