[Question] Texturing a weapon
RoyalRampage
Sydney Join Date: 2014-02-22 Member: 194250Members, Reinforced - Supporter
in Modding
I've been trying to re-texture the rifle for personal use, and I cannot seem to get it to load within the game. I use GIMP2 to alter the various types of rifle.dds files.
I've used other peoples mods as a reference for publishing.
As in; one of the mods put the rifle.material, rifle.illum.dds, rifle_view.dds, rifle_view_illum.dds all into the /output/models/marine/rifle
I dd exactly this, replacing the normal .dds with my own version of the .dds files. Then when I publish, launch, activate, then jump into sandbox mode I have the default rifle.
Am I doing something wrong?
I've used other peoples mods as a reference for publishing.
As in; one of the mods put the rifle.material, rifle.illum.dds, rifle_view.dds, rifle_view_illum.dds all into the /output/models/marine/rifle
I dd exactly this, replacing the normal .dds with my own version of the .dds files. Then when I publish, launch, activate, then jump into sandbox mode I have the default rifle.
Am I doing something wrong?
Comments
rifle_view.dds is for the view model you see in your hands, rifle.dds is for the rifle that is held by other players.
I am guessing you have replaced rifle.dds, thus you can't see the gun because it is other players guns you have changed. Add a marine bot and you will probably see their gun is correct.
Please note, I haven't been modding NS2 for the last 4 months, so I may have that a bit wrong, but you should look at that kind of error.
Did you launch the game via launchpad?
Nobody knows how to do that, you're being mean!!!!
Click Play Game
Click on 3rd Tab (Forget what it is called)
Then pick a map and go...
It's that easy
....
...shutup
Nah, just normally through Steam.
Yeah, I was doing it Sandbox. And I know how to do local server, just haven't tried it that way :P
Open your Mod in Launchpad -> Click at Launch Game (make sure your mod files are in the output folder) -> Start up a local server.
Sandbox mode is btw also ok for non gamecode testing
But better use a local server as you have full controll over everything there, btw "sandbox mode" with cheats:
cheats 1 -> alltech -> autobuild -> pres -> tres
A full list of all command can be found here: http://wiki.unknownworlds.com/ns2/Console_Commands
Have Fun
Serious now...
* Rifle texture edits for the viewmodel only require a modded "rifle_view.dds" which should be placed in "YourRifleMod\output\models\marine\rifle".
* The RECENT 'rifle_view.dds' is made of both the normal rifle (top) and the kodiak rifle (bottom). You should only edit the top one as the kodiak riffle is different.
* Save dds in DXT5RGBA, sometimes DXT3. Not all dds formats work ingame!
* UWE servers will 100% allow _view mods. Many others servers do not. (although specifically the _view model shouldn't be a issue as abuse is near non-existent).
* upon loading game with the mod loaded, your console should either show the mod mounts OR is disabled due to consistency. The disabled is to be expected on many public or nsl servers.
* Note that, last I checked, there still is a texture bug where part of the kodiak texture is visible on the normal rifle. Depending on your custom texture you may or may not notice this more easy.
Thanks for the info.
It works. Thanks.