SUBSIM Radio Room Forums



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

Go Back   SUBSIM Radio Room Forums > Current crop of subsims & naval games > COLD WATERS
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 12-19-20, 10:43 AM   #1
Firebar
Watch
 
Join Date: Nov 2010
Posts: 30
Downloads: 3
Uploads: 0
Default Model Import Framework for Cold Waters

Hi All,

Over the last few months I have been working on an import framework for Cold Waters to improve the extensibility of the game. v1.0.1.0 is available for download here: https://github.com/FirebarSim/Cold-Waters-Expanded

This is more of an import framework than a mod, though I have included a bunch of unfinished assets as examples of what can be done. It provides, as of version 1.0.1.0:
  • Ability to load gLTF model files at run time, providing easy modding of new models
  • Ability to load Unity AssetBundles, providing the full power of the Unity materials system etc, some particles are supported at the moment and more will be as I continue work.
  • X Plane functionality, to support vessels such as the Suffren
  • Mesh visibility functionality, to show and hide mesh based on some conditions
  • Mesh translate function, to translate mesh when a condition is met or not
  • Nation Flags, extra flags in the Unit Reference viewer
  • A fix to allow an odd number of Torpedo tubes
  • Removed the necessity to add all new vessels to the _vessel_list.txt file, the game will load and sort new vessels on load
  • Removed the necessity to add all new aircraft to the aircraft.txt file, the game will append individual aircraft definition files in a search for override\\aircraft\\aircraft_*.txt to this file.
  • Removed the necessity to add all new weapons to the weapons.txt file, the game will append individual weapon definition files in a search for override\\weapons\\weapon_*.txt for Torpedoes and Missiles, override\\weapons\\mortar_*.txt and override\\weapons\\gun_*.txt for "Depth Weapons", and override\\weapons\\countermeasure_*.txt for Countermeasures to this file.
  • Removed the necessity to add Depth Weapon Descriptions to the depth_weapon_display_names.txt file in whatever language is chosen. The game will look in the individual weapon files as described above for language_xx= and add that to the sensor descriptions.
  • Removed the necessity to add all new sensors to the sensors.txt file, the game will append individual weapon definition files in a search for override\\sensors\\radar_*.txt and override\\sensors\\sonar_*.txt to this file.
  • Removed the necessity to add Sensor Descriptions to the sensor_display_names.txt file in whatever language is chosen. The game will look in the individual sensor files as described above for language_xx= and add that to the sensor descriptions. Removed the need to add single mission names to the list in a language. The game now looks for language_xx in the mission files (of the form \\override\\single*.txt and adds that to the single missions list.
  • Some game fixes

Please note that this has only been tested by me on my machine, please let me know if you try it and encounter any issues and I shall try my best to fix them.

Firebar is offline   Reply With Quote
Old 12-19-20, 11:06 AM   #2
Aktungbby
Gefallen Engel U-666
 
Aktungbby's Avatar
 
Join Date: Jul 2013
Location: On a tilted, overheated, overpopulated spinning mudball on Collision course with Andromeda Galaxy
Posts: 28,842
Downloads: 24
Uploads: 0


Default welcome aboard!

Firebar!
__________________

"Only two things are infinite; The Universe and human squirrelyness; and I'm not too sure about the Universe"
Aktungbby is offline   Reply With Quote
Old 12-19-20, 11:09 AM   #3
Firebar
Watch
 
Join Date: Nov 2010
Posts: 30
Downloads: 3
Uploads: 0
Default

I do hope I have made a record here, member for 10 years, posts 1.
Firebar is offline   Reply With Quote
Old 12-19-20, 11:12 AM   #4
Aktungbby
Gefallen Engel U-666
 
Aktungbby's Avatar
 
Join Date: Jul 2013
Location: On a tilted, overheated, overpopulated spinning mudball on Collision course with Andromeda Galaxy
Posts: 28,842
Downloads: 24
Uploads: 0


Default

Nah! the Pandemic Lockdown has brought 'em to the surface from even further back!
__________________

"Only two things are infinite; The Universe and human squirrelyness; and I'm not too sure about the Universe"
Aktungbby is offline   Reply With Quote
Old 12-19-20, 11:29 AM   #5
steel shark
XO
 
Join Date: Oct 2019
Location: Uk
Posts: 414
Downloads: 48
Uploads: 5


Default looks good

ill try if tomorrow after ive dealt with things

any new methods for adding new content is very welcome by me so cheers Firebar & thanks for sharing


as for lock down bring long lost members to the surface see the pic ....

Steel Shark
__________________
"History is Written by the Victors."

Last edited by steel shark; 01-14-21 at 03:25 PM.
steel shark is offline   Reply With Quote
Old 12-19-20, 12:04 PM   #6
Firebar
Watch
 
Join Date: Nov 2010
Posts: 30
Downloads: 3
Uploads: 0
Default

What you might find particularly useful is the segragation of the files so that you have less chances of things overwriting each other and causing issues.
Firebar 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 12:49 PM.


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