Important Message

You are browsing the archived Lancers Reactor forums. You cannot register or login.
The content may be outdated and links may not be functional.


To get the latest in Freelancer news, mods, modding and downloads, go to
The-Starport

Adding News Logos: impossible?

The general place to discuss MOD''ing Freelancer!

Post Mon May 03, 2004 11:02 pm

Adding News Logos: impossible?

Hello All,

A typrical News item, in Data\Missions\news.ini looks like this:

[NewsItem
rank = base_0_rank, mission_end
icon = faction
logo = news_curacao
category = 56372
headline = 56372
text = 56373
audio = true
base = Iw03_02_Base



Now, there are several ini-files in the game that contain references to image files, like e.g. in Goods.ini :

[Good
nickname = commodity_optronics
msg_id_prefix = gcs_gen_commodity_optronics
equipment = commodity_optronics
category = commodity
price = 210
combinable = true
good_sell_price = 3.400000
bad_buy_price = 3.400000
bad_sell_price = 1.328000
good_buy_price = 1.328000
shop_archetype = Equipment\models\commodities\nn_icons\cwire_hightech_1.3db
<-- reference to 3db-file that contains an image
item_icon = Equipment\models\commodities\nn_icons\COMMOD_optronics.3db reference to 3db-file that contains an image
jump_dist = 6


But there appears not to be any file where the News logos and news icons are linked to a file. Also, I haven't found any 3db-files that seem to carry news logos. I guess that both the icons and the reference to them (so that the games knows what image it should show when it reads logo = news_curacao ) are inside a non-ini--file.

Now, I'd like to add a few news logos, and my intuition says it's possible, but I have no idea where to look, what programs I should use etc.

So, if someone could show me the right direction, I'd be very happy You may elaborate but I will also be glad with a telegram-style answer Basically I'd like to know:

1) What file(s) should I edit?
2) What program(s) do I need for that?

Thanks in Advance!

Post Mon May 03, 2004 11:08 pm

You mean icons - tutorials forum - for a tutorial *excellent one* by Osprey that tells you how to make icons.

Please use search function in future.

Post Tue May 04, 2004 12:09 am

No clue if this is linked to the logos or not, but it's the only thing I could find. Look in DATA/INTERFACE/NEURONET/NEWSVENDOR. I've never tried but from what I've read you need to edit .3db's in a UTF editor.?

Post Tue May 04, 2004 12:49 am

Kaegogi,

These files seems to be the news icons , not logos . The news icon is the little image to the left of the news headline; the logo is the image that is displayed when reading the news item.


Chips,

I know of Osprey's excellent ship icon tutorial, that has helped me to create new icons for commodities.

But I don't mean news Icons . I mean news logos : the images that are displayed with news items. These are placed by the game in this way logo = news_curacao . Now, indeed I expected that these news logos would work the same way as ship- or commodity-icons, but the difference is that there is no reference in an ini-file that attaches a variable name (like news_curacao) to an image. Besides, in contrast with the ship-icons and commodity-icons, there are no separate icons that carry the news images.

Now, it's probably possible to lacte where the news logos are stored, and replace them with another image (although I wouldn't know how to do that) but if it's possible to add new images (and keep the old ones too) remains to be seen.


Would be very nice if it turned out to be possible


Edited by - moonhead on 5/4/2004 1:50:06 AM

Post Tue May 04, 2004 3:31 am

Hey moonhead It should be possible to replace or add new logos. They live in the data\interface\neuronet\newsvendor\newsvendor.txm file which can be opened with the UTF editor. The node names inside are the same as the logo = names so pop a new one in and try it out Let me know how you get on cos my modding time is taken with bug hunting my mod today

+++ out of cheese error - redo from start +++

Post Tue May 04, 2004 3:56 am

Anton,

That's good news man! Thanxalot! I will check it out this evening (I was just about to leave the house and thought "let's check the forum one more time".

Good luck with your bug hunting! I'll try to meditate some good vibes into your direction !

Post Tue May 04, 2004 2:26 pm

Anton - Bingo! - It is possible!

Thanks for the tip man! It is indeed as simple as it seems:

(0. I assume you know to build a mod in a FLMM-folder, so you copy the files mentioned below to your mod)

1. Using the UTF-editor, you create a new node in DATA\INTERFACE\NEURONET\NEWSVENDOR\newsvendor.txm. Give this name a node like news_new_item

2. Under this node, you create a sub-node called MIP0

3. In this sub-node MIP0 you import the picture of your choice. It has to be 128x128 picels, but on top and at the bottom are bands of 16 pixels which will not be shown; the original images have a black band there.

4. In DATA\MISSIONS\news.ini you can refer to the new image by using the name of the node you created in step 1 - news_new_item in this case

So it will look somewhat like:


[NewsItem
rank = base_0_rank, mission_end
icon = universe
logo = news_new_item
category = 458784
headline = 458784
text = 458785
audio = true
base = Li01_01_Base
base = Li01_02_Base
base = Li01_03_Base
base = Li01_04_Base



If I'll ever 'publish' my mod, I'll of course credit you Anton - Thanks again!


Edited by - moonhead on 5/4/2004 3:26:30 PM

Post Tue May 04, 2004 2:36 pm

Erm, sorry - - yes, those are possible (bit late now huh?) - Giskard did this for HU if i remember rightly.

Post Tue May 04, 2004 2:48 pm

lol fair enough Mr Chips Sadly i've not had time to play every mod on the rounds... If only i could get paid to do this... -sigh-

Cheers Moonhead, yes i do know the lovelyness of FLMM good to know it works even if i'm only rediscovering the places Griskard has been before...

+++ out of cheese error - redo from start +++

Post Tue May 11, 2004 12:44 am

This was also done in the Pinball mod. And for the characters telling or selling informations about the different objects in the universe look there too.



Tygrys

Edited by - Tygrys on 5/13/2004 2:27:05 AM

Return to Freelancer General Editing Forum