structured folder

This commit is contained in:
Draqoken
2025-04-08 02:53:19 +03:00
parent e6d65b30b9
commit 5e77d7e9cf
11 changed files with 93 additions and 3 deletions

46
scripts/gagcreator.set Normal file
View File

@@ -0,0 +1,46 @@
#alias setpreferedgag {
#if {%1 = 0} {
#var preferedgag voice} {
#var preferedgag all}}
#var gagfile gags
#alias loadnewgag {
#file 4 {cosmic rage/gags/%1.set};
#forall {@newgag} {
#write 4 {#trigger {%i} {~#gagline @preferedgag}}};
#close 4;
#unload {cosmic rage/gags/%1.set};#load {cosmic rage/gags/%1.set}}
#alias choosethefile {
#alarm 0.100 {#say {Please select the file that you would like this gag to be saved to. This is to prevent cluttering as vip mud has a limit for file length which cannot exceed 32000 characters so saving all of your gags in one place is not prefered} VoiceOnly};
#pick {P:choos a file|
Activities:loadnewgag activitygags|
ships:loadnewgag shipgags|
Vehicles:loadnewgag vehiclegags|
misc:loadnewgag gags}}
#alias addnewgag {
#alarm 0.100 {#say {In the following prompt, enter the line that you would like to be gagged} VoiceOnly};
#unvar newgag;
#prompt newgag {what line would you like to gag?};
#if {%NumWords(@newgag)=0} {#say {You didn't enter anything} VoiceOnly} {gagmethod}}
#alias gagmethod {#pick {p:what kind of a gagging method do you prefer for this specific gag?|
Please gag only the speech, but keep it in my output:setpreferedgag 0|
gag it completely and don't show it in the output window:setpreferedgag 1};
choosethefile}
#alias miscgagtoggle {
#if {@miscgags="disabled"} {#var miscgags "enabled";#load {gags/gags.set}} {#var miscgags "disabled";#unload {gags/gags.set}}}
#alias vehiclegagtoggle {
#if {@vehiclegags="disabled"} {#var vehiclegags "enabled"; #unload {gags/vehiclegags.set}} {#var vehiclegags "disabled";#load {gags/vehiclegags.set}}}
#alias activitygagtoggle {
#if {@activitygags="disabled"} {#var activitygags "enabled";#load {gags/activitygags.set}} {#var activitygags "disabled";#unload {gags/activitygags.set}}}
#alias shipgagtoggle {
#if {@shipgags="disabled"} {#var shipgags "enabled";#load {gags/shipgags.set}} {#var shipgags "disabled";#unload {gags/shipgags.set}}}
#alias gagconfig {
#pick {P:Please select an option below|
Activity-related gags (@activitygags):activitygagtoggle|
Ship-related gags (@shipgags):shipgagtoggle|
Vehicle-related gags (@vehiclegags):vehiclegagtoggle|
Misc Gags (@miscgags):miscgagtoggle}}
#key {alt-f2} {gagconfig}

View File

0
scripts/gags/gags.set Normal file
View File

View File

View File

47
scripts/keys readme.html Normal file
View File

@@ -0,0 +1,47 @@
<h1>Hotkeys Reference</h1>
<h2>Buffer Keys</h2>
<ul>
<li><strong>Alt + Shift + Right</strong>: Add a new buffer</li>
<li><strong>Alt + Shift + Left</strong>: Delete a buffer</li>
<li><strong>Alt + Left</strong>: Move to the previous buffer</li>
<li><strong>Alt + Right</strong>: Move to the next buffer</li>
<li><strong>Alt + Page Up</strong>: scrowl up for ten messages of the current buffer</li>
<li><strong>Alt + Page Down</strong>: scrowl down for ten messages of the current buffer</li>
<li><strong>Alt + Up</strong>: move to the previous message of the current buffer</li>
<li><strong>Alt + Down</strong>: Move to the next message of the current buffer</li>
<li><strong>Alt + #</strong>: Jump to <number> of your current buffer.</li>
<li><strong>Alt + Home</strong>: Go to top of buffer</li>
<li><strong>Alt + End</strong>: Go to bottom of buffer</li>
<li><strong>Alt + Delete</strong>: Clear the current buffer</li>
<li><strong>Alt + Shift + Delete</strong>: Clear all buffers</li>
</ul>
<h2>Soundpack Volume and Behavior</h2>
<ul>
<li><strong>F5</strong>: Adjust general volume</li>
<li><strong>F6</strong>: Adjust ambiance volume</li>
<li><strong>F7</strong>: Adjust communication volume</li>
<li><strong>F8</strong>: Adjust music volume</li>
<li><strong>Ctrl + F5</strong>: Adjust clocks volume</li>
<li><strong>Ctrl + F6</strong>: Adjust combat music volume</li>
<li><strong>Ctrl + F7</strong>: Adjust IC social volume</li>
<li><strong>Ctrl + F8</strong>: Adjust OOC social volume</li>
<li><strong>Alt + F5</strong>: Adjust ground combat volume</li>
<li><strong>Alt + F6</strong>: Adjust harvesting volume</li>
<li><strong>Alt + F7</strong>: Adjust salvage volume</li>
<li><strong>Alt + F8</strong>: Adjust games volume</li>
<li><strong>Shift + F5</strong>: Adjust ship combat volume</li>
<li><strong>Shift + F6</strong>: Adjust ship volume</li>
<li><strong>Shift + F7</strong>: Adjust ship movement volume</li>
<li><strong>Shift + F8</strong>: Adjust vehicle volume</li>
<li><strong>F9</strong>: Toggle IC social sounds</li>
<li><strong>F10</strong>: Toggle OOC social sounds</li>
<li><strong>Alt + F9</strong>: Toggle panning of sounds</li>
<li><strong>Alt + F10</strong>: Toggle pitch shifting of sounds</li>
<li><strong>Alt + F11</strong>: Toggle ambiance sounds</li>
<li><strong>Ctrl + F9</strong>: Toggle planetary music</li>
<li><strong>Ctrl + F10</strong>: Toggle space combat music</li>
<li><strong>Ctrl + F11</strong>: Toggle weather sounds</li>
<li><strong>Alt + F12</strong>: Restart soundpack</li>
<li><strong>F2</strong>: Open server-side soundpack settings</li>
<li><strong>Ctrl + S</strong>: Save client-side soundpack settings</li>
</ul>

60
scripts/main.set Normal file
View File

@@ -0,0 +1,60 @@
;variables
#var settings {rawpass|miscgags|shipgags|vehiclegags|activitygags}
;Settings.
#File 6 {cosmic rage/settings.set} 1
#var num 1
#ForAll @settings {
#read 6 {%i} @num;
#math num {@num + 1}};
#close 6
#alias ActualSave {
#File 6 {cosmic rage/settings.set} 1;
#Var SettingsFileCounter 0;
#ForAll @settings {
#Math SettingsFileCounter {@SettingsFileCounter +1};
#Write 6 @{%i} @SettingsFileCounter};
#close 6;}
#alias {onDisconnect} {
#gvar disconnected 1;
ActualSave; #say {Settings saved!}}
#trigger {$sphook &{race}; &{action}:&{soundpath}:&{volume}:&{pitch}:&{pan}:&{id}} {
#if {@action = "loop"} {#playloop {@sppath/@soundpath.wav} @volume; #var @id %playhandle};
#if {@action = "playrec"} {#play {@sppath/@soundpath.wav} @volume; #var @id %playhandle};
#if {@action = "play"} {#play {@sppath/@soundpath.wav} @volume}; #if {@pan <> "na"} {#math pan {@pan * 50}; #pc %playhandle pan @pan}; #if {@pitch <> "na"} {#pc %playhandle frequency @pitch} {#pc %playhandle frequency 44100};
#if {@action = "stop"} {#if {%defined(@id) = 1} {#pc %var(@id) stop}};
#if {@action = "adjust"} {#if {%defined(@id) = 1} {#if {@volume <> "na"} {#pc %var(@id) volume @volume}; #if {@pan <> "na"} {#pc %var(@id) pan @pan}; #if {@pitch <> "na"} {#pc %var(@id) frequency @pitch}}}; #gagline all}
#Alias login {#gagon all; 1; %charInfo(name); #wait (0.1); #ungagon; %charInfo(password)}
#load misc.set
#load gagcreator.set
#gunkey numpad2
#gunkey numpad4
#gunkey numpad5
#gunkey numpad8
#gunkey numpad9
#gunkey numpad/
#gunkey numpad*
#key f11 {#pc 0 stop; #say {All currently playing sounds have been stopped.}}
#alias makeworse {#Configure PassThruChar {~>}; #Configure SwitchSession {~:}; #passthru {½}}
#alias makebetter {#Configure PassThruChar {~½}; #Configure SwitchSession {~½}; #passthru {%<;>{}#"'}}
#alias rawinput {#if {@rawpass = "enabled"} {#var rawpass "disabled"; makeworse; #say {Raw input mode is now disabled.}} {#var rawpass "enabled"; makebetter; #say {Raw input mode is now enabled.}}}
#key {alt-\} {rawinput}
#alias {smute} {
#if {@Speech = "Disabled"} {
#var Speech "Enabled";
#SetSpeech incoming off; #say {speech off.} voiceonly;} {
#var Speech "Disabled";
#SetSpeech incoming on;
#say {speech on.} VoiceOnly}}
#key {control-f1} {smute}
#alias devl {#if {%1 = ""} {#say {you didn't put any path of file to load.}} {#load {%1.set}; {#say {%1 loaded.}}}}
#alias devu {#if {%1 = ""} {#say {you didn't put any path of file to unload.}} {#unload {%1.set}; {#say {%1 unloaded.}}}}
#alias devo {#if {%1 = ""} {#say {you didn't put any path of file to open.}} {#edit {%1.set}; {#say {%1 opened in your prefered editor.}}}}
#alias devc {#if {%1 = ""} {#say {you didn't put any path of file for your editor. the example of the file should be like "notepad.exe".}} {#configure Editor {%1}; {#say {%1 set as your default editor.}}}}
#alias devr {#if {%1 = ""} {#say {you didn't put any path of file to reload.}} {#unload {%1.set}; #load %1.set; {#say {%1 successfully reloaded..}}}}
#if {@rawpass = "enabled"} {makebetter}
#if {@activitygags = "enabled"} {#load {gags/activitygags.set}}
#if {@vehiclegags = "enabled"} {#load {gags/vehiclegags.set}}
#if {@shipgags = "enabled"} {#load {gags/shipgags.set}}
#if {@miscgags = "enabled"} {#load {gags/gags.set}}
#trig {$buffer *} {#gagline all; #say %1 voiceonly}

71
scripts/misc.set Normal file
View File

@@ -0,0 +1,71 @@
;buffer keys
#key {Alt-shift-right} {~buffer~ add}
#key {alt-shift-left} {~buffer~ delete}
#key {alt-left} {~@buffer~ backward}
#key {alt-right} {~@buffer~ forward}
#key {alt-pageup} {~@buffer~ scrollup}
#key {alt-pagedown} {~@buffer~ scrolldown}
#key {alt-up} {~@buffer~ up}
#key {alt-down} {~@buffer~ down}
#key {alt-#} {~@buffer~ #}
#key {alt-home} {~@buffer~ top}
#key {alt-end} {~@buffer~ bottom}
#key {alt-delete} {~@buffer~ clear}
#Key ALT-SHIFT-DELETE {~@buffer~ clearall}
;soundpack volume and behavior
#key {f5} {generalvolume}
#key {f6} {ambiancevolume}
#key {f7} {commvolume}
#key {f8} {musicvolume}
#key {control-f5} {clocksvolume}
#key {control-f6} {combatmusicvolume}
#key {control-f7} {icsocialvolume}
#key {control-f8} {oocsocialvolume}
#key {alt-f5} {groundcombatvolume}
#key {alt-f6} {harvestingvolume}
#key {alt-f7} {salvagevolume}
#key {alt-f8} {gamesvolume}
#key {shift-f5} {shipcombatvolume}
#key {shift-f6} {shipvolume}
#key {shift-f7} {shipmovementvolume}
#key {shift-f8} {vehiclevolume}
#key {f9} {icsocialsounds}
#key {f10} {oocsocialsounds}
#key {alt-f9} {panningofsounds}
#key {alt-f10} {pitchshiftingsounds}
#key {alt-f11} {ambiancesounds}
#key {control-f9} {planetarymusic}
#key {control-f10} {spacecombatmusic}
#key {control-f11} {weathersounds}
#key {alt-f12} {~@sp-restart}
#key {f2} {serversidesoundpacksettings}
#key {control-s} {ActualSave;#say {Client-side Soundpack Settings have been saved successfully!} VoiceOnly}
#key {alt-n} {addnewgag}
;aliases
;Volumes
#alias ambiancevolume {~@sp-settings ambiance volume}
#alias clocksvolume {~@sp-settings clocks volume}
#alias Combatmusicvolume {~@sp-settings Combat music volume}
#alias generalvolume {~@sp-settings General volume}
#alias groundcombatvolume {~@sp-settings Ground Combat volume}
#alias harvestingvolume {~@sp-settings harvesting activity volume}
#alias icsocialvolume {~@sp-settings IC social volume}
#alias commvolume {~@sp-settings in and out of character communications volume}
#alias oocsocialvolume {~@sp-settings OOC social volume}
#alias musicvolume {~@sp-settings planetary music volume}
#alias salvagevolume {~@sp-settings Salvage activity volume}
#alias shipmovementvolume {~@sp-settings ship movement volume}
#alias shipvolume {~@sp-settings ship volume}
#alias shipcombatvolume {~@sp-settings starship combat volume}
#alias vehiclevolume {~@sp-settings vehicle volume}
#alias gamesvolume {~@sp-settings volume for games such as Pilot's Parody}
#alias ambiancesounds {~@sp-settings ambiance}
#alias icsocialsounds {~@sp-settings IC social sounds}
#alias oocsocialsounds {~@sp-settings OOC social sounds}
#alias panningofsounds {~@sp-settings panning of sounds}
#alias pitchshiftingsounds {~@sp-settings pitch-shifting sounds}
#alias planetarymusic {~@sp-settings planetary music}
#alias spacecombatmusic {~@sp-settings space combat music}
#alias weathersounds {~@sp-settings weather sounds}
#alias serversidesoundpacksettings {~@sp-settings}

BIN
scripts/settings.set Normal file

Binary file not shown.