UFO: Alien Invasion Issue Tracker
UFO: Alien Invasion
Go to the previous open issue
Go to the previous issue (open or closed)
star_faded.png
Please log in to bookmark issues
icon_project.png UFO: Alien Invasion / Open Bug report #2734 UFORadiant: saving light info and shortcuts
Go to the next issue (open or closed)
Go to the next open issue
mattn (@tlh2000) has been working on this issue since January 28, 2013 (20:47)
Issue basics
  • Type of issue
    Bug report
  • Category
    Map Editor (UFORadiant)
  • Targetted for
    Not determined
  • Status
    Open
  • Priority
    5. Important
User pain
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
Affected by this issue (1)
People involved
Times and dates
  • Posted at
  • Last updated
  • Estimated time
    Not estimated
Issue details
  • Resolution
    Not determined
  • Reproducability
    Not determined
  • Severity
    Not determined
  • Complexity
    Not determined
  • Platform
    Not determined
  • Architecture
    Not determined
Attachments (0)
There is nothing attached to this issue
Duplicate issues (0)
This issue does not have any duplicates
Description
[http://sourceforge.net/p/ufoai/bugs/2734 Item 2734] imported from sourceforge.net tracker on 2013-01-28 19:47:16

1. UFORadiant won't save light settings. I click the light checkbox, add a value, hit enter. But if I select something else then come back, the lighting has not been applied.

2. UFORadiant is again not saving my shortcuts. In particular, Copy Shader and Paste Shader. Any chance you can make this default: SHFT-CTR-C = Copy Shader, SHFT-CTR-V = Paste Shader?
===== Comments Ported from Sourceforge =====

====== tlh2000 (2010-12-12 18:58:17) ======

the value field should be fixed now - please try with several selections and settings

you can change the keybindings in the xml files - change them to whatever you like - you are the one whos using them more often than anyone else on the team, so you can give the direction here.
====== tlh2000 (2010-12-12 18:59:06) ======

oh.. radiant/input.xml is the file with the keybindings.
====== natewr (2010-12-13 09:56:59) ======

I can&#039;t seem to get the keybindings working. In input.xml, under <shortcuts name="default"> I&#039;ve added the following:

<shortcut command="CopyShader" key="C" modifiers="SHIFT+CONTROL" />
<shortcut command="PasteShader" key="V" modifiers="SHIFT+CONTROL" />

But when I restart Radiant it still shows nothing in the shortcuts list.
====== natewr (2010-12-13 10:15:47) ======

All the surface flags work well now with one minor exception. Lighting info can be added and removed fine, but if I un-check the light box, it doesn&#039;t appear to go away. If I select something else and come back to it I can see that it&#039;s un-checked, but it doesn&#039;t register visually right away.

Thanks for the fast fix on that!
====== tlh2000 (2011-01-11 07:55:26) ======

you have to modify them in the git checkout radiant dir, but also have to make sure that your user data is updated, too. uforadiant stores its settings besides the ufoconsole.log and so on. just in a radiant subdir.
====== tlh2000 (2011-01-11 07:57:49) ======

the missing shortcut save is maybe due to a crash on shutdown. i have to investigate
====== tlh2000 (2011-01-15 09:16:05) ======

the remaining shortcut issue should be fixed in 1fc9866ac2df8cca7722338f0cd8864f117314dd
====== natewr (2011-01-15 09:33:35) ======

Unfortunately it is still not working for me after recompiling radiant. After loading radiant, setting shortcut, shutting down radiant and restarting it, the shortcut is gone.
====== tlh2000 (2011-03-23 20:44:50) ======

harry - this might be a bug for you

the shortcut issue is about ufoai/src/tools/radiant/radiant/xmlregistry/XMLRegistry.cpp you will find the xml file in your %APPDATA% uforadiant directory (see http://ufoai.ninex.info/wiki/index.php/Manual/FAQ for the full path)

the light settings are in the entity inspector or somewhere below src/tools/radiant/radiant/entity
====== aduke1 (2012-10-07 01:30:17.872000) ======

- **assigned_to**: Harry Kunz --> Martin Gerhardy
- **milestone**: --> 2.4
Steps to reproduce this issue
Nothing entered.
Todos (0 / 0)
Issue created
footer_logo.png The Bug Genie 4.3.1 | Support | Feedback spinning_16.gif