[ Version 2.40.0 ] 2/14/2005 19:05 PST  
  Lancers Reactor

.
Home | All Forums | Active Topics | Your Profile | Register | Add to Favorites | Rules and Regs | Search Forums |
Jump to 
The Lancers Reactor > Forums > Freelancer Editing: Freelancer General Editing Forum Click here to Post a ReplyPost Reply
Topic is 2 Pages Long:  Page 1 Page 2

Missions  [ Oldest first ]
 
FriendlyFire
Lt. Commander
Original posting
posted 8/13/2004 19:08 PST   Show Profile   Email Poster   Edit Message   Visits this users homepage   Delete this message   Post Reply to Topic
Ok so I have a few questions on Random Missions :

1-


mission_type = DestroyMission, 0.000000, 0.112387, 30

The 2 numbers after Destroy Mission mean the difficulty based on the RankDiff.ini numbers, but there are some numbers that are not listed there and that are used for Random Missions. Where are these listed? Is there any logic behind these numbers?

And how can I know what level is 0.112387 referencing to? minimum lvl 1 maximum lvl X...

2- How can I change the number of NPCs during Random Missions so that I could have 2 waves of 25 NPCs per wave?

3- How can I change the money given by that mission with 25 NPCs so that it makes 1M each time? But not changing the given $$ of other missions.

4- Will the rank of amission automatically be levelled up if it gives 1M $ and has 2 waves of 25 NPCs?

If I got other questions I'll post these after.

 
 
firebase
Lt. Colonel
posted 8/13/2004 22:28 PST    Show Profile   Email Poster   Edit Message   Delete this message   Post Reply to Topic
actually you are looking at the wrong file...

Try looking at Diff2Money.ini in the RandomMissions folder... this is the one that the DestroyMission uses.


a message from firebase...

[Diff2Money
Diff2Money = 0, 1800 < Level 0 RM and its payoff
Diff2Money = 0.082100, 2200 < Level 1 RM and its payoff
Diff2Money = 0.112380, 2655 < Level 1 RM and its payoff
Diff2Money = 0.205130, 3219 < Level 2 RM and its payoff
Diff2Money = 0.351000, 3919 < Level 3 RM and its payoff
Diff2Money = 0.480490, 4792 < Level 4 RM and its payoff
Diff2Money = 0.657740, 5887 < Level 5 RM and its payoff
Diff2Money = 0.900380, 7264 < Level 6 RM and its payoff
Diff2Money = 1.232530, 9001 < Level 7 RM and its payoff
Diff2Money = 1.687200, 11201 < Level 8 RM and its payoff
Diff2Money = 2.309610, 13994 < Level 9 RM and its payoff
Diff2Money = 3.161630, 17551 < Level 10 RM and its payoff
Diff2Money = 4.327960, 22093 < Level 11 RM and its payoff
Diff2Money = 5.924540, 27904 < Level 12 RM and its payoff
Diff2Money = 8.110100, 35356 < Level 13 RM and its payoff
Diff2Money = 11.101920, 44928 < Level 14 RM and its payoff
Diff2Money = 15.197410, 57246 < Level 15 RM and its payoff
Diff2Money = 20.803740, 73118 < Level 16 RM and its payoff
Diff2Money = 28.478239, 93597 < Level 17 RM and its payoff
Diff2Money = 38.983860, 120051 < Level 18 RM and its payoff
Diff2Money = 53.365002, 146192 < Level 19 RM and its payoff
Diff2Money = 73.051361, 190050
Diff2Money = 100.000000, 247065


Edited by - Sun Striker on 8/13/2004 10:36:12 PM

  
 
FriendlyFire
Lt. Commander
posted 8/14/2004 05:51 PST    Show Profile   Email Poster   Edit Message   Visits this users homepage   Delete this message   Post Reply to Topic
If this file is the one used by DestroyMission, does that mean that I could write 17.000000 and get a mission payoff of ~60k?
  
 
Chips
Admiral
(Moderator)
posted 8/14/2004 06:50 PST    Show Profile   Email Poster   Edit Message   Visits this users homepage   Delete this message   Post Reply to Topic
DestroyMission, 0.000000, 0.112387

These two numbers are the range basically - so from difficulty 0 to difficulty 0.112387 - or around difficulty 1-3 missions


IF you put 0, 100 then it would be offereing a mixture of missions from diff 1 to 43 or whatever they are - the max ones. The last is the weight in offering on the boards.

  
 
FriendlyFire
Lt. Commander
posted 8/14/2004 15:36 PST    Show Profile   Email Poster   Edit Message   Visits this users homepage   Delete this message   Post Reply to Topic
I still have these questions as asked upper :


2- How can I change the number of NPCs during Random Missions so that I could have 2 waves of 25 NPCs per wave?

3- How can I change the money given by that mission with 25 NPCs so that it makes 1M each time? But not changing the given $$ of other missions.

4- Will the rank of amission automatically be levelled up if it gives 1M $ and has 2 waves of 25 NPCs?


I've been able to change Malta so that it only gives highest missions available. But I can't get through the lvl 43 border. I also edited the BHs Formation so it has twice spots for ships, but I don't see any ship using these slots...

Edited by - Friendly_Fire on 8/14/2004 4:02:36 PM

  
 
Chips
Admiral
(Moderator)
posted 8/14/2004 16:41 PST    Show Profile   Email Poster   Edit Message   Visits this users homepage   Delete this message   Post Reply to Topic
NpcRank = 1, 0.009850, 0.035690, 0.077540, 0.135390, 0.209230, 0.299080, 0.404930, 0.526770
NpcRank = 2, 0.013480, 0.048860, 0.106140, 0.185330, 0.286420, 0.409410, 0.554300, 0.721100
NpcRank = 3, 0.018450, 0.066880, 0.145300, 0.253700, 0.392080, 0.560440, 0.758790, 0.987120
NpcRank = 4, 0.025260, 0.091560, 0.198900, 0.347290, 0.536720, 0.767190, 1.038700, 1.351260
NpcRank = 5, 0.034570, 0.125330, 0.272280, 0.475400, 0.734710, 1.050210, 1.421880, 1.849740
NpcRank = 6, 0.047330, 0.171570, 0.372720, 0.650780, 1.005750, 1.437630, 1.946410, 2.532110
NpcRank = 7, 0.064790, 0.234860, 0.510210, 0.890850, 1.376770, 1.967970, 2.664450, 3.466210
NpcRank = 8, 0.088690, 0.321500, 0.698430, 1.219480, 1.884660, 2.693950, 3.647360, 4.744900
NpcRank = 9, 0.121410, 0.440100, 0.956080, 1.669350, 2.579900, 3.687750, 4.992870, 6.495290
NpcRank = 10, 0.166190, 0.602450, 1.308780, 2.285170, 3.531630, 5.048160, 6.834750, 8.891400
NpcRank = 11, 0.227500, 0.824700, 1.791590, 3.128170, 4.834450, 6.910420, 9.356080, 12.171400
NpcRank = 12, 0.311430, 1.128930, 2.452510, 4.282160, 6.617880, 9.459670, 12.807500, 16.661400
NpcRank = 13, 0.426320, 1.545400, 3.357240, 5.861840, 9.059210, 12.949300, 17.532200, 22.807899
NpcRank = 14, 0.583580, 2.115490, 4.595720, 8.024280, 12.401100, 17.726299, 23.999800, 31.221701
NpcRank = 15, 0.798870, 2.895900, 6.291090, 10.984400, 16.975901, 24.265600, 32.853401, 42.739399
NpcRank = 16, 1.093570, 3.964190, 8.611870, 15.036500, 23.238300, 33.217201, 44.973000, 58.506001
NpcRank = 17, 1.496990, 5.426580, 11.788700, 20.583500, 31.811001, 45.471001, 61.563599, 80.088799
NpcRank = 18, 2.049230, 7.428450, 16.137600, 28.176800, 43.546001, 62.245201, 84.274399
NpcRank = 19, 2.805190, 10.168800, 22.090799, 38.571301, 59.610199, 85.207497

Keep adding numbers to these, like this:
NpcRank = 1, 0.009850, 0.035690, 0.077540, 0.135390, 0.209230, 0.299080, 0.404930, 0.526770

Becomes
NpcRank = 1, 0.009850, 0.035690, 0.055690, 0.077540, 0.10000, 0.135390, 0.175390, 0.191390, 0.209230, 0.259230, 0.299080, 0.359080, 0.404930, 0.526770

That gives more fighters in missions - you will get waves of fighters in large large numbers

Edited by - Chips on 8/14/2004 4:42:08 PM

  
 
FriendlyFire
Lt. Commander
posted 8/14/2004 17:46 PST    Show Profile   Email Poster   Edit Message   Visits this users homepage   Delete this message   Post Reply to Topic
Thanks for the reply Chips but what numbers to I add? Any I want from 0 to 100?

How can I set where to change of wave? Like there are 25 NPCs, then u get to another waypoint and get 25 others?

Finally, why do I see a max of 8 numbers while that some missions have like 17 NPCs (In 2 Waves)?

Edited by - Friendly_Fire on 8/16/2004 12:48:09 PM

  
 
FriendlyFire
Lt. Commander
posted 8/16/2004 07:04 PST    Show Profile   Email Poster   Edit Message   Visits this users homepage   Delete this message   Post Reply to Topic
BUMP
  
 
LordFjord
Sqdr. Commander
posted 8/17/2004 05:36 PST    Show Profile   Email Poster   Edit Message   Visits this users homepage   ICQ Status; Click to send the user an ICQ messageICQ Status; Click to send the user an ICQ message   Delete this message   Post Reply to Topic
the rank2diff file defines how many NPCs have what diffclass.

the rank (up to 19 for fighters in vanilla FL) defines what ships are spawned (see npcships.ini).
rank2diff then sets the overall mission difficulty. that are the 2 numbers that are given as a range in mbases.ini.
diff2money is responsible for the payout of the mission.

its a bit complex but easy to understand once u modded every part of this as i did
tough to balance though.

an example:

we have a NPCship, lets say a light fighter with rank 4
in npcships:
npc_class = lawful, class_fighter, d4

ok, in rank2diff we have
NpcRank = 4, 0.025260, 0.091560, 0.198900, 0.347290, 0.536720, 0.767190, 1.038700, 1.351260

so 8 of these will have a diff of 1.351260.

in mbases we have:
mission_type = DestroyMission, 0.112387, 5.924538, 100

lets pretend our mission spawns 3 waves of 8 fighters -> we take the 1.351260 and multiply with 3 -> 4.053780
this is within the range we gave in mbases so this scenario could actually happen.

payment for this would be:
diff2money:
Diff2Money = 3.161630, 17551
Diff2Money = 4.327960, 22093
Diff2Money = 5.924540, 27904
i took the nearest entries, i think the exact payment is interpolated but in this case it would be ~21k

i hope this was somewhat understandable.

Fjord


---------------------------------
Excelcia Mod Leading Developer

  
 
FriendlyFire
Lt. Commander
posted 8/17/2004 07:36 PST    Show Profile   Email Poster   Edit Message   Visits this users homepage   Delete this message   Post Reply to Topic
Thanks for the tip!

I tried to do it logically without any good result...

Here are my files :
mBases.ini (Malta Entry) :

[MVendor
num_offers = 5, 5

[BaseFaction
faction = fc_ou_grp
weight = 100
offers_missions = true
mission_type = DestroyMission, 90.000000, 100.000000, 100

NpcRankToDiff.ini ( on 1 line each NPC Rank = # ) :

NpcRank = 1, 2.805190, 4.000000, 6.000000, 8.000000, 10.168800, 14.000000, 18.000000, 22.090799, 26.000000, 30.000000, 34.000000, 38.571301, 42.000000, 46.000000, 50.000000, 54.000000, 59.610199, 63.000000, 70.000000, 75.000000, 80.000000, 85.207497
[...
NpcRank = 19, 2.805190, 4.000000, 6.000000, 8.000000, 10.168800, 14.000000, 18.000000, 22.090799, 26.000000, 30.000000, 34.000000, 38.571301, 42.000000, 46.000000, 50.000000, 54.000000, 59.610199, 63.000000, 70.000000, 75.000000, 80.000000, 85.207497

Diff2Money.ini :

[Diff2Money
Diff2Money = 0, 1800
Diff2Money = 0.082100, 2200
Diff2Money = 0.112380, 2655
Diff2Money = 0.205130, 3219
Diff2Money = 0.351000, 3919
Diff2Money = 0.480490, 4792
Diff2Money = 0.657740, 5887
Diff2Money = 0.900380, 7264
Diff2Money = 1.232530, 9001
Diff2Money = 1.687200, 11201
Diff2Money = 2.309610, 13994
Diff2Money = 3.161630, 17551
Diff2Money = 4.327960, 22093
Diff2Money = 5.924540, 27904
Diff2Money = 8.110100, 35356
Diff2Money = 11.101920, 44928
Diff2Money = 15.197410, 57246
Diff2Money = 20.803740, 73118
Diff2Money = 28.478239, 93597
Diff2Money = 38.983860, 120051
Diff2Money = 53.365002, 146192
Diff2Money = 73.051361, 190050
Diff2Money = 100.000000, 1000000

Edited by - Friendly_Fire on 8/18/2004 5:56:45 AM

Edited by - Friendly_Fire on 8/18/2004 6:43:22 AM

Edited by - Friendly_Fire on 8/19/2004 6:59:38 AM

  
 
FriendlyFire
Lt. Commander
posted 8/17/2004 14:36 PST    Show Profile   Email Poster   Edit Message   Visits this users homepage   Delete this message   Post Reply to Topic
Ok now I can get the missions and they pay about 900k but I still get normal number of NPCs, which is about a total of 20. But me I want to get 25 NPCs per WAVE! I want that when I arrive at the first waypoint, I get 25 BHs on my back!
  
 
LordFjord
Sqdr. Commander
posted 8/18/2004 00:19 PST    Show Profile   Email Poster   Edit Message   Visits this users homepage   ICQ Status; Click to send the user an ICQ messageICQ Status; Click to send the user an ICQ message   Delete this message   Post Reply to Topic
what have you changed to the above settings to make it work?

the only thing i can spot at 1st quick sight is that the diff2money entries dont go up to rank 300 as ur missions do.

---------------------------------
Excelcia Mod Leading Developer

  
 
FriendlyFire
Lt. Commander
posted 8/18/2004 05:56 PST    Show Profile   Email Poster   Edit Message   Visits this users homepage   Delete this message   Post Reply to Topic
I just updated my ini on my older post.
  
 
LordFjord
Sqdr. Commander
posted 8/18/2004 06:03 PST    Show Profile   Email Poster   Edit Message   Visits this users homepage   ICQ Status; Click to send the user an ICQ messageICQ Status; Click to send the user an ICQ message   Delete this message   Post Reply to Topic
ah, i can see it now (probably).

change back the offered mission diffrange to 200, 300
add additional lines to diff2money - over the 100 up to 300 - with the cash that you want them to pay out.

i think the mission didnt appear because no payment was defined for the range of 200-300.

->
...
...
Diff2Money = 38.983860, 120051
Diff2Money = 53.365002, 146192
Diff2Money = 73.051361, 190050
Diff2Money = 100.000000, 1000000
Diff2Money = 150.000000, 1500000
Diff2Money = 200.000000, 2000000
...
up to 300

Fjord

---------------------------------
Excelcia Mod Leading Developer

  
 
FriendlyFire
Lt. Commander
posted 8/18/2004 06:45 PST    Show Profile   Email Poster   Edit Message   Visits this users homepage   Delete this message   Post Reply to Topic
Updated again. Still doesn't work, get no mission...

COuld it be because the NPC Rank is 19? Would be too hard NPC for Malta?

  
 
LordFjord
Sqdr. Commander
posted 8/19/2004 00:13 PST    Show Profile   Email Poster   Edit Message   Visits this users homepage   ICQ Status; Click to send the user an ICQ messageICQ Status; Click to send the user an ICQ message   Delete this message   Post Reply to Topic
hmmm, maybe you need to change a few more ranks in the rank2diff file.
give rank 14 and above higher numbers.
in alpha you have rank18 encounters usually. maybe missions only spawn ships that are also in hte zones that overlap with the vignette zones. but this is just a guess.
give the lower ones also a bit higher numbers, not just for 19.

Fjord

---------------------------------
Excelcia Mod Leading Developer

  
 
FriendlyFire
Lt. Commander
posted 8/19/2004 06:55 PST    Show Profile   Email Poster   Edit Message   Visits this users homepage   Delete this message   Post Reply to Topic
I did this for ranks 1 to 19

I didn't work, but then I decided to change the inis again. See the modified versions up.

And it works! Only thing... I get 4 Waves of 13 fighters,,, but these are Pirhanas!!

I'll try to lower that to 2 Waves of 26 fighters (How crazy I am...) and to change that to HH!

EDIT : After some tests, it looks like I can't get HH with my big missions, and that the harder are the ships, the less I get.

What can I do?

Edited by - Friendly_Fire on 8/19/2004 7:12:30 AM

  
 
LordFjord
Sqdr. Commander
posted 8/19/2004 07:16 PST    Show Profile   Email Poster   Edit Message   Visits this users homepage   ICQ Status; Click to send the user an ICQ messageICQ Status; Click to send the user an ICQ message   Delete this message   Post Reply to Topic
hmm, you lowered the max rank to 100 again. why?
thats why only piranhas appear.
try a bigger range.
you know that it works for 90 to100.
try 90 to 500 for example. dont forget to update diff2money!

otherwise, i have no idea. this is a bit weird.

---------------------------------
Excelcia Mod Leading Developer

  
 
FriendlyFire
Lt. Commander
posted 8/19/2004 07:20 PST    Show Profile   Email Poster   Edit Message   Visits this users homepage   Delete this message   Post Reply to Topic
Well, I though that the mBase Missions numbers work in %. So 100 is the toughest mission of the game, 100% of thoughness, and 0 would be the easiest.

I'll try what you said again Fjord, and btw thanx alot, I wouldn't have done that without you.

EDIT : I tried with 100 to 300, and I only get 100 missions. 1M exactly, but not more. I really think it's in %..

I though about something : I'll make a new faction with Eagles only, so that there would only be these spawning.

EDIT AGAIN : I removed everything to BH except HH and it works. I got caught in a big Cross, it was crazy!

Edited by - Friendly_Fire on 8/19/2004 7:25:24 AM

Edited by - Friendly_Fire on 8/19/2004 11:03:13 AM

Edited by - Friendly_Fire on 8/19/2004 11:13:10 AM

  
 
LordFjord
Sqdr. Commander
posted 8/19/2004 23:44 PST    Show Profile   Email Poster   Edit Message   Visits this users homepage   ICQ Status; Click to send the user an ICQ messageICQ Status; Click to send the user an ICQ message   Delete this message   Post Reply to Topic
so far i was always convinced that its not % but absolute values, but i havent experimented with missions of that high difficulty yet.

but this might explain a few troubles i got in the past.

but where is the max diff then taken? is 100 the max or where do you "set" the 100% value? maybe diff is capped at 100.

Fjord

---------------------------------
Excelcia Mod Leading Developer

  
 
w0dk4
1st Lieutenant
posted 12/26/2004 12:26 PST    Show Profile   Email Poster   Edit Message   Delete this message   Post Reply to Topic
Well....!

@FriendlyFire

I got it working with ~16 Fighters per wave (!), I tried it with 25 for you, but it crashed. I guess I messed up the formation...

Anyways:

The numbers after the NPC Rank in NPCRankToDiff.ini are not standalone values!!
-> You have to sum them.
The solution for your problem has to look like this:

NpcRank = 19, 0.000001, 0.000001, 0.000001, 0.000001, 0.000001, 0.000001, 0.000001, 0.000001, 0.000001, 0.000001, 0.000001, 0.000001, 0.000001, 0.000001, 0.000001, 0.000001, 0.000001, 0.000001, 0.000001, 0.000001, 0.000001, 0.000001, 0.000001, 0.000001, 95.444444

I worked on a formation with 25 "slots" but it didnt work... well I guess a made a mistake..
But in fact another limit for the spawning fighters is the formation. It has to have enough slots for the ships, so that they are able to spawn.

Based on that theorie (the numbers sum up) one can finally understand the following phenomenon:
Give a base a mission range from 90-100.
Now if you look at the vanilla FL NPCRankToDiff.ini there are no formations allowed, because the highest %-diff number is 85.207497 (thinking the values do not connect to each other).
So, adding those numbers u get the following:
There will be no missions with a wave of more than 4 lvl 19 fighters
(2.805190 + 10.168800 + 22.090799+ 38.571301 + 59.610199 -> 131 -> more than 100% -> invalid... or, well did someone see more than 4 lvl19 ships in a std. fl mission...? (except assasinate missions))
And this theorie also explains why there can be waves with lvl 16-18 fighters
(lvl16: 1.093570 + 3.964190 + 8.611870 + 15.036500 +23.238300 + 33.217201 + 44.973000 + 58.506001)
and so on...

So, if you want to make missions less randomized, you have to regard this important note.
(or better: i think the devs solved it this way to get a better chance-system)

Sorry for my bad english...

  

Topic is 2 Pages Long:  Page 1 Page 2

The Lancers Reactor > Forums > Freelancer Editing: Freelancer General Editing Forum Click here to Post a ReplyPost Reply

Click here to tip of a friend about this topic Send Topic To a Friend
Click to make Topic Sticky, Admins & Moderators only   Click to Close Thread, Admins & Moderators only   Click to Move Thread, Admins & Moderators only

Copyright © 2005 The Lancers Reactor - All Rights Reserved - TLR Logo by raZar
Optimized for Microsoft Internet Explorer 6.x+
All other brand or product names are trademarks or registered of their respective holders.
Labelled with ICRA