Freelancer Community Network
Reminder: Internet Explorer 6 or below are NOT supported.
HomeHome
ForumForum
WikiWiki
DownloadsDownloads
ForgeForge
Multiplayer Connection Tutorial
Collapse/Expand Random Image
Collapse/Expand Login
Username:

Password:

Remember me



Lost Password?

Register now!
Collapse/Expand Chat
Collapse/Expand Who's Online
74 user(s) are online (46 user(s) are browsing Forum)

Members: 0
Guests: 74

more...
Collapse/Expand Donations
Monthly costs: -30€
Income (ads): +5€
Donations (last month): +0€

Current balance: 55€
(last updated 04/2021)

Please make a donation if you want to help keeping The-Starport online:

Thanks!
Collapse/Expand Links
Collapse/Expand Advertisement
There are currently 58 users playing Freelancer on 47 servers.
July. 1, 2022

Browsing this Thread:   1 Anonymous Users



 Bottom   Previous Topic   Next Topic  Register To Post

(1) 2 3 »


What's the Secret of NavMap items?
Home away from home
Joined:
2010/2/22 0:47
Group:
Registered Users
$$$ Supporters $$$
Senior Members
Posts: 928
Offline
I just tried to create a new NavMap item. I did this thru the XML project files. I can't find any errors I've made, but the new shape fails to show up.

I haven't found any file that initialized the spaceobjects files, and the game doesn't give an error anyway - so apparently it accepts the new file. It just doesn't show it on the navmap, and the item the file represents is not targetable on the navmap. So, it's not invisible on the map in the sense that it *is* there, but simply not visible. It is completely lacking from the navmap.

So, to me that means the fault is not in the image I used (a tga with an alpha layer). I did try the three options (being 32, 24 and 16 bit) that Photoshop offered me, which didn't make a difference. (btw compressing the image, another option P'shop offers, made the game crash).

But, as I said, I don't think the picture is the problem.


So - what's the secret of these NavMap items? Has anyone succesfully added new ones?

Posted on: 2011/2/5 20:36
Top
Re: What's the Secret of NavMap items?
Home away from home
Joined:
2010/3/14 18:10
From Germany
Group:
Registered Users
Senior Members
Posts: 1526
Offline
if i remember right, nobody managed yet to input new items successfully (unless FW:ToW prolly, but we'll know soon enough xD). it is only possible to replace the existing ones (sure with new files as well) but it seems not to be possible to rise the amount of different items.

Posted on: 2011/2/5 22:00
Top
Re: What's the Secret of NavMap items?
Home away from home
Joined:
2010/2/22 0:47
Group:
Registered Users
$$$ Supporters $$$
Senior Members
Posts: 928
Offline
Quote:

Gisteron wrote:
if i remember right, nobody managed yet to input new items successfully (unless FW:ToW prolly, but we'll know soon enough xD). it is only possible to replace the existing ones (sure with new files as well) but it seems not to be possible to rise the amount of different items.

That's sad news

It seemed so easy. Just as the news items, in a way (which *are* as easy as they seem).

Yeah replacing is the second best option then. Especially because some of the stock/vanilla objects are ugly.

Yet, there must be some pointer, somewhere in some file, or an index of the various object files...

Posted on: 2011/2/5 22:15
Top
Re: What's the Secret of NavMap items?
Home away from home
Joined:
2008/5/4 21:00
Group:
Registered Users
Senior Members
Posts: 554
Offline
If you've made a new entry but using an existing graphic instead of your custom one - does it show?


Posted on: 2011/2/6 0:09
Top
Re: What's the Secret of NavMap items?
Home away from home
Joined:
2010/2/22 0:47
Group:
Registered Users
$$$ Supporters $$$
Senior Members
Posts: 928
Offline
Just looked into Freelancer.exe and in most of the DLLs, looking for references to any of the nav space objects. Didn't find any, except playership.3db in Freelancer.exe

But of course, these references do not need to be text strings (but that's where my knowledge ends).

Posted on: 2011/2/6 0:15
Top
Re: What's the Secret of NavMap items?
Home away from home
Joined:
2010/2/22 0:47
Group:
Registered Users
$$$ Supporters $$$
Senior Members
Posts: 928
Offline
Quote:

Chips wrote:
If you've made a new entry but using an existing graphic instead of your custom one - does it show?


Totally overlooked your message yesterday. My apologies!

Seems a weird experiment to me... It would come down to just renaming the file (and maybe some internal references). But it won't hurt to try (which I will when I've my hands free, hopefully later today).

Posted on: 2011/2/6 12:34
Top
Re: What's the Secret of NavMap items?
Home away from home
Joined:
2009/8/16 2:58
From Qld, Aus.
Group:
Registered Users
FLServer Admins
Trusted Speciality Developers
Senior Members
Posts: 2010
Offline
As a test, I copied EQUIPMENT\MODELS\COMMODITIES\NN_ICONS\bh_elite.3db to INTERFACE\NEURONET\NAVMAP\NEWNAVMAP\SPACEOBJECTS and set shape_name = bh_elite for suprise_bh_elite. That worked fine, showing the ship icon (3x3 zoomed grid squares) on the Nav Map. So all you should need to do is create INTERFACE\NEURONET\NAVMAP\NEWNAVMAP\SPACEOBJECTS\shape.3db and then use shape_name = shape. If that is what you did, then I guess the error is with the 3db itself, not the Nav Map.

Posted on: 2011/2/7 7:43
Top
Re: What's the Secret of NavMap items?
Home away from home
Joined:
2008/5/4 21:00
Group:
Registered Users
Senior Members
Posts: 554
Offline
Quote:

Moonhead wrote:
Quote:

Chips wrote:
If you've made a new entry but using an existing graphic instead of your custom one - does it show?


Totally overlooked your message yesterday. My apologies!

Seems a weird experiment to me... It would come down to just renaming the file (and maybe some internal references). But it won't hurt to try (which I will when I've my hands free, hopefully later today).




Two potential sources for error:
1) Your entry that you have created for the icon
2) The file of the icon that you have created.

Using a definitely working (already existing) icon for your new entry will rule out (1)... I should mention I had/have no idea where this entry goes - hence why what I said was vague.

Basically what Adoxa did - same principle, but so much more clear (and tested)

Posted on: 2011/2/7 9:08
Top
Re: What's the Secret of NavMap items?
Home away from home
Joined:
2010/2/22 0:47
Group:
Registered Users
$$$ Supporters $$$
Senior Members
Posts: 928
Offline
@ Chips - oh I see.

As Adoxa's experiment shows, the issue is with my .3db file (as I expected - or hoped rather, because it means it is possible to get new items to show on the NavMap if done properly)

So, I opened up the .TGA stored in the .3db file I made, and saw the alpha layer is missing!

So, I imported the correct image, with the alpha layer, double-checked it, tried it again - and again it fails to show up again

Anyway, gotta run now!

Thx for the feedback!!

EDIT working on it again, using another (bigger) file as a basis...

EDIT - using an existing pic (Outpost in this case) works... (but of course I don't want another Outpost icon so now I'm gonna try another pic)

Posted on: 2011/2/7 11:28
Top
Re: What's the Secret of NavMap items?
Home away from home
Joined:
2010/2/22 0:47
Group:
Registered Users
$$$ Supporters $$$
Senior Members
Posts: 928
Offline
Edit - deleted to save you all the crap I wrote

Posted on: 2011/2/7 13:35
Top
Re: What's the Secret of NavMap items?
Home away from home
Joined:
2010/2/22 0:47
Group:
Registered Users
$$$ Supporters $$$
Senior Members
Posts: 928
Offline
Edit - deleted to save you all the crap I wrote

Posted on: 2011/2/7 15:18
Top
Re: What's the Secret of NavMap items?
Home away from home
Joined:
2010/2/22 0:47
Group:
Registered Users
$$$ Supporters $$$
Senior Members
Posts: 928
Offline
Edit - deleted to save you all the crap I wrote

Posted on: 2011/2/7 21:16
Top
Re: What's the Secret of NavMap items?
Just can't stay away
Joined:
2010/8/25 22:40
From Romania
Group:
Registered Users
Posts: 196
Offline
From what is saw , you must edit interface.generic.vms , there is stored all icons for space objects , the 3db from spaceobjects are just index and texture.

Posted on: 2011/2/7 22:32
Top
Re: What's the Secret of NavMap items?
Home away from home
Joined:
2010/2/22 0:47
Group:
Registered Users
$$$ Supporters $$$
Senior Members
Posts: 928
Offline
Quote:

cata123 wrote:
From what is saw , you must edit interface.generic.vms , there is stored all icons for space objects , the 3db from spaceobjects are just index and texture.

I seriously read 'torture' instead of texture.

Thanks for the feedback; you might be right, but: I got it working!!

I decided to not use one of FL's navmap items, but the icon Adoxa used in his example (bh_elite). I thought that all 3db files had the same structure, but this is not the case. In the XML project files, the commodity icons have an xml file more. Maybe this is where the interface.generic.vms is in the stock NavMap icons. I don't know and I'm not gonna find out anywhere soon coz I just got what I wanted before I'm on some mini-holiday my gf arranged (and she made it clear I am not taking my laptop with me )

Now, I've finally got my planet on the map - and the happiness of knowing how to make more...

Of course I now have to check whether there aren't conflichts with the bh_elite ship icon. Don't think so, but my experiences this evening learned me the FL files can be weird.

Anyway - these words might as well be my signature - thanks again, Adoxa



Posted on: 2011/2/7 22:41
Top
Re: What's the Secret of NavMap items?
Home away from home
Joined:
2010/2/22 0:47
Group:
Registered Users
$$$ Supporters $$$
Senior Members
Posts: 928
Offline
Open in new window





(I like my universe map more though, and it was much easier than messing with the 3db icon! - Again, thx to Adoxa's Territory plugin)
Open in new window

Posted on: 2011/2/7 22:56
Top
(1) 2 3 »