Raised This Month: $32 Target: $400
 8% 

[API] Custom Entities


Post New Thread Reply   
 
Thread Tools Display Modes
Hedgehog Fog
Senior Member
Join Date: Jun 2010
Location: Ukraine
Old 08-21-2017 , 06:57   Re: [API] Custom Entities
Reply With Quote #11



Updated to 1.2.1
  • Added CE_Kill function to kill custom entity.
  • CE_CheckAssociation deprecated, use CE_GetHandlerByEntity and CE handler returned by CE_Register function instead.
  • Map entities now respawn after kill when fRespawnTime param higher than 0.
  • All entities now return to start origin in new round.
  • Added ignoreRounds param, if true - do not return entity on start origin at new round.
  • CEFunction_Kill renamed to CEFunction_Killed.
  • CEFunction now using as pre killed handler and allow to discard kill when PLUGIN_HANLED will be returned.
  • Updated ce_spawner entity.

__________________

❄️ 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-21-2017 at 07:02.
Hedgehog Fog is offline
Hedgehog Fog
Senior Member
Join Date: Jun 2010
Location: Ukraine
Old 11-03-2017 , 19:12   Re: [API] Custom Entities
Reply With Quote #12



Hotfix
  • Fixed temp entities logic.

(final version of api)
__________________

❄️ 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-03-2017 at 19:12.
Hedgehog Fog is offline
Old 11-04-2017, 07:15
thEsp
This message has been deleted by thEsp.
Celena Luna
Veteran Member
Join Date: Aug 2013
Location: Nagazora
Old 07-30-2021 , 00:35   Re: [API] Custom Entities
Reply With Quote #13

I saw this API when I saw your Zombie Panic Mod.
I really want to know how this is better than the current way that we create Entity because from what I see so far, nothing (much) different.
__________________
My plugin:

Last edited by Celena Luna; 07-30-2021 at 00:36.
Celena Luna is offline
Hedgehog Fog
Senior Member
Join Date: Jun 2010
Location: Ukraine
Old 07-30-2021 , 06:40   Re: [API] Custom Entities
Reply With Quote #14

Quote:
Originally Posted by Celena Luna View Post
I saw this API when I saw your Zombie Panic Mod.
I really want to know how this is better than the current way that we create Entity because from what I see so far, nothing (much) different.
This API has lifecycle hooks, presets and also allows you to add custom entities to the map using custom classnames. This greatly facilitates the process of adding new entities to your mod.
__________________

❄️ 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-30-2021 at 10:05.
Hedgehog Fog is offline
SaraAki
Junior Member
Join Date: Nov 2022
Old 11-17-2022 , 07:42   Re: [API] Custom Entities
Reply With Quote #15

Can we create with this,mod:
CT's job is to protect entity,TS job is to destroy that entity.
If Terrorist destroy entity TS win,if not CT win
SaraAki is offline
Hedgehog Fog
Senior Member
Join Date: Jun 2010
Location: Ukraine
Old 11-17-2022 , 10:00   Re: [API] Custom Entities
Reply With Quote #16

Quote:
Originally Posted by SaraAki View Post
Can we create with this,mod:
CT's job is to protect entity,TS job is to destroy that entity.
If Terrorist destroy entity TS win,if not CT win
Sure, you can find examples here:
https://github.com/Hedgefog/cs-hallo...ripts/entities
https://github.com/Hedgefog/cs-snow-...ripts/entities
__________________

❄️ 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
ObsidianPLG
New Member
Join Date: Mar 2022
Old 12-12-2023 , 22:39   Re: [API] Custom Entities
Reply With Quote #17

(deleted)

Last edited by ObsidianPLG; 12-12-2023 at 22:45. Reason: oh this is for goldsrc, not source, my mistake
ObsidianPLG is offline
SaraAki
Junior Member
Join Date: Nov 2022
Old 04-17-2024 , 06:16   Re: [API] Custom Entities
Reply With Quote #18

Quote:
Originally Posted by SaraAki View Post
Can we create with this,mod:
CT's job is to protect entity,TS job is to destroy that entity.
If Terrorist destroy entity TS win,if not CT win
can you help me with this?
SaraAki is offline
Reply



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 08:11.


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