[ 3 / biz / cgl / ck / diy / fa / ic / jp / lit / sci / vr / vt ] [ index / top / reports ] [ become a patron ] [ status ]
2023-11: Warosu is now out of extended maintenance.

/jp/ - Otaku Culture

Search:


View post   

>> No.34913667 [View]
File: 66 KB, 423x600, buildhus.jpg [View same] [iqdb] [saucenao] [google]
34913667

>>34902054
You mean like a construction system? Sure can. Most of the stuff like DayZ, Dystopia as another anon mentioned and others all use a pretty simple method of it - by removing an objects collision, lowering the alpha and applying a shader to it, then attaching it to the front of the player you have a simple construction system that emulates object "preview" and placement.

Now if you take it a step further, you can use direction vectors to get all the sides on a model to create points that "snap" together different models if they're close enough, which creates a true building system which is closer to what you see in games like RUST. There's a bit of math involved in doing this though, so it's not a method you see much. This guy here did something similar:
https://www.youtube.com/watch?v=B5VFM9j_phs

Funnily enough that this should be brought up since I was fiddling around with making a MySQL based The Sims-style building system for playerhomes a few weeks ago. Still not super sold on the idea of player housing yet so it's not a high priority until I can think up actual uses for it. The former method might actually be pretty good for a simple TD mode though.

Navigation
View posts[+24][+48][+96]