-
-
Notifications
You must be signed in to change notification settings - Fork 64
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
Terrorist and Soldier AI Update #430
Conversation
Important Auto Review SkippedDraft detected. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
.withPrimaryEquipmentDropChance(0.4f) | ||
.withSpawn(10, 0, 15, BiomeDictionary.Type.PLAINS, BiomeDictionary.Type.HILLS) | ||
.withMaxAmmo(1000) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
AI should not have max ammunition
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
AI already has max ammunition, by default is it 36000
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
AI already has max ammunition, by default is it 36000
Which is vitrually infinite since they shoot about once every second.
Anyway irrelevant, I did not make this, but they should have infinite ammunition, they shouldn't check against a max ammount, they should just shoot if they desire so.
@@ -39,49 +42,55 @@ public static void init(CommonProxy commonProxy) { | |||
.withTexturedModelVariant("com.paneedah.mwc.models.BanditNew5", "banditnew5.png") | |||
.withHurtSound("hurt") | |||
.withAmbientSound("drawweapon") | |||
// .withStepSound("step") | |||
.withStepSound("step") | |||
.withLookHeightMulitplier(3) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What???
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See #428
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See #428
Still what?
.withPrimaryEquipmentDropChance(0.4f) | ||
.withMaxAmmo(1500) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
AI should not have max ammunition
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
AI already has max ammunition, by default is it 36000
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
AI already has max ammunition, by default is it 36000
Which is vitrually infinite since they shoot about once every second.
Anyway irrelevant, I did not make this, but they should have infinite ammunition, they shouldn't check against a max ammount, they should just shoot if they desire so.
@@ -90,39 +99,39 @@ public static void init(CommonProxy commonProxy) { | |||
.withTexturedModelVariant("com.paneedah.mwc.models.SoldierSniper", "soldiersniper.png") | |||
.withHurtSound("hurt") | |||
.withAmbientSound("drawweapon") | |||
// .withStepSound("step") | |||
.withStepSound("step") | |||
.withLookHeightMulitplier(3) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What???
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See #428
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See #428
Still what?
The changes needed are just a few important things I noted. But in general, please note that any changes, especially things like this, should be accompanied by reasoning, just changing things without explaining why isn't great for me to be able to merge it. Also as indicated on the Trello (for once Trello is up to date lol) a complete rework of the NPC's is coming soon-ish, (although you already know that from the issue lol). My advice here is probably to wait until the rework is done, then test things and play a bit with the rework, then come back to this. |
Cool, Thank you |
📝 Description
Improves the Terrorist and Soldier AI, making them more fun to fight
🎯 Goals
❌ Non Goals
🚦 Testing
I have not tested this yet
⏮️ Backwards Compatibility
1.12.2
📚 Related Issues & Documents
#428
🖼️ Screenshots/Recordings
n/a (yet)
📖 Added to documentation?