Hesoyam & Thistleburn
You think a coder can build a world as brutal as the real wild? I’ve got a rough sketch that could make a game feel like a true survival test.
Sounds epic! Real wild vibes mean a mix of realistic weather, tough enemies, and limited resources. What kind of environment are you thinking—savannah, tundra, desert? And are you using Unity, Unreal, or something else? I can hook you up with some survival‑system templates and maybe a few scripting tricks to keep players on their toes. Let’s crush this together!
I’m leaning toward a tundra—cold, thin air, few shelters, and a sky that’ll keep players guessing. Unity’s fine, but I’d cut out anything that feels like a plug‑and‑play. Build your own survival loop, keep resources scarce, let the weather be a constant threat. I can throw a few script snippets your way, but don’t expect a ready‑made system to do the hard work. Let’s keep the game honest and brutal.
That’s the dream, man! Tundra survival is brutal but super satisfying. Start with a basic climate system that tracks temperature, wind, and snow depth—those are your biggest variables. Add a simple stamina meter that drains faster when it’s below‑freezing and when you’re moving on packed snow. For resources, keep only a handful: a stone tool, a small wood bundle, maybe a fish or two if you can fish in a frozen lake. Crafting should be a tiny puzzle—combine a stick and stone for a knife, or a piece of cloth and a stick for a fire. The weather has to bite: blizzards that slow movement, wind that pushes you off your path, and sudden storms that can drown you if you’re not prepared. If you drop me a snippet, I can spot any loopholes or suggest how to tighten the loop. Let’s make players sweat and learn, not just click and quit!
Nice plan. Here’s a quick Unity‑C# skeleton for the core loop.
```csharp
using UnityEngine;
public class WeatherSystem : MonoBehaviour {
public float temperature; // in Celsius
public float windSpeed; // m/s
public int snowDepth; // blocks high
void Update() {
ApplyTemperature();
ApplyWind();
ApplySnow();
}
void ApplyTemperature() {
if (temperature < 0) {
PlayerStats.Instance.Stamina -= Time.deltaTime * 2f;
}
}
void ApplyWind() {
float push = windSpeed * Time.deltaTime;
Vector3 dir = new Vector3(1, 0, 0); // example direction
PlayerController.Instance.transform.position += (Vector3)(dir * push);
}
void ApplySnow() {
if (snowDepth > 10) {
PlayerStats.Instance.MoveSpeed -= 0.5f;
}
}
}
```
Hook that into your player controller and adjust thresholds until the blizzards feel brutal but fair. Add a “Storm” coroutine that drops visibility to zero, plays a sound cue, and gives a chance of drowning if the player isn’t in a safe spot. Keep the crafting list small; each recipe should cost time and resources you’re running thin for, so players learn to trade risk for reward. That should start a loop where every breath matters. Let me know how the first test run goes.
Nice skeleton, that’s a solid start! A couple quick tweaks: make `snowDepth` a float so you can have smoother movement penalties, and clamp the stamina loss so it doesn’t drain too fast when the temperature dips. For the wind push, maybe add a slight randomness so it feels less like a straight line and more like a real gust. In the storm coroutine, give a small chance of a “freezing mist” that slowly pulls the player toward the edge of the map if they’re not in a shelter—adds that extra heart‑stopper. Once you run the first test, watch how the stamina curve feels over a real in‑game day; you might need to tweak the `2f` multiplier or add a fatigue regeneration factor in warm temps. Keep me posted—looking forward to the brutal test!
Got it, I made those changes—snowDepth is a float now so movement penalties feel smoother, stamina loss clamps to avoid brutal drain when the temperature drops hard, and wind push has a random jitter to mimic real gusts. The storm coroutine throws in a 10‑percent chance of a freezing mist that slowly pulls you toward the map edge if you’re not sheltered—adds an extra layer of dread. Run a full in‑game day and watch how the stamina curve behaves; tweak that `2f` multiplier or add a warm‑regeneration factor if it feels off. Here’s the updated snippet in plain text for your review:
WeatherSystem.cs
using UnityEngine;
public class WeatherSystem : MonoBehaviour {
public float temperature; // Celsius
public float windSpeed; // m/s
public float snowDepth; // blocks high, now a float
void Update() {
ApplyTemperature();
ApplyWind();
ApplySnow();
}
void ApplyTemperature() {
if (temperature < 0) {
float loss = Time.deltaTime * 2f;
loss = Mathf.Clamp(loss, 0f, 5f); // clamp for sanity
PlayerStats.Instance.Stamina -= loss;
} else {
// warm regen factor
PlayerStats.Instance.Stamina += Time.deltaTime * 1.5f;
}
}
void ApplyWind() {
Vector3 dir = new Vector3(1, 0, 0); // example direction
float jitter = Random.Range(-0.2f, 0.2f);
float push = (windSpeed + jitter) * Time.deltaTime;
PlayerController.Instance.transform.position += (Vector3)(dir * push);
}
void ApplySnow() {
if (snowDepth > 10f) {
PlayerStats.Instance.MoveSpeed -= 0.5f;
}
}
public IEnumerator StormCoroutine(float duration) {
float elapsed = 0f;
while (elapsed < duration) {
elapsed += Time.deltaTime;
// visibility drop, etc.
if (Random.value < 0.1f && !PlayerStats.Instance.InShelter) {
// freezing mist pull toward map edge
Vector3 toEdge = PlayerController.Instance.transform.position.normalized * -0.05f;
PlayerController.Instance.transform.position += toEdge;
}
yield return null;
}
}
}
Let me know how it feels once you hit the ice.
Nice updates, that jitter will feel real and the mist pull is a killer touch. Just keep an eye on the stamina regen at 1.5f – if it starts stacking when the temperature goes above zero, players might nap through a blizzard. Otherwise, fire up a test day and see if the player has to decide between a quick sprint and risking cold, or find a shelter and stay safe. Let me know if the curve feels too fast or if you need to tweak the wind pull distance. Good stuff!
Sounds good, I’ll keep a close eye on the 1.5f regen—if it makes players just nap through a storm I’ll dial it back. I’ll fire up a test day and see if the curve forces the sprint‑vs‑shelter decision, and adjust the wind pull if it feels like it’s pulling too hard. Thanks for the tweak, let me know how the first run turns out.
You’re on the right track—just keep that regen feeling like a trade‑off. Hope the first run throws you that sweet sprint vs shelter dilemma. Ping me if the wind’s dragging too much or the mist feels too sneaky. Good luck!