Forums WoW Modding Support Archives WoWModding Threads [DiscordArchive] what do you do to make a quest complete when go...

[DiscordArchive] what do you do to make a quest complete when go...

[DiscordArchive] what do you do to make a quest complete when go...

Pages (4): Previous 1 2 3 4 Next
rektbyfaith
Administrator
0
10-30-2024, 09:06 PM
#11
Archived author: Titi • Posted: 2024-10-30T21:06:05.603000+00:00
Original source

well yep, so server calculation only happens once, it's much more efficient.
rektbyfaith
10-30-2024, 09:06 PM #11

Archived author: Titi • Posted: 2024-10-30T21:06:05.603000+00:00
Original source

well yep, so server calculation only happens once, it's much more efficient.

rektbyfaith
Administrator
0
10-30-2024, 09:14 PM
#12
Archived author: stoneharry • Posted: 2024-10-30T21:14:35.556000+00:00
Original source

you don't actually need to extract maps again to update an area trigger
rektbyfaith
10-30-2024, 09:14 PM #12

Archived author: stoneharry • Posted: 2024-10-30T21:14:35.556000+00:00
Original source

you don't actually need to extract maps again to update an area trigger

rektbyfaith
Administrator
0
10-31-2024, 12:03 AM
#13
Archived author: Crow • Posted: 2024-10-31T00:03:28.693000+00:00
Original source

Yeah that's why I overrode an existing one for my custom quest, I didn't wanna make a new one
rektbyfaith
10-31-2024, 12:03 AM #13

Archived author: Crow • Posted: 2024-10-31T00:03:28.693000+00:00
Original source

Yeah that's why I overrode an existing one for my custom quest, I didn't wanna make a new one

rektbyfaith
Administrator
0
10-31-2024, 08:43 AM
#14
Archived author: stoneharry • Posted: 2024-10-31T08:43:50.838000+00:00
Original source

You don't need to generate for a new one
rektbyfaith
10-31-2024, 08:43 AM #14

Archived author: stoneharry • Posted: 2024-10-31T08:43:50.838000+00:00
Original source

You don't need to generate for a new one

rektbyfaith
Administrator
0
10-31-2024, 09:08 PM
#15
Archived author: Crow • Posted: 2024-10-31T21:08:14.378000+00:00
Original source

wait wut
rektbyfaith
10-31-2024, 09:08 PM #15

Archived author: Crow • Posted: 2024-10-31T21:08:14.378000+00:00
Original source

wait wut

rektbyfaith
Administrator
0
10-31-2024, 09:30 PM
#16
Archived author: Titi • Posted: 2024-10-31T21:30:16.713000+00:00
Original source

extracted server maps contain all the complex geometry of terrain, and models : walls, objects etc.

To check if a player is within an area trigger (which is a sphere or a box) you don't need **any **of the terrain's data, it's a simple math calculation of 3d points which works just using the sphere radius or the areatrigger box corners.
Example with chatgpt python code to check if a position (player's) if within a 3d box or sphere

*(it's slightly more complicated for an oriented box)*
`def is_point_in_box(point, box_min, box_max):
"""
Check if a 3D point is within an axis-aligned 3D box.
x, y, z = point
x_min, y_min, z_min = box_min
x_max, y_max, z_max = box_max
return (x_min <= x <= x_max) and (y_min <= y <= y_max) and (z_min <= z <= z_max)`

`def is_point_in_sphere(point, sphere_center, sphere_radius):
x, y, z = point
cx, cy, cz = sphere_center
distance_squared = (x - cx)**2 + (y - cy)**2 + (z - cz)**2
return distance_squared <= sphere_radius**2`
rektbyfaith
10-31-2024, 09:30 PM #16

Archived author: Titi • Posted: 2024-10-31T21:30:16.713000+00:00
Original source

extracted server maps contain all the complex geometry of terrain, and models : walls, objects etc.

To check if a player is within an area trigger (which is a sphere or a box) you don't need **any **of the terrain's data, it's a simple math calculation of 3d points which works just using the sphere radius or the areatrigger box corners.
Example with chatgpt python code to check if a position (player's) if within a 3d box or sphere

*(it's slightly more complicated for an oriented box)*
`def is_point_in_box(point, box_min, box_max):
"""
Check if a 3D point is within an axis-aligned 3D box.
x, y, z = point
x_min, y_min, z_min = box_min
x_max, y_max, z_max = box_max
return (x_min <= x <= x_max) and (y_min <= y <= y_max) and (z_min <= z <= z_max)`

`def is_point_in_sphere(point, sphere_center, sphere_radius):
x, y, z = point
cx, cy, cz = sphere_center
distance_squared = (x - cx)**2 + (y - cy)**2 + (z - cz)**2
return distance_squared <= sphere_radius**2`

rektbyfaith
Administrator
0
11-01-2024, 05:08 PM
#17
Archived author: Crow • Posted: 2024-11-01T17:08:00.320000+00:00
Original source

I thought you did because you do need that for areatriggers that teleport you. or am I wrong again?
rektbyfaith
11-01-2024, 05:08 PM #17

Archived author: Crow • Posted: 2024-11-01T17:08:00.320000+00:00
Original source

I thought you did because you do need that for areatriggers that teleport you. or am I wrong again?

rektbyfaith
Administrator
0
11-01-2024, 05:22 PM
#18
Archived author: stoneharry • Posted: 2024-11-01T17:22:42.281000+00:00
Original source

I think I have said that in the past, but I was mistaken.
rektbyfaith
11-01-2024, 05:22 PM #18

Archived author: stoneharry • Posted: 2024-11-01T17:22:42.281000+00:00
Original source

I think I have said that in the past, but I was mistaken.

rektbyfaith
Administrator
0
11-01-2024, 05:23 PM
#19
Archived author: stoneharry • Posted: 2024-11-01T17:23:29.476000+00:00
Original source

The dbc has a fixed order. That's the only bit that might catch you out. Created quite a few area triggers recently
rektbyfaith
11-01-2024, 05:23 PM #19

Archived author: stoneharry • Posted: 2024-11-01T17:23:29.476000+00:00
Original source

The dbc has a fixed order. That's the only bit that might catch you out. Created quite a few area triggers recently

rektbyfaith
Administrator
0
11-02-2024, 08:43 PM
#20
Archived author: Crow • Posted: 2024-11-02T20:43:24.175000+00:00
Original source

and you didnt have to extract maps for the new ones? just kept the dbcs in appropriate order?
rektbyfaith
11-02-2024, 08:43 PM #20

Archived author: Crow • Posted: 2024-11-02T20:43:24.175000+00:00
Original source

and you didnt have to extract maps for the new ones? just kept the dbcs in appropriate order?

Pages (4): Previous 1 2 3 4 Next
Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)