Engine commands?


(quickMicrowave) #1

A couple questions about some of the Unreal engine options we have at our disposal–

  1. In Enemy Territory you could use “echo Hello World!” in the console and it would print this at the top of your screen, so in essence you could create a bind for choosing a Medic class, echo on your screen “Medic!!!” and even a “say_team “going Med!”” to notify your team as well.

For instance, something like this would be in your config:

bind 1 “mp_playertype 1; echo ^0[ ^1MEDIC ^0 ];say_teamnl “Medic incoming””

Although the commands in Unreal 3 engine are completely different, is there an echo/print command which does this similarly to the RTCW/ET side of things.

Anything at all command wise that can be used to display text on your own screen?

  1. Also in ET (I know I know!) - you could setup custom variables.

set toggleFOV90 “cg_fov 90”
and
set toggleFOV100 “cg_fov 100”

Then say, setup a bind as:
bind Y “vstr toggleFOV90”
bind U “vstr toggleFOV100”

Then pressing Y or U would execute the custom variable strings.

Anything like this possible in this engine as well?

Any information (even the most basic) is helpful.

Thanks!


(crooKk) #2

[left]Taken from - http://www.reddit.com/r/Dirtybomb/comments/33mprb/advanced_binding_in_dirty_bomb/

Been messing around with some advanced binding in Dirty Bomb using the tips on https://udn.epicgames.com/Three/KeyBinds.html#Key%20bind%20aliasing

I have been able to recreate some of the popular binds and toggles from Enemy Territory, such as teamsays for"need medic", “need ammo”, and an fov toggle.

You will need to open the file in this link (C:\Users\YOURNAME\Documents\My Games\UnrealEngine3\ShooterGame\Config\shooterinput.ini) and paste these binds at the end of the following section [ShooterGame.SGPlayerInputPawn] (don’t forget to make the file read only when finished).

Unfortunately, I don’t think it’s possible to bind the vsays (at least i have not figured it out yet). To map these binds to your preferred key just change them out. For a full list of map-able keys and other unreal bind tips check out the following link; https://udn.epicgames.com/Three/KeyBinds.html#Key%20bind%20aliasing

Team Says:

Bindings=(Name"NumPadNine",Command=“Teamsay Need Medic!!”,Control=False,Shift=False,Alt=False,bIgnoreCtrl=False,bIgnoreShift=False,bIgnoreAlt=False)

Bindings=(Name=“NumPadEight”,Command=“Teamsay Need Ammo!!”,Control=False,Shift=False,Alt=False,bIgnoreCtrl=False,bIgnoreShift=False,bIgnoreAlt=False)

Fov Toggle: Bindings=(Name=“PipeC”,Command=“FOV 105 | setbind MouseScrollUp PipeD”) Bindings=(Name=“PipeD”,Command=“FOV 90 | setbind MouseScrollUp PipeC”) Bindings=(Name=“MouseScrollUp”,Command=“PipeC”)

You can also assign this to mouse wheel up and down. I have a seperate bind for mwheeldown that’s why I made the toggle. I tested it but it really doesn’t have as many uses in DB as it did in rtcw or ET due to the smaller maps.[/left]