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

deprale picture deprale  路  29Comments

dapaster picture dapaster  路  23Comments

KastenTop picture KastenTop  路  28Comments

JacksonDon picture JacksonDon  路  22Comments

Im-Beast picture Im-Beast  路  33Comments