Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //////////////////////////////////////////////////////////////////////////////////////////////////////////////
- // Master Scroll Controller //
- //////////////////////////////////////////////////////////////////////////////////////////////////////////////
- msc_multiplier = 8
- msc_delta = [
- cond $editing [
- if $.followplayer [ follownext $arg1 ] [
- cond [&& $enthavesel [||iskeyheld "1" "2" "3" "4" "5"]] [
- loop i 5 [ if (iskeyheld (+ $i 1)) [ entattrdelta $i $arg1 ] ]
- ] [iskeyheld "G"] [ // Change grid power
- gridpower (max 0 (min 12 (+ $arg1 $gridpower) (- $mapscale 1)))
- ] [iskeyheld "R"] [ // Selection rotate / blend brush rotate
- if $blendpaintmode [ rotateblendbrush $arg1 ] [ editrotate $arg1 ]
- ] [iskeyheld "Q"] [ // Push corner closest to the cursor
- editfacewsel $arg1 2
- ] [iskeyheld "F"] [ // Push selected face/corners
- editfacewsel $arg1 0
- ] [iskeyheld "Y"] [ // Change MRU textures
- edittex $arg1
- ] [iskeyheld "Z"] [ // Change floatspeed
- floatspeed (clampf (+ $floatspeed (* 50 $arg1)) 50 5000)
- ] [&& $hmapedit [iskeyheld "H"]] [ // Change heightmap brush
- selecthbrush $arg1
- ] $blendpaintmode [ // Change blendmap mode / blend brush
- if (iskeyheld "B") [
- arg1 = (+ $blendpaintmode $arg1)
- cond [< $arg1 1] [ blendpaintmode = 5 ] [> $arg1 5] [ blendpaintmode = 1 ] [ blendpaintmode $arg1 ]
- ] [ nextblendbrush $arg1 ]
- ] [ editfacewsel $arg1 1 ]
- ]
- ] $mainmenu [
- // NOTHING HERE YET
- ] [isspectator $getclientnum] [
- if $thirdperson [
- loop i 10 [ sleep (* $i 10) [
- thirdpersondistance (clampf (+f $thirdpersondistance (*f $arg1 0.25)) 10 50)
- ] ]
- ] [ nextfollow $arg1 ]
- ] [ nextweapon $arg1 ]
- ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement