csmod-v2
Curse Maven Snippet
What's new
CSMod v2.0 - The C4 & Complete Overhaul Update
Welcome to CSMod v2.0! This update brings full 3D C4 & Defuse Kit support, CS2-style HUD elements, a revamped economy system, complete csbots AI integration, and major inventory bug fixes.
๐ฃ 3D C4 Explosive & Defuse Kit Mechanics
3D GeckoLib Models: Brand new custom 3D models and high-quality textures for both the C4 Explosive and Defuse Kit (Forge 1.20.1 IClientItemExtensions compatibility).
CS2 Plant System: Fixed accidental right-click consumption. Planting is now safely bound to Crouch (Shift) inside designated Bomb Sites.
Defuse Kit Support: Purchasing a Defuse Kit cuts bomb defuse time in half (from 10 seconds down to 5 seconds).
Smart Bot AI Integration: Added the csmod_bomb: true NBT tag. Bots now recognize C4, carry it to bomb sites, plant/defuse dynamically, drop C4 upon death, and properly clear planted bombs at round ends.
๐ก๏ธ Inventory Fixes & Slot Locking
Slot 9 (Index 8) Lock: C4 is now strictly assigned to hotbar Slot 9.
Overwriting Bug Fixed: Buying primary weapons (e.g., AK-47) or picking up weapons no longer overwrites or deletes your C4.
healBombSlots Safeguard: Added an automatic background task running every 0.5s that detects misplaced C4s and snaps them safely back into Slot 9.
๐ฅ๏ธ CS2-Inspired HUD & Dynamic GUI
CS2 HUD Extras: Real-time HUD showing HP, Armor, live T/CT player counters, Round Timer, Team Scores, and Money (HudExtraPacket).
Server-Driven Buy Menu (B Key): Categorized shopping menu for Weapons, Knives, Grenades, and Equipment (S2COpenBuyMenuPacket).
Match & Map Settings Panel: Operators can control match status, freeze time, bot difficulty, daylight cycle, weather, and time locks (S2COpenStartMenuPacket).
โ๏ธ Game Flow, Economy & Bot AI
Match State Machine: Full round cycle: LOBBY โ FREEZE โ LIVE โ BOMB_PLANTED โ ROUND_END.
Halftime Side Swap: Automatic team swap at halftime with score and inventory balancing.
Round Rewards & Loss Streaks: Dynamic money distribution based on win/loss conditions and loss streak bonuses.
Bot Economy: Bots make smart financial decisions (Eco, Force Buy, or Full Buy) based on their team's average balance (botBuyTier).
Auto-Fill Team Denser: FILL mode dynamically balances player vs. bot team sizes.
๐ Networking, Compatibility & Localization
Weapon Inspection Infrastructure: F key now swallows vanilla hand-swap and sends server packets (InspectC4Packet / C4Network) for inspecting animations.
Ground Weapon Swap: Look at weapons on the ground and press G to swap with your current slot.
Mod Compatibility: Fully compatible with TACZ (Freeze time movement/weapon lock) and BhopAPI (Fun Mode bunnyhopping).
Localization: Added full English (en_us.json) and Turkish (tr_tr.json) language files.
This mod has no additional files

