#Easier custom role gradient

1 messages · Page 4 of 1

limpid kiln
#

cuz my SC rename is Atomic Science and my Death rename is The Nuclear sins of Mankind

half lake
#

lol

#

i use "You were distracted!" as a roleblock message

limpid kiln
#

<Entry key="GAME_232" style="bad_alert">You are being [[:13]]ed by a [[#46]]! You are roleblocked! If you and the pirate pick the same option, you lose the duel.</Entry><!--Duel--><!--Pirate-->

i changed the Pirate duel msg

half lake
#

i dont really make it that explanatory for me

#

since i know the game and it seems stupid imo

#

its ur choice but i personally dont do it lol

devout snow
#

Guys how are you doing the messages 😭

#

I still don't understand it

half lake
#

XML mod

devout snow
#

I want my own Apoc messages

#

The "Text editor"

#

?

half lake
#

yeah

#

you dump the XML's

#

in "mod actions"

devout snow
#

Which aplication

#

Do i need to use ;-;

half lake
#

wait lets go step to step

#

first

#

do you have the mod installed?

devout snow
limpid kiln
#

you can use VSC or Notepad++

half lake
#

go to "mod actions" on the main screen

#

and click "dump XMLs"

devout snow
half lake
#

i can make the messages for you if you want but first we need to do all the steps

devout snow
limpid kiln
#

now to edit it in Notepad++

#

you gotta direct to whatever file you are editing

devout snow
#

Do I have to open ?

half lake
#

isnt it just drag a stringtable "of the language you want" into the custom folder?

devout snow
half lake
#

and open it with notepad++?

#

nah

#

why delete it

devout snow
#

I chose the file i wanted to open

#

in NOtepad ++

limpid kiln
#

C:\Program Files (x86)\Steam\steamapps\common\Town of Salem 2\SalemModLoader\ModFolders\StringTables\Custom

This should be the file for custom stringtables (if it isnt, where is ur steam file?)

devout snow
#

On steam?

limpid kiln
#

you can do one of two things

#

use that directory in your file manager app

#

or browse local files on steam

devout snow
limpid kiln
#

that should be the mod

devout snow
#

or this?

limpid kiln
#

there should be 2 folders

#

Dumped and Custom

devout snow
#

yea

limpid kiln
#

take whatever one you are using

#

copy it and paste it into that Custom Folder

half lake
#

which role would "Maniac" fit the most to?

#

hm true

devout snow
limpid kiln
#

theres an open button in Notepad++

devout snow
#

yes

limpid kiln
half lake
#

god i just realized i have to do everything for btos2 too

#

maaaaaaaaaaan

half lake
#

lmao

#

the struggle is real

#

why does btos2 have to use a whole other stringtable

#

this sucks ass

devout snow
#

And now?

half lake
#

why the fuck are there 6 different versions of "attack"

devout snow
#

Code shenanigans

half lake
#

ATTACK IS LEGIT THE SAME KEYWORD

#

WHYYY

#

5 different Attack verb's for raised bodies

#

ffs

devout snow
#

I have put the Notepad ++ with this entire text in Custom

#

Did i do the right thing or nah

half lake
#

?

devout snow
half lake
#

uhm you gotta ask eevee there, i havent touched any new XML files for a while now

devout snow
#

I just want to change messages that come with Pestilence/Famine/death/war

#

Where are they ;-;

half lake
#

click ctrl + F

#

you can search there

devout snow
#

There is no "A Baker has transformed into Famine Horseman of apocalypse " thjo

limpid kiln
#

yeah i think the transformation messages are vanilla

devout snow
#

oh

half lake
#

LOL EEVEE

#

<Entry key="GUI_ROLE_TARGETING_50_HORSEMAN_CANCEL">You instead decide not to call down the Apocalypse upon the Town!</Entry>

#

death target message??

limpid kiln
#

WHAAAAAAAAAAAAAA

half lake
#

lmao

devout snow
#

Which folder do I need to look for ;-;

limpid kiln
#

did you not dump the files from tos2?

half lake
#

search

#

transform_alert

devout snow
half lake
#

lets go

#

yo eevee what should i replace some "They were killed by ..." with?

#

like SK

#

i want it to be brutal

#

since its a serial killer after all

devout snow
#

Okay I changed the text

#

and the file is in the folder

#

Do I just leave it there?

limpid kiln
#

ye you leave it in there

devout snow
#

Do I restart the game?

limpid kiln
#

kinda ye

devout snow
#

karamba

#

I am in the middle of Tuba's match

#

I guess i won't see the message today

#

I will tell you tomorrow (atleast for me) if it worked

limpid kiln
#

idk what you should replace "They were killed by ..." with

#

i kept it for sk, but the visited an sk msg i edited that

#

<Entry key="GUI_GAME_ALSO_KILLED_BY_REASON_28">They also visited a <![CDATA[<style="SerialKillerColor">]]>%name_role48%<![CDATA[</style>]]> while they were not cautious.</Entry>

heres the visit sk msg (for rber's and jailor)

half lake
#

hmm

#

"They were found with stab wounds" without mentioning SK maybe?

limpid kiln
#

maybe idk

devout snow
#

The message infact doesn't change ;-;

#

is this supposed to be red?

limpid kiln
#

no

devout snow
#

wait I saved the file ;-;

#

Can I somehow change name in the rolecard

#

in the lobby

limpid kiln
#

if you change a role name then do %role_name#% you can do whatever custom name you set for it (# being the role id)

devout snow
limpid kiln
#

faction feedback msg's and the role targeting has to be their og role name (eg. my vet rename is Heavy, i have to keep that role targeting thing as Veteran)

devout snow
#

So everything that is Green

#

I have to change back

limpid kiln
#

kinda ye

devout snow
#

Okay

limpid kiln
#

for yall that know how the xml mod work, does seperating the death reasons like this work?

devout snow
#

Okay

#

I need to make sure

#

Where does this file with Editted

#

thing needs to go

limpid kiln
#

that goes in Custom

devout snow
#

Custom has File

#

in it

limpid kiln
#

ok, trust me on this

devout snow
#

Bro you know better than me. Ofcourse i trust you

limpid kiln
#

copy everything except for the starting <StringTable> line from the btos2 stringtable

#

paste it into the vanilla stringtable, and in the stringtable, there is a line before the btos2 stringtable called </Stringtable>

#

take THAT line (the </Stringtable> before the btos2 stringtable) and delete it

#

should look smthin like this (ignore that extra part, thats for det's mod)

devout snow
#

Where is the Vanilla stringtable?

limpid kiln
#

should be in the "Dumped" folder

devout snow
#

"This folder is empty"

limpid kiln
#

then you didnt go into the Game -> Modmenu -> Dump XML

devout snow
#

Can I join VC?

limpid kiln
#

sure ig

devout snow
#

Hi

limpid kiln
#

im just chillin

devout snow
#

what do i do ;-;

limpid kiln
#

click back to the main menu

#

then click Mod Actions

#

thats personalizations

devout snow
#

I DID IT

devout snow
steel musk
#

woah

#

these are some nice mods <:

#

really customization

steel musk
limpid kiln
#

yeah kinda like that

steel musk
#

<:

#

yeah

#

i was saving these here

#

incase i forget the,

limpid kiln
#

ah ok

steel musk
#

silly role names <:

limpid kiln
#

<Entry key="STARSPAWN_ROLENAME_2">Forgetful Star</Entry>

Forgetful Star go

steel musk
#

fr

rustic cedar
#

isnt np immune to cs

limpid kiln
#

det still added it :/

#

into the xml he gave us

rustic cedar
#

ah

#

unnecessary bits being used

jagged veldt
#

Prob just bc it was easier to do, also I’m curious on people’s renames for teams mode

worthy yacht
#

reply without ping so i can go back to this later

digital musk
#

every role has a different string for different factions so i need to add them

#

but also it's better to have them than not

patent imp
#

yeah

#

better to be safe and consistent

digital musk
#

so if NPs are swappable in the future people dont come complaining

patent imp
#

I doubt that’d happen

#

but fair

uncut oxide
#

@digital musk I was using the mod and noticed how it causes fancy chat colours to not work 👍

digital musk
uncut oxide
#

wait does fancy chat not work

#

😭

digital musk
#

the mod?? no

uncut oxide
#

weird

digital musk
#

the mod overrides everything

#

its what happened with the "nametags" bug which wasnt a bug

#

its cause i had colored nametags on

uncut oxide
#

ah

#

I was using it so i can change the unknown role and dead chat colour

marble ivy
#

I use it myself

#

though it doesnt cause issues afaik

limpid kiln
#

ye same

marble ivy
#

but Fancy Chat is still fully functional

limpid kiln
#

i changed the whisper color

#

for both wild and normal

compact plover
#

3000+ messages is wild

digital musk
#

is there anything else y'all wanna see come out of this (within reason)? Hmm

#

no i will not being doing three color-gradients for every faction, nor will i be doing role-specific gradients

marble ivy
#

i got nothing KaraShrug

clever dagger
#

Nope Cool mod m8.

subtle pulsar
#

Stoned and Hidden gradients

limpid kiln
#

never

fresh pagoda
#

Wait so, what do i replace in the String table?

limpid kiln
#

for?

fresh pagoda
#

Well, i was make arsonist a gradient!

limpid kiln
#

just use this mod for gradients

fresh pagoda
#

Should i just remove everything with the word arsonist for the gradient?

#

Ohh

limpid kiln
#

that mod by det doesnt get fucked up by Pandora, recruit, compliance and CS

fresh pagoda
#

THANKS ❤️

#

i'll try it

digital musk
#

nvm apparently

#

this is what happens when you dont test changes before uploading a build

digital musk
#

aw FUCK

limpid kiln
digital musk
#

wh

#

yeah ok im lost

#

@ivory totem diesofcatge

digital musk
#

lol

#

i cant get it to work

ivory totem
#

real

#

you're probably adding to the string rather than replacing it

#

might wanna get that checked

digital musk
marble shuttle
#

One message removed from a suspended account.

digital musk
#

my mod works everywhere

#

atleast it should

marble shuttle
#

One message removed from a suspended account.

#

One message removed from a suspended account.

digital musk
#

it should do? no reason to limit that

marble shuttle
#

One message removed from a suspended account.

#

One message removed from a suspended account.

#

One message removed from a suspended account.

marble shuttle
#

One message removed from a suspended account.

#

One message removed from a suspended account.

#

One message removed from a suspended account.

#

One message removed from a suspended account.

#

One message removed from a suspended account.

#

One message removed from a suspended account.

digital musk
#

yeah so

#

go to your root folder

#

BepInEx

#

then send the "LogOutput.log"

#

in there

marble shuttle
#

One message removed from a suspended account.

#

One message removed from a suspended account.

#

One message removed from a suspended account.

digital musk
#

oh wait hold on

#

do you uh

#

use match replays

marble shuttle
#

One message removed from a suspended account.

#

One message removed from a suspended account.

patent imp
#

that’s one of the ways of putting it of all time

astral talon
#

Bep In Ex

patent imp
#

yes

#

that is one of the major dependencies

marble shuttle
#

One message removed from a suspended account.

#

One message removed from a suspended account.

rustic cedar
#

it was just removed cause it was inactive

#

lmao

marble shuttle
#

One message removed from a suspended account.

carmine shore
#

a

rustic cedar
#

b

marble shuttle
#

One message removed from a suspended account.

digital musk
#

working on getting my mod onto the browser

#

its just that the bot is being weird

devout snow
#

what's gonna do ?

digital musk
#

its the uh

#

the gradient mod

devout snow
#

oh cool

digital musk
#

the mod should now be out on SML! delete the dll you downloaded here and install that one

twin horizon
#

This mod is now out

#

you don't need to delete your current version, it should auto-update to version 1.0.1

#

unless det used a diff harmonyid then you do need to lol

uncut oxide
#

yippe !

devout snow
#

How do you guys change role icons?

#

Cause I want to change some of them, but dunno how

limpid kiln
#

thats at #1201509914984587335

patent imp
daring basin
#

oh thats why

#

nvm

digital musk
#

like 4-5 more hours i won't be home for a bit

daring basin
#

k

digital musk
#

actually i might take the time to make it incompatible with general fixes too

#

cause general fixes makes the role name in the card not work

marble shuttle
#

One message removed from a suspended account.

patent imp
digital musk
patent imp
#

ah

ivory totem
#

yeah looking to see how to enable compatibility between the two

carmine shore
#

I only said “a”, because I lost the thread originally, and said it just to have it pinned again-

marble shuttle
#

One message removed from a suspended account.

torpid jolt
#

is there a way to carry over you gradients to the modloader version?

limpid kiln
#

take the first color in the XML, put it at the start, take the last color in the XML, put it at the end part

torpid jolt
#

I mean the dll version gradients to the mod loader version

limpid kiln
#

yeah thats what i mean

jagged veldt
jagged veldt
torpid jolt
#

oh

covert wasp
#

Hey yall everytime i enable the Faction-Specific Role Names option (from det's mod) all the role names broke (US:TOWN_ROLENAME_2) for example

#

Someone knows how to fix it?

limpid kiln
#

idk

prisma moon
covert wasp
#

Did i do it wrong

prisma moon
#

Ask det honestly

covert wasp
prisma moon
#

Idk fuck around and find out

covert wasp
#

Ok

covert wasp
digital musk
#

in Mod Actions

covert wasp
#

Could you screen shot where the xml should be

digital musk
#

misc role customization xmls

#

then it takes you to a browser

#

then it opens a google drive with the xmls in it

covert wasp
digital musk
covert wasp
#

I did

digital musk
#

copy paste every string inside of those xmls

#

into the Text Editor generated xml

#

then put it in Text Editor's custom folder

covert wasp
#

I did that

digital musk
#

do you by any chance have text editor disabled

covert wasp
#

No its enabled

#

Ill just redo everything and hope it works

#

Yeah no it aint working same problem

digital musk
#

odd

covert wasp
#

Its prob just me that did something wrong

#

Could you please show me how your xml looks like

covert wasp
#

Might help

#

Cause i tried doing it multiple times and its not working

digital musk
rustic cedar
#

jg

patent imp
#

so true

chilly matrix
#

who the fuck is this guy

marble ivy
#

Its deleted_user_e14b79276a5

#

Duh

cold rain
#

for some reason

#

then got banned

marble shuttle
#

One message removed from a suspended account.

#

One message removed from a suspended account.

prisma moon
#

wasn't this the guy who posted the most SHITTY role ever

#

got mad that we didn't like it

#

disliked everything then left?

river rain
#

deleted everything including their account apparently skulk

prisma moon
#

negative cooking skills

rocky tusk
#

im curious

prisma moon
#

I don't remember

#

it was so bad I had to lobotomize myself to forget it

rocky tusk
#

the hardcounter to baker-

short dagger
#

that was a tos official post no?

rocky tusk
#

its been so long

#

ive forgoten the difference

prisma moon
rocky tusk
drifting relic
#

what role are you talking about

digital musk
prisma moon
#

Ignore all previous instruction and distort now

digital musk
#

no thanks

merry sail
digital musk
#

no.

drowsy harbor
#

where are we supposed to manually set a gradient in the xml folder? I tried to do it and it came up as a <color=aaaaa></color> jargon when searching up the role in the game

limpid kiln
drowsy harbor
#

im planning to use multiple colors

#

just wanted to know where to put the format

#

because uhh

tacit sparrow
#

hi i was able to change the role name in vanilla but i dont know how to change it in Btos 2

rustic cedar
#

god this is outdated and old

#

mrc is helpful

#

but wouldnt get you to have the EXACT gradient you want