I did self:SetBloodColor(-1)
but when i shoot the SNPC it still shows blood...what do i do
sorry i typed bloog in the title, rough night.
Well first make sure you're doing that on the server, also some NPCs like hunters and striders do not use blood color when they are attacked. To make sure try spawning that NPC regularly and use [b][url=wiki.garrysmod.com/?title=Entity.GetBloodColor]Entity.GetBloodColor [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]
i'm doing it on "models/breen.mdl" still no good.
[QUOTE=Crazy Quebec;20269254] [B][URL="http://wiki.garrysmod.com/?title=Entity.GetBloodColor"]Entity.GetBloodColor [IMG]http://wiki.garrysmod.com/favicon.ico[/IMG][/URL][/B][/QUOTE]
How do you get that cool link?
It says "BBCode Link" at the bottom of the Function table - it says that for most lua documentation pages.
Ah, thank you :)
[QUOTE=Chad Mobile;20277827]How do you get that cool link?[/QUOTE]
If you have Ubiquity for FireFox then you can use this script made by Crazy Quebecer and edited by me.
[code][noparse]CmdUtils.CreateCommand({
names: ["Garry's Mod Wikilink"],
icon: "http://wiki.garrysmod.com/favicon.ico",
description: "Insert a link to the Garry's Mod wiki.",
help: "Enter the title of a page, and a link name. If a link name is not entered the page title will be used as the link name.",
author: {name: "Crazy Quebecer", email: ""},
license: "GPL",
homepage: "",
arguments: [
{role: 'object', nountype: noun_arb_text, label: "Page title"},
{role: 'alias', nountype: noun_arb_text, label: "Link name"}
],
preview: function preview(pblock, args) {
var aliastext = args.alias.text
if (!aliastext)
aliastext = args.object.text
pblock.innerHTML = "Insert Wikilink: <a href=\"http://wiki.garrysmod.com/?search="+args.object.text+"\"]<B>"+aliastext+"</B> <img src=\"http://wiki.garrysmod.com/favicon.ico\"/></a>";
},
execute: function execute(args) {
var aliastext = args.alias.text
if (!aliastext)
aliastext = args.object.text
CmdUtils.setSelection("[url=http://wiki.garrysmod.com/?search="+args.object.text+"][B]"+aliastext+"[/B] [img]http://wiki.garrysmod.com/favicon.ico[/img][/url]");
}
});[/noparse][/code]
I'm very sorry for getting off topic.
As for the blood, a few months ago I was messing around with it, and if I remember correctly it doesn't remove the blood decals that appear on surfaces, but it should remove the particle splashes. Except for those few exceptions like Crazy Quebecer mentioned.
[QUOTE=CowThing;20278499]If you have Ubiquity for FireFox then you can use this script made by Crazy Quebecer and edited by me.
[code][noparse]CmdUtils.CreateCommand({
names: ["Garry's Mod Wikilink"],
icon: "http://wiki.garrysmod.com/favicon.ico",
description: "Insert a link to the Garry's Mod wiki.",
help: "Enter the title of a page, and a link name. If a link name is not entered the page title will be used as the link name.",
author: {name: "Crazy Quebecer", email: ""},
license: "GPL",
homepage: "",
arguments: [
{role: 'object', nountype: noun_arb_text, label: "Page title"},
{role: 'alias', nountype: noun_arb_text, label: "Link name"}
],
preview: function preview(pblock, args) {
var aliastext = args.alias.text
if (!aliastext)
aliastext = args.object.text
pblock.innerHTML = "Insert Wikilink: <a href=\"http://wiki.garrysmod.com/?search="+args.object.text+"\"]<B>"+aliastext+"</B> <img src=\"http://wiki.garrysmod.com/favicon.ico\"/></a>";
},
execute: function execute(args) {
var aliastext = args.alias.text
if (!aliastext)
aliastext = args.object.text
CmdUtils.setSelection("[url=http://wiki.garrysmod.com/?search="+args.object.text+"][B]"+aliastext+"[/B] [img]http://wiki.garrysmod.com/favicon.ico[/img][/url]");
}
});[/noparse][/code]
I'm very sorry for getting off topic.
As for the blood, a few months ago I was messing around with it, and if I remember correctly it doesn't remove the blood decals that appear on surfaces, but it should remove the particle splashes. Except for those few exceptions like Crazy Quebecer mentioned.[/QUOTE]
[img]http://www.facepunch.com/fp/rating/heart.png[/img] [img]http://www.facepunch.com/fp/rating/heart.png[/img] [img]http://www.facepunch.com/fp/rating/heart.png[/img]
From my testing it does change splashes as well. So you can have zombies bleed antlion blood or spark like a city scanner(which leaves no decals).
About the NPCs which you can't stop from bleeding, using GetBloodColor on them will always return -1.
how can i remove the decals on the surface?
[QUOTE=antid2;20282772]how can i remove the decals on the surface?[/QUOTE]
Can't be done, [url=http://www.facepunch.com/showthread.php?t=866836]I made a thread about it a while ago[/url].
darkland, and other servers i've seen with SNPCS, as the shops...they don't show blood when you shoot, i guess ill ask darkspider
Sorry, you need to Log In to post a reply to this thread.