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
103 user(s) are online (57 user(s) are browsing Forum)

Members: 0
Guests: 103

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 24 users playing Freelancer on 37 servers.
December. 7, 2022

Browsing this Thread:   1 Anonymous Users



 Bottom   Previous Topic   Next Topic  Register To Post



Editing base ownership, and editing random job targets?
Just popping in
Joined:
3/1 10:27
Group:
Registered Users
Posts: 19
Offline
After spending some time editing reputation and ships, I'm starting to feel a bit more ambitious. Something I would like to do now, if it is not too complicated to do so, is edit a base to change the faction that controls it, change the random jobs that are offered there, and maybe the NPCs that can be found there. How would I do that? Is it possible simply by editing .ini files?

Specifically, I would like to do the following. If I could get specific (and simple) instructions for doing so, that'd be great.

== Change Kabukicho Depot's ownership to the Blood Dragons, and fill it with Blood Dragon NPCs who say the same stuff that the NPCs in Kyoto Base say. (I don't like how the Blood Dragons' only base is sort of isolated off in it's own system, so I'd like to give them another one in a more populated system.)

== Change Narita Outpost's ownership to the Hogosha, and have Kabukicho's original NPCs appear here. (Storywise, the Hogosha's operations are "technically legal" so it kinda-sorta makes sense for them to have a base out in the open.)

== Change Shinjuku Station's ownership to the Kusari Navy. Move Shinjuku Station's NPCs to Yokohama Shipyard, and populate Shinjuku with Navy and Police NPCs.

== Change Planet Junyo's ownership to the Kusari Police. The NPCs can stay the same, but the vendors and bartender should be aligned with the Police.

== Change Tsushima Depot's ownership to the Kusari Navy.

== Change Nansei Research Complex's ownership to the Blood Dragons, and fill it with Blood Dragon NPCs (and maybe a few Golden Cs since they're supposed to be kindasorta allies). Move Nansei's original NPCs to Tsushima. (Just so the Blood Dragons can have one more base, and Nansei is out of the way enough to be a plausible location for an outlaw faction's base. I kind of like the Blood Dragons a little bit, if you couldn't tell, and I'd like for them to have a bit more presence in the game. One BD base in an otherwise-empty system and a few BD NPCs on one other faction's only base in a nearly as desolate system just isn't enough.)

== Every base mentioned above also offers jobs that reflects the factions who now hang out there.

Or, failing that, perhaps I could create an entirely new base, cobbled together from existing assets? I have a feeling this would be more complicated, but it might not be. Couldn't hurt to ask. I'd prefer to remodel existing bases though, depending on how complicated a task that is.

I'd also like to change the random jobs that specific factions offer. For example, the Blood Dragons give jobs to attack the Kusari Police and Kusari Navy. Would it be possible to change that to have them give jobs to attack Samura Industries and the Hogosha instead?

Thanks in advance for any help you can offer!

Posted on: 6/7 3:52
Top
Re: Editing base ownership, and editing random job targets?
Just popping in
Joined:
2020/6/27 0:03
From Nevada, USA
Group:
Registered Users
$$$ Supporters $$$
Posts: 14
Offline
Everything you mentioned can be done by editing lines in mbases.ini

As for exact tutorials, unsure if there are any up to date ones. To get you started at least, check the mbase.ini link I provided above for some basic info on what sections do. After that, make a backup of your own mbases.ini before you start tinkering. If you are directly editing the game files, using FL Mod Studio might be beneficial to you when it comes to editing the INIs compared to a text editor since you are just starting out.

Sorry I couldnt provide more info right now but maybe someone else will be able to provide better links or a full blown tutorial for you.

After looking a bit more, it might be time to update the mbases.ini entry in the wiki...

Posted on: 6/7 5:35
[AVA]-DragonFire
24/7 Freelancer Universe Discord
Steam Profile
Top
Re: Editing base ownership, and editing random job targets?
Not too shy to talk
Joined:
2017/3/1 17:22
From Bavaria
Group:
Registered Users
$$$ Supporters $$$
Posts: 91
Offline
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

Posted on: 6/7 16:33
FL Leuchtfeuer
The proclamation of absolute truths is always a business model.
Top
Re: Editing base ownership, and editing random job targets?
Just popping in
Joined:
3/1 10:27
Group:
Registered Users
Posts: 19
Offline
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.

Posted on: 6/9 3:09
Top
Re: Editing base ownership, and editing random job targets?
Just popping in
Joined:
2020/6/27 0:03
From Nevada, USA
Group:
Registered Users
$$$ Supporters $$$
Posts: 14
Offline
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.

Posted on: 6/9 5:13
[AVA]-DragonFire
24/7 Freelancer Universe Discord
Steam Profile
Top
Re: Editing base ownership, and editing random job targets?
Just popping in
Joined:
3/1 10:27
Group:
Registered Users
Posts: 19
Offline
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.

Posted on: 6/10 12:37
Top
Re: Editing base ownership, and editing random job targets?
Just popping in
Joined:
2020/6/27 0:03
From Nevada, USA
Group:
Registered Users
$$$ Supporters $$$
Posts: 14
Offline
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_easy

The 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.

Posted on: 6/10 13:19
[AVA]-DragonFire
24/7 Freelancer Universe Discord
Steam Profile
Top
Re: Editing base ownership, and editing random job targets?
Home away from home
Joined:
2008/5/21 19:32
Group:
Registered Users
FLServer Admins
$$$ Supporters $$$
Senior Members
Posts: 965
Offline
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.

Posted on: 6/10 23:41
Gun control is like fighting drunk driving by making it harder for sober people to buy a car...
Top
Re: Editing base ownership, and editing random job targets?
Just popping in
Joined:
3/1 10:27
Group:
Registered Users
Posts: 19
Offline
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?

Posted on: 6/14 6:52
Top
Re: Editing base ownership, and editing random job targets?
Not too shy to talk
Joined:
2017/3/1 17:22
From Bavaria
Group:
Registered Users
$$$ Supporters $$$
Posts: 91
Offline
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.

Quote:

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:

  1. The offering faction

  2. The enermies of said faction

  3. What factions can occur in the vicinity of the base

  4. The valid mission types against the enemy faction

  5. Level requirements


You must decide which of those points you want to adress.

Like I said, what you want to achieve is a lot of work.

Posted on: 6/14 20:19
FL Leuchtfeuer
The proclamation of absolute truths is always a business model.
Top
Re: Editing base ownership, and editing random job targets?
Just popping in
Joined:
3/1 10:27
Group:
Registered Users
Posts: 19
Offline
Quote:

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.

Quote:

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.

Quote:
AFAIK the missions are influenced by five factors:

  1. The offering faction

  2. The enermies of said faction

  3. What factions can occur in the vicinity of the base

  4. The valid mission types against the enemy faction

  5. Level requirements


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?

Posted on: 6/15 3:22
Top
Re: Editing base ownership, and editing random job targets?
Not too shy to talk
Joined:
2017/3/1 17:22
From Bavaria
Group:
Registered Users
$$$ Supporters $$$
Posts: 91
Offline
Quote:

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
Code:
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 wiki 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.

Posted on: 6/15 21:06
FL Leuchtfeuer
The proclamation of absolute truths is always a business model.
Top
Re: Editing base ownership, and editing random job targets?
Home away from home
Joined:
2009/8/16 2:58
From Qld, Aus.
Group:
Registered Users
FLServer Admins
Trusted Speciality Developers
Senior Members
Posts: 2014
Offline
Run by reference and updated link to my own list.

Posted on: 6/16 1:49
Top