 |
 |
 |
|
 |
 |
 |
|
 |
 |
|
1 2 | Next 10 events »| All Messages |
|
|
08:45:03 20 March 2012 |
|
r_populik
Senior Resident
On forum: 11/06/2011
Messages: 213
|
---QUOTATION--- Quick question...
Could someone tell me how to change the textures for unique weapons? I'd like to have all the unique weapons have different textures. ---END QUOTATION---
It's quite simple but you will have quite a lot work to do too, for exmaple to change texture for fast firing AK-74 from Strelok stash you need:
1. Find new texture (wpn_ak74.dds), rename it but not don't change number of letters (ex. wpn_ak73.dds) and put renamed texture in gamedata\textures\wpn
2. Go to gamedata\meshes\weapons\ak74 and copy wpn_ak74_hud.ogf and wpn_ak74.ogf, then rename copied file to wpn_ak73_hud.ogf and wpn_ak73.ogf. Open those files in notepad++ and find wpn\wpn_ak74, then change it to wpn\wpn_ak73 in each file and save changes.
4. Go to gamedata\config\misc\unique_items.ltx and find wpn_ak74_m1. At the end of this section add this:
visual = weapons\ak74\wpn_ak73.ogf
hud = wpn_ak73_hud
[wpn_ak73_hud]:wpn_ak74_hud
visual = weapons\ak74\wpn_ak73_hud.ogf
It should work, but I don't have time to test it so do it yourself if you want. |
08:07:46 22 March 2012 |
|
_xXxTWiST3DxXx_
(Senior) On forum: 05/26/2009
Messages: 126
|
---QUOTATION--- Quick question...
Could someone tell me how to change the textures for unique weapons? I'd like to have all the unique weapons have different textures.
It's quite simple but you will have quite a lot work to do too, for exmaple to change texture for fast firing AK-74 from Strelok stash you need:
1. Find new texture (wpn_ak74.dds), rename it but not don't change number of letters (ex. wpn_ak73.dds) and put renamed texture in gamedata\textures\wpn
2. Go to gamedata\meshes\weapons\ak74 and copy wpn_ak74_hud.ogf and wpn_ak74.ogf, then rename copied file to wpn_ak73_hud.ogf and wpn_ak73.ogf. Open those files in notepad++ and find wpn\wpn_ak74, then change it to wpn\wpn_ak73 in each file and save changes.
4. Go to gamedata\config\misc\unique_items.ltx and find wpn_ak74_m1. At the end of this section add this:
visual = weapons\ak74\wpn_ak73.ogf
hud = wpn_ak73_hud
[wpn_ak73_hud]:wpn_ak74_hud
visual = weapons\ak74\wpn_ak73_hud.ogf
It should work, but I don't have time to test it so do it yourself if you want. ---END QUOTATION---
Okay I've been fiddling with this for awhile now, and I did exactly like you said, and it works for the hud texture, but the world texture of the gun is set to the global texture >.> I got it to work for the fort-15, but it's the exact same so idk why it works and on other guns it doesn't.
Check out my up and coming mod New Ordnance here:
http://www.moddb.com/mods/new-ordnance
Or play with the conceptualized version that's already included in MISERY 2.0 here:
http://www.moddb.com/mods/stalker-misery
|
11:12:36 22 March 2012 |
|
_xXxTWiST3DxXx_
(Senior) On forum: 05/26/2009
Messages: 126
|
---QUOTATION--- Items ingame keep a reference pointer to their model when it was created, so if you change the model reference in the config after you have the weapon obtained ingame, it will still be pointing to the original model, not the new one. ---END QUOTATION---
Okay yeah, I figured it out, I gotta make a new game to see the change.
Check out my up and coming mod New Ordnance here:
http://www.moddb.com/mods/new-ordnance
Or play with the conceptualized version that's already included in MISERY 2.0 here:
http://www.moddb.com/mods/stalker-misery
|
15:09:11 22 March 2012 |
|
Theophantus
(Novice) On forum: 07/14/2008
Messages: 24
|
Can you confirm that you can open a .ogf file in Notepad++, because i haven't been able to open one?
All i get is loads of Gobbledygook!
I didn't think you could open a mesh file with notepad++?
Theo |
18:03:24 22 March 2012 |
|
r_populik
Senior Resident
On forum: 11/06/2011
 Message edited by: r_populik 03/22/2012 19:00:37
Messages: 213
|
---QUOTATION--- Can you confirm that you can open a .ogf file in Notepad++, because i haven't been able to open one?
All i get is loads of Gobbledygook!
I didn't think you could open a mesh file with notepad++?
Theo ---END QUOTATION---
Yes, we can open mesh in Notepad++ and we can see between hundreds of "ţâuKÔqç'ţÁuěÓzçFţźuŤÓçdţ~u-" some interested things that we can change. |
22:00:23 22 March 2012 |
|
_xXxTWiST3DxXx_
(Senior) On forum: 05/26/2009
Messages: 126
|
---QUOTATION--- Can you confirm that you can open a .ogf file in Notepad++, because i haven't been able to open one?
All i get is loads of Gobbledygook!
I didn't think you could open a mesh file with notepad++?
Theo ---END QUOTATION---
Yep, they're right, when you open it, just search wpn\wpn and it will show you what texture it's using. It'll be like wpn\wpn_[texture name] Also, it will show you the addon textures (wpn\wpn_upgrade).
Check out my up and coming mod New Ordnance here:
http://www.moddb.com/mods/new-ordnance
Or play with the conceptualized version that's already included in MISERY 2.0 here:
http://www.moddb.com/mods/stalker-misery
|
|
1 2 | Next 10 events »| All Messages |
|
|
|
» » |
|
All short dates are in Month-Day-Year format. |
 |
|
 |
|
|
|
 |
 |
 |