• Content Count

  • Joined

  • Last visited

Tutorial Comments posted by Inico

  1. 23 hours ago, Aurarius said:

    I tried everything on a weapon but it comes out unchanged or invisible.

    It's difficult to help if you don't give information at all.
    As stated on some comments above yours, if a model is invisible, it doesn't have a second uv channel. If it has a second uv channel and it still looks invisible, you are corrupting the file somehow (and there are a thousand ways to break a model).

  2. On 7/11/2017 at 8:40 PM, wungasaurus said:

    This description of that block is way better than what's on wiki. Care to better describe it there? It would be appreciated.

    To be honest, I don't know how the wiki works, and the information is quite messy. I don't know where to start and don't want to break anything. Feel free to add it if you want, I don't need credit ^_^.

    On 11/11/2017 at 8:00 PM, Смердокрыл said:

    Any plans on a similar tut for Cata+ expansions?

    Just added it to the tutorial.

  3. 12 minutes ago, Zehlendorf said:

    before running the script I have up to the line that is seen in the image, is that correct?


    You can run the script wherever you want. The position you are on doesn't matter.
    Do this:
    Run the M2 template. If everything loads fine, run the script and reload the M2 template. If the script gives you an error, send me the model. If it loads fine, start doing the blend mode overrides stuff.

  4. 48 minutes ago, Zehlendorf said:

    and I add the 00 line like the tutorial, change the values in struct new_mapping,  execute the template and got this:


    It says there is an error in line 427 (something related with timestamps, not with the script of the blend mode override). I don't know what did you do, but your model has 4 more lines than mine, and there seems to be something broken in an animation (since the model doesn't have animations I guess it's related to the texture animation).

  5. 22 minutes ago, Zehlendorf said:

    yeah that's is my problem, when i try to run the script it says "*ERROR Line 6: Function 'ReadString' can only be executed when the script is being run on a file."

    That's because you are running the script on the script file itself and not on the model.
    -Open your model. Open the script.
    -Click on the model tab (as i did in the video).
    -Run the script.

    The log should say "Success! Second UV channel created!".

  6. 3 hours ago, Skarn said:

    That's so profound, dude! Really great work. Definitely gonna use the information from here. Worth a contributor ;).
    I have a question, though. Did you find anything that might control the "big waves effect", as I call it? Sometimes I like it and sometimes I don't as it might look weird for example on rivers or small ponds.

    Thanks for the rank!
    Those big waves are related to texture tiling. Basically the game tiles the reflection map. It copies the texture, flips it vertically and attaches it to the previous tile, creating a "wave effect" as seen here:


    It's harcoded into the shader, so it can't be changed. However, you can make a texture with uniform contrast and brightness, like THIS ONE. This makes the effect less noticeable. Sadly, you can't slow down the water movement (even filling all the columns with 0 won't change it's speed), and the texture movement is not only vertical, so you can't get rid of this effect completly.