Hi David,
Following your guidelines I managed to make the script work. Thank you for your help. It throws lots of things into the console, but I will look into that issue later.
I could export a custom mesh from Blender and implement it into the game, by changing an original entity's cms in the config file. (for testing purposes) However the collision mesh is still the original one, and I couldn't find out where or how should I change that. Could you help me with that, please?
Also, when I am loading the map (with my custom model), the game throws an assert from the ApplyMaterial function from the renderercommon.cpp. It wasn't doing it with the original assets, so I am sure the issue is caused by my model. The assert looks like this: ExpectedVD == (VDSignature & ExpectedVD)". I can ignore it and can play the game, but I assume I should've created a uvw map, or a material with a custom parameter in Blender? Or should I set something up in the config files?
Thank you,
//Kristof