# 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:** 6

<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:** [October 5, 2023, 6:45pm UTC](https://forums.unrealengine.com/t/citizen-pain-action-in-first-person/793807/101 "2023-10-05T18:45:51Z")

</div>

Overhead attack at the end of a 3 hit combo:

 ![HighresScreenshot00066](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/5/0/c50a54caff0f950a291f0229e60c893b1c02856e.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:** [October 6, 2023, 6:21pm UTC](https://forums.unrealengine.com/t/citizen-pain-action-in-first-person/793807/102 "2023-10-06T18:21:06Z")

</div>

A screenshot during one of the Swing attacks:

 ![HighresScreenshot00068](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/e/2/5e2a95d1896d47c6649d2a9c9325034c21f37fc5.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:** [October 7, 2023, 1:56pm UTC](https://forums.unrealengine.com/t/citizen-pain-action-in-first-person/793807/103 "2023-10-07T13:56:59Z")

</div>

Placed Knight with Claymore in the greybox level:

 ![HighresScreenshot00073](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/8/b/78ba42fc2974800f2592566c135e22823dd7cbfb.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:** [October 8, 2023, 6:51pm UTC](https://forums.unrealengine.com/t/citizen-pain-action-in-first-person/793807/104 "2023-10-08T18:51:57Z")

</div>

This weeks I implemented 2 new enemies.

The first new enemy is the Soldier Axeman. Like the Soldier Spearman, the Axeman is a variation of the Soldier that uses a battle axe with a shield. The Axeman has similar attacks to the Swordman but has slightly more health and an overhead attack that can perform at the end of a combo or while running. The Soldier Axeman can throw firebombs like other soldiers.

The second new enemy is the Silver Knight with Claymore. It is a variant of the Silver Knight. He does less damage and has less health, but has a greater attack range and performs an overhead smash attack, which if parried sends the player into stunlock. I made sure that if the player goes into stunlock the Knight can only perform a slow attack (like an Overhead) so that the player has time to perform a dodge at the last moment (the stunlock can only be cancelled by a dodge).

I also placed various enemies in the greybox level and fixed stairs inside the first tower, as the steps were too high and did not work well with the Navmesh,

There are a couple of visual bugs in the gameplay video (such as weapons staying in the air and animations getting stuck), which of course will need to be fixed. Also I need to fix the framerate, which I can no longer stay on 60 fps on my machine, it seems that there are too many enemies active at the same time in the level (I’m CPU-bound), I guess I’ll have to optimize a bit.

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/f/4/5f4932680f820f8928248a0c12139ca137204a49.jpeg "Citizen Pain | First Person Action Prototype in Unreal Engine 5 | New enemies | Oct 2023 Week 1") ](https://www.youtube.com/watch?v=2djGoSHfTT8)

---

<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:** [October 9, 2023, 6:21pm UTC](https://forums.unrealengine.com/t/citizen-pain-action-in-first-person/793807/105 "2023-10-09T18:21:24Z")

</div>

I am continuing the placement of enemies in the greybox level.

 ![HighresScreenshot00077](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/c/4/9c42a7a1e8884d57b318bc6b194434267d16ffa2.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:** [October 10, 2023, 6:09pm UTC](https://forums.unrealengine.com/t/citizen-pain-action-in-first-person/793807/106 "2023-10-10T18:09:58Z")

</div>

I am beginning to implement an NPC, which will be encountered in the game. If you save him from enemies he will give you a reward.

 ![HighresScreenshot00075](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/1/e/71e6750190080ad16e94f9ace2d1fccc904e6e28.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:** [October 12, 2023, 7:34pm UTC](https://forums.unrealengine.com/t/citizen-pain-action-in-first-person/793807/107 "2023-10-12T19:34:12Z")

</div>

For the NPC for now I will use a model very similar to the soldier (except for the cloak and different weapons).

 ![HighresScreenshot00078](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/4/f/94f9c8ff7e403fec053dc7b6c10c8b2f0f657dde.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:** [October 14, 2023, 6:56pm UTC](https://forums.unrealengine.com/t/citizen-pain-action-in-first-person/793807/108 "2023-10-14T18:56:42Z")

</div>

Testing the NPC’s AI. It was a lot of fun to see the NPC fighting enemies for you!

 ![HighresScreenshot00086](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/d/a/bdac6032843ab2aa60c112442d98c44645c0d45c.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:** [October 17, 2023, 6:02pm UTC](https://forums.unrealengine.com/t/citizen-pain-action-in-first-person/793807/109 "2023-10-17T18:02:48Z")

</div>

Prototyping the behavior of the AI NPC. During patrol he can fight other enemies. I’d like to add some new animations for the NPC, but for now it is ok.

 ![HighresScreenshot00088](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/b/e/bbe2f20343dc642b03b8892bb98e965f50237a91.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:** [October 18, 2023, 6:09pm UTC](https://forums.unrealengine.com/t/citizen-pain-action-in-first-person/793807/110 "2023-10-18T18:09:51Z")

</div>

Enemies placed on the last bridge. There are many of them so that the player does not pass easily.

 ![HighresScreenshot00091](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/c/b/8cb51b739ff4b31852d2c9c68650287fba99d1d0.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:** [October 22, 2023, 6:16pm UTC](https://forums.unrealengine.com/t/citizen-pain-action-in-first-person/793807/111 "2023-10-22T18:16:42Z")

</div>

I have implemented an NPC and some key features:

1. **NPC Character** :  
I introduced a non-playable character (NPC) into the game. This addition serves multiple purposes, introducing the potential for additional interactions within the game, making it more engaging.

2. **Simple AI** :  
The AI for the NPC is intentionally kept simple. It primarily involves two main functions:

3. **Mesh and Animations for the NPC** :

4. **Small Quest Involving the NPC** :

5. **Patrol Logic** :

6. **Continuous Level Design Iteration** :

7. **Additional Traps and Enemy Placement** :

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/5/5/a5530e93b46c3427303edff87a4e7dc9571b3d98.jpeg "Citizen Pain | First Person Action Prototype in Unreal Engine 5 | NPC | Oct 2023 Week 2") ](https://www.youtube.com/watch?v=sS7EVIE88GY)

---

<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:** [October 24, 2023, 6:26pm UTC](https://forums.unrealengine.com/t/citizen-pain-action-in-first-person/793807/112 "2023-10-24T18:26:59Z")

</div>

I started to implement a very large enemy with the purpose of being an environmental hazard.

 ![HighresScreenshot00096](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/a/7/8a743087c699545704b58c3eeea75474cb762bda.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:** [October 25, 2023, 6:19pm UTC](https://forums.unrealengine.com/t/citizen-pain-action-in-first-person/793807/113 "2023-10-25T18:19:06Z")

</div>

I started to implement the logic attack of the environmental hazard.

 ![HighresScreenshot00095](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/f/e/dfe6c68c04755180e9d99e6e664b8b0b400409fb.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:** [October 26, 2023, 6:52pm UTC](https://forums.unrealengine.com/t/citizen-pain-action-in-first-person/793807/114 "2023-10-26T18:52:28Z")

</div>

I am testing the flame attack hitbox and the aim offset of the head following a target. A bit worried about tweaking the fire particle, but I will think about much further into development.

 ![Immagine 2023-10-26 195540](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/9/3/e9383b4a3db818bdae3320874230a2c97c536da3.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:** [October 27, 2023, 7:06pm UTC](https://forums.unrealengine.com/t/citizen-pain-action-in-first-person/793807/115 "2023-10-27T19:06:56Z")

</div>

The monster sleeps until you get close enough. When it wakes up, its startup is about 10 seconds before it attacks, so player can escape (the monster’s roar should make the hazard clear).

 ![Immagine 2023-10-27 210150](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/f/9/af946a5bd289189093562a19c5937ea1f764009e.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:** [October 28, 2023, 7:14pm UTC](https://forums.unrealengine.com/t/citizen-pain-action-in-first-person/793807/116 "2023-10-28T19:14:14Z")

</div>

I placed the monster in the greybox map. I made it much bigger to make it more threatening from a distance.

 ![HighresScreenshot00092](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/b/5/2b55a528b36ef8c1b81281ccd46139062508b6c5.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:** [October 31, 2023, 6:19pm UTC](https://forums.unrealengine.com/t/citizen-pain-action-in-first-person/793807/117 "2023-10-31T18:19:47Z")

</div>

Positioned enemy around the corner, in the Soulslike tradition. With that I should have finished the level placement for now. I’ll have to implement some levers that open doors.

 ![HighresScreenshot00093](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/4/3/843a06cbc5ff02a7387a0f30e656ebc785618073.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:** [November 1, 2023, 7:39pm UTC](https://forums.unrealengine.com/t/citizen-pain-action-in-first-person/793807/118 "2023-11-01T19:39:46Z")

</div>

Implemented lever and logic that opens the door. I reused a couple of prototype blueprints, it was simple enough. The lever is a bit ugly, but being a prototype it will do for now.

 ![HighresScreenshot00094](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/c/b/9cb026868ccb408c472d870c7042156c7dd1bf38.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:** [November 2, 2023, 7:23pm UTC](https://forums.unrealengine.com/t/citizen-pain-action-in-first-person/793807/119 "2023-11-02T19:23:08Z")

</div>

Added cinematic that starts after used the lever to open the boss gate. So far it’s just a simple shot with the door opening, nothing spectacular but it shows to the player which door has opened (since it’s away from the player).

 ![cine](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/7/3/c73a48663763b1de5d619b200897527608f87ad0.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:** [November 3, 2023, 9:04pm UTC](https://forums.unrealengine.com/t/citizen-pain-action-in-first-person/793807/120 "2023-11-03T21:04:24Z")

</div>

I fixed the destructibles, which seemed broken after upgrading to UE 5.3. Resaving the blueprint seems to have fixed itself.

 ![HighresScreenshot00098](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/c/9/dc96445f35745e7f70abc900ab93a9bf9f971b26.jpeg)

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

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