Added/rebound some keys

This was SVN commit r810.
This commit is contained in:
MarkT 2004-07-23 10:58:51 +00:00
parent befae8627d
commit fb9eceeda6
4 changed files with 23 additions and 7 deletions

View File

@ -30,7 +30,7 @@ vsync=false
; The keys you can use are in source/lib/KeyNames.cpp. I realise this isn't particularly
; useful for people without access to said file.
hotkey.exit = F12, Escape
hotkey.exit = Escape
hotkey.screenshot = PrtSc
hotkey.wireframe = W
hotkey.camera.reset = H
@ -45,12 +45,25 @@ hotkey.camera.pan.left = LeftArrow
hotkey.camera.pan.right = RightArrow
hotkey.camera.pan.forward = UpArrow
hotkey.camera.pan.backward = DownArrow
hotkey.camera.bookmark.modifier = BackQuote
hotkey.camera.bookmark.0 = F5
hotkey.camera.bookmark.1 = F6
hotkey.camera.bookmark.2 = F7
hotkey.camera.bookmark.3 = F8
hotkey.camera.bookmark.save = LeftCtrl, RightCtrl
hotkey.camera.bookmark.snap = LeftAlt, RightAlt
hotkey.console.toggle = F1
hotkey.console.toggle = BackQuote
hotkey.selection.add = LeftShift, RightShift
hotkey.selection.remove = LeftCtrl, RightCtrl
hotkey.selection.group.0 = 0
hotkey.selection.group.1 = 1
hotkey.selection.group.2 = 2
hotkey.selection.group.3 = 3
hotkey.selection.group.4 = 4
hotkey.selection.group.5 = 5
hotkey.selection.group.6 = 6
hotkey.selection.group.7 = 7
hotkey.selection.group.8 = 8
hotkey.selection.group.9 = 9
hotkey.selection.group.add = LeftShift, RightShift
hotkey.selection.group.save = LeftCtrl, RightCtrl
hotkey.selection.group.snap = LeftAlt, RightAlt
@ -61,6 +74,6 @@ hotkey.highlightall = O
hotkey.orbital.toggle = V
hotkey.orbital.cheat = "LeftCtrl+Backslash"
hotkey.dudemachine.random=ForwardSlash

View File

@ -5,6 +5,7 @@
<Actor>Deciduous 1</Actor>
<Speed>0</Speed>
<Size Radius="1.0"/>
<GraphicsOffset x="0.25" y="-1.0" />
<EventHandlers>
<Initialize>scripts/pasap/initdude</Initialize>
<Update>scripts/pasap/tick</Update>

View File

@ -4,6 +4,6 @@
<Name>Deciduous Tree 2</Name>
<Actor>Deciduous 2</Actor>
<Speed>0</Speed>
<BoundsOffset x="0.0" y="-6.25" />
<GraphicsOffset x="0.0" y="-15.25" />
<Size Radius="1.5"/>
</Entity>

View File

@ -7,10 +7,12 @@
<script file="gui/test/test.js"><![CDATA[
writeConsole("GUI file loading");
dudes = 0;
function MakeDude(x, y, z) {
DudeSpawnPoint = new Vector3D(x, y, z);
new Entity(getEntityTemplate("Prometheus Dude"), DudeSpawnPoint, 1.0);
writeConsole("Dude created at " + DudeSpawnPoint);
writeConsole("Dude created at " + DudeSpawnPoint + "; " + ++dudes + " Dudes created this way." );
}
function updateOrbital()
@ -74,7 +76,7 @@
</action>
</object>
<object type="button" name="Dude_Production_Button_random" sprite="sprite1" sprite-over="sprite1-over" sprite-pressed="sprite1-pressed" size="10% 80%+22 10%+128 80%+42" z="100" textcolor="0 0 0">
<object type="button" name="Dude_Production_Button_random" hotkey="dudemachine.random" sprite="sprite1" sprite-over="sprite1-over" sprite-pressed="sprite1-pressed" size="10% 80%+22 10%+128 80%+42" z="100" textcolor="0 0 0">
Make random dude