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 Product Chat / FPS Creator: Where can I decrease the damage that the enemy makes on me?

Author
Message
Liquid Blaze
13
Years of Service
User Offline
Joined: 3rd Aug 2012
Location:
Posted: 18th Aug 2012 13:31
Hi

Where can I decrease the damage that the enemy makes on me?


Regards
Liquid
maho76
15
Years of Service
User Offline
Joined: 31st May 2011
Location: universe-hub, playing the flute
Posted: 18th Aug 2012 13:43 Edited at: 18th Aug 2012 13:44
open docs folder, read manual and community guide.

rightclick enemy > choose gun > edit damage,accuracy and rounds per shot (dont remember how the original wording is, sorry)

for melee-damage you have to edit your mainscript "...plrhealth=-x,..."

Liquid Blaze
13
Years of Service
User Offline
Joined: 3rd Aug 2012
Location:
Posted: 18th Aug 2012 18:30
First of thanks for the answer and the effort....

I can't find in the main script plrhealth only this text

[/code]desc = Random Melee Attack

;Triggers

;WALKING WAYPOINTS
:waypointstate=0:animate=2,waypointstart
:waypointstate=3:animate=2,waypointnext
:waypointstate=4:animate=2,waypointrandom
:waypointstate=5:animate=2,waypointreverse

;DETECT PLAYER
:state=0,plrdistwithin=300,plrcanbeseen:waypointstop,state=9,rotatetoplr,setframe=96,sound=audiobank\zombie_apocalypse\zombie1intro.wav
:state=0,shotdamage=1:waypointstop,state=9,rotatetoplr,setframe=96

;INTRO ANIMATION
:state=9:waypointstop,incframe=96
:state=9,frameatend=96:state=5

;CHOOSE MELEE ATTACK
:state=5,random=2:plrfreeze=0,state=21
;(USED TO DIRECT ZOMBIE TO SINGLE BITE ATTACK, NOT USED):state=5,random=2:state=6
:state=5,random=2:plrfreeze=0,state=22

;SLASH ATTACK

:state=21,plrdistfurther=40:sound=audiobank\zombie_apocalypse\zombie1moan.wav,state=1
:state=21:state=1

:state=1,plrdistfurther=40:waypointstop,rotatetoplr,movefore=2,animate=92
:state=1,plrdistwithin=40:waypointstop,rotatetoplr,setframe=93,state=7

:state=7,framebeyond=93 50,plrdistwithin=60:plraddhealth=-20,state=8
:state=7:incframe=93,rotatetoplr
:state=7,frameatend=93:state=5
:state=8:incframe=93
:state=8,frameatend=93:state=5

;BITE ATTACK (NOT USED, DECIDED TRIPLE BITE ATTACK WAS SUFFICIENT)

:state=6,plrdistfurther=35:waypointstop,rotatetoplr,movefore=2,animate=92
:state=6,plrdistwithin=35:plrfreeze=1,waypointstop,rotatetoplr,setframe=94,state=2

:state=2,framebeyond=94 55,plrdistwithin=60:plraddhealth=-10,plrfreeze=0,state=3
:state=2:incframe=94,plrfreeze=1,rotatetoplr
:state=2,frameatend=94:state=5
:state=3:incframe=94
:state=3,frameatend=94:state=5

;TRIPLE BITE
:state=22,plrdistfurther=40:sound=audiobank\zombie_apocalypse\zombie1moan.wav,state=16
:state=22:state=16

:state=16,plrdistfurther=40:waypointstop,rotatetoplr,movefore=2,animate=92
:state=16,plrdistwithin=40:plrfreeze=1,waypointstop,rotatetoplr,setframe=95,state=12,sound=audiobank\zombie_apocalypse\zombie1growl.wav

:state=12,framewithin=95 7:movefore=2
:state=12,framebeyond=95 44,plrdistwithin=60:plraddhealth=-10,plrfreeze=1,state=13
:state=12,plrdistwithin=40:incframe=95,plrfreeze=1,rotatetoplr
:state=12,plrdistfurther=40:plrfreeze=0,rotatetoplr,state=5
:state=12,frameatend=95:state=5

:state=13,framebeyond=95 66,plrdistwithin=60:plraddhealth=-10,plrfreeze=1,state=14
:state=13,plrdistwithin=40:incframe=95,plrfreeze=1,rotatetoplr
:state=13,plrdistfurther=40:plrfreeze=0,rotatetoplr,state=5
:state=13,frameatend=95:state=5


:state=14,framebeyond=95 90,plrdistwithin=60:plraddhealth=-10,plrfreeze=0,state=15
:state=14,plrdistwithin=40:incframe=95,plrfreeze=1,rotatetoplr
:state=14,plrdistfurther=40:plrfreeze=0,rotatetoplr,state=5
:state=14,frameatend=95:state=5

:state=15:plrfreeze=0,incframe=95
:state=15,frameatend=95:state=5
[code]

Any ideas?
The Storyteller 01
17
Years of Service
User Offline
Joined: 11th May 2009
Location: On a silent hill in dead space
Posted: 18th Aug 2012 21:06 Edited at: 18th Aug 2012 21:07
Quote: ":state=7,framebeyond=93 50,plrdistwithin=60:plraddhealth=-20,state=8"
these are the lines you are looking for. You'll have to manually edit each line containing PLRADDHEALTH=

In case you find my grammar and spelling weird ---> native German speaker ^^
rolfy
20
Years of Service
User Offline
Joined: 23rd Jun 2006
Location:
Posted: 18th Aug 2012 22:04
Maybe you could simply increase the players health and save yourself the trouble. I guess it depends on what your aiming for.

Awesome! Its one of those threads.
Scene Commander
Support Manager
18
Years of Service
User Offline
Joined: 3rd May 2008
Location:
Posted: 18th Aug 2012 23:20
Or you can use entitydamagemult=x in the appear script, it's % based so entitydamagemult=50 would halve the damage, etc..

I hope that helps

SC
Liquid Blaze
13
Years of Service
User Offline
Joined: 3rd Aug 2012
Location:
Posted: 19th Aug 2012 08:52
Thanks, ill try it out...
Liquid Blaze
13
Years of Service
User Offline
Joined: 3rd Aug 2012
Location:
Posted: 19th Aug 2012 09:42
Hmm, seems to be harder than I first thought

I edited already the plraddhealth but there is no difference at the enemies damage.


Any other ideas?
maho76
15
Years of Service
User Offline
Joined: 31st May 2011
Location: universe-hub, playing the flute
Posted: 20th Aug 2012 10:38
Quote: ":state=7,framebeyond=93 50,plrdistwithin=60:plraddhealth=-20,state=8

:state=2,framebeyond=94 55,plrdistwithin=60:plraddhealth=-10,plrfreeze=0,state=3

:state=12,framebeyond=95 44,plrdistwithin=60:plraddhealth=-10,plrfreeze=1,state=13

:state=13,framebeyond=95 66,plrdistwithin=60:plraddhealth=-10,plrfreeze=1,state=14

:state=14,framebeyond=95 90,plrdistwithin=60:plraddhealth=-10,plrfreeze=0,state=15"


this script has 3 different attacks running at random. you have to edit all of them if not using the modificator.

Liquid Blaze
13
Years of Service
User Offline
Joined: 3rd Aug 2012
Location:
Posted: 20th Aug 2012 19:11
Okay, just for sureness. the number below of "plraddhealth=-" Is the amount of damage I lose at his single attack, right?
raymondlee306
16
Years of Service
User Offline
Joined: 24th Oct 2009
Location: Ohio
Posted: 20th Aug 2012 20:08
That's correct. The minus sign mean subtract from player health. You could in theory change that to a plus and add health if you so desired.
Liquid Blaze
13
Years of Service
User Offline
Joined: 3rd Aug 2012
Location:
Posted: 20th Aug 2012 20:52
Thanks, I'll add raymondlee306 and maho76 Credits

Login to post a reply

Server time is: 2026-07-03 15:31:03
Your offset time is: 2026-07-03 15:31:03