This plugin will convert those entity types to a selected type available in the running mod.
With this plugin you can not only rename those entities, they will be created using the related class objects (ie: func_breakable = CBreakable)
Signatures for linux and windows included in zip file.
If anyone need another kind of patching for maps, just tell me in this post and I'll check how can be included into this plugin
Here's a useful example:
On TFC, spawn point entities is called info_player_teamspawn but in CS should be named info_player_start
bsp_classrename ( 1 | 0 )
If setting value to "1", entities will have it's classname renamed to the real classname.
Also EV_SZ_message (pev_message) will contain the original classname.
There's a file to setup entity renaming. This file is called bsp_compat.ini and should be inside amxmodx/configs folder.
The format is one line for each replacement and defined as
GoldSrc Engine comes with a predefined "custom" classname for unknown entities. If gamedll defines it, it will be used as a replacement for unknown entities.
The provided config file comes with "custom" defined as "info_target" entity.
Attached Files Get Plugin or Get Source (bsp_compat.sma - 2.3 KB) bsp_compat.ini (22 Bytes) bsp_compat.zip (7.2 KB)
Wyświetl pełny artykuł