.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $6.00

   







Go Back   .com.unity Forums > Digital Eel > Weird Worlds: Return to Infinite Space > Scenarios and Mods

 
 
Thread Tools Display Modes
  #1  
Old August 21st, 2007, 02:16 PM

sgqwonkian sgqwonkian is offline
Sergeant
 
Join Date: Aug 2007
Location: Seattle
Posts: 231
Thanks: 3
Thanked 13 Times in 10 Posts
sgqwonkian is on a distinguished road
Default SCOR values in MISN blocks

There doesn't seem to be a readme or modmakers guide article relating to MISN blocks. Could someone in-the-know please answer my questions here?

I've deduced that SCOR entries in MISN blocks (in mission.ini) don't work like SCOR entries in PAGE blocks. Instead of giving you points, they seem to change how many points other things of that category give you during the game.
For example, the ratings in the lifeforms, artifacts and technology entries effect the coin-values (also derived from COST) of those three categories by mission.

I've noticed that of the 21 entries in mission.ini (3 copies each - 1 per MISN - of 7 categories), 19 out of 21 have values that are powers of 2.

Is that significant or coincidental?

More importantly, do these values function more like thruster values (being the percentage of base value that the PAGE SCORs are multiplied by)
or more like bit flags (so that they must be powers of two or the sums of powers of two)?

If it's the later (bitflags), how are they interpreted by the system? What bitflag numerical value renders exactly 100percent of the SCOR value in a PAGE block or item COST? How would I get double COST? How would I get 2.75 times COST? Will using a non-power-of-two-summed value cause a crash? Is there anything else I need to know about this system before I start tinkering with it?
__________________
WW:RTIS & modding: http://transitivegaming.blogspot.com...abel/WW%3ARTIS
Other gaming stuff: http://transitivegaming.blogspot.com
  #2  
Old August 21st, 2007, 08:38 PM
Fingers's Avatar

Fingers Fingers is offline
Sergeant
 
Join Date: Jun 2005
Posts: 341
Thanks: 0
Thanked 0 Times in 0 Posts
Fingers is on a distinguished road
Default Re: SCOR values in MISN blocks

These are indeed multipliers for the price of items in each category. The only reason for using powers of two was to allow easier division (16/128 instead of 12.5/100 for increments of one eighth) and get nice rational numbers out of it when re-multiplied with the skill level factors from distribution.ini. It's more or less an aesthetic choice

The game price of an item is COST * (category SCOR)/128 * (nebula SCRN) / 128 * (enemies SCRE) / 128
 

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 10:42 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2024, Shrapnel Games, Inc. - All Rights Reserved.