Forum

> > CS2D > Scripts > Can Someone make a script for me?
Forums overviewCS2D overview Scripts overviewLog in to reply

English Can Someone make a script for me?

10 replies
To the start Previous 1 Next To the start

old Can Someone make a script for me?

Serginho
User Off Offline

Quote
I want make a hurt msg script,containing:

∗ When player life is less than 30
• show a menssage "You Are Hurt! Get cover!
• play a sound of beating heart
• and display a sprite with blood around

∗ When player life is more than 30
• take way the menssage
• take way the sound
• take way the sprite

as you can see a script like the Call of Duty 4, when you are hurt.

thanks and sorry for the bad english

old Re: Can Someone make a script for me?

EngiN33R
Moderator Off Offline

Quote
1. What's the path to the beating heart sound?
2. Do you want the beating heart sound looped? If so then what's its length?
3. What's the path to the blood sprite?

old Re: Can Someone make a script for me?

Serginho
User Off Offline

Quote
i'm sorry,i forget i already have a recovery hp system,then the player's life is always regenerating

EXAMPLE:
the player took a shot that took 80 of his life and he has 100 life, which is now put up the 3 items (sound, sprite and message) must be activated, because the player is now living with 20 and 3 items (snd, and spr msg) should always be activated when the player has less than 30 living on and off when you have recovered enough life to have more than 30 of life.
Got it?

It's easy to do,but i'm a noob scripter

but you are really interested in this script??


sorry for bad English.

old Re: Can Someone make a script for me?

Serginho
User Off Offline

Quote
user EngiN33R has written
I got that from the first post, would you be so kind to answer the bloody questions posed in my last post though?



if I understand well, this is the answer:
1.sfx/bf/heart.ogg (i already have a song,don't need make one)
2.Yes I want the beating heart sound looped, I did not understand the "length"
3.gfx/bf/blood.bmp (or PNG,i don't have a sprite if you can,make one for me please)

-------------------READ-----------------
OBS:please explain the part of the "length"
edited 2×, last 31.08.11 07:21:26 pm

old Re: Can Someone make a script for me?

EngiN33R
Moderator Off Offline

Quote
I did indeed mean what darkcrypt mentioned.

I can't make a sprite, I'm not a graphics person.

Otherwise it's understand, but I need to know the length (or duration if you would) of the sound to finish that script of yours.

old Re: Can Someone make a script for me?

Serginho
User Off Offline

Quote
aaaaa now I get it, well then the length of sound is approximately 4 seconds, this is not what brand the media player (used to play the sound) is accurate, but there was 4 seconds

but you know someone can do a sprite?
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview