
Posts
541
Respect
93Add +1
Forum Rank
Zombie Enslaver
Primary Group
Donator ♥
Login Issues
Forgot password?Activate Issues
Account activation email not received? Wrong account activation email used?Other Problems?
Contact Support - Help Center Get help on the UGX Discord. Join it now!![]() | Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |
What is an alpha channel?
![]() | |
![]() | |
![]() | Has the ability to issue warnings to users, edit and remove posts from the forum and to move topics to other boards. Upholds the rules of the forum. Moderates Chat Rooms. |
What is an alpha channel?
Damn, I can't believe I forgot to do that step. Thanks a lot, Sajeone! +1 Respect
Does the texture move?
Yeap, it is working without a problem now!
If you want to have a custom scrolling texture, you need to use either the "Texture Scroll" checkbox or the sub layer scroll checkbox, depending on what type of material you are making:
(Image removed from quote.)
Texture Scroll will literally just scroll the texture sideways and has no configurable options.
(Image removed from quote.)
Sub Layer Scroll will do the same as Texture scroll but allows you to specify what direction and how fast you want the scrolling to occur (uScroll is up speed, vScroll is sideways speed. Set 0 on one of the two to just have the texture scroll horizontally or vertically, or set numbers for both to have a diagonal scroll. You can also select a "sub layer" texture file which will appear underneath the texture that is scrolling. The multiply texture needs to have an alpha channel in order for the base layer to be seen, and only the multiply texture will move when sub-layer scroll is enabled.
I do not know what happens when you enable both Texture Scroll and Sub-layer scrolling, would be fun to find out.
![]() | |
![]() | |
![]() | Has the ability to issue warnings to users, edit and remove posts from the forum and to move topics to other boards. Upholds the rules of the forum. Moderates Chat Rooms. |
wow im retardedbut I checked it and it doesnt work
I think im just gonna give up
Make sure you reconverted the material after changing the scroll settings and make sure you reconverted your whole map + mod to apply the changes.
Just try again. I had that black texture error, but I figured it out how to do it thanks to Sajeone. You can PM me if you encounter any more bugs/error. I will try my best to help.
1) Get an image that you like.
2) Open it in Photoshop/Gimp/Paint. I personally recommend using Photoshop and change the pic size to a power of 2 (Ex. 1024x1024, 512x512, etc.)
3) Save the image as a DDS/TGA in root/raw/images. Works either way. Just use TGA for your case and just leave the TGA settings as it is.
4) Open up Asset Manager and follow the settings that are on the image that I showed you. (You must remember what you named it)
5) Convert it by pressing F10 and it should say 'Conversion Done.'
6) Copy the converted file in root/raw/images and paste it in your root/mods/YOURMODNAME/images folder.
7) For the material to work on the gun, you go into root/raw/xmodel and find the viewmodel of your gun. Since you are using the Beretta, find viewmodel_beretta. Make a copy of that file and rename it something like viewmodel_beretta_new_tex. Open the file with Notepad++(Download it if you don't have it) and find 'mtl_weapon_beretta'. Replace that with what you named your material in Step 4.
8) Find your beretta file in root/mods/YOURMODNAME/weapons/sp, which supposedly should be named beretta. Make a copy of this as well and rename it beretta_new_tex(The reason for this is to keep the original beretta gun instead of replacing it). Open it up with Notepad++ and find 'viewmodel_beretta'. Replace that with what you named your viewmodel file in root/raw/xmodel. Save/close.
9) Assuming that you ported this gun over from COD 4, insert this line 'weapon,sp\beretta_new_tex' in your mod.csv(It is the box beside the IWD list in Mod Builder) Remember to include this weapon in _zombiemods_weapons and dlc3_code(Copy this from the raw/maps folder and paste it in YOURMODNAME/maps folder if you haven't already)
9) Check the image in the IWD List in Mod Builder. Compile and Build Mod.