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

Random Missions for Hire MOD Info Request

The general place to discuss MOD''ing Freelancer!

Post Wed Apr 09, 2003 12:11 am

Random Missions for Hire MOD Info Request

Greetings fellow Freelancers!

With all the MODs starting to be developed, I have been inspired to also contribute to our community. Unfortunately, desire isn't enough. I wouold really like to add new random missions to spice up the variety of work available to players (for both SP and MP games). So how does one construct such a script?

Does anyone know of any useful information or tutorials on how to modify or create from scratch random mission scripts and random event/encounter scripts? I'm willing to do the work, but I just need some help in getting started on learning how to do it.

Also, one other "special" script type I'd like to include would involve conversations with a contact NPC at one bar who hires the character to take a package to a specific individual (NPC) at another system's bar with some faction attempting to intercept the PC in route (be that pirates, a competitive faction, or the local police/navy). If anyone has some tips on how to accomplish these kinds of missions in the game, please let me know.

Thanks in advance to all who can help me (and others who read this post) learn how to write new mission scripts.

* Peace through superior firepower *

Lev

Post Wed Apr 09, 2003 12:39 am

Check out the vignetteparams.ini thread in this forum.
That's the meat of the random missions and is currently in the process of being figured out (whether or not it actually will be figured out is unknown though).

Disclaimer: I have no idea what I'm doing so act on anything I say with caution...

Post Wed Apr 09, 2003 2:18 am

I've been trying to figure out random missions myself. Here's my thread:

vignetteparams.ini - post everything you know, let's figure this sucker out

Post Wed Apr 09, 2003 2:43 am

Hey, thanks for the heads up and the link. Maybe with collaboration we can crack this thing.

* Peace through superior firepower *

Post Wed Apr 09, 2003 3:18 am

Yes, Smuggler MOD. Instead of them all money bribes to fix your reputation; I stuck some changed info cards for offers to Smuggle Cantraband to another system. It is only one and not random (that can be done later) I just want it to work.

It also involves changes and adding in (assembler code! and you thought high level language V C++ was hard) lines to perform this behavior. logic control. vignettes just gives a interface stuff. This is completly new subroutine code that is activated by clicking on accept. It was not like anybody was really using the bribe offers window interface to set reputations anyway....

It is a work in progress since it is a real pain to add in code by hex editor (compiler will not do, less the one I got my hands on) so I do it the hard way and takes forever. Not realy but a month. You must write the code in assembler but you can write sub routine in C++ what ever is compatible with what they are using...convert it to assember code (saves alot of time) then add it in and re-compile the content.dll back.

Since I do not have this; I looked at the content.dll with PE Explorer shareware off Net and was adding in the code by HDD Hex Editor by hand! Man, that is slow but gets the job done. Do not forget to recalculate the new check sums and eof data andentry point or EXE will get lost; that is why I use a subroutine to call it out; form the click bribe Smuggle Item off screen.

Pretty easy to do if you are a full blown programmer. I can do it; but slow.

Much of the hard coded behavior can be changed DDL. One thing puzzle me - why can not I get a good look at the EXE? I guess I need a better viewer; or is it a security device; it says unknown OpCode...WTF is that .NET stuff? I need a updated viewer or how do you decompile or view the EXE?

Give me a house I sleep for the night; give me a hammer, I sleep forever.

Return to Freelancer General Editing Forum