FileFront Gaming Forums

Unique weapon mod

This is a discussion on Unique weapon mod within the S.T.A.L.K.E.R. SoC Modding, Mapping and Editing forums, part of the S.T.A.L.K.E.R. Shadow of Chernobyl category; hi all, im trying to make a "unique" weapon, by "unique", i mean a weapon that can use the same ...

Go Back   FileFront Gaming Forums > The Games > S.T.A.L.K.E.R. > S.T.A.L.K.E.R. Shadow of Chernobyl > S.T.A.L.K.E.R. SoC Modding, Mapping and Editing


S.T.A.L.K.E.R. SoC Modding, Mapping and Editing Want more info about a Mod? Making a Mod? Looking for Modders, Mappers, Skinners, etc.? This is your Spot!

Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old May 10th, 2007
rspeed's Avatar
I want to be like the Admins
 
Join Date: May 10th, 2007
Posts: 211
Rep Power: 0
rspeed is a n00b
Default Unique weapon mod

hi all, im trying to make a "unique" weapon, by "unique", i mean a weapon that can use the same meshes file(i.e. ogf file) and have a different textures(different dds), so i can add my own texture without changing the default weapon.

so far, i got everythihg working, i added an unique weapon without editing unique_items, i added an entire new file, i gave it a new name, i added the ltx file to weapons.ltx, i edited the prefetch and global prefecth files, but the game dont read my DDS file.

ok, let me describe what i did so far and how i got it working, lets says, i want an unique mp5, with a different name, spawn and texture, but using the original mp5 ogf as base.

so that is what i did:

1. i made a new file w_mp5g.ltx and i had to edit some sections. i.e.
[wpn_mp5] to [wpn_mp5g]
[wpn_mp5_hud] to [wpn_mp5g_hud]

so everything that had mp5, i changed to mp5g...
$spawn = "weapons\mp5g"
visual = weapons\mp5g\wpn_mp5g.ogf
[wpn_mp5g_hud]
visual = weapons\mp5g\wpn_mp5g_hud.ogf
etc...

2. i made a new folder for the meshes, which is the same of the mp5, i just renamed anything that had "mp5" to "mp5g", so there is nothing linked to mp5.

3. then i looked for every file that had mp5 and added a new line with the same info, but as mp5g, these files are: external.ltx prefetch.ltx and prefetch_globals.ltx

4. edited trader files, so i could buy my weapon and test it.

5. made my dds file, using the exactly name of my gun, which is MP5G, so i have the default MP5(wpn_mp5.dds, wpn_mp5_bump.dds and wpn_mp5_bump#.dds) and MP5G(wpn_mp5g.dds, wpn_mp5g_bump.dds and wpn_mp5g_bump#.dds),


and i got it working, i can buy it from trader, it have all the features i set, but it still have the same mp5 texture, the game just dont read my wpn_mp5g.dds, it keep reading wpn_mp5.dds, its weird, because, changed the spawn and there is nothing telling my new gun is mp5, i thought the game would just follow it and read my wpn_mp5g.dds

Am i doing something wrong? is it possible? i thought it would be really simple and just a matter of keeping the weapon name and the game would read it.

Reply With Quote
  #2  
Old May 10th, 2007
I don't spend enough time here
 
Join Date: March 14th, 2007
Posts: 23
Rep Power: 0
Paladin_Hammer has disabled reputation
Default

Quote:
Originally Posted by rspeed View Post
and i got it working, i can buy it from trader, it have all the features i set,

What did you do to accomplish this much?:conf used:
Reply With Quote
  #3  
Old May 10th, 2007
rspeed's Avatar
I want to be like the Admins
 
Join Date: May 10th, 2007
Posts: 211
Rep Power: 0
rspeed is a n00b
Default

the weapon "mp5G" is in-game and working, but it dont have my texture, pls read again the part where i describe it, i know its hard to understand, english inst my 1st lang.
Reply With Quote
  #4  
Old May 11th, 2007
Slightly cooler than a n00b
 
Join Date: April 25th, 2007
Posts: 31
Rep Power: 0
motorb!tch is a n00b
Default

you will not be able to make your weapon use another skin than the default one.
maby you noticed there is no value that says witch texture shuld be used, only the ogf file is picked by the "visual =" variables.
this is because the used skin is defined within the ogf file. ogf it a container with the meshes and some other infos in it. the used texture, exemplary.
so if you copy the ogf of the mp5 and rename it to mp5g it still will use the texture of the mp5.
so your wpn_mp5g.ogf file is just a waste of disc-space, you can delete it and use the wpn_mp5.ogf instad.
keep your new skin, maby with the sdk it will be possible to use it.
Reply With Quote
  #5  
Old May 11th, 2007
rspeed's Avatar
I want to be like the Admins
 
Join Date: May 10th, 2007
Posts: 211
Rep Power: 0
rspeed is a n00b
Default

i was hoping that it would just point to texture folder. :/

thx
Reply With Quote
  #6  
Old May 11th, 2007
rspeed's Avatar
I want to be like the Admins
 
Join Date: May 10th, 2007
Posts: 211
Rep Power: 0
rspeed is a n00b
Default

well i didnt give up, you know im kind used to it, when people say "you will not be able...", "its not possible", til i make it or see some1 make it and then, they see how easy its, im not a modder at all, but it took me a few hours to figure out what i should do to get it working and bingo it worked.

I made my unique mp5, but it still dont have my custom dds, because i was testing, anyway you can see on this picture 2 MP5s, the dark one is the "default" for slot 2, the dds file is from the "real world guns" mod and the other "gray" its my unique mp5 for slot 1, i can use both at same time, pressing 1 and 2, my unique still dont have a custom dds, ill add it later, but as you can see, i got 2 of them with 2 different skin, i was testing and already using real worl gun mod, then for my unique mp5 i just added the default dds file to test.

so its possible, thx anyway.


Reply With Quote
  #7  
Old May 11th, 2007
giv_em_hell's Avatar
Nothing is Final
 
Join Date: April 11th, 2007
Posts: 256
Rep Power: 0
giv_em_hell is a n00b
Default

im interested in this, maybe you would like me to make a cool skin for your new Mp5g, let me know
__________________
-Real world weapons v1.0-http://stalker.filefront.com/file/Re..._Reskins;78597
-Advanced world weapons v1.0-http://stalker.filefront.com/file/Ad..._Weapons;78945
giv_em_hell or go home
Reply With Quote
  #8  
Old May 15th, 2007
waldo913's Avatar
Ya got mah Cheeze Whiz, Boy?
 
Join Date: May 6th, 2007
Location: Phoenix, AZ
Posts: 82
Rep Power: 0
waldo913 is a n00b
Default

rspeed- Would you be willing to share how you did this? If you'd rather not post it on forum, would you possibly email me your solution if I PM'd you my address? Thanks mate!
Reply With Quote
  #9  
Old May 16th, 2007
waldo913's Avatar
Ya got mah Cheeze Whiz, Boy?
 
Join Date: May 6th, 2007
Location: Phoenix, AZ
Posts: 82
Rep Power: 0
waldo913 is a n00b
Default

*sniffle* no clues? nothing? *whines* I want to know how!
Reply With Quote
  #10  
Old May 18th, 2007
:)
 
Join Date: May 13th, 2007
Posts: 139
Rep Power: 0
natasha8384 is a n00b
Default

Quote:
Originally Posted by rspeed View Post
well i didnt give up, you know im kind used to it, when people say "you will not be able...", "its not possible", til i make it or see some1 make it and then, they see how easy its, im not a modder at all, but it took me a few hours to figure out what i should do to get it working and bingo it worked.

I made my unique mp5, but it still dont have my custom dds, because i was testing, anyway you can see on this picture 2 MP5s, the dark one is the "default" for slot 2, the dds file is from the "real world guns" mod and the other "gray" its my unique mp5 for slot 1, i can use both at same time, pressing 1 and 2, my unique still dont have a custom dds, ill add it later, but as you can see, i got 2 of them with 2 different skin, i was testing and already using real worl gun mod, then for my unique mp5 i just added the default dds file to test.

so its possible, thx anyway.
.... and you can replicate this every time? Can you start a "new game" and have 2 different skins for the same weapon? i'm asking this because there is a "save-caching" occasional glitch where an older save may not update itself with new weapons textures for the items already on the ground, but it calls the new (custom) skin when you purchase the same item again .. so you end up with two skins for the same weapon in the game.

i haven't notice this glitch with the weapons textures, but only with the weapons names -- like one of my old saves contains an AK74 on the ground that when you point at it shows the label "AN-94 Abakan" (which was done on purpose at the time). Since then, that reference to Abakan is long gone from my files and it won't show up in any "new games" i start. But if I go to that old save when the reference was active, then it shows up (obviously the gun label is not being updated with the current info but rather the cached info is used).

anyways, my question is if you can replicate your 2-skins-1-weapon-model again in a "new game".
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
looking 4 a unique avatar Hfx-Rebel Return to Castle Wolfenstein General Discussion 26 April 17th, 2004 03:34 AM
A unique thread.... NiteStryker Jedi Academy General Discussion 26 January 28th, 2004 04:51 AM
New *Unique* Race mod LaVictoireEstLaVie ST:A2 Modding, Mapping and Editing 19 August 25th, 2003 01:01 PM
IM looking for a unique ship..... BrianS ST:BC Modding and Editing 2 July 14th, 2003 07:47 AM


All times are GMT -7.


Powered by vBulletin®
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.