Jump to content

Keybind commands


Drakous79

Recommended Posts

  • Replies 194
  • Created
  • Last Reply

Top Posters In This Topic

EW broke the ability to rotate the Hologlobe on PCs. These keybinds in DefaultInput, Engine.PlayerInput will set up the functions keys to point to the five interceptor bases:

 

.Bindings=(Name="F1", Command="GlobeLookAt 0.2220 0.2680", bignorealt=true, bPrimaryBinding=True)
.Bindings=(Name="F2", Command="GlobeLookAt 0.3370 0.5910", bignorealt=true, bPrimaryBinding=True)
.Bindings=(Name="F3", Command="GlobeLookAt 0.5610 0.2020", bignorealt=true, bPrimaryBinding=True)
.Bindings=(Name="F4", Command="GlobeLookAt 0.5620 0.4870", bignorealt=true, bPrimaryBinding=True)
.Bindings=(Name="F5", Command="GlobeLookAt 0.8380 0.4000", bignorealt=true, bPrimaryBinding=True)
Coordinates for specific countries can be derived from this function:
function CreateSatNodes()
{
    BuildSatNode(0, vect2d(0.2170, 0.2830));
    BuildSatNode(15, vect2d(0.220, 0.180));
    BuildSatNode(21, vect2d(0.2190, 0.3790));
    BuildSatNode(19, vect2d(0.3610, 0.5510));
    BuildSatNode(20, vect2d(0.3210, 0.6940));
    BuildSatNode(3, vect2d(0.4950, 0.2020));
    BuildSatNode(5, vect2d(0.5060, 0.240));
    BuildSatNode(4, vect2d(0.5280, 0.2150));
    BuildSatNode(1, vect2d(0.610, 0.1760));
    BuildSatNode(7, vect2d(0.7170, 0.3670));
    BuildSatNode(2, vect2d(0.7870, 0.310));
    BuildSatNode(6, vect2d(0.8850, 0.2970));
    BuildSatNode(8, vect2d(0.8730, 0.6150));
    BuildSatNode(18, vect2d(0.5810, 0.3510));
    BuildSatNode(25, vect2d(0.520, 0.4470));
    BuildSatNode(22, vect2d(0.5690, 0.6620));
    //return;    
}
Link to comment
Share on other sites

I bet if someone with a Twitter account were to mention this is broken to the devs (@agauntpanda), it would get fixed in the next patch. I say "someone" because it appears none of the regular contributors here have such an account.

 

Edit: Updated the "How to DIY" wiki article with the above, including a Funding Council table with the names and coordinates.

 

Edit2: Created "Enum Table of Countries - XCOM:EU 2012" article as well.

 

-Dubious-

Edited by dubiousintent
Link to comment
Share on other sites

As I was knee deep in camera control code, I decided to look at some of ToolBoks changes no one yet re-implemented. Namely, pitch key bindings.

 

There is a console command PitchCamera, which does nothing in vanilla game. Turns out, corresponding function is broken. bokauk fixed it for ToolBoks by changing the code to XComCamera(PlayerCamera).m_kCurrentView.AddPitch(fDegrees). I've converted this to latest PatchUPK pseudo-code and released as a part of Camera Tweaks. With this patch keys can be assigned to "PitchCamera 10" and "PitchCamera -10" commands:

.Bindings=(Name="LeftBracket", Command="PitchCamera 10")
.Bindings=(Name="RightBracket", Command="PitchCamera -10")
Kudos to bokauk and her work!
Link to comment
Share on other sites

So I finally figured out how to give psi to a soldier, but it has to be done in tactical mode. Either keybind or use the console givepsigift and when in tactical mode, select the unit you want to give psi to, press your keybind/console and at the end of the mission you'll receive psi.

Link to comment
Share on other sites

  • 2 weeks later...

I can't get GiveXP to work, it just doesn't do anything. All other commands I used, except for Levelupbarracks which crashes the game, work just fine. Can someone tell me how exactly to use this command? I have XCOM: Enemy Unknown

 

Thanks in advance

TuHnIx

 

DefaultInput.ini

 

 

  Reveal hidden contents

 

 

Strategy.txt

 

 

  Reveal hidden contents

 

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.

×
×
  • Create New...