Right name in the target brackets on satellites
-
Hi anyone,
I’m trying to create a satellite with a name i’ve saved in a .dll.
On the HUD it displayes the right name but on the target bracket it shows something like “Sirius Federation Satellite”, it does this whatever i do, the only way to show the right name is to remove the faction on the solar object in the system ini but than the satellite will not be hostile like the stations around it and will not fire on me when i’m hostile.I’ve also tryed to make it a weapon platform but i ended with the same problem.
Than i though why not use a station archtyp for the solar object so i changed the archtyp to a station without dockpoint. It work but it shows “sirius federation station” cause there are no codes in the mbase.ini.This is what i want to do:
I want to create a solar object that does shot me when i’m hostile to its faction, i want to give it a name that is displayed on the HUD and the target brackets.Screeny from the problem: http://www.flnu.net/nu-forum/album_showpage.php?pic_id=90
I may be blind but i cant find the solution, any help is very welcome.
Thanks in advance
Mind -
If I’m remembering right, could this have to do with the Object not having the line
behavior = NOTHING
in it. Could be wrong, but it’s worth a try.
-
Nope that line is there.
I guess its better to post my codes:
Solararch.ini
[Solar]
nickname = BSG_base_astralqueen_01
LODranges = 0, 100000
ids_name = 589862
ids_info = 589862
type = SATELLITE
DA_archetype = solar\bsg\astralqueen.cmp
material_library = solar\bsg\astralqueen.mat
material_library = fx\envmapbasic.mat
envmap_material = envmapbasic
mass = 10000.000000
loadout = BSG_base_astralqueen_01_loadout
solar_radius = 600
shape_name = NNM_SM_MPLATFORM
hit_pts = 9999999[Solar]
nickname = BSG_base_astralqueen_02
LODranges = 0, 100000
ids_name = 589862
ids_info = 589862
type = WEAPONS_PLATFORM
DA_archetype = solar\bsg\astralqueen.cmp
material_library = solar\bsg\astralqueen.mat
material_library = fx\envmapbasic.mat
envmap_material = envmapbasic
mass = 10000.000000
loadout = BSG_base_astralqueen_01_loadout
solar_radius = 2000
shape_name = NAV_weaponplatform
destructible = true
explosion_arch = explosion_wplatform
hit_pts = 2254500System.ini (the red marked ones are having the wrong name in the brackets, the first one is fine cause it has no faction)
[Object]
nickname = BSG01_BSG_base_astralqueen_01_01
ids_name = 589862
ids_info = 0
rotate = 0, 0, 0
pos = 49477, -450, -459
archetype = BSG_base_astralqueen_01
loadout = BSG_base_astralqueen_01_loadout[Object]
nickname = BSG01_BSG_base_astralqueen_01_02
ids_name = 589862
ids_info = 0
rotate = 0, 0, 0
pos = 50588, 190, -889
archetype = BSG_base_astralqueen_01
reputation = fc_or_grp
behavior = NOTHING
loadout = BSG_base_astralqueen_01_loadout
pilot = pilot_solar_easy
difficulty_level = 38
visit = 0[Object]
nickname = BSG01_BSG_base_astralqueen_02_1
reputation = fc_or_grp
pos = 49751, 0, -1325
archetype = BSG_base_astralqueen_02
ids_name = 589862
ids_info = 589862
behavior = NOTHING
loadout = BSG_base_astralqueen_01_loadout
difficulty_level = 38
visit = 0
pilot = pilot_solar_easiest -
Are you looking for something like this?
dang, what is with not being able to post images right?
If so…
from the system ini:
[Object]
nickname = AV01_UV_Defense_Network_01
reputation = fc_lh_grp
pos = 22003, 0, -17165
archetype = UV_Defense_Network
ids_name = 461114
ids_info = 493210
behavior = NOTHING
loadout = UV_Defense_Network_A
difficulty_level = 19
pilot = pilot_solar_hardest
visit = 1This gives the hostile group (make sure they are declared unlawful in faction_props.ini), the ids_name 461114 = “Border Rangers Defense Network” which shows up on the left HUD.
When you create the new archetype in SolarArch.ini, you will have another place to create a ids_name. This one says “Weapons Platform”.
[Solar]
nickname = UV_Defense_Network
LODranges = 0, 200, 400, 4000
ids_name = 261164
ids_info = 66171
type = WEAPONS_PLATFORM
DA_archetype = solar\misc\weapons_platform_lod.cmp
material_library = solar\Solar_mat_dockable03.mat
material_library = fx\envmapbasic.mat
envmap_material = envmapbasic
mass = 10000.000000
loadout = weapon_platform
solar_radius = 300
shape_name = NAV_weaponplatform
hit_pts = 999999961690316250000000000000000000.000000The game engine will combine the reputation with this second ids_name to display “Rangers Weapons Platform”. It uses the ids_short_name from that faction as you defined it in initialworld.ini.
You may not want to copy and paste my file there as I have removed the ability to destroy these particular platforms.
-
No i want “Astral Queen” in the target brackets instead of “Colonial Satellite” or “Colonial Weapon Platform”.
It shows the ids_name on the HUD but not on the brackets, i did not need this before i was always lucky with XXX satellite but this time it would look a bit weird when the ship is called satellite. -
Thanks OP it worked.
For anyone who didn’t understand what OP means.Go to your archetyp in the solararch.ini and change to following line:
type = SATELLITE
to:
type = MISSION_SATELLITE
-
Thanks for the tip OP I think everyone’s ran into that problem at one point or another!
Ah, the joys of FL huh?
-
;D YUP - nice one.