Anyone with Knowledge on Nutscript, I'm looking for a quick bit of help.

Lewis!

フローラルの専門店
Joined
Sep 12, 2018
Messages
4,077
Nebulae
12,599
Hi.
Currently, I'm trying to figure out how to set a default language for a faction with Nutscript, you see I have two different factions one is English speaking the other speaks Vietnamese- so just like- how can I make one faction speak Vietnamese and not understand English and shit?

No, I am not promoting a server here, just a question.

(Btw I'm just posting here cuz I'm p-sure that Nutscript issues thread is dead on Github)
 
Reactions: List

spalius

Nucleus
Joined
Jul 16, 2017
Messages
1,357
Nebulae
1,202
Hi.
Currently, I'm trying to figure out how to set a default language for a faction with Nutscript, you see I have two different factions one is English speaking the other speaks Vietnamese- so just like- how can I make one faction speak Vietnamese and not understand English and shit?

No, I am not promoting a server here, just a question.

(Btw I'm just posting here cuz I'm p-sure that Nutscript issues thread is dead on Github)
I would usually refer you to nutscript discord but they won't help you with more than one worded answers which you won't understand. Usually people don't help people there with low coding skill. If you ask more they'll send you to garrysmod wiki for something irrevelant to learn lua with.
 
Reactions: List

Internet Dog

Potato Farmer
Joined
Feb 16, 2019
Messages
53
Nebulae
108
From what I know of the bare bones, the languages would be assigned as a flag. Speaking would then essentially be a "command" (variable) and client side for the other user would check to see if they have the flag to recieve that variable and display the message. Otherwise printing the text "you hear something in Vietnamese"
 
Reactions: List

Lewis!

フローラルの専門店
Joined
Sep 12, 2018
Messages
4,077
Nebulae
12,599
From what I know of the bare bones, the languages would be assigned as a flag. Speaking would then essentially be a "command" (variable) and client side for the other user would check to see if they have the flag to recieve that variable and display the message. Otherwise printing the text "you hear something in Vietnamese"
Thank you <3
 

GustavasSve

Don’t forget Hawaii!
Joined
Aug 21, 2018
Messages
1,275
Nebulae
3,092
From what I know of the bare bones, the languages would be assigned as a flag. Speaking would then essentially be a "command" (variable) and client side for the other user would check to see if they have the flag to recieve that variable and display the message. Otherwise printing the text "you hear something in Vietnamese"
You’re a saint.
 
Reactions: List

Lewis!

フローラルの専門店
Joined
Sep 12, 2018
Messages
4,077
Nebulae
12,599
Heres another question!
How in the cunted fuck do you set menu music? This has literally been the hardest challenge I have faced with Nutscript and I have found ZERO Straight answers online.
 
Reactions: List

Lewis!

フローラルの専門店
Joined
Sep 12, 2018
Messages
4,077
Nebulae
12,599
Pretty sure it's in the config. The config in F1
Yeah I know that- but all the mp3 files I use don't work.
I don't know where I should even put the mp3 files on my pc
 

SleepyMode

woah
GTA RP Playtester
Joined
May 12, 2016
Messages
661
Nebulae
2,427
Hello, one of the last remaining NS framework devs here.

Disclaimer: This is valid for the 1.1-beta branch.

There is no obvious way to doing this.
You would need to add chat commands and flags for each language (could automate the process).
To make it so each normal message is the faction's main language, you could override the standard "ic" chat type, or, unfortunately, use the clientside OnChatReceived hook.

*this is a system similar to what neb had on ww3rp*

If you want a functioning example open a convo with me.
 
Reactions: List