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

EDITING .THN FILES ???

Here you find the different tutorials on editing and MODing Freelancer

Post Tue Aug 05, 2003 5:26 pm

EDITING .THN FILES ???

I can remember reading somewhere, that someone once asked how to create their own missions. Doing a little research of my own, I've come to realize it wouldn't be too difficult to write a tutorial on how to do just that. I can already adjust the amount of pay recieved after each mission in the line
Act_AdjAcct = ####
Below I've broken down the line to give it more meaning.

(Act = Action)
(Adj = Adjust )
(Acct =Account )
( ## = amount of pay to your account.)

Looking at more of the files and command lines theres only a few things I would need help with right now in order to write a good tutorial on this.

1) You can't edit the .thn files yet. I need to be able to edit those files. Encrypt and Decrypt.

2) I can't seem to figure out which trigger makes Juni contact you to say "Hey I've got a mission for you. meet me here....." and the trigger for activating the mission offer just by going into the bar.

3) We people that want to make our own missions don't need sound. But we need text. I can figure out how to play one of the other missions animations over agian you just wouldn't hear anything. So all the info will have to be in the Accept or Decline screen in the text explaining the mission.

4) The trigger that activates a mission success. I can't figure that one out either.

Post Tue Aug 12, 2003 3:10 am

Oh I will. Just give me a little while to figure out all the command lines in these .thn files and I'll type up a whole tutorial on makeing your own missions. I'll put it in such deep detail that even someone who dont yet even understand how to turn on thier computer will be able to make thier own missions for freelancer. And even edit the existing ones. I'll post it in the editing forum when I'm done.

Post Sun Aug 24, 2003 6:32 pm

Its allready been posted (But only for the Menu Background).

Thats for me to know and for you to find out!!

The ones who have havn't...
The ones who don't do...

Kendo_THM
Starfyre Studios Public Liason
X-Lancer Project Leader

Post Thu Sep 04, 2003 10:15 pm

I already posted it, but ... again:

YOU CAN' T ADD NEW STORY MISSIONS

and the reason aren't the THN files (they are only for cutscenes), there is already somewhere a decompiler...
ok, do something.
- Get a HEX editor
- Load the file "~\Freelancer\DLLS\BIN\content.dll"
- goto offset 1124496 (in FL version 1.0, 1.1 was changed)
- you will get "Missions\M01a\m01a.ini" followed by all other mission INIs.

what will this say us? simple, the conditions and sequence of missions are hardcoded ----> you can't edit this, and surely you can't add something

this is the reason why you couldn't find a trigger to start a mission, cuz its hardcoded in this DLL (and no, this is not a Resource DLL, you can't edit it with ResourceHack)

Good Luck and spend your time on something else

Post Thu Sep 04, 2003 10:26 pm

Ah HA! - A man who sounds like he can point me in the right direction for changing the version numbers!! Do i need a decompiler to decode the FL.exe file, and then change the number of the version so it says like 1.21 ( a la FW - 1.41 and TNG - 1.59/60 etc) If so - what part do i look for etc, and could you give me some guidance for it?!?! It would be most appreciated!
Chips

Post Fri Sep 05, 2003 12:41 am

yes, I just tried it and, it's easy if you know how to do it

what you need:
- the freeware programm Reshacker (click me)

so,
- open reshacker and load the flserver.exe
- on the left, click on "+" near to Version Info and then on the one near to "1" and finally on 1033
- on the right, change
FILEVERSION 1,0,1223,11
PRODUCTVERSION 1,0,1223,11
to
FILEVERSION X,YY,ZZZZ,BB
PRODUCTVERSION X,YY,ZZZZ,BB
where X,YY is your version, ZZZZ the revision and BB the Build
- Click on "Compile Script"
- Save (a backup will be created automatically)
- do the same with freelancer.exe or you can't connect to your new server

Edited by - skyshooter on 05-09-2003 01:47:03

Return to Freelancer Editing Tutorial Forum