Repository navigation
Upgrade Guide to 2.6
Crystalwarrior edited this page Oct 23, 2019
·
2 revisions
2.6 inherits features from the Case Café custom client and server. Old themes and servers will still work, but they will not expose the new additions to players.
2.6 support has only been developed for tsuserver3. serverD is currently not equipped at all for such support.
- Apply the new code changes.
- In
areas.yaml:- You may add
shouts_allowedto any of the areas to enable / disable shouts (and judge buttons, and realisation). By default, it'sshouts_allowed: true. - You may add
jukeboxto any of the areas to enable the jukebox in there, but you can also use/jukebox_togglein game as a mod to do the same thing. By default, it'sjukebox: false. - You may add
showname_changes_allowedto any of the areas to allow custom shownames used in there. If it's forbidden, players can't send messages or change music as long as they have a custom name set. By default, it'sshowname_changes_allowed: false. - You may add
abbreviationto override the server-generated abbreviation of the area. Instead of area numbers, this server-pack uses area abbreviations in server messages for easier understanding (but still uses area IDs in commands, of course). No default here, but here is an example:abbreviation: SINgives the area the abbreviation of 'SIN'. - You may add
noninterrupting_presto force users to use non-interrupting pres only. 2.6 users will see the pres play as the text goes; pre-2.6 users will not see pres at all. The default isnoninterrupting_pres: false.
- You may add
- You'll need the following, additional images:
-
notguilty.gif- Not Guilty verdict animation -
guilty.gif- Guilty verdict animation -
notguilty.png- Not Guilty button -
guilty.png- Guilty button -
pair_button.png- Pair button -
pair_button_pressed.png- Pair button (selected)
-
- In your
courtroom_sounds.ini:- Add a sound effect for
not_guilty, for example:not_guilty = sfx-notguilty.wav. - Add a sound effect for
guilty, for example:guilty = sfx-guilty.wav. - Add a sound effect for the case alerts. They work similarly to modcall alerts, or callword alerts. For example:
case_call = sfx-triplegavel-soj.wav.
- Add a sound effect for
- In your
courtroom_design.ini, place the following new UI elements as desired:-
ic_chat_name, which is an input field for your custom showname. Needs the same stuff. -
ao2_ic_chat_name, which is the same as above, but comes into play when the background has a desk.- Further comments on this: all
ao2_UI elements come into play when the background has a desk. However, in AO2 nowadays, it's customary for every background to have a desk, even if it's just an empty gif. So you most likely have never seen theao2_-less UI elements ever come into play, unless someone mis-named a desk or something.
- Further comments on this: all
-
showname_enableis a tickbox that toggles whether you should see shownames or not. This does not influence whether you can USE custom shownames or not, so you can have it off, while still showing a custom showname to everyone else. Needs X, Y, width, height as usual. -
settingsis a plain button that takes up the OS's looks, like the 'Call mod' button. Takes the same arguments as above.- You can also just type
/settingsin OOC.
- You can also just type
-
char_searchis a text input box on the character selection screen, which allows you to filter characters down to name. Needs the same arguments. -
char_passwordedis a tickbox, that when ticked, shows all passworded characters on the character selection screen. Needs the same as above. -
char_takenis another tickbox, that does the same, but for characters that are taken. -
not_guiltyis a button similar to the CE / WT buttons, that if pressed, plays the Not Guilty verdict animation. Needs the same arguments. -
guiltyis similar tonot_guilty, but for the Guilty verdict. -
pair_buttonis a toggleable button, that shows and hides the pairing list and the offset spinbox. Works similarly to the mute button. -
pair_listis a list of all characters in alphabetical order, shown when the user presses the Pair button. If a character is clicked on it, it is selected as the character the user wants to pair up with. -
pair_offset_spinboxis a spinbox that allows the user to choose between offsets of -100% to 100%. -
switch_area_musicis a button with the text 'A/M', that toggles between the music list and the areas list. Though the two are different, they are programmed to take the same space. -
pre_no_interruptis a tickbox with the text 'No Intrpt', that toggles whether preanimations should delay the text or not. -
area_free_coloris a combination of red, green, and blue values ranging from 0 to 255. This determines the colour of the area in the Area list if it's free, and has a status ofIDLE. -
area_lfp_colordetermines the colour of the area if its status isLOOKING-FOR-PLAYERS. -
area_casing_colordetermines the colour of the area if its status isCASING. -
area_recess_colordetermines the colour of the area if its status isRECESS. -
area_rp_colordetermines the colour of the area if its status isRP. -
area_gaming_colordetermines the colour of the area if its status isGAMING. -
area_locked_colordetermines the colour of the area if it is locked, regardless of status. -
ooc_default_colordetermines the colour of the username in the OOC chat if the message doesn't come from the server. -
ooc_server_colordetermines the colour of the username if the message arrived from the server. -
casing_buttonis a button with the text 'Casing' that when clicked, brings up the Case Announcements dialog. You can give the case a name, and tick whom do you want to alert. You need to be a CM for it to go through. Only people who have at least one of the roles ticked will get the alert. -
casingis a tickbox with the text 'Casing'. If ticked, you will get the case announcements alerts you should get, in accordance to the above. In the settings, you can change your defaults on the 'Casing' tab. (That's a buncha things titled 'Casing'!)
-