Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
SiMpLyD31iCiOuS opened this issue Feb 15, 2024 · 2 comments
Assignees
Labels
approved Approved feature request feature New feature or request low-priority An issue or valid feature, but low priority

Comments

@SiMpLyD31iCiOuS
Copy link

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

@SiMpLyD31iCiOuS SiMpLyD31iCiOuS added medium-priority A medium priority issue/PR feature New feature or request labels Feb 15, 2024
@thebigsleepjoe
Copy link
Owner

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.

@thebigsleepjoe thebigsleepjoe added low-priority An issue or valid feature, but low priority approved Approved feature request and removed medium-priority A medium priority issue/PR labels Feb 16, 2024
Copy link

Stale issue message

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Approved feature request feature New feature or request low-priority An issue or valid feature, but low priority
Projects
None yet
Development

No branches or pull requests

2 participants