thebigsleepjoe / TTT-Bots-2

Player bots for Garry's Mod TTT
Creative Commons Attribution Share Alike 4.0 International
10 stars 2 forks source link

[FEATURE] Module (menu) tab for adding custom/vanilla shop items for bots to use #40

Open SiMpLyD31iCiOuS opened 5 months ago

SiMpLyD31iCiOuS commented 5 months ago

What is the new feature? (required)

a separate tab for all existing shop items for players to enable or customize shop items to be used by bots (that are not implemented yet) by selecting what type of weapon and how they would use it. What should happen as a result of _____? Why? Be as specific as possible. when you open this menu, (can be bind to f1 and found in its own ttt/2 tab or by typing "!tttbotshopmenu") a list of all the shop items would appear with details if it has support or not. you can then click on a item that would then pop up an option to add support.

you can then choose how they would handle it (do they use it as a rifle (shoot people with it); do they use it as a melee weapon; do they use it as a health station,(throw it on the ground) a defib( find a body and revive/eat it,, etc.. Example: the silenced pistol can be purchased from the shop and can have bots use it like a regular pistol or they can purchase the cannibalism item which players can customize it so bots will use it like a defib ( find a dead body and click/hold mouse1)

these new weapons would be used the same way when a traitor has picked a target to kill, it will use the world weapons for random amount of time. after a set amount of time has passed, it will role a random chance to pull out the weapon (if it is selected to be used as a rifle/pistol/melee weapon) to then shoot/ beat down there target, then conceal it. If it results from an error or other (obviously) unintended, please submit a bug report.

Purpose/motivation (required)

What is the purpose of this request? Why should ____ behave this way? What is the reason for your suggestion? The purpose of this feature is to give bots more options to play against players without to much complication by just mimicking how they would use current implemented world/shop items. (example silenced m4a1 could mimic prototype UMP). This would also be used as a foundation for others to implement support for new custom roles that have there own set of weapons (ex: link role).

How would you add this feature? (optional)

Even if you're not a programmer, please draft an overview of how these changes can be made. It doesn't have to be overly technical -- in other words, just make it obvious what you want, and how you would go about adding this if it were your mod.

Note: This section is optional, as some feature requests are self-explanatory. Including this section can be helpful for certain requests to prevent misunderstandings. Feel free to completely remove this section and its header.

Additional context (optional)

You may add any other context or screenshots about the feature request here. Here are some examples of what you could include: your inspirations related to this, any shortcomings in the mod you've noticed, or even a shout-out to your mom. This section is optional.

Concept art of topic of intrest

thebigsleepjoe commented 5 months ago

A version of what you have shown is currently planned. I'll use this issue as the tracker for this feature request, since I didn't open an issue for it yet.

You can actually see the empty tab for this menu if you run ttt_bot_menu in the console :) it's just far from finished, so I didn't tell anyone about the command.

github-actions[bot] commented 3 months ago

Stale issue message