Editing base ownership, and editing random job targets?
-
While your request is entirely feasible, it will be far more complicated then you think to actually pull off anything you mentioned.
Without enough understanding of Freelancers ini “database” you will get seemingly mysterious crashes.
Therefore I suggest you read some forum posts to improve your understanding and to learn about the tools you might need.
Be sure to take a look on the wiki as well -
Yeah, this does seem more complicated than what I’ve been doing up until now. I messed with the mbases.ini a bit, but the sheer amount of information in this one file is a bit overwhelming.
Let’s start simple and go one thing at a time. I’d greatly appreciate if someone could walk me through this and help me figure it out. I just think I’m going to need a little help doing this.
Let’s start with changing which faction controls a base. How do I change that? Editing the “localfaction” line does not appear to have done it, as I tested that by changing a friendly planet’s (specifically, Pittsburgh) localfaction to a faction I was neutral with, but the planet remained friendly/green when I clicked on it while out in space.
-
The base ownership needs to be changed at the system INI level as well. That’s why when your in space, the rep hasn’t changed. Sadly, I’m not in a position to provide indepth guidance on how to accomplish all that you’re asking. Maybe in a few days, I could try to add some additions to the site wiki that are lacking. Again, I would try to read through what is available there if possible to get a basic understanding of how the different INIs work. FL is simple in that the vast majority of it can be modded with just a text editor but that also makes it daunting since multiple INIs might need edits to get a desired outcome.
-
Okay, what all .ini files do I need to edit just to change the faction that controls a given base? I just want to focus on that for now, ignore the other stuff I asked about for now.
-
To edit the rep that you see when you encounter the base in space, you’ll need to edit the base’s [Object] section in the system INI found in DATA\UNIVERSE\SYSTEMS[SystemID][SystemID].ini.
Example:
To edit Planet Pittsburgh, you will need to open DATA\UNIVERSE\SYSTEMS\LI01\Li01.ini and edit two [Object] entries since it is a planet that has a docking ring.[Object]
nickname = Li01_02
ids_name = 196767
pos = 52238, 0, -78213
rotate = 0, 0, 20
Archetype = planet_desored_1500
ids_info = 65765
spin = 0, 0.01, 0
atmosphere_range = 1650
burn_color = 255, 222, 160
base = Li01_02_Base
Ambient = 35, 35, 45
reputation = co_me_grp[Object]
nickname = Li01_02_dock_ring
ids_name = 261169
pos = 50655, 0, -77595
rotate = 0, -70, 0
Archetype = dock_ring
ids_info = 66141
dock_with = Li01_02_Base
voice = atc_leg_f01a
space_costume = , robot_body_A
reputation = co_me_grp
behavior = NOTHING
difficulty_level = 3
loadout = docking_ring_co_01
pilot = pilot_solar_easyThe lines highlight green are the reps for these two objects. This rep only impacts the “in space” part of the game where as mbases.ini impacts the base when “docked”. Keep in mind, this does not change the faction encounters that will spawn around the base. That part is controlled by the zones and patrol paths placed around the base which are also in the system INI.
-
I’m pretty sure you also have to edit the same faction in the mbases.ini file and so the info is correct, the infocard as well.
-
Alright, I think I got it, thank you. Now, next, I would like to change the targets of random jobs. As I said before, I would like for the Blood Dragons to give jobs to attack Samura Industries, the Hogosha, and perhaps maybe the Outcasts too. How would I go about changing that?
-
FYI: You may need to alter the base ownership in universe.ini as well for your edits to work correctly. The others seem to have forgotten that part.
basic-meme wrote:
Alright, I think I got it, thank you. Now, next, I would like to change the targets of random jobs. As I said before, I would like for the Blood Dragons to give jobs to attack Samura Industries, the Hogosha, and perhaps maybe the Outcasts too. How would I go about changing that?Well you don’t, because as the name already impies, the missions are random.
AFAIK the missions are influenced by five factors:
[olist]- The offering faction
- The enermies of said faction
- What factions can occur in the vicinity of the base
- The valid mission types against the enemy faction
- Level requirements
[/olist]
You must decide which of those points you want to adress.
Like I said, what you want to achieve is a lot of work.
-
Cpt_Rei_Fukai wrote:
FYI: You may need to alter the base ownership in universe.ini as well for your edits to work correctly. The others seem to have forgotten that part.You sure? Near as I can tell, just changing the system’s .ini file seems to have worked. I changed Pittsburgh to be controlled by Bretonia Police, a faction I’m currently neutral with, and when I flew out into space, Pittsburgh was neutral and it even said “Police Base” (normally, it says “DSE Base”) when I hovered my mouse pointer over it. As an additional test, I changed Fort Bush to be controlled by the Liberty Rogues, who are hostile to me. Sure, enough, when I flew out there, Fort Bush was hostile, said “Rogues Base”, and it even had Bounty Hunters shooting at it. I took a look at universe.ini (in the “DATA/UNIVERSE” folder) and it didn’t seem to have the usual faction and reputation text strings in it.
Well you don’t, because as the name already impies, the missions are random.
Well yeah, but there’s got to be a part of the game data that influences all the different aspects of those random missions, right? That’s what I want to try to change.
AFAIK the missions are influenced by five factors:
[olist]- The offering faction
- The enermies of said faction
- What factions can occur in the vicinity of the base
- The valid mission types against the enemy faction
- Level requirements
[/olist]
You must decide which of those points you want to adress.
Like I said, what you want to achieve is a lot of work.
I know it’s going to take some effort on my end, but I do want to try to learn how to do this stuff. That’s why I want to take it slowly, one thing at a time, so that I can gradually take in how to do it and avoid information overload, and I’d be greatly appreciative to anybody who can help me out. So, let’s start from the top. What file or files do I need to look at to see how random missions are made, and what’s the first thing I should edit to start moving towards what I want to do?
-
basic-meme wrote:
You sure? Near as I can tell, just changing the system’s .ini file seems to have worked. I changed Pittsburgh to be controlled by Bretonia Police, a faction I’m currently neutral with, and when I flew out into space, Pittsburgh was neutral and it even said “Police Base” (normally, it says “DSE Base”) when I hovered my mouse pointer over it. As an additional test, I changed Fort Bush to be controlled by the Liberty Rogues, who are hostile to me. Sure, enough, when I flew out there, Fort Bush was hostile, said “Rogues Base”, and it even had Bounty Hunters shooting at it. I took a look at universe.ini (in the “DATA/UNIVERSE” folder) and it didn’t seem to have the usual faction and reputation text strings in it.
I never said that what you did doesn’t work, just that it may be incomplete. I admit that I don’t know what it does or if it is used at all, but I was refering to the
BGCS_base_run_by = XY ```line. I Imagine it may have something to do with space chatter. As to your other questions, I created a short [wik](https://the-starport.net/modules/mediawiki/index.php/Randommissions_Tutorial)i entry for the randommissions. I know that it is not complete, but I think it should be enough to get a good overview. For detailed questions the forum search should be able to answer most questions. I will try to fill in the dead links in the next days.