Osiris: MaterialSystem - Missing functions

Created on 18 Jul 2019  路  1Comment  路  Source: danielkrupinski/Osiris

Hi there,

I am trying to recreate the 'Night mode' so it doesn't darken your viewmodel. But I am looking for firstMaterial and other methods from MaterialSystem but it only has findMaterial?

Basically every source (that is using night mode) is creating the night mode by using FirstMaterial/NextMaterial/InvalidMaterial/. I am not really sure how to achieve this, since I do not have those functions.

For example, I wanted to create the night mode correctly by using this post: https://www.unknowncheats.me/forum/counterstrike-global-offensive/215804-night-mode.html

But they're using functions that don't exist, to get all the materials for example.

Hope someone can help me with this.

>All comments

Get the src with working nightmode c+p
Fix some errors then MaterialSystem might be missing
Right click on it on the working src goto definition
The rest is up to you.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

chovss picture chovss  路  4Comments

nosexynomoney picture nosexynomoney  路  3Comments

ogosirisfan picture ogosirisfan  路  4Comments

Vadenez picture Vadenez  路  3Comments

Flaam picture Flaam  路  4Comments