AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Blood Decal Question (https://forums.alliedmods.net/showthread.php?t=61812)

M249-M4A1 10-10-2007 18:46

Blood Decal Question
 
1 Attachment(s)
I've been searching through message_const.inc and I couldn't find anything related to placing a color-editable blood decal on the world, like in the picture below (thats in regular gameplay). If anyone can point out which message # is the one I need to set blood decals like below (I need red blood and yellow alien blood), that would be wonderful. Thanks!

Zenith77 10-10-2007 22:12

Re: Blood Decal Question
 
There is an ENTIRE list me and some other guy worked through. The list is somewhere, try searching some where under the scripting section. I'll post back if I find it.

edit
Here:
http://forums.alliedmods.net/showthr...ighlight=decal

You can also try using a logger to hook the message and intercept the data.

M249-M4A1 10-10-2007 23:07

Re: Blood Decal Question
 
Ah, perfect. Thank you very much, Zenith.

VEN 10-11-2007 02:23

Re: Blood Decal Question
 
Also you can review this picture: http://forums.alliedmods.net/attachm...9&d=1146477307

ConnorMcLeod 10-11-2007 05:19

Re: Blood Decal Question
 
Decals numbres depend on the mod you're runing.
Here are the decals :
Code:
    if(equal(modname, "cstrike"))     {         g_blood_decals = {0,190,191,192,193,194,196,197,204,205}     }     else if(equal(modname, "czero"))     {         g_blood_decals = {202,203,204,205,206,207,208,209,216,217}     }     else if(equal(modname, "dod"))     {         g_blood_decals = {203,204,205,206,207,208,209,210,217,218}     }     else if(equal(modname, "tfc"))     {         g_blood_decals = {194,195,196,197,198,199,200,201,208,209}     }     else if(equal(modname, "ts"))     {         g_blood_decals = {204,205,206,207,208,209,210,211,218,219}     }     else     {         g_blood_decals = {19,20,27,28,29,30,31,32,33,34}     }

purple_pixie 10-11-2007 06:53

Re: Blood Decal Question
 
Quote:

Originally Posted by VEN (Post 541051)

How is that relevant?

(I'm not saying it isn't, I have never used decals ... I actually want to know how it is relevant)

M249-M4A1 10-11-2007 07:17

Re: Blood Decal Question
 
Quote:

Originally Posted by purple_pixie (Post 541079)
How is that relevant?

(I'm not saying it isn't, I have never used decals ... I actually want to know how it is relevant)

I asked for the color byte chart :)

purple_pixie 10-11-2007 07:21

Re: Blood Decal Question
 
Somehow I totally missed the words "colour editable" from your post ... weird :-D

Maybe my brain just skips straight over Americanised words :-P


I rather assumed they were constant colours, too, so only the list of decals would be relevant.

VEN 10-12-2007 13:30

Re: Blood Decal Question
 
Also, FYI, 86 player pvPrivateData offset controls blood color (rather partially, so possibly there are few others such offsets).


All times are GMT -4. The time now is 16:09.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.