ULX

Author Topic: Gmod Nutscript  (Read 514 times)

0 Members and 1 Guest are viewing this topic.

Offline GaryXL

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
Gmod Nutscript
« on: June 28, 2019, 04:40:41 PM »
Anyone know how to hide factions in nutscript character creation? I only want to have two factions that people can choose from and make everything else whitelisted. Please help!

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8036
  • Karma: 383
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Gmod Nutscript
« Reply #1 on: June 28, 2019, 07:22:54 PM »
Get the index of teams, then show only the two team index you want?
According to the nutscript wiki, https://github.com/rebel1324/NutScript/wiki/Factions , factions are just normal teams with extra information.
team.GetAllTeams
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline GaryXL

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
Re: Gmod Nutscript
« Reply #2 on: June 28, 2019, 08:22:05 PM »
So, what exactly does that mean? what do I need to do?

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8036
  • Karma: 383
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: Gmod Nutscript
« Reply #3 on: June 28, 2019, 08:43:05 PM »
I'm sorry to say, but you're going to have to find time to learn to code Gmod Lua, or someone with time to teach you.
This section of our forum is intended for those asking questions about various code projects they have started/attempted or are wanting to start - though ULib/ULX preferred, Gmod / Lua secondly, other languages too.
Nutscript github seems to have a decent wiki, if not difficult to search. (I had better luck using Google to find nutscript wiki answers than I did github search)

New Version Wiki
https://nutscript.miraheze.org/wiki/Main_Page

OLD version wiki
Character info - https://github.com/Chessnut/NutScript/wiki/Character
More character - https://github.com/Chessnut/NutScript/wiki/nut.char
Plus my posts above regarding factions being enhanced Gmod teams

If not learning to code, there may be configuration menus, but, you'd need to ask at support sites for Nutscript.
See the 3 recommended sites in the readme page at https://github.com/rebel1324/NutScript

« Last Edit: June 28, 2019, 08:47:57 PM by JamminR »
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming