Thanks for this Snpc loved it alot!!!
btw i think this ghost snpc will work great in this map:
[url]http://www.garrysmod.org//downloads/?a=view&id=11409[/url]
yeah, very good. let's start blocking tools now, right?
[lua]
local function CanTool( player, trace_result, tool_mode )
if tool_mode == "colour" and ValidEntity( trace_result.Entity ) then
return false
end
end
hook.Add( "CanTool", "ColorBlocker.CanTool", CanTool )
[/lua]
[lua]
local function CanTool( player, trace_result, tool_mode )
if tool_mode == "colour" and ValidEntity( trace_result.Entity ) and !(trace_result.Entity:GetClass() == "prop_physics") then
return false
end
end
hook.Add( "CanTool", "ColorBlocker.CanTool", CanTool )
[/lua]
colour tool didn't work on my server for about week because of this code in your npc's. Wait, it's worked, but only on your npcs
[QUOTE=Megalan;14944132]yeah, very good. let's start blocking tools now, right?
[lua]
local function CanTool( player, trace_result, tool_mode )
if tool_mode == "colour" and ValidEntity( trace_result.Entity ) then
return false
end
end
hook.Add( "CanTool", "ColorBlocker.CanTool", CanTool )
[/lua]
[lua]
local function CanTool( player, trace_result, tool_mode )
if tool_mode == "colour" and ValidEntity( trace_result.Entity ) and !(trace_result.Entity:GetClass() == "prop_physics") then
return false
end
end
hook.Add( "CanTool", "ColorBlocker.CanTool", CanTool )
[/lua]
colour tool didn't work on my server for about week because of this code in your npc's. Wait, it's worked, but only on your npcs[/QUOTE]
Even with that fix it wont be completely fixed, try this :
[lua]local Ghosts = {
"npc_ghost",
"npc_ghost_hidden",
"npc_base_g"
}
hook.Add("CanTool","GhostSNPCV2_NoTool",function(ply,tr,mode)
if !tr.Entity or !tr.Entity:IsValid() or table.HasValue(Ghosts,tr.Entity:GetClass()) then
return false
end
end)[/lua]
It blocks all tools, which seems more fitting.
If possible edit the voice to give it a more Smoky, Raspy in the wind voices.
[QUOTE=kevkev;14959568]Even with that fix it wont be completely fixed, try this :
[lua]local Ghosts = {
"npc_ghost",
"npc_ghost_hidden",
"npc_base_g"
}
hook.Add("CanTool","GhostSNPCV2_NoTool",function(ply,tr,mode)
if !tr.Entity or !tr.Entity:IsValid() or table.HasValue(Ghosts,tr.Entity:GetClass()) then
return false
end
end)[/lua]
It blocks all tools, which seems more fitting.[/QUOTE]
Woah. I was just about to try something like this when you posted it :O ...
[IMG]http://i336.photobucket.com/albums/n350/stormbringer488/gm_construct0006-1.jpg[/IMG]
[url=http://www.garrysmod.org/downloads/?a=view&id=67943][img]http://www.garrysmod.org/img/?t=dll&id=67943[/img][/url]
Version 2.5
Sweet. But what are all the new sounds for?
Oh, and the file structure is messed up.
[QUOTE=Feldor;14970564]Oh, and the file structure is messed up.[/QUOTE]
Not quite sure how to do addons :S . But I re-uploaded the file (Hopefully fixed).
[QUOTE=stormbringer;14973437]Not quite sure how to do addons :S . But I re-uploaded the file (Hopefully fixed).[/QUOTE]
Still can't download it.
Garry fails.
[QUOTE=stormbringer;14973437]Not quite sure how to do addons :S . But I re-uploaded the file (Hopefully fixed).[/QUOTE]
You make a folder in addons which should contain info.txt, and the resources.
In your case, make a folder called Ghost SNPC and it should contain the sound folder, the lua folder and the info.txt .
[QUOTE=Feldor;14976183]You make a folder in addons which should contain info.txt, and the resources.
In your case, make a folder called Ghost SNPC and it should contain the sound folder, the lua folder and the info.txt .[/QUOTE]
Okay, Thanks.
in my Ghost 2.5 there is no info.txt so do i extract lua and sound to gmod directory?
[code] "AddonInfo"
{
"name" "Ghost_2_k"
"version" "V2"
"up_date" "May 09"
"author_name" "Stormbringer"
"author_email" ""
"author_url" ""
"info" "ZOMBIE GOASTS"
"override" "0"
}
[/code]
There, I made one for you. Just make a txt file in the Ghost_2_k folder and name it "info.txt," paste this, and you're good to go.
Does one need to first get version 2 for version 2.5 to work?
Well done stormbringer, and what if we wanted to change the ghost and the hidden's models with model manipulator? And how to get those red eyes appear in the dark? If we can get the red eyes to appear then we can increase both the fear AND the horror. :-D
Plus you should not worry, you'll find out what's stopping us from using some tools on world
Thanks kepper, I'm real shit to addons, I usually dump the whole thing into my Garry'sMod folder.
And BananaBread.exe, You can just download 2.5, It doesn't require 2.0 to work.
I don't have any pictures to show this, but when i spawn a "ghost", the flashlight cannot detect them.
I only know where they are is because of smartsnap grids.
I reinstalled all Half-Life games and GarrysMod.
Just thought you should know.
No errors, by the way.
Do you have Ep2 and/or shadow settings set to high?
2.5 Link's dead. Reupload please?
Edit: Woops nevermind. the link on gmod.org from 2.0 > 2.5 was dead, the youtube link works.
Edit 2: Couldn't find 2.5 Download link on the thread, so here's the link:
[url=http://www.garrysmod.org/downloads/?a=view&id=68239][img]http://www.garrysmod.org/img/?t=dll&id=68239[/img][/url]
Upload to filefront?
[QUOTE=Feldor;15024110]Do you have Ep2 and/or shadow settings set to high?[/QUOTE]
Both.
[QUOTE=BananaBread.exe;15031177]Both.[/QUOTE]
Are you in a dark area? else it would be hard to see their shadows.
Im in the dark chamber of Construct.
[QUOTE=BananaBread.exe;15043662]Im in the dark chamber of Construct.[/QUOTE]
And you see no shadow when pointing at a ghost with your flashlight?
[QUOTE=kevkev;15043970]And you see no shadow when pointing at a ghost with your flashlight?[/QUOTE]
The l4d flashlight mod makes it messed up
I haven't got the L4D flashlight.
But no, i don't see any shadows.
nice work, BUT there are like some major things which could be better....
iv been using this for aggeeessss and the ghosts shouldn't be able to go in daylight, i'td make it more scary yknow cos like u'd b afraid to go in da dark. At the mo even with the flashlight its like impossible to see them (part from shadows) - they should be like shimmering haze with red eyes so you can sort of see where they are.... also - ghost rabid dogs???: that wud be coool
Wait.... What's this? I think I've found the STool/World problem, it has something to do with npc_base_g!
Woah, this reminds me of Fear 2... nice job...
havent tried it but looks nice ^^
might not add it to my server, but this looks great so far!
Sorry, you need to Log In to post a reply to this thread.