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

This Month's Specials

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

   







Go Back   .com.unity Forums > Shrapnel Community > Space Empires: IV & V

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old May 23rd, 2001, 06:44 AM

Arc.Smiloid Arc.Smiloid is offline
Private
 
Join Date: Nov 2000
Location: Edmoton, AB, CA
Posts: 35
Thanks: 0
Thanked 0 Times in 0 Posts
Arc.Smiloid is on a distinguished road
Default Assigning negative values to components

There has been some people asking if this could be done. I remember from my days editing Master of Orion 2 data files that negative values for components were acheived using the formula:

65535 + <negative intended value> = the number to use.

So if you wanted something that weighed -200 kT then you would do the following:

65535 + (-200)
65535 - 200 = 65335

If you used the 65335 value for the component it would weigh -200 kT in the game.

Theoretically.

I just tried it myself with SEIV and I ended up with 66 kT component by inputting a 65335 value for the Tonnage Space Taken plus an integer overflow message. It doesn't exactly work, but I'm posting this anyhow in case anybody else would have some insight.

Maybe 65535 isn't the number and you gotta try some other exponent of 2.

I'm really just taking a shot in the dark on this one.

------------------
Reply With Quote
 

Bookmarks

Thread Tools
Display Modes

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 07:14 PM.


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