2022-08-29 15:32:08 +03:00
yes
2022-08-29 15:32:08 +03:00
2022-08-28 18:56:20 +03:00
2022-08-28 18:56:20 +03:00
2022-08-28 19:06:23 +03:00
yes
2022-08-29 15:32:08 +03:00

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. There are also some issues with lighting orientation, so if you get very strange lighting position behavior then try manually rotating it to the same position as light_environment.

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.

Description
recreated env_cascade_light from CS GO based on env_projectedtexture
Readme 775 KiB
Languages
C++ 100%