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 / editing the damage inflicted by an enemy

Author
Message
MaarX
18
Years of Service
User Offline
Joined: 27th Feb 2006
Location:
Posted: 2nd Jul 2006 12:36
Is it possible to adjust the damage inflicted by an enemy entity.

The weapon damage can be edited if you make an entity and edit it. But I want the enemy to do more damage, not just the player weapon.

Thanks in advance...
Storm 6000
20
Years of Service
User Offline
Joined: 10th Oct 2004
Location:
Posted: 2nd Jul 2006 13:11
look in the enemys options

Thanks
Adam
MaarX
18
Years of Service
User Offline
Joined: 27th Feb 2006
Location:
Posted: 2nd Jul 2006 13:26
What do I need to edit there? Phsycics force damage doesn't work... And nothing else looks like what I need...
Jiffy
20
Years of Service
User Offline
Joined: 5th Mar 2004
Location: Hiding in the bushes in your backyard
Posted: 2nd Jul 2006 13:33
Open the .fpi that the enemy is using and look for "plraddhealth=-x". Change "x" to the amount you need.


Evil has a new name. Demo out now!
MaarX
18
Years of Service
User Offline
Joined: 27th Feb 2006
Location:
Posted: 2nd Jul 2006 13:38
Thanks...

:state=1,random=60:rotatetoplr
:state=1,shotdamage=10:settarget,waypointstop,animate=1,rotatetotarget,resethead,state=4
:state=1,noiseheard=5:rotateheadrandom=85

That is a part of the AI 'Pace' which my enemies use. See the second line ':state=1,shotdamage=10' would that be the line I am looking for?

Thanks
Jiffy
20
Years of Service
User Offline
Joined: 5th Mar 2004
Location: Hiding in the bushes in your backyard
Posted: 2nd Jul 2006 13:45
...No.

The "shotdamage=x" command refers to the amount that the entity is damaged, not the player. And my bad, stock scripts don't include that part (I was thinking of melee). I was thinking it was in the shot script field, but it doesn't look like that either... Hm, I'll keep looking into it.


Evil has a new name. Demo out now!
MaarX
18
Years of Service
User Offline
Joined: 27th Feb 2006
Location:
Posted: 2nd Jul 2006 14:13
Nope, that isn't the right script either (the shoot thingy) ... I tried searchign all the AI's it uses but nowhere it says the damage inflicted by the unit...

I even looked up the gun folder and checked all the files there. Gunspec.txt says nothing ,only the player damage amount... And the entity doesn't say anything either...

Hope we'll find the answer
Doom
19
Years of Service
User Offline
Joined: 31st Jan 2005
Location: Canada
Posted: 2nd Jul 2006 16:42
cant you change it inside fpsc?

MaarX
18
Years of Service
User Offline
Joined: 27th Feb 2006
Location:
Posted: 2nd Jul 2006 17:14
not that I know...
SpyDaniel
18
Years of Service
User Offline
Joined: 4th Feb 2006
Location: United Kingdom
Posted: 2nd Jul 2006 17:32
I dont think you can change it, you can only have the player damaged with the melee script, which is part of the trigger zone hurt script I think.


MaarX
18
Years of Service
User Offline
Joined: 27th Feb 2006
Location:
Posted: 2nd Jul 2006 19:15
Thanks for the information...
Disturbing 13
19
Years of Service
User Offline
Joined: 12th Apr 2005
Location: Murder Capital of the World
Posted: 2nd Jul 2006 19:29
perhaps changeing the damage in the gunspec of the weapon that your enemy is useing. It would affect the weapon should you pick it up also though.

MaarX
18
Years of Service
User Offline
Joined: 27th Feb 2006
Location:
Posted: 2nd Jul 2006 19:33
Doesn't work but thanks anyways I think it is hard scripted into the source? (They call it like that o.O I think )

Only if ppls make new weapons,,, they get to choose the damage that an opponent deals or not?
SpyDaniel
18
Years of Service
User Offline
Joined: 4th Feb 2006
Location: United Kingdom
Posted: 2nd Jul 2006 19:34
Thats works Disturbing , but you can do the same by selecting the weapon in the editor.


Disturbing 13
19
Years of Service
User Offline
Joined: 12th Apr 2005
Location: Murder Capital of the World
Posted: 2nd Jul 2006 19:40
@Starmaart - as Higgins said , it does work; how do you think people make new weapons? They copy and alter a premade one.

@ Higgins- didnt know it could be set in editor,thanks

MaarX
18
Years of Service
User Offline
Joined: 27th Feb 2006
Location:
Posted: 2nd Jul 2006 19:44
Oh yes it works, I edited the wrong field... Thanks!!!

I only guess I have to let the player use a different weapon than the enemy now...

Thanks all
Disturbing 13
19
Years of Service
User Offline
Joined: 12th Apr 2005
Location: Murder Capital of the World
Posted: 2nd Jul 2006 19:50
you could make a complete duplicate and name it something slightly different to inflict more damage than an enemy would, but if an enemy dropped a particular weapon that you don't have you would be picking up the weaker weapon.

Les Horribres
19
Years of Service
User Offline
Joined: 20th Nov 2005
Location: My Name is... Merry
Posted: 2nd Jul 2006 20:15
you could make a complete duplicate and name it something slightly different to inflict more damage than an enemy would, but if an enemy dropped a particular weapon that you don't have you would be picking up the weaker weapon.

Only if he went into the gunspecs files... that wouldn't work in the FPSC Editor.

Your Mod was deleted by the Government.
MaarX
18
Years of Service
User Offline
Joined: 27th Feb 2006
Location:
Posted: 2nd Jul 2006 20:37
I got it working, right after I posted my reply:

Quote: "I only guess I have to let the player use a different weapon than the enemy now..."


I thought ... 'Or I could duplicate it' and so I did thanks~!!!
SpyDaniel
18
Years of Service
User Offline
Joined: 4th Feb 2006
Location: United Kingdom
Posted: 2nd Jul 2006 20:42
Duplicate it but dont let the enemies drop weapons.


MaarX
18
Years of Service
User Offline
Joined: 27th Feb 2006
Location:
Posted: 2nd Jul 2006 20:46
Thanks I'll let them drop nothing

And does anyone know how to make a countdown:



this is a part of JasUK70's timer script, the paths are okay nothing wrong with, but when I step on the trigger zone, all the huds come in one second... And that looks reaally... Not what I want

Could anyone help on that one?

Thnx
Les Horribres
19
Years of Service
User Offline
Joined: 20th Nov 2005
Location: My Name is... Merry
Posted: 2nd Jul 2006 20:51
You can't hijack your own thread!

Your Mod was deleted by the Government.
MaarX
18
Years of Service
User Offline
Joined: 27th Feb 2006
Location:
Posted: 2nd Jul 2006 21:04
I just prooved I can o.O

Login to post a reply

Server time is: 2024-11-25 04:50:37
Your offset time is: 2024-11-25 04:50:37