# Stamina and running mod

**URL:** <https://discourse.cataclysmdda.org/t/stamina-and-running-mod/6470>\
**Category:** The Lab\
**Created:** [June 12, 2014, 4:28pm UTC](https://discourse.cataclysmdda.org/t/stamina-and-running-mod/6470 "2014-06-12T16:28:32Z")\
**Posts on this page:** 17\
**Page:** 4

<div class="post-metadata">

**Author:** ![Zireael](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/zireael/32/956_2.png) [@Zireael](https://discourse.cataclysmdda.org/u/Zireael)\
**Post date:** [June 21, 2014, 12:45pm UTC](https://discourse.cataclysmdda.org/t/stamina-and-running-mod/6470/61 "2014-06-21T12:45:05Z")

</div>

[quote=“Reaper, post:60, topic:6470”]Small upd:  
Throwing and firing from bow reduce stamina.[/quote]

Where can I get this?

---

<div class="post-metadata">

**Author:** ![FunsizeNinja123](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/funsizeninja123/32/118_2.png) [@FunsizeNinja123](https://discourse.cataclysmdda.org/u/FunsizeNinja123)\
**Post date:** [June 21, 2014, 3:02pm UTC](https://discourse.cataclysmdda.org/t/stamina-and-running-mod/6470/62 "2014-06-21T15:02:41Z")

</div>

> [@Reaper](#):
>
> Throwing and firing from bow reduce stamina.

;\_;

---

<div class="post-metadata">

**Author:** ![Reaper](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/reaper/32/74_2.png) [@Reaper](https://discourse.cataclysmdda.org/u/Reaper)\
**Post date:** [June 21, 2014, 6:17pm UTC](https://discourse.cataclysmdda.org/t/stamina-and-running-mod/6470/63 "2014-06-21T18:17:33Z")

</div>

> [@FunsizeNinja123 link](#):
>
> ;\_;

What?

> Where can I get this?

https://github.com/Reaper42/Cataclysm-DDA/tree/running Clone, compile, play.

---

<div class="post-metadata">

**Author:** ![KA101](https://avatars.discourse-cdn.com/v4/letter/k/278dde/32.png) [@KA101](https://discourse.cataclysmdda.org/u/KA101)\
**Post date:** [June 21, 2014, 6:32pm UTC](https://discourse.cataclysmdda.org/t/stamina-and-running-mod/6470/64 "2014-06-21T18:32:30Z")

</div>

> [@Reaper](#):
>
> [quote=“FunsizeNinja123 link”];\_;

What?

> Where can I get this?

https://github.com/Reaper42/Cataclysm-DDA/tree/running Clone, compile, play.[/quote]

You added a change that nerfs archers. Ninja’s understandably unhappy about that.

---

<div class="post-metadata">

**Author:** ![FunsizeNinja123](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/funsizeninja123/32/118_2.png) [@FunsizeNinja123](https://discourse.cataclysmdda.org/u/FunsizeNinja123)\
**Post date:** [June 21, 2014, 6:59pm UTC](https://discourse.cataclysmdda.org/t/stamina-and-running-mod/6470/65 "2014-06-21T18:59:15Z")

</div>

Nah, a challenge is needed for my OP chars.

---

<div class="post-metadata">

**Author:** ![Mrnocamera](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/mrnocamera/32/61_2.png) [@Mrnocamera](https://discourse.cataclysmdda.org/u/Mrnocamera)\
**Post date:** [June 21, 2014, 7:01pm UTC](https://discourse.cataclysmdda.org/t/stamina-and-running-mod/6470/66 "2014-06-21T19:01:47Z")

</div>

> [@FunsizeNinja123](#):
>
> Nah, a challenge is needed for my OP chars.

Activate a mininuke, keep it in your inventory, and dive out of a car going as fast as you can get it to go after fitting as many engines into it as you can.

If you somehow survive, you… Have a almost dead character?

---

<div class="post-metadata">

**Author:** ![FunsizeNinja123](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/funsizeninja123/32/118_2.png) [@FunsizeNinja123](https://discourse.cataclysmdda.org/u/FunsizeNinja123)\
**Post date:** [June 21, 2014, 7:06pm UTC](https://discourse.cataclysmdda.org/t/stamina-and-running-mod/6470/67 "2014-06-21T19:06:39Z")

</div>

Not that kind of challenge Mrno.

---

<div class="post-metadata">

**Author:** ![Mrnocamera](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/mrnocamera/32/61_2.png) [@Mrnocamera](https://discourse.cataclysmdda.org/u/Mrnocamera)\
**Post date:** [June 21, 2014, 7:09pm UTC](https://discourse.cataclysmdda.org/t/stamina-and-running-mod/6470/68 "2014-06-21T19:09:26Z")

</div>

> [@FunsizeNinja123](#):
>
> Not that kind of challenge Mrno.

Eh, I just like answering things with answers that are not really answers.

I have no fucking clue what the hell I’m talking about anymore.

---

<div class="post-metadata">

**Author:** ![Reaper](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/reaper/32/74_2.png) [@Reaper](https://discourse.cataclysmdda.org/u/Reaper)\
**Post date:** [July 16, 2014, 8:57am UTC](https://discourse.cataclysmdda.org/t/stamina-and-running-mod/6470/69 "2014-07-16T08:57:44Z")

</div>

I have idea about stamina points.  
400 (base) + 25 \* (STR+DEX) + 25 \* (Swimming skill + Athletic skill (add it) + Melee + Throwing )  
Athletic skill on level \> 3 gives lower STA cap for run = 50 \* Athletic - 3, i.e. player with athletic 4 stop drain stamina, if there \< 50, when run, if they not loaded.

---

<div class="post-metadata">

**Author:** ![Zireael](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/zireael/32/956_2.png) [@Zireael](https://discourse.cataclysmdda.org/u/Zireael)\
**Post date:** [July 16, 2014, 9:47am UTC](https://discourse.cataclysmdda.org/t/stamina-and-running-mod/6470/70 "2014-07-16T09:47:24Z")

</div>

Not bad.

---

<div class="post-metadata">

**Author:** ![Reaper](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/reaper/32/74_2.png) [@Reaper](https://discourse.cataclysmdda.org/u/Reaper)\
**Post date:** [July 16, 2014, 10:05am UTC](https://discourse.cataclysmdda.org/t/stamina-and-running-mod/6470/71 "2014-07-16T10:05:55Z")

</div>

I think my code for hordes is complected for now. I can do optimization if someone has problems.  
Ok. First i code and test it then. Then i join it mod with hordes and make binaries for windows.

---

<div class="post-metadata">

**Author:** ![Womble](https://avatars.discourse-cdn.com/v4/letter/w/f4b2a3/32.png) [@Womble](https://discourse.cataclysmdda.org/u/Womble)\
**Post date:** [July 19, 2014, 3:04am UTC](https://discourse.cataclysmdda.org/t/stamina-and-running-mod/6470/72 "2014-07-19T03:04:05Z")

</div>

Thanks for the hard work, Reaper. This looks like a great contribution.

---

<div class="post-metadata">

**Author:** ![Atelerd](https://avatars.discourse-cdn.com/v4/letter/a/e0b2c6/32.png) [@Atelerd](https://discourse.cataclysmdda.org/u/Atelerd)\
**Post date:** [July 21, 2014, 10:30pm UTC](https://discourse.cataclysmdda.org/t/stamina-and-running-mod/6470/73 "2014-07-21T22:30:25Z")

</div>

Good work, man. your contibution is very good, but I’d like to add one remark: firing firearms should spend stamina too. Because of recoil, there is a difference between firing 12.7 sniper rifle and .22LR pistol.  
Maybe, 5+Recoil/5?

---

<div class="post-metadata">

**Author:** ![Reaper](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/reaper/32/74_2.png) [@Reaper](https://discourse.cataclysmdda.org/u/Reaper)\
**Post date:** [July 22, 2014, 6:33am UTC](https://discourse.cataclysmdda.org/t/stamina-and-running-mod/6470/74 "2014-07-22T06:33:23Z")

</div>

> Maybe, 5+Recoil/5?

I must look recoil values for guns. With small guns/single shots with low impulse 5.56/.45/9mm player not suffer from recoil. I think it should work with shotguns/high (7.62 and more) caliber guns or burst firing.

---

<div class="post-metadata">

**Author:** ![Reaper](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/reaper/32/74_2.png) [@Reaper](https://discourse.cataclysmdda.org/u/Reaper)\
**Post date:** [July 22, 2014, 6:37am UTC](https://discourse.cataclysmdda.org/t/stamina-and-running-mod/6470/75 "2014-07-22T06:37:16Z")

</div>

> [@Atelerd](#):
>
> Good work, man. your contibution is very good

Good work stay here and be live as mod/git branch/custom build, because someone don’t like athletic skill (but with swimming all - ok). I don’t want do PR, because it is stupid time wasting.

---

<div class="post-metadata">

**Author:** ![Zireael](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/zireael/32/956_2.png) [@Zireael](https://discourse.cataclysmdda.org/u/Zireael)\
**Post date:** [July 23, 2014, 12:48pm UTC](https://discourse.cataclysmdda.org/t/stamina-and-running-mod/6470/76 "2014-07-23T12:48:55Z")

</div>

> [@Reaper](#):
>
> [quote=“Atelerd, post:73, topic:6470”]Good work, man. your contibution is very good

Good work stay here and be live as mod/git branch/custom build, because someone don’t like athletic skill (but with swimming all - ok). I don’t want do PR, because it is stupid time wasting.[/quote]

Why don’t you PR it when it’s 100% done? You’ve made great progress on this since the last time you PR’ed it.

---

<div class="post-metadata">

**Author:** ![Reaper](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/reaper/32/74_2.png) [@Reaper](https://discourse.cataclysmdda.org/u/Reaper)\
**Post date:** [July 23, 2014, 3:36pm UTC](https://discourse.cataclysmdda.org/t/stamina-and-running-mod/6470/77 "2014-07-23T15:36:30Z")

</div>

> [@Zireael](#):
>
> Why don’t you PR it when it’s 100% done? You’ve made great progress on this since the last time you PR’ed it.

I play today and i like it. May be i add melee/throw/firing/(may be also dodge / fall chanсe ) penalty if player tired and some falls stamina when firing gun. I need text of messages for low stamina, switch run/walk messages, fix stamina bar position. In future - heat up body if player use stamina, reduce stamina if player get damage in body, inc. smell and noise when run.  
But i look at this message:

[quote=“Kevin Granade, post:25, topic:6470”]Just to be direct, it makes no sense for endurance to be a skill, it’s a set of physical traits, not something you learn to do 😛  
It would start being something you could advance just as soon as we did something similar for the rest of the stats.[/quote]  
and i don’t want do PR. I make “athletic” as skill, and it don’t use focus. Also i do -40 movement speed when walk and +10 when run. Player run faster that most enemies, but if he lost all stamina they kill him. It do impossible killing huge hordes for skilled in melee players. But them not like it. They like +10 run and walk with normal speed, if i understand correct, and, as i see, make easy game more easy. May be it mistake with understand, but in this case i need lawyer, translator and two diplomats. And all this people must know c++.  
Also i don’t want PR because they will break my code and i get problems with merge my branches and main branch.  
As a result for me - easier learn how to do crossbuild with mingw for people who want it, that making pr’s and write/test code instead of wasting time for stupid disputes in github.

[Previous page](https://discourse.cataclysmdda.org/t/stamina-and-running-mod/6470.md?page=3)
