Skip to content

Commit

Permalink
Merge branch 'devblog-220' into 'master'
Browse files Browse the repository at this point in the history
devblog 220

See merge request veloren/site!355
  • Loading branch information
cpetig committed Nov 3, 2023
2 parents fd9fb3d + 4f0a1fa commit 1f03f15
Showing 1 changed file with 80 additions and 0 deletions.
80 changes: 80 additions & 0 deletions content/blog-2023-11-04.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
+++
title = "Two Weeks in Veloren 220"
description = "Halloween and Worldgen"

date = 2023-11-04
weight = 0
slug = "devblog-220"

[extra]
banner = "https://media.discordapp.net/attachments/634860358623821835/1166821521784836116/screenshot_1.png"

[taxonomies]
tags = ["devblog"]
+++

These weeks, we enjoy colorful trees and spooky monsters.

\- Christof, TWiV editor

# Contributor Work

Thanks to last two weeks' contributors @crabman, @Christof, @xMAC94x, @floppy, @Isse, @Hannibal.

The merged work includes less frequent Dullahan during Halloween, plugin fixes, CI fixes, items in plugins, NPC spawn fixes, snow glitter shaders,
an extended roadmap section and a new section on plugins in the book.

{{img(src="https://cdn.discordapp.com/attachments/726090746528268429/1165915349955387412/1_large.png")}}

Ongoing (unmerged) work is happening on precision, preventing buff stacking, balancing, various worldgen improvements, starter glider, phoenix,
WGPU 0.18 testing, torvus, single player worldgen parameters, and taverns.

Meanwhile, @imbris is making progress on an automated scene recording and replay mechanism to investigate rendering performance and bugs.

{{video(src="https://cdn.discordapp.com/attachments/523568428905398283/1169604246182830161/2023-11-02_12-48-29.mp4", caption="Snow glitter")}}

# Worldgen meeting by @Isse

Last Saturday we had a worldgen meeting discussing how to move forward when it comes to plots. Right now plots decide their own shape and style, this is something we want to separate. This way we can more easily define similar buildings but have different styles. For example a blacksmith in a desert town and a mountain town might have similar shape and function, but very different styles in colors and details.

We also want a concept of rooms in buildings, which would make buildings be able to have multiple purposes. Like a merchant having a shop on the lower floor, and a bedroom on the top floor. This would also make it easier to make buildings advertise what functions it has, by looking at what each room can do.

Hierarchical plots were also discussed, and how it related to rooms. Hierarchical plots would allow plots to include other plots, like a castle being able to have houses within its walls.

{{img(src="https://cdn.discordapp.com/attachments/634860358623821835/1169601237629546516/small-canyon.png")}}

We reached a few conclusions:
- Rooms can be plots. With hierarchical plots, we can just say that rooms are sub-plots of the house.
- We need a way to map connections between plots, and rooms because of the first conclusion. This would make it much easier for rtsim NPC to navigate sites. This can be done by keeping track of walls and what plots they connect to.
- We need plots to be able to be 3d. For example a giant tree could have a house on one branch above another house, these shouldn't affect each other because of plots being allocated on a 2d grid.
- We need to fully rework how plot allocation works, especially when it comes to hierarchical plots.

{{img(src="https://cdn.discordapp.com/attachments/634860358623821835/1169253765401030686/screenshot_1698842129647.png")}}

@zesterer wrote an example of what this could look like in code [here](https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=519add45741aa0f75f52aacff5811f85).

We also talked about using more premade assets in site generation. One example of how to do this is using tiles, similar to how you'd use a tilegrid in 2d games,
you can do the same in Veloren. But with voxel models.

Veloren worldgen/worldsim terms:
- **Site**: A place with buildings, could be a town, a dungeon or even a giant tree.
- **Plots**: An allocation of space in a site.
- **rtsim NPC**: An NPC which is always simulated, even in chunks that aren't currently loaded by a player.

# Halloween season impressions

{{img(src="https://media.discordapp.net/attachments/634860358623821835/1167935087522893834/me_there_really.png")}}
{{img(src="https://cdn.discordapp.com/attachments/523568428905398283/1167340160883621948/screenshot_1698355217372.png")}}
{{img(src="https://cdn.discordapp.com/attachments/634860358623821835/1166530623884767332/screenshot_1698167717744.png")}}
{{img(src="https://cdn.discordapp.com/attachments/634860358623821835/1166841886770737163/screenshot_1698211021419.png")}}
{{img(src="https://media.discordapp.net/attachments/634860358623821835/1167586192179597402/screenshot_1698432139944.png")}}
{{video(src="https://cdn.discordapp.com/attachments/523568428905398283/1168351171078008873/2023-10-29_21-35-03.mp4")}}
{{img(src="https://cdn.discordapp.com/attachments/523568428905398283/1168528738422636625/aftermath.png")}}
{{img(src="https://media.discordapp.net/attachments/523568428905398283/1167840280142151720/image.png", caption="Playing Veloren can obviously get addictive!")}}

{{
img(src="https://cdn.discordapp.com/attachments/634860358623821835/1168618204478832731/screenshot_1665675131329.png",
caption="Living in a pumpkin. See you next time!")
}}

{{ support() }}

0 comments on commit 1f03f15

Please sign in to comment.