SUBSIM Radio Room Forums



SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997

Go Back   SUBSIM Radio Room Forums > Silent Hunter 3 - 4 - 5 > SH5 Mods Workshop
Forget password? Reset here

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 01-20-13, 11:02 AM   #12
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by gap View Post
How the scripts you mentioned before are pointing to the GR2 clothing items?

Wouldn't it work as for unit's equipments, where item's unique names are used, no matter in which GR2 file they are located, as long as the file is in the correct folder?

In this case, duplicating the existing files and replacing meshes/textures would be enough
The character's clothing and items are located in \data\Characters\CharacterBodyParts.GR2. If the game is only referencing this file and only in this path then your idea will not work. If the game is only referencing this file your idea will not work. If the game is only referencing this path then your idea will work. Make sense I have no clue what the game is doing in regards to this file so you'll have to test and find out

As far as scripting items visible/not visible it's done by this:

Wp:SetBodyPartVisibility("B_Hat05", 1);

Where the item in ""s comes from the CharacterBodyParts.GR2 file. The 1 says to make it visible. A 0 says to make it invisible (hide it)
TheDarkWraith is offline   Reply With Quote
 


Posting Rules
You may not post new threads
You may not 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

Forum Jump


All times are GMT -5. The time now is 03:17 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 1995- 2025 Subsim®
"Subsim" is a registered trademark, all rights reserved.