Hello players,
Finally, joystick and gamepad support have been implemented. This should enable players to use any input device with StarMade. I chose to implement it in a very abstract and detailed way to maximize compatibility and customization. You can access the menu in the option menu. Choose your joystick from the drop down (keep in mind that atm newly plugged in controllers require a restart to be noticed by the game, but it will be replaced with a refresh button soon).
You can assign any axis of your joystick or gamepad to any usable axis of StarMade, as well as individually define sensibility, as well as invert each axis. The bottom part of the menu is to test your input device: buttons should light up if you have the right device selected. There might still be some bugs: Some controllers cause an initial value for axis (if you seem to move in any way without pressing anything, please slightly touch all the axes on your controller to reset the one that is causing the problem). Also some button assignments might not yet work.
What is still to come is a dedicated save system for the joysticks, so you can make files for each of your input device as well as for StarMade to provide a list for joysticks/gamepads to have vanilla configurations.
The system has been tested with an xbox360 controller and a logitech extreme 3d pro joystick.
There were also some bugfixes done. Here is the full changelog:
- implemented abstract controller support
- implemented controller custom axis support
- implemented controller custom button support
- implemented abstract system to apply the same system as for keyboard to any controller
- implemented controller button duplication check
- implemented controller saving
- implemented controller loading
- implemented individual controller axis sensivity
- improved GUI a bit: no more moving when keys pressed in some menus; no more fireing weapons when deactivating menus (might still be some menus missing to be included)
- prevented OS from giving initial value for controllers (rotation when starting until controller touched)
- integrated controller into camera system
- implemented remote debug system to check on raw server positions
- removed sector physics mirroring from sectors to a planet and vice versa (physics glitches possible, but will take care of possible heavy lag and random warps, until better solution found)
- structure panel now available for any usable structure
- fixed some missiles not showing up
- fixed GUI texture compression (washed out GUI textures)
- fixed a accuracy problem in segment sorting (small alpha errors on transparent blocks can still occur)
- removed unaffected segments within missile blast radius from missile block update (missile performance)
- missile damage now sends segment update directly instead of issuing re-requests on client (faster update when missile hits & better synchronization)
- fixed possible bug in updating whole segments when missiles hit (collections (ship properties) not updating correctly)
Please be especially careful with this pre-build if you plan to use it on a server, and even in single player please make sure you backup your database before you use this build. Also please don't use this build to work on big projects, as i can't guarantee the data generated by the pre-build to be 100% error free, because a database migration has to be done from the old version.
You can download the build here: http://files.star-made.org/build/pre/starmade-build_20140302_073735.zip
nullpointer hotfix: http://files.star-made.org/build/pre/starmade-build_20140302_102800.zip
apparently the deplyment didn't include the library for the controller input. I'm sorry about that: http://files.star-made.org/build/pre/starmade-build_20140302_215217.zip
(to use that please extract that file into a folder named "StarMade" and put a launcher in the directory below: e.g. if you extract it to c:\users\schema\games\StarMade, the launcher has to be in c:\users\schema\games for it to see the installation)
(The username and password is "dev". The link will be working around 15 minutes after this news post)
This version will be installed on play.star-made.org:4242 to test.
Thanks for playing StarMade,
- schema
Finally, joystick and gamepad support have been implemented. This should enable players to use any input device with StarMade. I chose to implement it in a very abstract and detailed way to maximize compatibility and customization. You can access the menu in the option menu. Choose your joystick from the drop down (keep in mind that atm newly plugged in controllers require a restart to be noticed by the game, but it will be replaced with a refresh button soon).
You can assign any axis of your joystick or gamepad to any usable axis of StarMade, as well as individually define sensibility, as well as invert each axis. The bottom part of the menu is to test your input device: buttons should light up if you have the right device selected. There might still be some bugs: Some controllers cause an initial value for axis (if you seem to move in any way without pressing anything, please slightly touch all the axes on your controller to reset the one that is causing the problem). Also some button assignments might not yet work.
What is still to come is a dedicated save system for the joysticks, so you can make files for each of your input device as well as for StarMade to provide a list for joysticks/gamepads to have vanilla configurations.
The system has been tested with an xbox360 controller and a logitech extreme 3d pro joystick.
There were also some bugfixes done. Here is the full changelog:
- implemented abstract controller support
- implemented controller custom axis support
- implemented controller custom button support
- implemented abstract system to apply the same system as for keyboard to any controller
- implemented controller button duplication check
- implemented controller saving
- implemented controller loading
- implemented individual controller axis sensivity
- improved GUI a bit: no more moving when keys pressed in some menus; no more fireing weapons when deactivating menus (might still be some menus missing to be included)
- prevented OS from giving initial value for controllers (rotation when starting until controller touched)
- integrated controller into camera system
- implemented remote debug system to check on raw server positions
- removed sector physics mirroring from sectors to a planet and vice versa (physics glitches possible, but will take care of possible heavy lag and random warps, until better solution found)
- structure panel now available for any usable structure
- fixed some missiles not showing up
- fixed GUI texture compression (washed out GUI textures)
- fixed a accuracy problem in segment sorting (small alpha errors on transparent blocks can still occur)
- removed unaffected segments within missile blast radius from missile block update (missile performance)
- missile damage now sends segment update directly instead of issuing re-requests on client (faster update when missile hits & better synchronization)
- fixed possible bug in updating whole segments when missiles hit (collections (ship properties) not updating correctly)
Please be especially careful with this pre-build if you plan to use it on a server, and even in single player please make sure you backup your database before you use this build. Also please don't use this build to work on big projects, as i can't guarantee the data generated by the pre-build to be 100% error free, because a database migration has to be done from the old version.
You can download the build here: http://files.star-made.org/build/pre/starmade-build_20140302_073735.zip
nullpointer hotfix: http://files.star-made.org/build/pre/starmade-build_20140302_102800.zip
apparently the deplyment didn't include the library for the controller input. I'm sorry about that: http://files.star-made.org/build/pre/starmade-build_20140302_215217.zip
(to use that please extract that file into a folder named "StarMade" and put a launcher in the directory below: e.g. if you extract it to c:\users\schema\games\StarMade, the launcher has to be in c:\users\schema\games for it to see the installation)
(The username and password is "dev". The link will be working around 15 minutes after this news post)
This version will be installed on play.star-made.org:4242 to test.
Thanks for playing StarMade,
- schema