#Easier custom role gradient
1 messages · Page 2 of 1
that just happens sometimes iirc
sometimes itll print the full gradient cdata instead of printing the letters
hi
hi
anyone knows how to fix roles not being able to be mentioned in the # ?
this is the xml
ok so
number one issue
thats the tos2 table
you need to put that in the btos2 table (assuming this is in a btos2 lobby)
ah
it looks like it should be working?
did you save the xml?
wait no
the gradients are there so its working, just mentions
issue is
yeah mentions dont work if you add custom gradients in reg tos2
in btos2 mentions work fine
its weird
oh ok
i think without gradients in vanilla it works fine with custom name mentions
i think mention text is hardcoded
yes and no
cause my roles are literally entirely different and typing #prosecutor still brings up my pros
i explained it up here
but gradient names revert to default for mentions
its likely that vanilla just isnt set up to handle xml changes?
maybe no
yeah lmao
idk
the color is tied to the role
“one sin”
…huh
no, theres a different mod that allows you to change role colors
do you have the role colors mod?
yeah i use it
but ive never had that issue
well
its not even an issue tbf
tbf most of my town roles are gradiented but theyre default names
so i wouldnt have that issue anyways
could be a character limit 
you can still type the custom role names though if you wanna mention it
hm
both seem to work
welp if it works
ill probably test that with my serial rename
it might just be that defaults and custom name changes work
but custom changes have limitations or smth
its just gradients i think
if i can type this and it works there probably isnt a mention character limit
probably not
it probably doesnt like cdata
apparently cdata is just a comment but usable
where BTOS stringtable
cannot download poop.html for some reason
I need a pasteable text format
pasteable text stringtable where
So after i edit the string table, whermst do i put it 
ok i managed to break everything
this is a good start
This
ok i broke everything again
uh
Ok i fixed everything
andd the gradient isnt working
So im doing something wrong here
cause any edits that dont break everything dont do anything
BTOS Stringtable isnt actually in the pins here, just the gradients thing, idk where the BTOS StringTable is
yeah I need a pasteable BTOS stringtable, someone please @ me while replying to the msg with BTOS stringtable
i got it to work in regular, somehow
where BTOS stringtable
if i knew i would tell ya, i forgot where i got mine
its up in the thread
my custom gradients atm
but where
refer to the msg with the stringtable in pasteable text format
it's not pinned AAAAAA
cursed soul/jackal on their way to say nuh uh
This Should be a regular BTOS2 Stringtable
@brave wren
ok ty
should I just throw it in the custom folder where the other XMLs are using the text edit mod?
What i did for the game to not break is paste it at the end of the regular stringtable
tho also my custom naming in Btos2 isnt working, soo
oh
i mean i have my own posted if you want that? its already got the necessary stuff in it
yes it goes in custom
ooh purple soul collector is nice
my current stringtable
so do I just add that right after the default vanilla stringtable?
so like this?
Remove the 2 stringtable things there at nothing should break
oh the vanilla closing and the modded opening?
Ye
now just beg for mods to pin
@lusty lake nugget can you be the mod that pins this
ima just drop this link here before people ask how to do it again
#1200090979856818267 message
could someone teach me how do make youre role gradient cause i have no idea how
please
Hold please
here’s the top of the thread if you want to look for the answer in the conversation
#1200090979856818267 message
I made a tool too if you want me to make it
or you can use the program they made
#1200090979856818267 message
yes it’s called poop.hmtl 💀
Thank you even tho im not sure how to put it in the code😅 in telling you that i truly dont know anything about it
so i downloaded that to test something, in BTOS it doesnt work for me, i think theres something wrong with my game now
yo send those they 🔥
I can't atm as I'm not on my pc
😭
works for me, are you on mac? might be differences in that case idk
||also if yall wanna share xmls… https://discord.com/channels/1197645970998054992/1228169207515185263 wink wink||
poop html bruh who made this
about to bring poop html into the 21st century
poop html bruh who made this shit
now u dont need to download it
and it looks better
Nope, windows 10
Would it be possible to have a pallet saving thing? So we can easily copy gradients or another way by importing the line?
It would mean we can easily do the same gradients for a whole faction
explain
you want an easy way to get back gradient's you've done before in the site?
attach that to the default stringtable and you get this "grand stringtable" as the default for all things BTOS
made sure so there's only one <StringTable> opening and </StringTable> closing
I downloaded that stringtable, edited a btos2 role name, went into custom+ and no changes
what's the code to change an entire rolebucket to a gradient
for example I wanna change "ApocalypseColor" entirely
"<Entry key="BTOS_ROLENAME_115">Random Apocalypse</Entry>" maybe?
you might have to just do it per role tho
then how will I get random apocalypse to show with the new color- ohhh
and then where do I put the hex colors and shit?
at the name, like with the others (Tho idk if it works for bucket lists)
Role bucket is a type of role
buckets are technically roles
ill test it eventually
i know you can mention a role bucket
and how do I format it
for example I want the new apoc color to be a gradient between #00a8e0 and #00c0ff
you take apocalypse do the old cdata thing
Doesnt seem to work for role buckets
role bucket names are defined elsewhere
in the XML
The name 'Random Town' and the Random Town that appears in the role list panel have different names, I mean
because one is multicolored
ah
press ctrl+f (or system equivalent for Find) and search for GUI_ROLE_LIST_BUCKET_RANDOM_TOWN
so what's the entire line that I have to add to change the apocs color to a gradient between #00a8e0 and #00c0ff
hold
I think here for BTOS?
bing so i can link
for this, can i just paste it and edit it like a normal stringtable
me when this website
do you wanna share
whats TF2 sorry
Team Fortress 2
uhhh, deer skull
and the other side?
i play tis
fury of heaven doesnt fit the theme
no fury regal ro secret adm
or deer skull
so moonshadow harvest or arthurs
all of them
ngl
i will flex
i have pestilence and war skins
🔥
i toem of fate serial killer
ngl
time to add SOME gradients to my XML
real
we trapping
i am using the poop.html thing
<![CDATA[<color=#00ff40>C</color><color=#10ee3d>l</color><color=#21de3b>e</color><color=#32cd38>r</color><color=#43bd36>i</color><color=#54ad34>c</color>]]>
This is the cleric gradient
its a gradient thing, by, hmm, yo who made this?
i know
@marble ivy
have you finished yet!!
nope
I meant like, its description and attributes and shit.
oh really?
yea
found it while clearing out my xml so it ONLY has my edits
i dont do gradients
aw dang
Common Loonie L
im going to do partial gradients
like, some gradients
heres Vamp
banshee
Admirer, BG, Coro, Cleric, Amne (i messed up on crus one, but i will fix it
@steel musk
there is a gradient
its hard to see :(
Town
Town: 114 158 227 | 154 176 229
Coven: 206 144 223 | 100 29 231
Apoc: 245 86 86 | 89 87 91
Jest: 214 118 201 | 219 87 87
Arso: 255 0 0 | 219 157 87
Vamp: 149 4 4 | 0 0 0
i just take the color, and change it to what faction it is
those were mine
ok
they were alrgight
but
couldve been beter'
i ahd deputy as Gunman ngl
@limpid kiln you done yet?
in game
also i posted MOST of them above, i said i would do some
how good are they 
kinda bad
oh yeayh
i was just trying to get you to say the name
BCZ I FORGOT
lol
im having some pizza
me who is about to have subway:
wdym
you do it like this
erm one sec
ot was
from someone else
gimme asec
ill redo them later
i just need more help doing some other stuff
yo @short dagger you know how to make uhh custom rolenames so when you type in the custom rolename it shows the original role
like if i wanted dep to be gunman
id type n gunman
and find gunman
i dont know how to make custom rolenames
its not working on my end
lagspikes
i need your opinion
should i make my townie name instead of being Town, should it be Civillian
and my coven be mafia
and my neutrals be
uhm
u decide that
uhm
im still figuring that ut
but im sure
if i researdch into the btos2 table
i can find out
just need ur opinion nr
sure ig
i need a neutral name
i might just go give it Marauder
Marauder Protective
or Marauder Evil
what do you think @short dagger
sure
alright
ok why isnt this working
besides the rolename change is there anything else i need to add?
pat's guide is making 0 sense
btw @short dagger
im doing everything it says and its not working
what do you think of the transformed of NA
like famine
being instead of apoc
being Destruction
Neutral Destruction / Marauder Destruction
sounds kinda cool ngl
like death
DEATH! HORSEMAN OF THE MARAUDERS, FACTION MARAUDER DESTRUCTION
just sounds badass
wanna see
btw do you know hwo to change the alignment color
it isnt
this is my current Colour Swapper changes (i dont use it alot)
@astral talon do you know how to change the alignment colour from the XML
AGGHHH
you are a sin
why is town cya
cyan
i mean
colour swapper mod auto does that tbf
btos_rolenames in xml
noi its not that
its when we want to
like
type in the custom name
and find the custom name
??
but everytime i edit that section i have to type in
cant do that with a gradient
this
also
you can do it with a normal name, but not with a gradient
and also how do i change alignment colours
ive explain it before ill check
what's the best way for me to give you guys a fix for this
i have the code that does it
idk how that works
uh
#1200090979856818267 message read down from here
kinda
i think they mean role bucket color
like
which im 90% sure is color swapper
okay
role buckets are slightly further down and are GUI_ROLE_LIST_BUCKET_{ROLE_BUCKET}
if i want to change color of any i go to this one GUI_ROLE_LIST_BUCKET_ANY and change the color in the CDATA tag
is there any other text i need to make sure it works
because currently its not
show me what you have changed
so my research so far has turned out positive
its the same format as on the website
changing the NA of transformed apoc into Marauder Destruction worked
perfectly
so
im very proud
screenshot it
cause i have not much coding experience
</StringTable>
<Entry key="GUI_ROLENAME_37">Emily Jennings</Entry>
</StringTable>
this is pretty much all i have in rn
im slow
omg this is such a boring process but its gonna be so nice when im done
tb h
im changing all the town to civillian being in role descriptions
would i need to make a seperate btos2 stringtable for modded
or is the non modded roles fine for both
you don't need to create two, if you want to edit btos2 role names you need to find the keys from btos2 stringtable
for the rolenames i dont need to add anything else to them?
no
- do you have the stringtable in the custom folder
- do you have the stringtable named correctly?
StringTable.en-US.xml
does anyone have a good dirty yellow i can use for my "town" colour
is it actually an xml file or is it txt
txt
open it in notepad, go to "save as" and click "all files" then remove the .txt part
IS THIS A W?
all thats left is to change faction names,
change role names
and boom
idk if ur on windows 11 but do this
and just remove the .txt by changing the file name
if notepad save as doesnt work
sorry but how do i get to this
yes
View -> Show -> File name extentions
uh i dont have a show option
lol wtf
its at the bottem
i only have until content
here just use this if changing the ext is too hard
there is no show
should be next to sort
then how the

ok thats it im going to shamelessly steal pats
ok now for editing
do i just edit source code
hm
StringTable.en-US.xml.xml
uh
for the file name do i remove the part where it says .xml
ok its working
im not going schizo
ok just copy paste the file in dumped into the custom folder and edit that one
for btos2 stringtable can i just attach them to the regular roles
yes
so like if role54 is socialite
and i have it as a set name
and i attatch btos2rolename54
it shows as that set name
am i able to throw the
<!--Faction Winners-->
section with rolenames
among us obsession.
crew is cyan and imp is red
ah
chat can somebody help me
like, some sort of simplified tutorial
can someone dm me where the horsemen transformation messages are
which gamemode
WHICH ONE
Try just searching for them
BTOS2
Uh
OR NORMAL
both
@short dagger flavor text ™️ ?
what is flavour text
so like uh
Famine: 11718
Descriptions and stuff and flavor and theming and uh yeah idk how to explain
ok
reason i dont recolor roles:
if you get faction swapped (cs or tt) it shows all the color data in the role name
exactly why i dont do it either
Same ngll
if this were fixed i would 100% have role colors for every role
Wait whats ur vigilantes name
Omega
id wish people were on
makes sense
shadow is deputy
WHERE'S THAT DAMN FOURTH CHAOS EMERALD
i never gradiate my alignments
PLUS, im on FNF
There is a second key for alignment buckets
The role “neutral killing” is different than the “neutral killing” key that is used in the roledeck
amogus
who stopped chatting here?
i am coming.
@sharp dove
okay
so
so instead of going to custom
go to dumpde
copy the one that has US on it
i recommend downloading VSC
its good for editing code
i don't think that's supposed to happen
just search up a role name
ROLENAME
and
Replace every mention of the word coven?
alright
(Maybe someone should turn this into a google doc and pin it..)
yknow what
alright
so
for alignments
i gotta get mine rq..
im almost done with my mtach
so like this..?
yeah
thats name changes
ill help you with buckets and stuff
or maybe @limpid kiln can
im busy
wait can i even put spaces
@sharp dove has leveled up! (6 ➜ 7)
hello it is later can help?
Ty!!!
Nice
is that the only line I need to add?
exe was also added, but i think its already in the code
yeah exe is in the code
Does someone have an xml I can yoink for gradiants?
hey do i have to rename this?
just combine the BToS2 code into a XML for the vanilla game
make sure to remove </StringTable> at the end of the vanilla and remove the <StringTable> from the start of the modded
should look like this (the patch notes are vanilla, the BToS2 role names are the BToS2 stringtable)
...dumb this down i have no idea what you just said
Take the entirety of the BToS2 xml you downloadedf
add it to the vanilla XML
and remove the </Stringtable> at the end of the vanilla one, and the <Stringtable> from the start of the modded one
At rhe top of the document says stringtable in arrow brackets < >
Copy everything except those into the bottom of the vanilla XML (en_US.xml), right before its stringtable tag
Be sure to put it at or near the bottom
If there are duplicate tags, they will override the ones above them
...can you record it for me
i am seriously not understanding this
oh wait no i think i got it
hold on
so like this?
Yes
where it says </StringTable> remove that and paste the entirety of the BToS2 xml into there, then remove the <StringTable> from the top of the BToS2 stringtable
If it doesn’t work replace the GUI in the key name with BTOS
Some keys replace this in order to avoid compat issues
so the file name doesnt matter?
it does not matter if you combine both XML's
still doesn't seem to be working for meunless im changing the wrong things?
doesn't seem to work in btos 2 either
Can you send me your XML
I might be able to fix
e
ok im in a game but will look at after
@oak apex Any luck on that?
@oak apex ahem..
I don't see whats wrong with it
let me load the icon pack and get into a game
i need to eat but will test after @sharp dove
im so sorry this has taken so long 😭
yeah wtf
im sorry i cant see the probelm
i think i might be missing a mod
oh
Sorry I didn’t get back to you earlier
I was in a game because I forgot about this
And I focus in on that game because tos2 takes a lot of thinking
And I forgor
siiigh
so when trying to do gradient for amnesiac how do i get it to show rolename vs this
turn off text editor’s key setting
i figured it out now i just need to find out how to change the color for town faction color itself on the roledesc
Colour Swapper mod
true
e

i did this
ooh i should change town protective to town healing
Bodyguard:
lol
how do i change the sub-alignment text without it breaking?
you already did
im meaning in the role card
:/
im available tmr at 3 PM PST
bro you should see the DC xml det gave me with pandora’s box like
mmm
@cold rain how do i do the gradients in role cards?\
okay sorry I was asleep at that time
show me what it looks like rn in your stringtable
heres pirate, i wanna change the alignment end part (where it says Evil)
<![CDATA[<color=#a9a9a9>C</color><color=#7ebdbe>h</color><color=#54d2d4>a</color><color=#2ae6e9>o</color><color=#00fbff>s</color>]]> this is my "Neutral Evil" alignment end rename
just replace the part where it says "Evil" with your gradient
you can just copy it from where you did the gradients on your Sub-alignments
so like this?
that should work yeah
i think i fixed it
ill see
all i did was add this line to the end
<![CDATA[</color><br><br>]]>
yh that should make it work
that fixed that, now i need to add </color>
someone else had that problem lol
yippee
Could I perhaps have an XML of a gradiant? I'm kinda bad at making it-
poop html bruh who made this shit
Right, okay, so. I have the string tables dumped for BTOS2.
I'm trying to update the XMLs for coven roles and town roles
I have the better TOS2 String Table here
unless it's a modded role you just use the vanilla key
Traitor XML extension.
Converts the Coven into Traitors.
Supports both Vanilla and BTOS2.
Coven Leader is called Changeling.
Only things unmodified are items without a string and keywords
I admit, I'm sort of a doofus and don't know where to place the gradiants for BTOS2.
Because no matter what I change in the text editor, nothing seems to change.
IE: I want to change Coven Deception into Coven Concealing
https://discord.com/channels/1197645970998054992/1228169207515185263 for the ppl that just want premade xmls
stop self advertizing ur thread
BUT ITS FUNNNN
let me be a semi-helpful bitch
ello, mind telling me where i can change coven color from purple to another one
👍
ay @marble ivy do you know if ya can help me with this issue
Color Swapper mod
well idk im tired af
okay ill explain more
so when you see
"Coven Killing"
its purple
but i want it red
anyway to ?
okay
and/or COVENKILLING
that changes with color swapper iirc
correct
gotcha
it only changes what "CovenColor" uses
cuz i spent like 20 minschanging like everything into mafia
guh
alrighty
nope
that changed the role colour
not the subalighnment and faction colours
try reloading the game
no no
okay
its not reloading that game for helping.
gah
stroke
that will not help
im trying to change the word mafia and mafia underlined
in the pic
;p
?
ah? i put my coven to read because its mafia- why is urs red
woh
neutral is getting a new rework just like coven and other roles
liek apocalypse
to show it does change it
k
I only use Color Swapper to change the vanilla CS color
Juggernaut that looks like Starspawn so it doesn't look like Inquisitor
ykw? red would be really fitting for Coven...if Witch and the Coven weren't Purple in ToS1
which, unfortunately, they were, because BMG decided to add Mafia to a game that's literally about the Salem Witch Trials
I mean, the Coven Leader icon has always been red
it went from a red hat, to a blood moon...the another red hat

real
LIGMA
BALLS


i wonder if we can make custom keywords
keywords are hardcoded inside a json that is in the dll
you cant
this
iirc there isnt an xml key for those at all
ok nevermind i checked later
apparently there are XML entries for keywords under "verbs"
i changed tribunal to purge, will see if it worked
@night terrace
thats the BTOS2 string
its maybe out of date
heres the updated one
do i put it inside the en-us.xml
or put the xml inside custom
next to the en-us
so you have the en-us.xml on ur clipboard correct?
if so, take that and put it in ur custom
then enter the xml and scroll all the way down
remove that </StringTable>
then for the BTOS2 stringtable, copy ALL OF IT
then remove the <StringTable> at the start
one you have done that, paste it into the en-us.xml
at the end of it
then edit a role name, save the xml and go into Custom+ or Casual
check the role you edited via bukket or True Any
if it shows your custom name, you have done it
ohh got it
it should appear in game
mhm, mhm.
what role did you rename?
admirer
can you send me a screenshot to see if it worked?
it works but
it still uses #admirer
yeah'
but it shows the new name
it doesnt change the #
ur welcome
hey so i have seen on Executioner's screen that for jailor, they have the attack value shown, how do i do that?
i love editing xmls
i need to fix that
<Entry key="GAME_303" style="good_alert">You must wait a day to find ammo for your Scattergun.</Entry>
fixed it
@astral talon
yo null
yay!
so, regarding this thread
i am currently coding a mod that allows you to add gradients per faction (not role, that would become tedious to both code and configure)
(if you dont want to have a gradient for a faction, just set the start and end to the same color)
@digital musk thats so good tysm
adding one more message here for...reasons
Do you know when you'll finish it by any chance?
just finished it
