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.

DarkBASIC Discussion / how do bleed???

Author
Message
MrNick
21
Years of Service
User Offline
Joined: 23rd Feb 2004
Location:
Posted: 23rd Mar 2004 17:31
i'm making an fps game how do you make guys bleed?

Make games!
stann65
21
Years of Service
User Offline
Joined: 3rd Feb 2004
Location: england
Posted: 23rd Mar 2004 18:28
i am no expert but i would make another object of the charachter you are shooting and make this object of him were blood is coming off him/her. And then when you shoot your weapon set it to load the object with the blood.

P.S i would make the object with the blood animated

go onto my site
DARKGuy
21
Years of Service
User Offline
Joined: 28th Nov 2003
Location:
Posted: 27th Mar 2004 23:04
Or you can just take a knife and cut you a bit to see how they can bleed....nah it's a joke.......well....you can use particles (DBP) or make red plains (or red spheres) that work like particles, and then move them down (or where the ground is...)

stann65
21
Years of Service
User Offline
Joined: 3rd Feb 2004
Location: england
Posted: 28th Mar 2004 00:08
@DARKGUY can u elaborate on the use of particles as i have no clue what they are and what they are used for

John H
Retired Moderator
22
Years of Service
User Offline
Joined: 14th Oct 2002
Location: Burlington, VT
Posted: 28th Mar 2004 00:09
Well first you would take a sharp object and then...oh wait in a game right.

Well Id use particles for the effect, like DARKGuy said, then probably get a few different images of blood splatters, randomly select on, slap it on a plain and position the plain wherever the blood hit the ground.


We need help! Email us! [email protected]
BearCDPOLD
21
Years of Service
User Offline
Joined: 16th Oct 2003
Location: AZ,USA
Posted: 28th Mar 2004 21:00
Heehee, I see knives everywhere.....

If you love shortcuts, you can check out the particle editor that Kenmo made for Hamish's DBC particle system. It basiocally uses the textured planes things, but it saves the info for them as a file that you can load into your game and edit in the editor just like any other media file.

Crazy Donut Productions, Current Project: KillZone
Web Site Button Does Not Work, Visit Here: http://www.geocities.com/crazydonutproductions/index.html
DARKGuy
21
Years of Service
User Offline
Joined: 28th Nov 2003
Location:
Posted: 29th Mar 2004 00:56
hey that looks useful...I didn't know there was particle systems for DBC...from where it can be downloaded?

MrNick
21
Years of Service
User Offline
Joined: 23rd Feb 2004
Location:
Posted: 29th Mar 2004 17:32
well particles seem ok, but wat if you want like a pistol shot in his head or something. not blood squirting everyer. HELP!

Make games!
Emperor Baal
21
Years of Service
User Offline
Joined: 1st Dec 2003
Location: The Netherlands - Oudenbosch
Posted: 29th Mar 2004 22:58
Create the "particles"/"textured plains" at the location where the bullet hit the person

Quote: "
UPDATED

Amd 2800+ 1024mb pc3200 A7N8X - Deluxe Ati Radeon 9800PRO 256mb
"
DARKGuy
21
Years of Service
User Offline
Joined: 28th Nov 2003
Location:
Posted: 29th Mar 2004 23:35
using object position x(),object position y() & object position z()

:: Pentium 300 Mhz, old 8Mb video card, 64Mb RAM, 5 gb & 1.6 gb HD's, W98 SE, Sound Blaster AWE 32 ::
MrNick
21
Years of Service
User Offline
Joined: 23rd Feb 2004
Location:
Posted: 30th Mar 2004 19:15
code snippets, PLZ!!!!!

Make games!
MrNick
21
Years of Service
User Offline
Joined: 23rd Feb 2004
Location:
Posted: 5th Apr 2004 22:33 Edited at: 5th Apr 2004 22:33
nobody likes me

Make games!
BearCDPOLD
21
Years of Service
User Offline
Joined: 16th Oct 2003
Location: AZ,USA
Posted: 6th Apr 2004 09:49
Aw dude, don't start talkin' like that. It's almost impossible for anybody on here to not like anybody (I know there'll be replies about certain people guys....keyword almost), and you're such an energetic person--shows us that you're eager to learn.

Here's what you can do, this is kind of just a raw idea, you'll need to fill in the appropriate parameters:
rem Set everything up
//loading gun/guy models, etc. then
rem now for the blood
LOAD IMAGE "blood.bmp"
MAKE OBJECT PLAIN bloodobject
TEXTURE OBJECT bloodobject, "blood.bmp"
IF you shoot the guy and he gets hit
THEN POSITION OBJECT bloodobject on the guy where he got shot

That's kind of......shallow. but it's late, so if you need further help keep posting.

Crazy Donut Productions, Current Project: KillZone
Web Site Button Does Not Work, Visit Here: http://www.geocities.com/crazydonutproductions/index.html
MrNick
21
Years of Service
User Offline
Joined: 23rd Feb 2004
Location:
Posted: 8th Apr 2004 20:59
wow, it works good so far but...
what if the guy moves? there will just be a a drop of blood in middair, so anyone have any bright s?

Make games!

Login to post a reply

Server time is: 2025-05-23 06:34:32
Your offset time is: 2025-05-23 06:34:32