Forum

> > CS2D > General > Experimental Controller Support
Forums overviewCS2D overviewGeneral overviewLog in to reply

English Experimental Controller Support

3 replies
To the start Previous 1 Next To the start

Poll Poll

Controller Support for CS2D?

Only registered users are allowed to vote
Finally! Will try it!
50.00% (2)
I probably won't use it
50.00% (2)
I don't care at all
0.00% (0)
4 votes cast

old Poll Experimental Controller Support

DC OP
Admin Off Offline

Quote
I now migrated CS2D to BlitzMax-NG. This allowed me to add controller support and also to fix some other issues. e.g. there's now HTTPS support and HTTP(S) downloads are non-blocking (meaning they should cause less lag).

Controller support is currently minimalistic and not configurable and a lot of things need to be improved (e.g. construction). Most important gameplay actions should work though. I added (ugly) radial menus which are enabled automatically when a controller is detected (currently for team selection, buy menu and weapon selection only).

Changes
Quote
FIXED
Lua tween_rotateconstantly did not work at all (broken since 1.0.1.5)
FIXED
Lua imageparam "alpha" returned the rotation instead of the alpha value
FIXED
Bot Lua: Fixed logic for finding random adjacent tiles (thanks to Hajt)
FIXED
Bot Lua: Fixed flaw in "rifles only" mode and refined logic (thanks to Hajt)
FIXED
Bot Lua: Fixed "regroup"/"fallback" radio message handling (thanks to Hajt)
FIXED
Command "setammo": Allow to set "ammoin" of "Satchel Charge" to 0
FIXED
Steam avatars are visible again (use native steam lib instead of download)
CHANGED
Web requests now don't block the main thread
CHANGED
Voice chat init is async in background and doesn't cause lag at startup
ADDED
Basic controller support (first iteration, not configurable yet)
ADDED
HTTPS support for internal web requests (with HTTP fallback)


Controller Mapping
- Left Stick: Move
- Left Stick Press (L3): Walk
- Right Stick: Aim / Radial Menu
- Right Stick Press (R3): Weapon radial menu
- Right Trigger (RT): Primary Fire / Confirm / Respawn
- Left Trigger (LT): Secondary Fire (Zoom, scope, silencer etc)
- A Button: Use / Confirm / Respawn
- B Button: Reload / Cancel (menus)
- X Button: Drop weapon
- Y Button: Buy menu
- Left/Right Shoulder (LB/RB): Previous/Next weapon
- D-Pad: Weapon selection
- Back/Select: Scoreboard
- Start: Menu

Download
http://stuff.unrealsoftware.de/cs2d_controller.zip
• put CS2DController.exe file into your CS2D folder
• put sys/gamecontrollerdb.txt into the sys folder of your CS2D folder
> Run CS2DController.exe

This client should be compatible with the current live version.
Give it a try and let me know what you think.

old Re: Experimental Controller Support

StirlizZ-Fapicon
Super User Off Offline

Quote
HELL FUCKING YEAH

GONNA TEST IT RIGHT NOW

upd:
Poco F5 Pro, 12gb, 8+gen1, adreno 730

GameNative 1.0.0
Res: 1280x720
Wine: Proton 9.0 arm64ec
Video driver: Turnip 25.3.0 R3
DXVK: 1.10.3 async

fps around 40, didnt tested online because I was only player playing, but practiced solo on some shotgun server

It feels just right, fit in. Like it always been here.

I was saying that since 2014, hehe and now we here

Screenshots in a discord in #cs2d
edited 1×, last 01.07.26 07:20:55 am

old Re: Experimental Controller Support

DC OP
Admin Off Offline

Quote
Thank you for testing and the feedback!

I updated the zip file:
• crosshair distance when aiming with regular firearms is now static/fixed
• reduced crosshair distance with wrench so you can directly target adjacent tiles when building
• long press Y now opens a new menu with extra options like flashlight, spraylogo and (team) radio
• radial menu tweaks: multi line texts, weapon images, no ugly window around it
• when a radial menu is open, you can now still move with the left stick
• radial menu for constructing buildings (destroy options are currently missing) and selecting stuff in supply building

same download, make sure to load it again and not from cache
http://stuff.unrealsoftware.de/cs2d_controller.zip
To the start Previous 1 Next To the start
Log in to replyGeneral overviewCS2D overviewForums overview