[DiscordArchive] Anyone got an idea how to make walk-in portals for teleporting between zones?
[DiscordArchive] Anyone got an idea how to make walk-in portals for teleporting between zones?
Archived author: Fauxieshaux • Posted: 2024-04-20T00:07:57.547000+00:00
Original source
Anyone got an idea how to make walk-in portals for teleporting between zones?
Archived author: Fauxieshaux • Posted: 2024-04-20T00:17:21.730000+00:00
Original source
Is it a smartscript?
Archived author: stoneharry • Posted: 2024-04-20T00:37:07.089000+00:00
Original source
areatrigger dbc: https://wowdev.wiki/DB/AreaTrigger
[Embed: AreaTrigger]
https://wowdev.wiki/DB/AreaTrigger
Archived author: stoneharry • Posted: 2024-04-20T00:38:31.698000+00:00
Original source
When the client enters the area trigger, it notifies the server. The server validates and handles it.
You will need to update server side maps data after adding the area trigger
Archived author: Fauxieshaux • Posted: 2024-04-20T00:48:00.814000+00:00
Original source
Sorry, you lost me...
```You will need to update server side maps data after adding the area trigger```
Archived author: stoneharry • Posted: 2024-04-20T00:53:55.909000+00:00
Original source
maps extractor
Archived author: Fauxieshaux • Posted: 2024-04-20T00:56:21.617000+00:00
Original source
So it needs new vmaps and mmaps? Really?
How does it link to the areatrigger_teleport or whatever via the DB aswell?
Sorry for all the questions, just new to this.
Archived author: stoneharry • Posted: 2024-04-20T00:57:30.001000+00:00
Original source
just maps data, you can skip doing vmaps and mmaps
Archived author: stoneharry • Posted: 2024-04-20T00:57:49.162000+00:00
Original source
see the database table: `areatrigger_teleport`
Archived author: stoneharry • Posted: 2024-04-20T00:59:44.865000+00:00
Original source
So you:
1) define a invisible sphere/rectangle client side with an id, in the areatrigger.dbc. It has a position and size
2) rebuild maps data with your updated DBC (can skip vmaps and mmaps here). Also add updated dbc to your client patch and server DBC folder
3) add a record in areatrigger_teleport server side which matches the id and gives the coordinates to teleport to