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

Reply
 
Thread Tools Display Modes
Old 02-11-14, 02:57 AM   #1
Cybermat47
Willing Webfooted Beast
 
Cybermat47's Avatar
 
Join Date: Aug 2012
Location: Australia
Posts: 5,408
Downloads: 300
Uploads: 23


Default How do you make custom emblems available in the bunker?

I made a custom emblem today, and edited Equipment.UPC and UpgradePacks.UPC, and the game kept CTD-ING when it was loading. I don't have AFFOE, so the custom emblem option isn't available for me. How can I get the e,blem to show up in the bunker's customization screen?
__________________
Historical TWoS Gameplay Guide: http://www.subsim.com/radioroom/showthread.php?p=2572620
Historical FotRSU Gameplay Guide: https://www.subsim.com/radioroom/sho....php?p=2713394
Cybermat47 is offline   Reply With Quote
Old 02-11-14, 04:11 AM   #2
Trevally.
Navy Seal
 
Join Date: Apr 2007
Location: AN1536 (Orkney)
Posts: 5,451
Downloads: 166
Uploads: 28


Default

https://www.google.co.uk/#q=site%3As...lems+available
__________________
Trevally Mods for SH5
Trevally. is offline   Reply With Quote
Old 02-11-14, 07:24 AM   #3
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,215
Downloads: 793
Uploads: 10
Default

1 - Make sure to save your emblem in the correct format. Both dds and tga should be okay. The texture file should be square-sized for avoiding your emblem to get stretched out, and the emblem should be flipped horizontally for showing correctly when rendered on yor sub. You can save the texture with an alpha channel for transparency sorting.

2 - Beware that SHIII had some restrictions related to texture file names, where using illegal characters would have lead to CTD's. I don't know if the same rules apply to SH5, be better sticking to alphanumeric characters, scores, underscores and round brackets when naming your emblems.

3 - Put your new emblem in the data\Textures\TNormal\tex folder

4 - Append a new emblem entry at the bottom of Equipment.upc. It should look like this:

Code:
[Equipment #]
ID= EqpEmblemIDName (use any name here)
NameDisplayable= Not needed (you can leave it blank)
FunctionalType= EqFTypeCoating
EquipmentInterval= NULL, NULL
EquipmentSlotType=NULL
ExternalLinkName3D= data\Textures\TNormal\tex\TextureFileName.dds (or .tga)
Hitpoints= 10000
DamageDescription1= NULL,	0,	1,	0,	1,	1,	invulnerable,		0,	0,	NULL,	0,	1,	1
Make sure that the [Equipment #] header follows a progressive numbering (# = previous # +1), and that you set an unused ID name.

5 - Append a new emblem entry to UpgradePacks.upc. It should look like this:

Code:
[UpgradePack #]
ID= UpackEmblemIDName (can be any name, but better using the same name used for equipment ID though)
NameDisplayable= This is the name shown in game (emblem selection menu)
Info= Any optional information you might want to be displayed in emblem selection menu
Notes= Any optional note you might want to be displayed in emblem selection menu
FunctionalType= UpFTypeEmblem
UpgradePackSlotType= UboatEmblems
Type=NULL
UnitUpgradePackIntervalOptionCurrent= NULL, NULL, 0
UnitUpgradePackIntervalOptions1=NULL, NULL, 100
IDLinkUpgradePackElements= EqpEmblemIDName (this MUST be identical to the ID previously chosen for new emblem's equipment definition)
TrackingID=901
As before, make sure that the [UpgradePack #] header follows a progressive numbering (# = previous # +1). NameDisplayable, Info and Notes can be entered straight in the upc file, or you can set them to UpackEmblemIDName-Name, UpackEmblemIDName-Info and UpackEmblemIDName-Notes respectively, and put corresponding entries with the desired texts, in UPCLocalization.tsr
__________________
_____________________
|May the Force be with you!|
...\/
gap is offline   Reply With Quote
Old 02-11-14, 06:13 PM   #4
Cybermat47
Willing Webfooted Beast
 
Cybermat47's Avatar
 
Join Date: Aug 2012
Location: Australia
Posts: 5,408
Downloads: 300
Uploads: 23


Default

Quote:
Originally Posted by gap View Post
You can save the texture with an alpha channel for transparency sorting.
How do I do that? I'm using GIMP.
__________________
Historical TWoS Gameplay Guide: http://www.subsim.com/radioroom/showthread.php?p=2572620
Historical FotRSU Gameplay Guide: https://www.subsim.com/radioroom/sho....php?p=2713394
Cybermat47 is offline   Reply With Quote
Old 02-11-14, 06:33 PM   #5
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,215
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by Cybermat47 View Post
How do I do that? I'm using GIMP.
For sure I know GIMP can handle and save alpha channels, but I cannot enter in the details of it: I once had GIMP installed on a computer at work, but I only used a few basic features (mostly for scanning documents).
Wait for an answer by someone else, or try looking for a tutorial on the web. There should be many of them
__________________
_____________________
|May the Force be with you!|
...\/
gap is offline   Reply With Quote
Reply


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 02:00 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.