Buff Plug-in Explained.
You can make your own with buff plugin.
It will be updated soon.
[media]http://www.youtube.com/watch?v=DfNF1WA85GM[/media]
[URL]https://github.com/Chessnut/NSPlugins[/URL] is still getting more features and updates!
I've added vehicle, note and more plugins. go check them out if you're interested.
Did some optimizations and there should be a pretty big FPS boost. I went up around 20+ FPS because I was using ents.GetAll(), now there's a cache instead.
Wrong thread sry. <3
Monkeys, the issue should be fixed.
Considering this is a more rightful place to talk about this, [B]what's people upto with Nutscript nowadays[/B]?
I'm currently only making maps but I have some nice schema ideas that I may fulfil sometime.
I'm really trying to overhaul the whole clothing system aspect with body groups and stuff. (The base of it came from Johnny Guitar <3).
I made a zippable and unzippable jacket so far with it.
[QUOTE=GTbrawlers;43631584]Considering this is a more rightful place to talk about this, [B]what's people upto with Nutscript nowadays[/B]?
I'm currently only making maps but I have some nice schema ideas that I may fulfil sometime.[/QUOTE]
me and rebel1324 were working on a system that adds a temporary secondary description
it's really neat for injuries and stuff
(Hope this hasn't been answered already)
How would you go about giving characters an item as soon as they make their character?
[QUOTE=imacc2009;43647098](Hope this hasn't been answered already)
How would you go about giving characters an item as soon as they make their character?[/QUOTE]
Look at the sample schema. It has an example of this, in the form of a CID item.
[QUOTE=imacc2009;43647098](Hope this hasn't been answered already)
How would you go about giving characters an item as soon as they make their character?[/QUOTE]
Gamemode > Core > sv_hooks.lua
Line 95 onwards, wasn't very hard to find.
[lua]function GM:PlayerSpawn(client) client:SetMainBar()
client:ScreenFadeOut()
if (!client.character) then
return
end
client:StripWeapons()
client:SetModel(client.character.model)
client:Give("nut_fists")[/lua]Just add another line with client:Give("sh_soda") Or something.Alternatively, this is probably a better way of doing it:"Custom Gamemode" > schema > sv_hooks.lua[lua]function SCHEMA:GetDefaultInv(inventory, client, data) -- PrintTable(data) to see what information it contains.
if (data.faction == FACTION_CITIZEN) then
inventory:Add("cid", 1, {
Digits = math.random(11111, 99999),
Owner = data.charname
})
end
end[/lua]
This method is specifically useful for adding things for specific factions to spawn with as you will see if you check the HL2RP schema as an example.
-snip, im dumbbbbb-
One more thing, how would you make it say in chat somthing like: **You hear a bang
/it <string>
[QUOTE=imacc2009;43656180]One more thing, how would you make it say in chat somthing like: **You hear a bang[/QUOTE]
Even though It's already been answered I may aswell give a rundown.
/me [text] - This prints an action by your character to the chat e.g. GTbrawlers puts his hand up.
/it [text] - This prints an action or observation of the surroundings e.g. The walls were damn with moisture.
/event [text] - This prints a server wide action or event to the chat (don't know if its in NS).
I shouldn't have said one more thing. XD
Is there any command or plugin for Nutscript to play background music?
[QUOTE=imacc2009;43664222]I shouldn't have said one more thing. XD
Is there any command or plugin for Nutscript to play background music?[/QUOTE]
Here's the code in the config file for setting menu music but as for an ambient music, you'll have to do that yourself I think. Alternatively, you can easily code an entity to play the music local or global.
[lua]-- Overwrite the default NutScript configs here for our schema.
nut.config.menuMusic = "music/hl2_song27_trainstation2.mp3"[/lua]
Hey,
after sometime doing all kinds of Serious roleplay, I have dediced that I want to make my own server, for once. Now of course I am a total newbie within the LUA and I have to 'read' stuff from examples, but that's not enough.
I'm at the moment trying to find out how can I make myself a superadministrator on my own server, which I run from my own computer.
I also have problems accesing the chessnut.info website, is it down or is the problem at my end?
nut_setowner
And is the wiki down for maintenance, or something? I'm sure It'd help me out alot ;)
[QUOTE=Netrius;43671464]And is the wiki down for maintenance, or something? I'm sure It'd help me out alot ;)[/QUOTE]
CloudFlare is telling me its offline, you can use a cached copy if you're just there for reading.
What are the default animations for players? (Animation file)
This is my animations code, found in the sh_schema file.
[CODE]nut.anim.SetModelClass("player", "models/bots/survivor_mechanic.mdl")[/CODE]
This has worked with none of my servers models though.
Are you sure it is a playermodel?
Upcoming Plugin - Prone
But you have to use my models or you can't use pronnnnnnnnne.
smd and qc will be released together.
[media]http://www.youtube.com/watch?v=WfhtkY-wQ7g[/media]
[QUOTE=Chessnut;43694141]Are you sure it is a playermodel?[/QUOTE]
I dont.. Yes...
[QUOTE=rebel1324;43696889]Upcoming Plugin - Prone
But you have to use my models or you can't use pronnnnnnnnne.
smd and qc will be released together.
[media]http://www.youtube.com/watch?v=WfhtkY-wQ7g[/media][/QUOTE]
That's actually pretty great. Have you released these models yet?
[QUOTE=Jocken300;43699912]That's actually pretty great. Have you released these models yet?[/QUOTE]
Working on some proper collision model.
[QUOTE=rebel1324;43696889]Upcoming Plugin - Prone
But you have to use my models or you can't use pronnnnnnnnne.
smd and qc will be released together.
[media]http://www.youtube.com/watch?v=WfhtkY-wQ7g[/media][/QUOTE]
I have to agree with Jocken300, that's bloody great. I can't actually say I've seen it before in roleplay and there's a nice large selection of models that can be used too which I like.
I'll happily implement this into any NS schema's I make in the near future.
1. I wonder why is chessnut ofline,
2. I have a problem: Font not found Trebuchet MS?! but it is installed
3. No Settings tab o_O
4.How to get Combine Locks O_O
(Gmod Server Noob :words: )
#Edit: A-ha... i'm a lua noob and here a lua king, my face got punched :dance:
[QUOTE=Chessnut;43694141]Are you sure it is a playermodel?[/QUOTE]
Yes, still need help though.
Sorry, you need to Log In to post a reply to this thread.