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 / Tank only destroy by anti-tank?

Author
Message
TodeGamer
11
Years of Service
User Offline
Joined: 11th Sep 2012
Location: Bangkok,Thailand
Posted: 9th Mar 2016 01:37
I tried these one but didn't work.


I love to make games
The Storyteller 01
14
Years of Service
User Offline
Joined: 11th May 2009
Location: On a silent hill in dead space
Posted: 9th Mar 2016 17:50 Edited at: 9th Mar 2016 17:55
First of all, I'm quite sure that SETENTITYIMMUNE and DAMAGEBY are not vanilla FPSC conditions, they either are from another engine or an FPSC mod.

However, there is a way your script might work.

1. Give the tank (which has to be a dynamic entity) 100.000 health.
2. Give the panzerschreck 1500 damage in the gunspecs

And then use this script:


;End of Script

The SHOTDAMAGE=X condition is fulfilled, when the damage of a single shot at the entity exceeds X. So with conventional weapons that usually do 10-50 damage per shot, the player will most likely run out of ammo before the tank eats up 100k damage while a single hit (even a strafing one) by the panzerschreck will trigger the destruction.
In case you find my grammar and spelling weird ---> native German speaker ^^
TodeGamer
11
Years of Service
User Offline
Joined: 11th Sep 2012
Location: Bangkok,Thailand
Posted: 10th Mar 2016 01:14 Edited at: 10th Mar 2016 03:12
@The Storyteller 01

Quote: "I'm quite sure that SETENTITYIMMUNE and DAMAGEBY are not vanilla FPSC conditions, they either are from another engine or an FPSC mod."


But I saw this in the Complete Script Syntax List iss6.0.pdf by Ched80.




Edit: I also use Black Ice Mod Beta 7
I love to make games
Corno_1
13
Years of Service
User Offline
Joined: 3rd Nov 2010
Location:
Posted: 10th Mar 2016 19:21
Quote: "First of all, I'm quite sure that SETENTITYIMMUNE and DAMAGEBY are not vanilla FPSC conditions, they either are from another engine or an FPSC mod."

No they are in 1.2. So if you use the latest release (open source) then they are in. Or they are in the beta of s4real, not sure.

Also if I understand the syntax correct, you must use "flak", because the weapon does no damage(you could melee it ) ,instead the flak does
PredicateC - FPSC to GameGuru FPE converter
https://forum.game-guru.com/thread/211068
The Storyteller 01
14
Years of Service
User Offline
Joined: 11th May 2009
Location: On a silent hill in dead space
Posted: 11th Mar 2016 11:51 Edited at: 11th Mar 2016 11:52
My bad then, I haven't worked with the latest issue of the CCS
In case you find my grammar and spelling weird ---> native German speaker ^^
TodeGamer
11
Years of Service
User Offline
Joined: 11th Sep 2012
Location: Bangkok,Thailand
Posted: 11th Mar 2016 12:31
@Corno_1

Still didn't work. TOT

I love to make games
TMoney Moterbike Dude
7
Years of Service
User Offline
Joined: 15th May 2016
Location:
Posted: 3rd Jun 2016 23:53
I'm not sure what you are trying to do. Are you trying to make it so that the tank can only be destroyed by a certain gun? Because if you want that, you could make the tank have a huge amount of health and have the weapon do even more damage to it.

Login to post a reply

Server time is: 2024-04-18 03:26:00
Your offset time is: 2024-04-18 03:26:00