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

Vignette parameters

The general place to discuss MOD''ing Freelancer!

Post Mon Sep 10, 2007 12:20 pm

Vignette parameters

Hi all,

Is there a comprehensive list of which type of mission is equal to which node id number? An example would be,

[DataNode
node_id = 316

which is offered to the lawful factions, but what do you have to do? I'm looking for a list of each node = what type of mission

Member of the HAVEN ADMINS community
http://talonstrike.co.uk/HavenAdmin/index.php

Gizmo Studios - Home to the Galactica mod series
http://gizmostudios.proboards38.com/index.cgi

Post Tue Sep 18, 2007 6:42 pm

Hi bud.

Its in OfferBribeResources.dll

The chain starts with Node_id = 2, which is Randommission start.

I haven't spent much time studying it as yet so this is just gut feel at the moment...

The game picks up relevant messages and decisions as to what the type of mission will be by stepping through the vignetteparams file and making random decisions (just like tossing a coin). There are also function / event decisions. In each case the "Yes" path is the first child_node and the second one is for "No".

OK, you got me into it and I spent the last 3 hours since I started this reply in researching it for you - so here it is, you can finish it because there's not much left and it will help you to understand it better.

You will see I refer to "non-aligned factions" for some of the missions - in my mod these are all the new factions, it seems the game doesn't know exactly what to do with new factions so it enters them into all the faction options, together with legals (police) and also with guilds & companies and also with the criminals. How it doesn't get its knickers into a twist I cannot see, but it doesn't.

Here it is, let me have it back on this forum when you complete it so everyone can have a copy? Thanks.

<pre><font size=1 face=Courier>
pb = pre-battle objective
mb = main battle objective

2 - Random mission
247 - load up 6 failure messages into variables
461 - Pick up difficulty & reward from entry #327682 into variables
6 - Pick up 16 mission objectives & reward/failure messages into variables
256 - Throw dice for mission type - Destroy solars? Yes: go to 454 No: go to 5
5 - Is this an Assassinate i.e. ship or solar kill (or capture) mission?
Yes: go to 173
No: go to 248
173 - Is this an Assassinate ship mission? Yes: 87 No:191
87 - set up leader defence ships & load taunt message
429 - loads up 4 appropriate commands & messages for this mission into variables
("Find your target at...", "Hold off xxx's cronies until he can be located",
"Hold off xxx's cronies until he arrives" - alternative messages
174 - Is the target going to drop critical loot? Yes: 433, No: 435
433 - load message to tell player to go to launch & go to mission waypoint
177 - Should player bring back loot? Yes: 195 No: 178
195 - random branch (toss a coin): Yes:187 No:550
187 - load 3 alternative appropriate messages (same objectives)
& fill in faction, target name, loot name, return base
231 - load up success message
233 - Pre-battle? Yes: 224 No: 226
224 - goto 100
100 - will target spawn at the pre-battle? Yes: 283 No: 609
283 - load message to direct player to next waypoint (target will flee)
154 - is the pre-battle not the target wave? Yes: 441 No: 439
441 - load message for when player gets in range of pre-battle
203 - target spawns with wave? Yes: 206 No: 206
206 - documentation: target runs to main battle
237 - load "success but not killed all, go to main battle" message
221 - unconditional decision: Main battle not target? Yes: 157 No: 157
157 - Documentation: This is the main battle
132 - Will there be defensive solars (meaning ships or other) at the
main battle? Yes: 303 No: 322
303 - set Difficulty = 0.351002, 100
456 - set Allowable_zone_types = open, exclusion
354 - random branch (toss a coin): Yes:351 No:569
351 - this mission is for Legally-aligned factions.
Load warning message about other defensive solars
356 - go to 165
=================
569 - random branch: Yes:357 No:566
357 - this mission is for guilds companies & non-aligned factions.
Load warning msg about other defensive solars
go to 356
=================
566 - this mission is for criminals & non-aligned factions.
Load warning message about other defensive solars
go to 356
=================
322 - set Difficulty = 0, 100
165 - will there be a second wave just after main battle starts? Yes: 183 No: 183
183 - will there be continuous re-inforcements? Yes: 198 No:198
198 - set Weight = 20, Offer_group = all, Hostile_group = all
(end of path)
=================
439 - load message for when player is in range that his target is here
go to 203
=================
609 - load "player in pre-battle range but no target" message
281 - load message to guide player from pre-battle to main-battle
214 - pre-battle is non-target wave
201 - will the pre-battle wave run? Yes: 228 No: 212
228 - go to 289
289 - load "cronies running" message
207 - documentation = Main_battle
102 - documentation = Target_spawns_at_main_battle
158 - decision - Main_battle_non_target_wave? Yes: 235 No: 444
235 - load "in range but no target" message
216 - will target spawn with wave? Yes: 132 No: 132
go to 132
=================
444 - load "player in main battle range, target present" message
go to 216
=================
212 - documentation = Pk_pre_battle_wave
122 - load "success killed all pre-battle, go to main battle" message
go to 207
=================
226 - go to 207
207 - documentation = Main_battle
go to 102
=================
550 - random branch: Yes: 232 No: 538
232 - this mission is for guilds companies & non-aligned factions
go to 231
=================
538 - mission is for criminals & non-aligned factions,
Load message identifying the target and his faction
231 - load the "on success, return loot" message
233 - will there be a pre-battle? Yes: 224 No: 226
224 - go to 100
=================
178 - Should player tractor the loot? Yes: 266 No: 185
266 - random branch: Yes: 258 No: 551
258 - this mission is for legal and non-aligned factions.
Load "it appears there's been a lot of activity from xxx lately" msg
268 - Load the "on success tractor the loot" message
go to 233
=================
551 - random branch: Yes: 336 No: 541
336 - mission for guilds, companies & non-aligned factions.
Load message identifying the target and his faction
Go to 268
=================
541 - mission for criminals and non-aligned factions.
Load message identifying the target and his faction
Go to 268
=================
185 -

=================
435 - Load message to tell player his target is at the mission waypoint
333 -

=================
191 -

=================
248 - Implemented = False (i.e. this "assignment" type mission was not implemented)
466 - Documentation = "Assignment"
463 - random branch: Yes: 156 No: 156
156 - go to 164
164 - go to 166
166 - go to 91
91 - go to 249
249 - go to 287
287 - end of path
=================
454 -

=================

</font></pre>

Roleplay: - the art of self-deceipt!

Post Wed Sep 19, 2007 4:13 am

Excellent work and thanks for that, i have some roving space entities i want to offer missions to, but i don't want to offer destroy base missions as they don't have any, it's why i was after which node does what.

Member of the HAVEN ADMINS community
http://talonstrike.co.uk/HavenAdmin/index.php

Gizmo Studios - Home to the Galactica mod series
http://gizmostudios.proboards38.com/index.cgi

Post Wed Sep 19, 2007 4:33 am

Bows in reverence.

Post Wed Sep 19, 2007 5:28 am

It seems from what I learned yesterday that mission types are generated completely randomly, by the random branches in the VignetteParams.ini file.

It's probably possible to force the types of missions you want by changing the random branch decision node where it's decided to step only to the node which sets the type of mission you want, instead of deciding either that or another type of mission.

But then you will be forced to have those types of missions all the time instead of the alternative that that particular decision node can select as it is now.

Now sometime ago I came across a vignette schema maker here, but I haven't used it to see what it generates. Worth a try if/when you get some time.

All the best

Edited by - STarTrader on 9/19/2007 6:29:46 AM

Return to Freelancer General Editing Forum