Project Zomboid

Project Zomboid

73 ratings
[B42/41] Real Tent!
3
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
950.556 KB
12 Jul @ 9:34pm
14 Jul @ 6:37am
5 Change Notes ( view )

Subscribe to download
[B42/41] Real Tent!

Description

This mod allows you to place tent walls, floors, and ceilings at your character’s current location using vanilla tent items.

You can configure tent walls to be invincible or assign them custom HP so that zombies can destroy them.

All tiles are dynamically generated and deleted.

The mod does not include any map, so you can place and retrieve tents anywhere.



These are the default sandbox settings.

You can adjust them however you like.

For now, let’s test the default configuration.



In Build 41: camping.CampingTentKit is used.

In Build 42: Four colored tents (Base.TentBlue, Base.TentYellow, Base.TentBrown, Base.TentGreen),

Base.CampingTentKit2, and Base.ImprovisedTentKit are supported.

The tent must be unfolded, and a “Put up Tent” option will appear on right-click.



When you click "Put up Tent",

a tent of the configured size will appear starting at the character’s position.

The tent item is consumed, and a Tent Key is created.



The Tent Key is used to manage your tent:

Take down Tent / Enter or Exit Tent / (Build 42) Refresh Ceiling Rendering.

Also, when right-clicking the key, it will highlight the tent associated with that key while the context menu is open.

Tents don’t have doors by default, and if the walls are invincible, doors would be meaningless.

So entering/exiting is done via the key.

You can exit only from inside the tent.

You can enter only if you are right up against the tent wall from the outside.



Clicking “Take down Tent” will cleanly remove the tent, as shown above.



From the outside, when you stand close to a tent wall, the “Enter Tent” option will appear.



Now let’s change the sandbox settings and try making a bigger tent with a rain collector.



A 10x10 tent is created as configured.

However, due to a rendering issue in Build 42,

dynamically generated ceilings often fail to render transparently.



To fix this, right-click the Tent Key and click “Refresh Ceiling Rendering.”

The player is teleported away and back to force a chunk update.



Now the ceiling displays correctly.



Going upstairs, you can see the rain collector was generated properly and is functional.



In Zomboid, if walls and ceilings are in the exact same tile,

the upper floor can be seen through certain angles, as shown.



To fix this, you can enable the “Install Ceiling One Tile Lower” option in the sandbox settings.

This prevents the upper floor from showing through.



Mattresses that are only 1 tile in height will generate a single tile, like above.



You can also specify custom tent items in the sandbox settings.

List the item IDs including their modules, separated by semicolons (;).

I added items from the All-in-One Backpacking Shelter mod:

Hx.AIOBShelter;Hx.AIOBShelterPillow;Hx.AIOBShelterMattress;Hx.AIOBShelterAll



The "Put up Tent" option appears correctly.



Tent placement and key generation work fine.




Take down Tent works as expected.



This feature is for Build 41 multiplayer:

You can duplicate tent keys.

With a Tent Key + Unusable Metal + Saw, you can craft a duplicate key.

If you have multiple keys, right-click on the exact one you want to copy for accurate duplication.



One duplicate key made

copying another tent key



Both keys created successfully.



Duplicate keys can only be used to enter/exit the linked tent.

When close to a tent wall, right-click to see “Enter Tent.”



From inside the tent, “Exit Tent” will appear.



If you right-click with a key for a different tent, no context menu will appear.



If you enable "Remove Tent Enter Distance Limit" in the sandbox options,

you’ll be able to enter the tent from a distance, allowing the mod to function similarly to an RV interior.

When you click "Exit Tent", your character will return to the location they were in before entering.



Inside the tent, right-clicking the tent key will let you control any generator

within 20 tiles on the same floor around your character.

You can remotely check generator info, turn it on/off, refuel it, and repair it.

However, you must manually obtain and connect the generator yourself,

and your character must know how to operate it in order to turn it on or off.




Workshop ID: 3524273533
Mod ID: RealTent
21 Comments
Labyrinth 8 hours ago 
@SkyBlue 압도적 감사!
Labyrinth 19 hours ago 
캐릭터 모드 뭐쓰시나요
SkyBlue  [author] 18 Jul @ 9:32am 
@JM_iridescent
네, 샌박에서 텐트 입장 거리 제한 제거하기 체크한 뒤에
텐트 하나는 RV처럼 반 영구히 세워놓는 거점으로 쓰고
다른 텐트 하나 더 구해서 이건 텐트처럼 들고다니면서 쓰고
이런식으로도 쓸 수 있어요
JM_iridescent 18 Jul @ 9:26am 
헉 RV인테리어처럼 사용가능한거면 내부에 창고랑 생활제품들도 설치해놓고 계속 사용 가능한건가요!!!???
Emipe 17 Jul @ 4:14pm 
Man, Make a door Pls, This Key Broken My Save, Make A Military Barracs Style, Tks
space is cool 16 Jul @ 6:22am 
not exactly a proper tent but why not just make an actual small tent that you have to like crouch into or something with a bit of space for bed + maybe a little bit of storage
siberworker01 15 Jul @ 11:00pm 
wow
Veepo The Goblin Maid 15 Jul @ 2:06pm 
Well done. We are making great progress.
Syxxe 14 Jul @ 11:35am 
this is probably the best attempt i've seen at implementing proper tents into the game. Just curious if you could possibly implement the tent roofs from the military tent textures that already exist in the game