Mirage Source http://www.miragesource.net/forums/ |
|
[Feature] Random blood http://www.miragesource.net/forums/viewtopic.php?f=183&t=5620 |
Page 1 of 39 |
Author: | GIAKEN [ Wed May 20, 2009 1:32 am ] |
Post subject: | [Feature] Random blood |
Difficulty: 1/5 - Copypasta mmm Introduction: This tutorial will add some random blood splatters to your game when you attack NPCs / players. Now, lets get started... SERVER-SIDE SPOILER: (click to show)
And now ~............. CLIENT-SIDE SPOILER: (click to show)
And that SHOULD be it...I might have left something out... ----------------------------------- Oh yeah, and in your gfx folder add this: CREDITS GO TO BLODYAVENGER IF YOU USE. STYLE IS FOR 16-BIT GAMES, LIKE FF1. http://mayhem.auburnflame.com/blood.bmp Customizing and explanations: With that blood.bmp, there are 6 different bloods able to be selected. If you want to change that, simply change this line in server-side: Code: .Pic = Random(0, 5) That randomly selects between 6 blood pictures. If you want to control if blood disappears faster, change this in the server in Sub SendBlood: Code: .Timer = GetTickCountNew + 30000 That tells the server to get rid of the blood in 30 seconds. If you want to make a chance the blood appears, get rid of the comment on the second line here in Sub SendBlood: Code: ' 50% chance blood spawns 'If Random(1, 2) = 2 Then THAT SHOULD BE ALL! I might have missed something. This was made on my engine made from MS4...so make sure you test with MS4 and post here, please. |
Author: | Nean [ Wed May 20, 2009 1:36 am ] |
Post subject: | Re: [Feature] Random blood |
Looks awesome man. Great tut. |
Author: | GIAKEN [ Wed May 20, 2009 1:39 am ] |
Post subject: | Re: [Feature] Random blood |
Oh yeah, here's an example (giving another hint here of another possible tutorial) |
Author: | Robin [ Sat May 30, 2009 5:15 pm ] |
Post subject: | Re: [Feature] Random blood |
Pretty cool. Nothing I can't do, but I'm sure many people find it useful. +5 rating. |
Author: | wanai [ Tue Jan 04, 2022 11:53 pm ] |
Post subject: | Re: [Feature] Random blood |
Econ |
Author: | wanai [ Tue Jan 04, 2022 11:54 pm ] |
Post subject: | Re: [Feature] Random blood |
95 |
Author: | wanai [ Tue Jan 04, 2022 11:56 pm ] |
Post subject: | Re: [Feature] Random blood |
Bett |
Author: | wanai [ Tue Jan 04, 2022 11:57 pm ] |
Post subject: | Re: [Feature] Random blood |
Bett |
Author: | wanai [ Tue Jan 04, 2022 11:58 pm ] |
Post subject: | Re: [Feature] Random blood |
Clif |
Author: | wanai [ Tue Jan 04, 2022 11:59 pm ] |
Post subject: | Re: [Feature] Random blood |
Dean |
Author: | wanai [ Wed Jan 05, 2022 12:00 am ] |
Post subject: | Re: [Feature] Random blood |
Mich |
Author: | wanai [ Wed Jan 05, 2022 12:01 am ] |
Post subject: | Re: [Feature] Random blood |
Harl |
Author: | wanai [ Wed Jan 05, 2022 12:02 am ] |
Post subject: | Re: [Feature] Random blood |
Esta |
Author: | wanai [ Wed Jan 05, 2022 12:03 am ] |
Post subject: | Re: [Feature] Random blood |
Mere |
Author: | wanai [ Wed Jan 05, 2022 12:05 am ] |
Post subject: | Re: [Feature] Random blood |
Fiel |
Author: | wanai [ Wed Jan 05, 2022 12:06 am ] |
Post subject: | Re: [Feature] Random blood |
Clar |
Author: | wanai [ Wed Jan 05, 2022 12:07 am ] |
Post subject: | Re: [Feature] Random blood |
Barb |
Author: | wanai [ Wed Jan 05, 2022 12:08 am ] |
Post subject: | Re: [Feature] Random blood |
Colu |
Author: | wanai [ Wed Jan 05, 2022 12:09 am ] |
Post subject: | Re: [Feature] Random blood |
Stok |
Author: | wanai [ Wed Jan 05, 2022 12:10 am ] |
Post subject: | Re: [Feature] Random blood |
Kona |
Author: | wanai [ Wed Jan 05, 2022 12:11 am ] |
Post subject: | Re: [Feature] Random blood |
Myst |
Author: | wanai [ Wed Jan 05, 2022 12:12 am ] |
Post subject: | Re: [Feature] Random blood |
Rond |
Author: | wanai [ Wed Jan 05, 2022 12:14 am ] |
Post subject: | Re: [Feature] Random blood |
Bill |
Author: | wanai [ Wed Jan 05, 2022 12:15 am ] |
Post subject: | Re: [Feature] Random blood |
Hard |
Page 1 of 39 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |