Coding a Slender-like monster with Jumpscares?

Ask about ACS, DECORATE, ZScript, or any other scripting questions here!

Moderator: GZDoom Developers

Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.

Please bear in mind that the people helping you do not automatically know how much you know. You may be asked to upload your project file to look at. Don't be afraid to ask questions about what things mean, but also please be patient with the people trying to help you. (And helpers, please be patient with the person you're trying to help!)
Post Reply
SuperAble
Posts: 38
Joined: Tue Jan 02, 2018 9:04 pm

Coding a Slender-like monster with Jumpscares?

Post by SuperAble »

Does anyone know how to code a somewhat basic slender-like monster that could display jumpscare graphics when the player encounters it? Tried looking through the code for mods like Lasting Light, but it seemed quite confusing/complicated since some of the code has things that links to other things within the mod such as how it interacts with the player and affects items such as the lamps and such.
User avatar
Cherno
Posts: 1311
Joined: Tue Dec 06, 2016 11:25 am

Re: Coding a Slender-like monster with Jumpscares?

Post by Cherno »

It would help if you could describe in detail how the monster would function in various situations.
SuperAble
Posts: 38
Joined: Tue Jan 02, 2018 9:04 pm

Re: Coding a Slender-like monster with Jumpscares?

Post by SuperAble »

Cherno wrote:It would help if you could describe in detail how the monster would function in various situations.
I was thinking about making a monster where the figure would pop up near the player and attacks him/her with a jumpscare graphic taking a small chunk of the players health away. It would start off with little to no chance of seeing the said figure, until the player grabs a certain amount of keys (in this case up to 3)— the more likely the figure would appear near the player and tries to attack him/her with a sudden jumpscare image only to take about 10% of health off the player.
SuperAble
Posts: 38
Joined: Tue Jan 02, 2018 9:04 pm

Re: Coding a Slender-like monster with Jumpscares?

Post by SuperAble »

Anyone else mind to help make some suggestions?
Post Reply

Return to “Scripting”