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 / blood marks

Author
Message
steve c
21
Years of Service
User Offline
Joined: 30th Jan 2004
Location: united kingdom
Posted: 21st Mar 2004 13:09
can somone give me some code to put a blood mark(textured plain) where you shoot a person

*=========**=================*
*.-steve-.**.-slipknot rule-.*
*=========**=================*
Phaelax
DBPro Master
22
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 22nd Mar 2004 08:17
find the point of impact of where the bullet hits the person. Then update their texture.

"eureka" - Archimedes
waffle
22
Years of Service
User Offline
Joined: 9th Sep 2002
Location: Western USA
Posted: 22nd Mar 2004 08:43
yes, in theory pretty simple.....
In actually, thats a tough one. A common solution is to create several textures before hand for your model and just switch them during the game...

If you mean a blood trail or footprints, thats a textured plain that would need special placement at game time. I would place it 0.01 in front of the actual location to ensure its visible and close enough to the spot that players can't see behind it.

internet gaming group
current project http://home.comcast.net/~norman.perry/Archon.html
himynameisali
21
Years of Service
User Offline
Joined: 9th Nov 2003
Location: England, You...Rastards!
Posted: 22nd Mar 2004 09:53
Do as phaelax says, I'm not forcing you, but update the texture with a blood effect,

for the best blood effects, I recommend you get Texture Maker.



ali - nukesoft



( KA-BOOM! ) Nukesoft Interactive
MrNick
21
Years of Service
User Offline
Joined: 23rd Feb 2004
Location:
Posted: 22nd Mar 2004 17:28
hey, you can always take a light and shine it on the spot where the person was hit

Make games!
steve c
21
Years of Service
User Offline
Joined: 30th Jan 2004
Location: united kingdom
Posted: 22nd Mar 2004 20:04
i think i know how to do it (i think) its just it aint working can u look at my code press the scource button if dont know thanks

*=========**=================*
*.-steve-.**.-slipknot rule-.*
*=========**=================*
steve c
21
Years of Service
User Offline
Joined: 30th Jan 2004
Location: united kingdom
Posted: 22nd Mar 2004 20:07
k got it working it just dissapears after it comes up so it just flashes any suggestions to stop it

*=========**=================*
*.-steve-.**.-slipknot rule-.*
*=========**=================*
LReM8888
21
Years of Service
User Offline
Joined: 3rd Sep 2003
Location: The Land of the Fairies
Posted: 22nd Mar 2004 21:48
'BulletLife=25', so a bullet only lives for 25 frames - thanx to 'sync rate 30', that's only 0.833333 (recurring) seconds

i didn't really read this properly , so im not sure - but that might be it....
steve c
21
Years of Service
User Offline
Joined: 30th Jan 2004
Location: united kingdom
Posted: 22nd Mar 2004 22:09
thank u every one i did it

*=========**=================*
*.-steve-.**.-slipknot rule-.*
*=========**=================*
Dark Serpent
21
Years of Service
User Offline
Joined: 24th Feb 2004
Location: U.S.A.
Posted: 23rd Mar 2004 05:19
I said it before and I'll say it again...Nice use of monster hunt tutorial.

Yo
steve c
21
Years of Service
User Offline
Joined: 30th Jan 2004
Location: united kingdom
Posted: 23rd Mar 2004 11:25
now the thing is it doesent work for my fps a different one that is i need to use math collision i think because the bullet has to stop right where the object u r shooting is or it dont work (pls tell if ime wrong)so i will try the math collsion one out of the book but while ime doing that can u post me some code or stuff to help me

*=========**=================*
*.-steve-.**.-slipknot rule-.*
*=========**=================*
BearCDPOLD
21
Years of Service
User Offline
Joined: 16th Oct 2003
Location: AZ,USA
Posted: 24th Mar 2004 03:57
There is always nuclear glory, perfect for blood decals. I'm afraid I'm not an expert on 3d math collision, though.

Crazy Donut Productions
Current Project: KillZone
Phaelax
DBPro Master
22
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 24th Mar 2004 17:18
Quote: "Nice use of monster hunt tutorial."


That's what it's there for.

"eureka" - Archimedes

Login to post a reply

Server time is: 2025-06-02 04:17:18
Your offset time is: 2025-06-02 04:17:18