Sorry if im being a newb but... how do I spawn the zombies?
Well i'm no good at lua at all and I had a quick look through it and in all honesty I couldn't find anything and if I did, I would probably screw it up in some way or another attempting to add it.
I just don't see why its not a mount though.
Because Kuropixel didn't coded it like that. IF you don't like it then don't use severence. Just use Novus.
Just F.Y.I, the new garrysmod update fixed the whole crashing stuff..
anyways im not here to spread the good news..
This is probably only the advanced coder that can help me on this one..
I am looking for a code that spawns 10 of those zombie NPC's every 1 hour if people are online, max zombies would be 30, and of course they should spawn at different locations, This would make the gamemode so much better.
[QUOTE=Plankt0n;22178081]Because Kuropixel didn't [I]code[/I] it like that. IF you don't like it then don't use severence. Just use Novus.[/QUOTE]
Fixed
:pseudo:
[QUOTE=Freze;22197966]Fixed
:pseudo:[/QUOTE]
There you go :)
Grammer nazi!
:p
[QUOTE=Plankt0n;22083912]I think the difference between Novus and Severence is not big, but there are some difference. Maybe theres a setdoorfaction command? Did you try to check the Directory?
I did get what you were trying to achieve i was just a bit fail on explaining sorry.[/QUOTE]
There is no setdoorfaction command, you do it through that file and than you title the door with the text set on the file.
[QUOTE=Flaky80;22206488]There is no setdoorfaction command, you do it through that file and than you title the door with the text set on the file.[/QUOTE]
Could you post a short example of this?
/setdoorunownable "Full faction name here" "Barrack/armory etc)"
Do that twice, voila the faction can now lock/unlock it.
Works for me.
[QUOTE=Plankt0n;22213928]/setdoorunownable "Full faction name here" "Barrack/armory etc)"
Do that twice, voila the faction can now lock/unlock it.
Works for me.[/QUOTE]
Could you post an exact example for C.E.D.A. the default faction so I can see. Because it does not appear to be working.
I'm Using novus mate, it might have the same functions. I'll take a look. sec...
Nope severance doesn't have that. Sorry :/ You have to add it I guess or wait for nexus 3.0e I think he is going to implent some kind of thingy for doors not sure.
sv_hooks.lua try to add:
(I don't know if it has to be added to other places as well you'll find out :P )
[lua]
-- Called when a player attempts to lock an entity.
function SCHEMA:PlayerCanLockEntity(player, entity)
if (nexus.entity.GetDoorName(entity) == "C.E.D.A") then
if (player:Team() == FACTION_CEDA) then
return true;
end;
elseif (nexus.entity.GetDoorName(entity) == "C.E.D.A") then
if (player:Team() == FACTION_CEDA) then
return true;
end;
end;
end;
-- Called when a player attempts to unlock an entity.
function SCHEMA:PlayerCanUnlockEntity(player, entity)
if (nexus.entity.GetDoorName(entity) == "C.E.D.A") then
if (player:Team() == FACTION_CEDA) then
return true;
end;
elseif (nexus.entity.GetDoorName(entity) == "C.E.D.A") then
if (player:Team() == FACTION_CEDA) then
return true;
end;
end;
end;
[/lua]
you shuold add this in "gamemodes\severance\schema\sv.hooks.lua"
[code]
-- Called when a player attempts to lock an entity.
function SCHEMA:PlayerCanLockEntity(player, entity)
if (nexus.entity.GetDoorName(entity) == "C.E.D.A") then
if (player:Team() == CLASS_CEDA) then
return true;
end;
elseif (nexus.entity.GetDoorName(entity) == "Survivor") then
if (player:Team() == CLASS_SURVIVOR) then
return true;
end;
end;
end;
-- Called when a player attempts to unlock an entity.
function SCHEMA:PlayerCanUnlockEntity(player, entity)
if (nexus.entity.GetDoorName(entity) == "C.E.D.A") then
if (player:Team() == CLASS_CEDA) then
return true;
end;
elseif (nexus.entity.GetDoorName(entity) == "Survivor") then
if (player:Team() == CLASS_SURVIVOR) then
return true;
end;
end;
end;
[/code]
Should do the trick.
How do i install severance? I though i just put it in nexus but that didn't work. Then i tried to run it stand alone and it was just a screen with black at the top then slowly went to gray at the bottom whats wrong?
[QUOTE=Zombiedance;22265195]How do i install severance? I though i just put it in nexus but that didn't work. Then i tried to run it stand alone and it was just a screen with black at the top then slowly went to gray at the bottom whats wrong?[/QUOTE]
I have to be honest as well, I don't know how to install it either.
I'm pretty new to lua, and I can do a few things. But I just don't entirely know how to combine (mount?) Severance with Nexus.
Any help is appreciated.
Drop it in your game modes folder after installing nexus mate.
I did that ^ but still i have a gradient screen with nothing on it just black at the top slowly working to gray. After i import the tables from my computer to mysql do i have to do anything else? If you want to see the problem here's the server name 69.162.91.42:27015.
I have the same problem as above
[QUOTE=Zombiedance;22279616]I did that ^ but still i have a gradient screen with nothing on it just black at the top slowly working to gray. After i import the tables from my computer to mysql do i have to do anything else? If you want to see the problem here's the server name 69.162.91.42:27015.[/QUOTE]
Did you edit the file the guide tells you to with your database info? Also are you sure you have the sql set up properly?
I would need more info about your hosting process to help you. For instance, are you running the sql server off of your own pc? Is your server hosted at home, or is it hosted via a remote host such as gameservers.com?
My server is hosted locally, in my home, so is the sql server. It is all portforwarded properly, I get a gradient screen, I have setup the sql.
[QUOTE=mogey5101;22288647]My server is hosted locally, in my home, so is the sql server. It is all portforwarded properly, I get a gradient screen, I have setup the sql.[/QUOTE]
The login screen is a gradient screen. After the into, all you should see at the bottom is create load and something else I dun remember.
It does not appear, i've waited 10 minutes on my server and still haven't appeared.
Im hosting at Mysql i imported the .sql file and the character and player tables were added.
I changed my "mysql" file to say
force mysql_characters_table = characters;
force mysql_players_table = players;
force mysql_username = TCxxxxxxxxxxxxx;
force mysql_password = xxxxxxxxx;
force mysql_database = TCxxxxxxxxxxxx;
force mysql_host = mysql.xenonservers.com;
[QUOTE=Zombiedance;22265195]How do i install severance? I though i just put it in nexus but that didn't work. Then i tried to run it stand alone and it was just a screen with black at the top then slowly went to gray at the bottom whats wrong?[/QUOTE]
I have the same problem. Is the solution the same as what kuro said in page 3 like do a full re-install or something?
Download both nexus and severance fresh. Read the readme and follow everything, now the gamemode part is a bit tricky (it was for me when i tried to figure it out anyhow)
Put the nexus folder and the severence folder in gamemode folder, then on your command line set the default gamemode thingy on severence not nexus. Severence loads nexus itself.
That barricade pic got me exited because I luuuv barricading (If its part of the map, oh well) a video of the AI and zombie game play would be nice
P.S Congrats on Gmod.com news
Ok i reinstalled everything and followed ALL the steps in the readme the character and player table are in my sql after i imported them using
( mysql-importbutton ) I set it as the gamemode i ran tcadmins update tool and changed the command line so severance is the default. I also put both the game modes in the game mode folder personally and still it wont work whats wrong? I get that dumb black and gray screen....
[QUOTE=Zombiedance;22357806]Ok i reinstalled everything and followed ALL the steps in the readme the character and player table are in my sql after i imported them using
( mysql-importbutton ) I set it as the gamemode i ran tcadmins update tool and changed the command line so severance is the default. I also put both the game modes in the game mode folder personally and still it wont work whats wrong? I get that dumb black and gray screen....[/QUOTE]
It's a g_LocalPlayer bug with under 3.0d versions. g_LocalPlayer is called before the player spawns, causing bad stuff to happen, get Nexus 3.0d to fix it.
Import the tables under latin-1
After joining a sever with this on RP_Silenthill_final I discovered THIS IS THE BEST ROLEPLAY I HAVE HAD IN A LONG TIME!
This is to epic to be true. I played for a long time then the sever crashed.
The only bad thing was for the whole time I played I meet about 3- 8 zombies (One of which I accidentally trapped in a gas station with some one else and later on the person be came my E-GirlFriend) and didn't get any weapons what so ever.I meet one CEDA person that barricaded them self in a police station. It crashed while I was on a looting trip with 5 other people.
Best Roleplay experience ever. Its so interesting, lots of things to do and was very memorable.
Sorry, you need to Log In to post a reply to this thread.