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

Naming new factions for random missions

The general place to discuss MOD''ing Freelancer!

Post Wed Jan 05, 2005 1:01 pm

Naming new factions for random missions

I`m sure i`ve seen somewhere that there is a way of adding entries to the new factions so that they show up in the mission dilogue. I searched the tutorials and beginners forum but couldn`t find it, could anybody point me at it?
Cheers..

Post Wed Jan 05, 2005 2:16 pm

Found it myself a little while back after quite a bit of searching. It works okay though I found a slightly easier (lazier way ) than chips method of moving existing short names. I used unused space at end of thie names section in offerbribesresources.dll and it works okay if you stick to same rules as Chips explains. Thx Chips
Anyway not sure how to get back to Chips explanation so i'll paste what i copied of Chips explanation here for you.

Okay - to add names to missions COMPLETELY - you were probabily near to it already. It is in the offerbribesresources.dll file - however, you have just done it "incompletely" - a use of logic shoulda got you there

This also adds them to the bribes, faction rep fixing, and anything else as well

Okay - in initial_world.ini file you will find the "name" for the faction - here is an example:

[Group
nickname = li_n_grp
ids_name = 196846
ids_info = 66200
ids_short_name = 196895

next - its the ids_name number it is LINKED to. So that is 196846 -

So - if you put in the name NAVY and search for ids names in offerbribes resources - it comes up with this;
328680
328780
328880
328980

These say :

Liberty Navy
The Liberty Navy
Liberty Navy
The Liberty Navy

You may have just seen the pattern in the numbers, and YES - it is THAT simple:
So we have 196846
Take the DIFFERENCE between that and the FIRST of those numbers - which is:
131834

You got the difference "formula" now. Next - the difference between the NEXT number is just 100 more, and consectively for each up to the four being done.
So its 131834, 131934, 132034, 132134
Now then, You know where to stick the names now......put your number in and use this. By the way - i didn't fancy sticking in a couple more dll files - so i just "made room" instead. HOW?

Well - note....
[Group
nickname = br_p_grp
ids_name = 196850
ids_info = 66178
ids_short_name = 196899
This is the NEXT number AFTER the last factions ids_name.....so using some logic, i made the short name something else....

[Group
nickname = br_p_grp
ids_name = 196850
ids_info = 66178
ids_short_name = 524897

Then made the new faction have the name:
[Group
nickname = co_fw_grp
ids_name = 196899
ids_info = 66830
ids_short_name = 524627
Then i continued to use the same method, but without having to make a new dll etc - so I use the offerbriberesources dll again. It has space for about 50+ factions names to be added like this
And then used THAT number as my factions name instead....
328733
328833
328933
329033

There are actually two numbers "unused" that require NOT to move about numbers like this - think it was 196873 and 196891 - but not positive - so check folks. Also you will find that nomads have names here, as well as quintanes men.

You can keep "moving" the existing short names and making them into new numbers, and then using the old number as your factions name to keep it in bribe resources- otherwise you might need to add SEVERAL new dll files for your mod (it seems to be a simple numerical formula relation - ergo, if its numbered as 524800 instead, then it should correspond to
656634


Please ammend credits to:
Chips of Pathfinderstudios,
creator of the evolutions mod,
Moderator of TLR,
Governer of Chiptonian Empire of Potatoes
and all round hero of the free people of the world

Or, if thats a bit long - just "Chips - TLR" - but without the quotes....

Erm, if anyone was in doubt - i was joking about the long version.....unless you wanna put it in yourself

Post Wed Jan 05, 2005 5:13 pm

Cheers Kitihawk, I should be able to get it all sorted now.

Post Thu Jan 06, 2005 4:28 am

Errr.. I`ve gone through and made sure there`s no mistakes and it dosen`t work. The names don`t show in the mission dialogue still.
All of the names for the factions are in names resources and entries in offerbribes..
Any ideas?

Post Thu Jan 06, 2005 10:15 am

Hi Mace,
Can't say exactly where it's gone wrong for you but here's some suggestions:
I'm assumming you had all you factions working, including reps showing up missions being offered etc , apart from the names in missions and bribes.

One did you start a new server with new player (wiping MP file). This makes a difference with somethings but don't known about this.

Second suggestion is if you followed the way that Chips did it then just check for errors using Evolutions as a reference cos Chips as it working in there.

Third is to try the numbers I used as follows for entries in the offerbribesresources.dll


e.g.

196943 - first faction 328777 - first faction
328877 - the first faction
328977 - first faction
329077 - The first faction

196944 - secound faction 328778 - secound faction
328878 - the secound faction
328978 - secound faction
329078 - The secound faction

etc.

Not sure how far you can go with these numbers and still have them work as i've only done it for a few factions but these work ok. Also remember to check your not gonna overwrite something.

Hope this Helps

Post Thu Jan 06, 2005 1:55 pm

Found the original link on this topic

http://www.lancersreactor.com/t/forum/t ... ng&M=False

Post Fri Jan 07, 2005 5:59 am

You forgot: Delete "Restart.fl"
It can cause FL to ignore new data.

Watch your 6!

Post Fri Jan 07, 2005 7:49 am

Cheers guys, i`ve got it all sorted now. If anyone else reads this thread and needs some info, if you replace the short names from Br_p downwards there is a hole of unused locations in offerbribes to use.
Cheers 4 ur help again and cheers to Chips for finding out how to do it in the first place.

Post Sat Jan 08, 2005 9:02 am

By the way, i`ve found out why the numbers i used on offerbribes didn`t work. I was trying about 3 months ago to add solar objects to the random missions. Things like liberty cruisers and stuff, the names for them are where i put my first load of factions.
Basically, the string_0-11 in killable solars can be added to.
String_0 is weapon platform its linked to 329680, 329780 and 329880
the names are = weapon platform, a weapon platform and the weapon platform.
I`m not gonna get to in to it here, if anybody actually wants to know, post here and i`ll put it up.

Post Sat Jan 08, 2005 10:40 am

Whoa... so that's why doing this through XML/FLMM wasn't working right. Y'all have just saved my bacon again, thanks for bringing this bit back to light

Post Sat Jan 08, 2005 3:38 pm

Did u want me to post the solar target thing? I know you`re an experienced modder.
It is pretty straight forward. You just need to add the entries in solararch and add loadouts. Piece of cake.

Post Sun Jan 09, 2005 12:37 pm

Post away - someone may want to read it!

+++ out of cheese error - redo from start +++

Xtreme Team Studios

Post Mon Jan 10, 2005 9:28 am

I`ve just posted the tutorial in its forum on how to add new targets to random missions. Its the first one i`ve done and is aimed at modders that have a pretty good knowledge of what to do. If you get ant probs with it post onto its thread.

I`m not sure if this link will work , u might need to copy and paste.



Edited by - M-A-C-E_166 on 1/10/2005 9:29:53 AM

Post Thu Aug 04, 2005 12:20 pm

After using FLed_IDS to go through each Faction nickname and IDS to identify it (bored, caffeinated and kinda loopy after working 24 hrs) I found two nicks that had odd entries. the first fc_uk_grp ids: 197510 came up as blank, is this an open one we can use without messing up the original game?

and the second fc_f_grp ids: 197511 came up as "Fugitive" but like the blank one, both had "1" as the ids name #.
Is this also a blank or unused ids number that can bu utilized without affecting the original game?

Nemo me impune lacessit.

Post Thu Aug 04, 2005 6:40 pm

Well, I found that its best to use the short name of the original factions starting from fc_bd_grp. The offerbribes entry is linked to the Full ids name, but the short name can be from a custom dll instead (or just somewhere else in names resources). There's quite a few that you can add if you wanted to..

Return to Freelancer General Editing Forum