Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

FPSC Classic Scripts / Difficulty Script

Author
Message
Marc Steene
FPSC Master
20
Years of Service
User Offline
Joined: 27th Mar 2006
Location: Bahrain
Posted: 1st Jul 2010 16:34
Here's a simple difficulty script for Project Blue users. Alter values to your liking.

Plrdmgmult - Higher values mean the player does more damage
Entitydmgmult - Higher values mean the player takes more damage

Currently, difficulty is increased by pressing left control but this can be changed to whatever you want (it doesn't even need to be a keypress).

Put this script in a trigger zone:



Add this line of code to your enemy's main script:

:always:entitydmgmult=%enemydamage

And you're done!

Enjoy.


[b]FPSC MIGRATION: http://forum.thegamecreators.com/?m=forum_view&t=142497&b=21
Defy
FPSC BOTB Developer
VBOTB Developer '09
18
Years of Service
User Offline
Joined: 20th Aug 2007
Location:
Posted: 1st Jul 2010 17:06
Ace work once again. look forward to talking to you more about this.
mgarand
18
Years of Service
User Offline
Joined: 22nd Dec 2007
Location: The Netherlands
Posted: 1st Jul 2010 17:12
perfect for my game: Virus, for people who are saying its too easy whaha, nice one !



Creativity is inventing, experimenting, growing, taking risks, breaking rules, making mistakes, and having fun.
Plystire
23
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 2nd Jul 2010 07:38
You should integrate that into part of the title menu for people. Would be great to get an options screen going.


The one and only,


Gun_Guy
18
Years of Service
User Offline
Joined: 11th Nov 2007
Location: UK
Posted: 19th Sep 2010 19:19 Edited at: 19th Sep 2010 20:44
Also a hud could come up as well to tell the player he/she has changed difficulty

EDIT: Oh right it does. Niice
JCarv
15
Years of Service
User Offline
Joined: 21st Sep 2010
Location: Underground
Posted: 21st Sep 2010 15:16
That script is very useful thanks Marc Steene!

Login to post a reply

Server time is: 2026-07-26 05:23:05
Your offset time is: 2026-07-26 05:23:05