Files
Fake-CSM-Mapbase/README.md
2022-08-28 18:59:54 +03:00

1.0 KiB

Fake-CSM-Source-2013

Recreated env_cascade_light from CS GO based on env_projectedtexture and Real CSM GMod addon.

-It's not finished yet, but some basic functionality is already there.

Features

-Partial compatibility with CSGO.

How to make this work in your Source 2013 mod?

Copy client and server foldert to your "source code/game" folder, then find client_base/server_base.vpc files in these folders and add $Include "csm.vpc" to the top, open createallprojects.bat (or creategameprojects.bat) and add "-f" to the end of the line. After all this stuff you should launch your bat file.

if you can't compile the code then make sure you have lights.h in your project and it has this code:

class CEnvLight : public CLight
{
public:
	DECLARE_CLASS(CEnvLight, CLight);

	bool	KeyValue(const char* szKeyName, const char* szValue);
	void	Spawn(void);
};

Then copy materials folder to the your mod folder.

If you have some problem

then go to the Discord server and describe the problem.