# Citizen Pain | Action in First-Person

**URL:** <https://forums.unrealengine.com/t/citizen-pain-action-in-first-person/793807>\
**Category:** Game Development\
**Tags:** unreal-engine, staff-pick-ind, epic-for-indies\
**Created:** [March 18, 2023, 8:10pm UTC](https://forums.unrealengine.com/t/citizen-pain-action-in-first-person/793807 "2023-03-18T20:10:19Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![Ordnas006](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ordnas006/32/1194699_2.png) [@Ordnas006](https://forums.unrealengine.com/u/Ordnas006)\
**Post date:** [May 1, 2023, 4:57pm UTC](https://forums.unrealengine.com/t/citizen-pain-action-in-first-person/793807/21 "2023-05-01T16:57:24Z")

</div>

Greyboxing level design continues, this time with the implementation of destructibles.

I made destructibles as fractures. They can be destroyed when the player attacks them. Same logic was done for enemies, with the addition that if AIs have a destructible in front of them they always have to hit it.

Also, I changed the player dash again. I had lowered the dash speed since it was too fast, creating a lot of motion sickness. Prevously, to prevent motion sickness, I had lowered it too much and the dash was very boring. I raised the dash speed again, but this time eliminating the motion sickness by greatly reducing the dash time (from more than half a second to ¼ second), I was inspired by the dash in Doom Eternal.

Faster dash could make you too much stronger, so I greatly increased the consumed stamina for dash, now you can’t dash 2 times in a row, and you have to wait 1-2 seconds before you have the stamina needed to dash again.  
Also I tweaked the Lunge attack, since this also was creating motion sickness due to the combination of high speed and dash time.

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/9/e/c9ec3587432d629419de8163016de68b6c51259b.jpeg "Citizen Pain | First Person Action Prototype in Unreal Engine 5 | Greybox Level Part 2 | Week 4") ](https://www.youtube.com/watch?v=LiGV_zfBg68)

---

<div class="post-metadata">

**Author:** ![Ordnas006](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ordnas006/32/1194699_2.png) [@Ordnas006](https://forums.unrealengine.com/u/Ordnas006)\
**Post date:** [May 2, 2023, 4:49pm UTC](https://forums.unrealengine.com/t/citizen-pain-action-in-first-person/793807/22 "2023-05-02T16:49:00Z")

</div>

I had to stop a bit with greyboxing, I have some performance issues to reach 60fps because of too many lights in the level. I am putting in various triggers for switching the lights only when the player enters the area.

 ![Light trigger](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/5/9/759e788a949126d4828fdb87ded36b56a4d81816.jpeg)

---

<div class="post-metadata">

**Author:** ![Ordnas006](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ordnas006/32/1194699_2.png) [@Ordnas006](https://forums.unrealengine.com/u/Ordnas006)\
**Post date:** [May 8, 2023, 4:51pm UTC](https://forums.unrealengine.com/t/citizen-pain-action-in-first-person/793807/23 "2023-05-08T16:51:32Z")

</div>

I am adding a new enemy, a soldier who shoots from afar.

 ![HighresScreenshot00026](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/b/e/dbe9046b5a04ee65ef520aa6518c6d932577afa4.jpeg)

---

<div class="post-metadata">

**Author:** ![Ordnas006](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ordnas006/32/1194699_2.png) [@Ordnas006](https://forums.unrealengine.com/u/Ordnas006)\
**Post date:** [May 9, 2023, 4:40pm UTC](https://forums.unrealengine.com/t/citizen-pain-action-in-first-person/793807/24 "2023-05-09T16:40:56Z")

</div>

I still implement the soldier throwing arrows, fixing the collider of the arrows. I’m not sure if the size of the collider is right, a little too big.

 ![Arrow](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/a/0/da08e44ea46feda2b992c2495e0c2fab468ec546.jpeg)

---

<div class="post-metadata">

**Author:** ![Ordnas006](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ordnas006/32/1194699_2.png) [@Ordnas006](https://forums.unrealengine.com/u/Ordnas006)\
**Post date:** [May 11, 2023, 5:38pm UTC](https://forums.unrealengine.com/t/citizen-pain-action-in-first-person/793807/25 "2023-05-11T17:38:06Z")

</div>

I positioned the soldier with the crossbow, shooting the player from above while the 2 melee enemies attack the player. Also I placed a hole, there is a collider that kills on collision at the bottom when someone falls into it.

 ![HighresScreenshot00027](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/d/4/8d4d9bc3dfd970d67fdd115d2ccf8bcaefd5793a.jpeg)

---

<div class="post-metadata">

**Author:** ![Ordnas006](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ordnas006/32/1194699_2.png) [@Ordnas006](https://forums.unrealengine.com/u/Ordnas006)\
**Post date:** [May 13, 2023, 5:50pm UTC](https://forums.unrealengine.com/t/citizen-pain-action-in-first-person/793807/26 "2023-05-13T17:50:34Z")

</div>

I’m adding new destructibles.

 ![new destructibles](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/3/9/8390769a8ece05f69d3a7f40bdbc64440fd8bc00.jpeg)

---

<div class="post-metadata">

**Author:** ![Ordnas006](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ordnas006/32/1194699_2.png) [@Ordnas006](https://forums.unrealengine.com/u/Ordnas006)\
**Post date:** [May 14, 2023, 4:35pm UTC](https://forums.unrealengine.com/t/citizen-pain-action-in-first-person/793807/27 "2023-05-14T16:35:20Z")

</div>

This week I stopped with the greybox to implement some gameplay things.

I added a new enemy, a soldier who shoots arrows from a distance. The arrows also destroy destructibles.

I also made some improvements to destructibles, including removing the collision with the player and enemies right after it’s destroyed. Plus you can now destroy destructibles using dash.

I placed a hole in the level, where there is a collider at the bottom that kills the player and enemies.

I spent the rest of the time placing various destructibles in the level.

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/6/5/565e4c4d33cf9b7a2807dcd8c3475d7559a7cae6.jpeg "Citizen Pain | First Person Action Prototype in Unreal Engine 5 | Gameplay Mechanics | Week 2") ](https://www.youtube.com/watch?v=p9-p61A_cpw)

---

<div class="post-metadata">

**Author:** ![Ordnas006](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ordnas006/32/1194699_2.png) [@Ordnas006](https://forums.unrealengine.com/u/Ordnas006)\
**Post date:** [May 17, 2023, 6:54pm UTC](https://forums.unrealengine.com/t/citizen-pain-action-in-first-person/793807/28 "2023-05-17T18:54:27Z")

</div>

New destructibles: tables and chairs.

 ![HighresScreenshot00028](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/c/a/0cab7d04ae03e0c12ad2a2e5d489446cca6cca34.jpeg)

---

<div class="post-metadata">

**Author:** ![Ordnas006](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ordnas006/32/1194699_2.png) [@Ordnas006](https://forums.unrealengine.com/u/Ordnas006)\
**Post date:** [May 19, 2023, 4:03pm UTC](https://forums.unrealengine.com/t/citizen-pain-action-in-first-person/793807/29 "2023-05-19T16:03:16Z")

</div>

I am implementing a new enemy, the soldier swordsman:

 ![HighresScreenshot00031](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/5/4/1549f24f29612d17e7cec4ccbfd0012dd1df7932.jpeg)

---

<div class="post-metadata">

**Author:** ![Ordnas006](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ordnas006/32/1194699_2.png) [@Ordnas006](https://forums.unrealengine.com/u/Ordnas006)\
**Post date:** [May 20, 2023, 11:03pm UTC](https://forums.unrealengine.com/t/citizen-pain-action-in-first-person/793807/30 "2023-05-20T23:03:57Z")

</div>

Experimenting with firebomb particles, a weapon that can be launched by soldiers.

 ![HighresScreenshot00032](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/0/4/a048b89d7f870638a1712d77f521b04cde255b48.jpeg)

---

<div class="post-metadata">

**Author:** ![Ordnas006](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ordnas006/32/1194699_2.png) [@Ordnas006](https://forums.unrealengine.com/u/Ordnas006)\
**Post date:** [May 23, 2023, 7:42pm UTC](https://forums.unrealengine.com/t/citizen-pain-action-in-first-person/793807/31 "2023-05-23T19:42:38Z")

</div>

Now the soldier can throw the firebomb:

 ![HighresScreenshot00033](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/5/3/9535d2b8cbc83a9dafc94538daedcf898ba0e45e.jpeg)

---

<div class="post-metadata">

**Author:** ![Ordnas006](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ordnas006/32/1194699_2.png) [@Ordnas006](https://forums.unrealengine.com/u/Ordnas006)\
**Post date:** [May 24, 2023, 5:36pm UTC](https://forums.unrealengine.com/t/citizen-pain-action-in-first-person/793807/32 "2023-05-24T17:36:56Z")

</div>

More tweaks on firebomb throwing behavior.

 ![HighresScreenshot00034](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/0/6/4066be3ac3bf58ab1ed5fb8b50d7cd8e5301c72a.jpeg)

---

<div class="post-metadata">

**Author:** ![PresumptivePanda](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/presumptivepanda/32/1194593_2.png) [@PresumptivePanda](https://forums.unrealengine.com/u/PresumptivePanda)\
**Post date:** [May 25, 2023, 12:07am UTC](https://forums.unrealengine.com/t/citizen-pain-action-in-first-person/793807/33 "2023-05-25T00:07:07Z")

</div>

Hi again @Ordnas006,

Hope you’ve been well! 🙂

Love seeing all the development updates and stages. Everything looks great so far and I can’t wait to follow the project more. Especially for the combat - it looks like a lot of effort is going into it.

---

<div class="post-metadata">

**Author:** ![Ordnas006](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ordnas006/32/1194699_2.png) [@Ordnas006](https://forums.unrealengine.com/u/Ordnas006)\
**Post date:** [May 25, 2023, 4:52pm UTC](https://forums.unrealengine.com/t/citizen-pain-action-in-first-person/793807/34 "2023-05-25T16:52:06Z")

</div>

Thank you @PresumptivePanda for the kind words! Yes, I am focusing a lot on combat mechanics, I am a lover of combat systems 🙂

---

<div class="post-metadata">

**Author:** ![PresumptivePanda](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/presumptivepanda/32/1194593_2.png) [@PresumptivePanda](https://forums.unrealengine.com/u/PresumptivePanda)\
**Post date:** [May 25, 2023, 9:01pm UTC](https://forums.unrealengine.com/t/citizen-pain-action-in-first-person/793807/35 "2023-05-25T21:01:57Z")

</div>

Can’t wait to see what you come up with. 🙂

---

<div class="post-metadata">

**Author:** ![Ordnas006](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ordnas006/32/1194699_2.png) [@Ordnas006](https://forums.unrealengine.com/u/Ordnas006)\
**Post date:** [May 27, 2023, 4:33pm UTC](https://forums.unrealengine.com/t/citizen-pain-action-in-first-person/793807/36 "2023-05-27T16:33:59Z")

</div>

This week I implemented a new enemy, the Soldier Swordsman. These enemies have much more health than the normal enemies. They have a chance to throw a Firebomb, which creates an area damage.

At the moment their attacks consist of two slow horizontal swings, and a side step where they can block player attacks (not implemented for now).

In addition, I created other destructibles such as chairs and tables, and placed them in the greybox level together with the Soldier Swordsman.

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/2/c/02c6fbed518c9d97993895f98e4fc2bbe2b5a5d5.jpeg "Citizen Pain | First Person Action Prototype in Unreal Engine 5 | Soldier Swordsman | Week 3") ](https://www.youtube.com/watch?v=Ycd3JwhPNYg)

---

<div class="post-metadata">

**Author:** ![PresumptivePanda](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/presumptivepanda/32/1194593_2.png) [@PresumptivePanda](https://forums.unrealengine.com/u/PresumptivePanda)\
**Post date:** [May 30, 2023, 9:18pm UTC](https://forums.unrealengine.com/t/citizen-pain-action-in-first-person/793807/37 "2023-05-30T21:18:25Z")

</div>

Hi again @Ordnas006,

Hope you’ve been well!

This combat seems perfectly created to make me question my gaming skills 😂 I have a talent for “forgetting” to block. Jokes aside, this looks like its shaping up to be really fun!

Happy developing and can’t wait to see more 🙂

---

<div class="post-metadata">

**Author:** ![Ordnas006](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ordnas006/32/1194699_2.png) [@Ordnas006](https://forums.unrealengine.com/u/Ordnas006)\
**Post date:** [May 31, 2023, 6:33pm UTC](https://forums.unrealengine.com/t/citizen-pain-action-in-first-person/793807/38 "2023-05-31T18:33:42Z")

</div>

Haha, yes, I would like to put a good level of challenge 😃

Thank you for the compliments ❤

---

<div class="post-metadata">

**Author:** ![Ordnas006](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ordnas006/32/1194699_2.png) [@Ordnas006](https://forums.unrealengine.com/u/Ordnas006)\
**Post date:** [May 31, 2023, 6:37pm UTC](https://forums.unrealengine.com/t/citizen-pain-action-in-first-person/793807/39 "2023-05-31T18:37:23Z")

</div>

I added a health bar above the enemies, to show how much damage you do to them and how much health they still have left:

 ![Immagine 2023-05-30 153514](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/3/9/c39de67da2de2230ff1300dbbef8d346ea92797d.jpeg)

---

<div class="post-metadata">

**Author:** ![Ordnas006](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ordnas006/32/1194699_2.png) [@Ordnas006](https://forums.unrealengine.com/u/Ordnas006)\
**Post date:** [June 1, 2023, 8:35pm UTC](https://forums.unrealengine.com/t/citizen-pain-action-in-first-person/793807/40 "2023-06-01T20:35:16Z")

</div>

Added support for showing multiple health bar, 3d widgets above each enemy.

 ![Immagine 2023-06-01 223252](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/5/f/65fa153d67a4f5e92278c012dfbbe6bed6906225.jpeg)

[Previous page](https://forums.unrealengine.com/t/citizen-pain-action-in-first-person/793807.md?page=1)

[Next page](https://forums.unrealengine.com/t/citizen-pain-action-in-first-person/793807.md?page=3)
