View Single Post
Hedgehog95
Senior Member
Join Date: Jun 2010
Old 03-17-2021 , 10:12   Re: [CS] Zombie Panic 1.3.0
Reply With Quote #12

Quote:
Originally Posted by CNSR xiaodo View Post
Awesome plugins.I tried to use it on the xash server, and the console reported many such errors like No spawn function for info_player_team2. The player could not spawn normally, and could not spawn weapons on the map, and the player model would not be displayed.
Thanks for your report!

The original version of HL Zombie Panic uses info_player_team1 and info_player_team2 to spawn players, which are not registered in Counter-Strike, so I made an implementation that replacing these spawn points with info_player_start and info_player_deathmatch to make the mod compatible with original maps.
The current implementation uses FM_KeyValue hook to process unregistered entities KeyValueData and use it to spawn and process new entity which using info_target as base entity.

This problem is in api_custom_entities, for some reason, it doesn't support Xash servers, I'll try to figure it out when I have enough time, but for now, I don't even know what could be the reason, but I can assume that Xash handles KeyValueData in a different way.

Is ReGameDll compatible with Xash servers?
__________________


[CS] Zombie Panic - A port of HL Zombie Panic! for Counter-Strike

[CS] Halloween Mod - This is a completely new gamemode for Halloween Holidays.

[CS] Custom Entities API - API to register custom entities. It's provides some new and more comfortable architecture for complex projects.


Last edited by Hedgehog95; 03-17-2021 at 19:16.
Hedgehog95 is offline