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 / Fire Enemy

Author
Message
Halfpastundead
15
Years of Service
User Offline
Joined: 7th Mar 2009
Location:
Posted: 2nd Apr 2009 02:57
Is it possible for an enemy to be covered in flames and hurt you if they get close to you. I am trying to work on this for my game but need some smart scripters to push me in the right direction.

thanks
Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 3rd Apr 2009 01:35
Entities can have a decal spot. Most enemies use that decal spot for the muzzle flash for their weapons. You can most likely make a custom enemy where the decal spot is in the center of their body, make the decal a "fire" decal, and just have the script continuously run the decal, making it appear as though he's on fire. To get him to hurt you, you'll use the "plrdistwithin" condition with the "plraddhealth" action.




The one and only,


Halfpastundead
15
Years of Service
User Offline
Joined: 7th Mar 2009
Location:
Posted: 3rd Apr 2009 21:24
Awesome, thank you ply, I will try that when I get home
FPSC Work In Progress
15
Years of Service
User Offline
Joined: 10th May 2009
Location:
Posted: 7th Jun 2009 19:02
Hi!...I am new at this and I am not looking to cause conflict, but I am trying to change the Scif Tavor script to make shoot really,really fast and to make sound like the turret on a f-10 thunder bolt?..What would be my best course of action for this?...and also where can I get access to tutorials on Scripts making?...Thank you so much!
DestroyerHive
15
Years of Service
User Offline
Joined: 8th Mar 2009
Location: Ravenholm - pwning headcrabs
Posted: 13th Jun 2009 20:18
God, Plystire, on every thread you post in, you're always helping someone! Good job!

A single drop of water can mean a drained ocean for future generations
djmaster
User Banned
Posted: 13th Jun 2009 22:26
Yeah I smell another valued member award...

A.K.A. chargerbandit
[href]http://chargedstudios.ultimatefpsc.com/[href]
Dar13
16
Years of Service
User Offline
Joined: 12th May 2008
Location: Microsoft VisualStudio 2010 Professional
Posted: 15th Jun 2009 03:45
I'm surprised he hasn't already gotten one

Conjured Entertainment
AGK Developer
19
Years of Service
User Offline
Joined: 12th Sep 2005
Location: Nirvana
Posted: 15th Jun 2009 05:28 Edited at: 15th Jun 2009 05:37
Quote: "I'm surprised he hasn't already gotten one"

Me too.
Or at least a title other than User.
Just like all of the modelers in the Game Creator's Store could have the title 'Graphic Artist'.


Quote: "Entities can have a decal spot. Most enemies use that decal spot for the muzzle flash for their weapons. You can most likely make a custom enemy where the decal spot is in the center of their body, make the decal a "fire" decal, and just have the script continuously run the decal, making it appear as though he's on fire. To get him to hurt you, you'll use the "plrdistwithin" condition with the "plraddhealth" action."

Dang it!
Why didn't I think of doing that?
Oh well, good idea.
THANKS Plystire!

Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 15th Jun 2009 07:19
Good to know that old posts are still helping people.


The one and only,


freak of nature 64
15
Years of Service
User Offline
Joined: 19th Jan 2009
Location: Look in your car...
Posted: 25th Jun 2009 01:11
Quote: "Hi!...I am new at this and I am not looking to cause conflict, but I am trying to change the Scif Tavor script to make shoot really,really fast and to make sound like the turret on a f-10 thunder bolt?..What would be my best course of action for this?...and also where can I get access to tutorials on Scripts making?...Thank you so much!"

For speed, use this:

I also modified the zoom, range, clip amount, bullet hole, and damage. To change the sound go to C:\Program Files\The Game Creators\FPS Creator\Files\gamecore\guns\scifi\tavor and replace fire.wav with your sound. It has to be .wav. for scripting tutorials look to the community guide. Oh yeah, save the code above as gunspec.txt to the same path as the sound.

bla bla bla Mr. Freeman

Login to post a reply

Server time is: 2024-11-25 03:44:09
Your offset time is: 2024-11-25 03:44:09