Important Message

You are browsing the archived Lancers Reactor forums. You cannot register or login.
The content may be outdated and links may not be functional.


To get the latest in Freelancer news, mods, modding and downloads, go to
The-Starport

Bribes Problem of a new Faction

The general place to discuss MOD''ing Freelancer!

Post Sat Jul 05, 2003 2:01 pm

Bribes Problem of a new Faction

Ok.. i created a new Faction and i want to add a Bribe.. which actually i managed.. BUT.. the results came out like this:

Bribe with no Name

i used the following id for it:

16100 - You could stand to have a better reputation with %F0v1. I could hack your record for %d0 credits...that should clear things up. Of course that will make you less popular with %F1v1, %F2v1 and %F3v1. What do you say?

i know that:

%d0 is the amount that has to be paid.

%F0v1 is the faction the player can approve his rep with.

%F1v1 %F2v1 %F3v1 are the enemies of this faction.

but as u can see in the picture it didn't work out. Anyone a clue why? is it finding those variables in a hardcoded file? or where?

Post Sat Jul 05, 2003 2:08 pm

can u send me the info on how u created the faction (my attemps have so far not been sucsesful) and il have a look at the problem.

Post Sat Jul 05, 2003 3:38 pm

EDIT: Capt.Harlock is right: it cannot be done. So consider the rest of this post as obsolete


The problem might be caused by one, or more likley a combination, of the following:

a) you did not create a new name for your faction in (but that would not explain why its enemies' names aren't shown) ---> initialworld.ini; ---> your own dll.file

b) you made it's reputation neutral to every other faction, so that it doesn't have enemies (but that would not explain why its own name isn't shown) ---> empathy.ini

c) you made an error in the bribe line, maybe used an incorrect nickname ---> mbases.ini

Should be something like bribe = nf_?_grp, 10000, 16101 , where nf_?_grp is the nickname of your faction.



Edited by - hans olo on 05-07-2003 16:50:03

Edited by - hans olo on 05-07-2003 19:45:12

Post Sat Jul 05, 2003 4:55 pm

sorry dewd.. i did everything correct... i added the names actually to the existing dll without no probs..coz they get shown in the system and it appears in the reputation window.. also empathy.ini has been updated with the new factions. (hell that was annoying to do ).. and the bribe line is also correct in mbase.ini .. i tried out the rep and it works fine.. it does make it better for the faction and does make it worse with the enemies.. but they just don't get shown.. do you have any clue from where those variables get taken? Or did you already create a new faction and a bribe for it and it worked? Ok i mean.. if i can't figure it out i'll just make my own custom thing.. but it would be cool to figure out what the problem is..

Post Sat Jul 05, 2003 5:54 pm

Damned! I hate to remove my post, but I made a quick check and it seems that the problem you descrive does indeed occur!

The first time i tried to create a new faction, it was sort of a twin brother of The Order, because I wanted the Order to show up in the rep screen, and it's hard-coded not too. So I made a faction also called The Order, which had exactly the same stats as the original Order (except, of course, for the nickname), and was very very close to it, so that the player would always have the same rep with both Orders.

Anyway, this is where I got the impression that you can just use the bribes for your custom factions. But I just looked, and all my bribes mention the original order, not the custom one. And my quick check indeed made it clear thqt my custom faction did not show up.

So, I distributed false info, for which I apologize.

Now, it's time to start searching for a solution. Thanks for bringing this up!!


Edited by - hans olo on 05-07-2003 19:10:52

Edited by - hans olo on 05-07-2003 19:16:54

Post Sat Jul 05, 2003 6:14 pm

ok. thanks dewd .. well i completely made them new.. and believe me
that is some hard long editing there ..especially the empathy.ini but anyhow
they are completely new and are not replacing any existing faction. Indeed
actually all the others seem to work coz i had a bribe screen that shows for example. Universal Shipping as the faction to get a better rep.. and one enemy of them.. and then just an empty enemy spot. Which is probably one of my new factions that should be there.. i guess there is no way to make that work. But anyway.. one solution is still to create a complete new info for that with the names in it. Of course it's not the solution i would like.. but hey. it's better than nothing if anyone though still has managed to make a new faction and a working bribe..please let me know..

oh btw.. han .. no need to apologize .. thanks for the help

oh and also..maybe so you all know what i did..

i put the names for my factions in the nameresources.dll there are free tables after the faction names.. so i added them there.. but that's not helping..

even tried to put them into resources.dll but that's not helping either.. i have some feeling they are hardcoded..

Edited by - Capt.Harlock on 05-07-2003 19:18:42

Post Sat Jul 05, 2003 6:28 pm

Man, I'm sorry for declaring that it can be done. Seems you are right - it can't, at least not the easy way. This sucks!

There might still be some ini file I have overlooked, but I fear this problem has to do with how the game works, and I wouldn't know where to look. Indeed, let's hope someone with the know-how, will find the solution.

Capt.Harlock wrote "one solution is still to create a complete new info for that with the names in it "

Yes... that is a solution, but it removes the interactive part. And part of the faction fun is that there is a shift in who are best friends and worst enemies.

On a side note: this is not as flexible as I imagined at first. I think it's not possible to make a faction make loving two sworn enemies; you cannot make a faction be good friends with, for example, both the Red Hessians and the Corsairs. At least, that's my guess. I had a couple of desktop crashes when I tried this. The game probably found out that a potential conflict existed: what if
this faction would be witness to a war between the Corsairs and the Hessians? On whose side should iot be? I would say: neutral, but the game simply crashed to desktop.

Post Sat Jul 05, 2003 6:36 pm

Capt.Harlock wrote "i have some feeling they are hardcoded.. "

I don't think the faction names are hard coded, but the routine to get the contents of the bribe variables probably is, and I fear the limitation is in this routine.

Anything I can say about this, is pure speculation, and the last time I was into programming was years ago,before the Windows era. And this was Q-basic. lol!

But, suppose that the game will only proces a fixed number of factions? I believe there are 55; maybe it will just stop looking for a name after that? That would be very uncool, but this problem *is* very uncool.

Another solution might be somewhere in how the fations are initilaized. I assumed this was done in initialworld.ini, but maybe this is not the whole deal.



Edited by - hans olo on 05-07-2003 19:36:47

Post Sat Jul 05, 2003 6:43 pm

Take a look at \DATA\RANDOMMISSIONS\vignetteparams.ini

I have no time now to analyze what this file exactky does, but it is about factions, and there are parameters like Offer_group and offer_text.

Post Sat Jul 05, 2003 6:45 pm

this file seems to define parts of jobs you can take.. like for example the messages you get while doing a job and stuff.. haven't found anything interesting in it....but i might be wrong..

Edited by - Capt.Harlock on 05-07-2003 20:04:25

Post Sat Jul 05, 2003 7:26 pm

Yeah, you're right (I couldn't resist to look around a bit longer ) Well, I fear the solution is not in an ini-file then.

Post Sat Jul 05, 2003 7:43 pm

well..we tried ..hey..atleast you can still ad a own infocard ..so we're not completely screwed

Post Sat Jul 05, 2003 11:57 pm

Capt.Harlock wrote "so we're not completely screwed"

That's true, could have been worse; we'll just have to make some custom bribes, either generic or specific, that don't use the faction variables. We can still use the amount-of-credits.

Except for this bribe problem, you can make your faction do everything that a normal faction does. Although I haven't yet looked into how the random missions are done... This bribe thing shows that there apparently can be some unexpected limitations to what we can mod, so I guess it's smart to expect nothing and hope for everything

Post Sun Jul 06, 2003 12:03 am

*looks at Zen's Ship Building Tutorial. Noices something. Opens freelancer.ini. Sees

[Resources
DLL = OfferBribeResources.dll ; Contains random mission offers and bribes

Opens it in Resource Hacker. Notices TONS of names and the like.*

Perhaps this DLL file has something to do with your new faction not showing up. I really don't know right now...

Post Sun Jul 06, 2003 12:25 am

You might have a point... I looked briefly into this file earlier, but dimissed it; thought that it was about texts used in SP. But indeed String Tables 63 - 85 contain faction names, some factions more than once...

Now we must investigate how this could be connected to a bribe... But I am going to sleep now; it's 1:20 AM here.

Return to Freelancer General Editing Forum