House Name after System Name: Let's Solve this Basterd
-
adoxa wrote:
; Add the house to the Nav Map. The coordinates are the same as the
; pos value for the systems. Font will default to SubHeader; see
; DATA\FONTS\fonts.ini for the list, or to add your own.
NavMap = X, Y[, font]Amazing! So we are now finnaly able to add new names to the nav map? Or is it something else?
Anyway great work adoxa.
-
-
Now the next thing that could be done (maybe?) would be even more costumized arrival text such as this:
Solarian Empire
Solar System
Orion Constellation
x Region (which region are we living in yeah!? lol)Would something like this or similar be possible adoxa?
-
Have you tried just putting a new line character in your āspaceā name for it to appear on multiple lines?
-
Is anyone having problems with ctdās with this new version? As soon as i add the line
[Houses]
house_id = 462100
systems = SL01-10
NavMap = 9, 9 <ā----------- Offending line (Position of system in Universe.ini)to the house section so i can get it to display on the navmap and click on it in game, i get an instant ctd, remove it and it its fine. What am i doing wrong?
-
Nav Map
Yes, it can add any text (in a resource) to the Universe Map. It also allows the removal/modification of the existing names. Just to demonstrate, the attached screenshot removes the normal houses (by using a space for the name) and adds Outcast and Corsair houses (from the bribe resource strings).
Multiple Lines
Unfortunately, Freelancer doesnāt process newline characters, so youāll miss out on that. Donāt be greedy.
CTD
Sorry, I mustāve changed a couple of things around after testing and neglected to test them again.
Attached is a new version, which also has two other changes: moved the ini file to the Universe directory; and added a codepage setting, making the Windows ANSI code page the new default.
Edit: final version is available here.
-
@adoxa: I beg to differ. All NPC names on base/planet sequences use newline characters so that it can list the name and rank on two separate lines, so it definitely processes them. The thing to see now is where it does and where it does not.
-
Youāre right, I was too hasty. I simply tested using the āWelcome to the <base> <trader>ā message and saw the box where the newline should be. Further investigation shows I can simply change the flag so it does process the newlines. Youāll have to wait, though, 'cos itās time I got to bedā¦</trader>
-
I think one thing thatās frustrating the hell out of me is how i have to change the code everytime to make it display properly between each new version. Can we decide on a format and stick to it please?
With the ālatestā version i canāt display space name at all and still havenāt managed to get anything up on the navmap. The code below should work but it doesnāt. Did before minus the navmap entry
[Houses]
house_id = 462100 <ā- House name
systems = SL01-10
NavMap = 9, 9[Systems]
format = %s System, SOL SPACE
systems = SL01-10 -
Multiple lines
Well, I spoke too soon. If there is a simple flag, it eluded me. Sorry, youāll have to stick to a single line.
Gibbon
It works for me - sure youāve replaced the DLL and moved your ini file? Happening to have Evolutions 1.30 active, I tried with a random system. Hereās the territory.ini file:
[Houses]
house_id = 525330
systems = fw01-06
NavMap = 9, 9[Systems]
format = %s System, SOL SPACE
systems = fw01-06and attached is a screenshot demonstrating it. BTW, you should really only define house or system, not both. Removing the [Systems] section gave me āFrontier Sector System, Admin World Space.ā.
-
Thereās no problem having both [Houses] and [Systems] entries, but if you define a systems line for both, the one that comes last will take effect. In your example, you should either remove the systems line from the [Houses] section (thus using the explicit āSOL SPACEā message in [Systems]) or remove the entire [Systems] section (thus using the āSOLā house with the normal message). In other words, you donāt need a systems line for the [Houses] section if you just want to put a name on the map; the [Systems] section is intended more for individual systems, rather than those as part of a house. Hm, Iām not sure thatās any clearerā¦
-
It is actually clearer, magic phrase was āindividual systemsā which has tidied that up for me now. Iāve done as you suggested and removed my systems section for now until i need it for āindividualā systems. All working rather sweetly, Cheers :pint:
-
Iāve put up the final version on my site. It fixes a bug (if āhouseā was the first string specified, it would be ignored), but is otherwise the same.
-
Ok, I followed somewhat I guess because it is not working for me. (using NS TCM starter pack)
In Dacom.ini
DllPath = .
[Libraries]
ReadFile.dll
x86math.dll
EngBase.dll
system.dll
RP8.dll
SoundStreamer.dll
SoundManager.dll
Deformable2.dll
Thorn.dll
Shading.dll
RendComp.dll
alchemy.dll
ximage.dll
.\flmaterials.dll
@include FL_DevOnlyLibs.ini
libcurl.dll
gls_workaround.dll
territory.dll ;<ā---------------------------------Added territory.dll to exe folder
Added territory.ini to universe folder
Now when I open freelancer developer and browse for file to load my mods dlls I get this:
What am I missing?