Raised This Month: $81 Target: $400
 20% 

CS Modding Kit


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Hedgehog Fog
Senior Member
Join Date: Jun 2010
Location: Ukraine
Old 07-19-2023 , 12:20   CS Modding Kit
Reply With Quote #1


About
CS Modding Kit is a repo with powerful solutions for Counter-Strike modding that can be used to create complex mods for a short time with flexible solutions using a unified development approach. I continue working on this repository and plan many new solutions in the future as well as move my mods to this solution to create examples and a good code base.
Plans
For now, I have many mods with awesome implementations I want to move to separate APIs and publish them to the modding kit, as well as publish custom entities everyone can use in their mods.
I hope that someone may be interested in this project and he will also offer his own solution for this repository.
APIs
  • Custom Entities API - allows to register of new entities that can be added on a map or created from code, it also supports lifecycle.
  • Custom Weapons API - allows to implement new weapons with completely custom logic and HUD.
  • Rounds API - unified approach for controlling rounds using a life cycle pattern.
  • Player Camera API - simple API for third-person cameras with flexible configuration.
  • Player Model API - simple API for changing player models with custom model paths support.
  • Player View Range API - an interesting approach to limit player view range, which may be useful for some mods.

Projects (that use these APIs)
Media
Some videos of mods I made using these tools.






__________________

❄️ CS Snow Wars - Mod based on snowballs fights
🧟 CS Zombie Panic - A port of HL Zombie Panic!
🎃 CS Halloween Mod - Completely new gamemode for Halloween Holidays
📦 AMXXPack - CLI and build system for amxx projects
🔧 Custom Entities API - API to register custom entities

Last edited by Hedgehog Fog; 07-19-2023 at 13:33.
Hedgehog Fog is offline
bigdaddy424
Senior Member
Join Date: Oct 2021
Location: Jupiter
Old 07-19-2023 , 19:23   Re: CS Modding Kit
Reply With Quote #2

you forgot to mention that a couple apis use reapi which doesnt come by default on amxx

do you think this is an overkill?
https://github.com/Hedgefog/cs-moddi...ds.sma#L68-L96
have you though of other ways to do accomplish this or a workaround
__________________
bigdaddy424 is offline
1xAero
Member
Join Date: Feb 2018
Location: Sakha, Russia
Old 07-20-2023 , 05:43   Re: CS Modding Kit
Reply With Quote #3

Quote:
Originally Posted by bigdaddy424 View Post
you forgot to mention that a couple apis use reapi which doesnt come by default on amxx

do you think this is an overkill?
https://github.com/Hedgefog/cs-moddi...ds.sma#L68-L96
have you though of other ways to do accomplish this or a workaround
Just simple timer calc. Nothing serious is executing here, so it's safe.
1xAero is offline
Hedgehog Fog
Senior Member
Join Date: Jun 2010
Location: Ukraine
Old 07-20-2023 , 10:21   Re: CS Modding Kit
Reply With Quote #4

Quote:
Originally Posted by bigdaddy424 View Post
you forgot to mention that a couple apis use reapi which doesnt come by default on amxx
Yes, but sadly it's not possible to do with default modules and this is the only way to reset multidamage for weapons and end rounds.

Quote:
Originally Posted by bigdaddy424 View Post
do you think this is an overkill?
https://github.com/Hedgefog/cs-moddi...ds.sma#L68-L96
have you though of other ways to do accomplish this or a workaround
Yes, that's why I use m_tmNextPeriodicThink variable which is fires a little more than 1 time per second.
__________________

❄️ CS Snow Wars - Mod based on snowballs fights
🧟 CS Zombie Panic - A port of HL Zombie Panic!
🎃 CS Halloween Mod - Completely new gamemode for Halloween Holidays
📦 AMXXPack - CLI and build system for amxx projects
🔧 Custom Entities API - API to register custom entities
Hedgehog Fog is offline
Hedgehog Fog
Senior Member
Join Date: Jun 2010
Location: Ukraine
Old 07-24-2023 , 09:24   Re: CS Modding Kit
Reply With Quote #5

New update for the Player Model API I working on.
It allows loading player animations from multiple files, for example, it's useful for custom weapons.

__________________

❄️ CS Snow Wars - Mod based on snowballs fights
🧟 CS Zombie Panic - A port of HL Zombie Panic!
🎃 CS Halloween Mod - Completely new gamemode for Halloween Holidays
📦 AMXXPack - CLI and build system for amxx projects
🔧 Custom Entities API - API to register custom entities

Last edited by Hedgehog Fog; 07-24-2023 at 09:27.
Hedgehog Fog is offline
1xAero
Member
Join Date: Feb 2018
Location: Sakha, Russia
Old 07-24-2023 , 09:28   Re: CS Modding Kit
Reply With Quote #6

Quote:
Originally Posted by Hedgehog Fog View Post
New update for the Player Model API I working on.
It allows loading player animations from multiple files, for example, it's useful for custom weapons.

Good job!
1xAero is offline
Hedgehog Fog
Senior Member
Join Date: Jun 2010
Location: Ukraine
Old 08-01-2023 , 06:05   Re: CS Modding Kit
Reply With Quote #7

New path finding API based on default CS nav files, work in progress

__________________

❄️ CS Snow Wars - Mod based on snowballs fights
🧟 CS Zombie Panic - A port of HL Zombie Panic!
🎃 CS Halloween Mod - Completely new gamemode for Halloween Holidays
📦 AMXXPack - CLI and build system for amxx projects
🔧 Custom Entities API - API to register custom entities

Last edited by Hedgehog Fog; 08-01-2023 at 06:07.
Hedgehog Fog is offline
Hedgehog Fog
Senior Member
Join Date: Jun 2010
Location: Ukraine
Old 08-02-2023 , 18:30   Re: CS Modding Kit
Reply With Quote #8

I've implemented async path finding. I slowed down the pathfinding 1000 times for this video to demonstrate the async and queue processing feature.
Real pathfinding time is about 0.01 seconds for long path (it's about 1500 nav area iterations), which is kinda slow in case you use it for multiple NPCs.

__________________

❄️ CS Snow Wars - Mod based on snowballs fights
🧟 CS Zombie Panic - A port of HL Zombie Panic!
🎃 CS Halloween Mod - Completely new gamemode for Halloween Holidays
📦 AMXXPack - CLI and build system for amxx projects
🔧 Custom Entities API - API to register custom entities
Hedgehog Fog is offline
DruGzOG
Veteran Member
Join Date: Nov 2007
Location: Unknown
Old 08-02-2023 , 19:57   Re: CS Modding Kit
Reply With Quote #9

Quote:
Originally Posted by Hedgehog Fog View Post
I've implemented async path finding. I slowed down the pathfinding 1000 times for this video to demonstrate the async and queue processing feature.
Real pathfinding time is about 0.01 seconds for long path (it's about 1500 nav area iterations), which is kinda slow in case you use it for multiple NPCs.


Wow, really nice work
__________________
DruGzOG is offline
Send a message via AIM to DruGzOG
Hedgehog Fog
Senior Member
Join Date: Jun 2010
Location: Ukraine
Old 11-09-2023 , 09:10   Re: CS Modding Kit
Reply With Quote #10

I continue working on CS Modding Kit and there are a lot of new and awesome APIs you can use in your project!
These APIs are still a work in progress and some things can change before the release, however, you are already able to use WIP versions from the next branch.

APIs
  1. Custom Entities
  2. Custom Weapons
  3. Custom Events
  4. Player Model
  5. Player Cosmetics
  6. Player Inventory
  7. Player View Range
  8. Player Camera
  9. Player Dizziness
  10. Waypoint Markers
  11. Advanced Pushing
  12. Rounds
  13. Nav System

Custom entities
  • Custom Events Handler
  • Fire


https://github.com/Hedgefog/cs-modding-kit/tree/next
__________________

❄️ CS Snow Wars - Mod based on snowballs fights
🧟 CS Zombie Panic - A port of HL Zombie Panic!
🎃 CS Halloween Mod - Completely new gamemode for Halloween Holidays
📦 AMXXPack - CLI and build system for amxx projects
🔧 Custom Entities API - API to register custom entities

Last edited by Hedgehog Fog; 11-09-2023 at 09:10.
Hedgehog Fog is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 11:10.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode