| Author |
USNI modding |
Ramius
Joined: Feb 27, 2002 Posts: 1932 From: United Kingdom
| Posted: 2002-06-04 18:36  
Does anyone know how to add a new entry into the USNI ???????
I know you can change the data and pictures already there, but i need to add new items ???
Ramius
_________________
SCX Model Previews
 
|
Deep_Nukem
Joined: Feb 28, 2002 Posts: 128 | Posted: 2002-06-04 20:01  
Seems to me, look at how XYZ item is related to XYZ picture,
and add more of each to the same directory.
(new items) and code it the same. Should work.
Of course it won't, but it should 
 
|
Te Kaha
Joined: Feb 28, 2002 Posts: 1697 From: Austria & Aotearoa
| Posted: 2002-06-05 04:39  
USNI modding is easy, all you need is a) pictures, b) text files and c) 3D Object - which doesn't necessarily need to be a new one.
The files to be edited are usnidata.grp and usnidata.ndx (this one updates 'automatically' whenever you add andything to usnidata.grp with cmputil).
Country_Weapons_TOC.txt - contains what you see when clicking on 'USNI', i.e. the country list - here's one entry in that text file;
(end)
(FONT="fru_plain.bmp" COLOR=242 242 6 LINK="AUS_TOC.txt") AUSTRALIA
This one points to Australia, more exactly to the text file which lists Australian stuff;
AUS_TOC.txt - has anything 'Australian' listed - I added Fremantle-Class Patrol Boats, here's the entry;
(end)
(FONT="fru_plain.bmp" COLOR=228 228 228 LINK="fremantle_ptg.txt","fremantle_ptg.jpg","Fremantle PTG") Fremantle PTG
fremantle_ptg.txt - the description in text
fremantle_ptg.jpg - the picture
Fremantle PTG - the 3D Object, must be written the exact same way as the Object/3D Object name in the database.
Hope this helps.
_________________
Te Kaha's Missions

[ This Message was edited by: Te Kaha on 2002-06-05 04:41 ]
 
|
Ramius
Joined: Feb 27, 2002 Posts: 1932 From: United Kingdom
| Posted: 2002-06-05 06:47  
Thanks Tekaha. I'll give it a try after work
Ramius
_________________
SCX Model Previews
 
|
Ramius
Joined: Feb 27, 2002 Posts: 1932 From: United Kingdom
| Posted: 2002-06-05 07:38  
Works a treat
Ramius
_________________
SCX Model Previews
 
|
Deep_Nukem
Joined: Feb 28, 2002 Posts: 128 | Posted: 2002-06-05 13:01  
Glad you got it working......now how about adding all those photos where the game says "photo not available"
 
|
Ramius
Joined: Feb 27, 2002 Posts: 1932 From: United Kingdom
| Posted: 2002-06-05 13:18  
Quote:
|
On 2002-06-05 13:01, Deep_Nukem wrote:
Glad you got it working......now how about adding all those photos where the game says "photo not available"
|
|
hmmmmmmmmmm, i think i could manage that
I make that a seperate mod
Ramius
_________________
SCX Model Previews
 
|
Te Kaha
Joined: Feb 28, 2002 Posts: 1697 From: Austria & Aotearoa
| Posted: 2002-06-05 14:41  
Adding photos and replacing b/w ones with coloured is something I do frequently - but offering such a edit as download, hmmm, that's IMHO not a good thing;
All the pictures available on the internet are protected by copyright, which includes redistribution etc etc....
But downloading the pictures yourself and using them, no one can stop you doing so...
_________________ Te Kaha's Missions
America's Cup 2003, Auckland, NZ; Alinghi - Team New Zealand 3-0
 
|
Ramius
Joined: Feb 27, 2002 Posts: 1932 From: United Kingdom
| Posted: 2002-06-05 15:11  
Thats a fair point there TeKaha
I'll have to look into it a bit more
Ramius
_________________
SCX Model Previews
 
|
Te Kaha
Joined: Feb 28, 2002 Posts: 1697 From: Austria & Aotearoa
| Posted: 2002-06-05 15:31  
One option would be to insert names of jpg's and write them down in a readme - this way, anyone can download pictures he wants and rename them corresponding to the text file, and insert them with cmputil.
If the USNI in SC doesn't find a picture or a 3D model, it doesn't crash the sim, it simply issues a text message like 'Model not available' or 'picture not available', forgot the exact words.
_________________ Te Kaha's Missions
America's Cup 2003, Auckland, NZ; Alinghi - Team New Zealand 3-0
 
|
Deep_Nukem
Joined: Feb 28, 2002 Posts: 128 | Posted: 2002-06-05 23:39  
STOP!!!!!!
Right there!!!! Hold it. This is NOT complicated, so don't make it.
It's just like plagerism in writting.
IF YOU GIVE CREDIT WHERE CREDIT IS DUE IN A README, and in the SAME readme, CLEARLY STATE that this mod is NOT "for sale" or intended to make money, you will have ZERO problems.
In other words if you get a photo from Xyz photographer, TELL US who he/she is, in the readme. Problem solved.
 
|