[TF2] Real-Time Strategy Camera Controls
This is a proof-of-concept implementation for a Real-Time Strategy (RTS) camera control setup with support for screen-space to world-space point-and-click selection. It is written in pure SourcePawn and only requires SourceMod running on a Team Fortress 2 server.
Please note the cursor and other movement speeds and sensitivity settings have been hard-coded and should be edited and configured for your implementation. Users may also have specific preferences that depend on game settings and server latency. Custom bots used during testing and demonstration are not part of this release. Features
Demonstration Videos Commands Code:
sm_rts [min_x min_y min_z max_x max_y max_z] - Enter and exit RTS mode Code:
bind MWHEELUP sm_rts_zoom_in This project was developed and tested on jump_academy_classic_b inside the Market Gardening Arena (MGA) part of the map. Use the sm_rts command with the corresponding bounding box values as follows to start: Code:
sm_rts 6680 -3750 -1035 10200 -300 785
Download via GitHub Repository: |
Re: [TF2] Real-Time Strategy Camera Controls
yoooo this is cool
|
Re: [TF2] Real-Time Strategy Camera Controls
This is really interesting. Nice work.
|
Re: [TF2] Real-Time Strategy Camera Controls
Damn...
|
Re: [TF2] Real-Time Strategy Camera Controls
pretty cool. I had an idea like this many years back to do an RTS/MOBA with TF2.
|
Re: [TF2] Real-Time Strategy Camera Controls
Do you think this could be made to work with NPCs instead of Bots?
|
All times are GMT -4. The time now is 15:42. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.