ReactiveDrop / reactivedrop_public_src

Alien Swarm: Reactive Drop game source code and issue tracker.
https://reactivedrop.com
118 stars 34 forks source link

Projects - Scripting / Challenges #116

Open BenLubar opened 2 years ago

BenLubar commented 2 years ago
wawawawawawawa commented 2 years ago

For menu UI, the current game_menu/game_text issues (for me) are as follows : 1) can't be used in lobby screen (at least not with challenge, with map maybe if you create the entity in lobby? And even then, if all challenges do that, lobby might get screwed, sadly I doubt this can/should change) 2) game_text has a maximum number of characters 3) game_text can only have 1 color and no formatting (can't put just 1 word in red or bold for instance) 4) can't use images/textures to make a really shiny menu 5) maximum number of menu (since only 4 channels), meaning if all 8 players (or more if DM) try to use at same time, it won't work 6) not enough hook to use (currently only shoot and movement keys). Arrow keys (!= movement keys) should be hook-able, as well 123...90, just like old counter strike menu to buy weapons. Also attack is hooked, but not the aim. I saw lot of players trying to aim at the menu option instead of using movement keys, so hooking with aim (and not just shoot) would be nice. 7) since 1) is probably a bad idea, maybe using menu should automatically (or optionally) "pause" the game. In my challenge creator, I "save" weapons/ammo of each player, remove ai, put all marine speed to 0, put melee dmg to 0, prevent rolling and melee combo, etc. in order to "pause" the game. Having an optional parameter doing it automatically would be neat. 8) Same branch than 7), but having keys hook-able that won't interfere with binded keys would be sweet, that way even if left click is bound to shoot, within menu, aiming and left clicking on an option will only trigger the menu, and won't shoot