![]() |
Re: Armor Regeneration Question
hmm... while we are on the subject, can one set the Regen value to something negative, and have a component damage itself between combat? Then we could make unstable components and stuff.
|
Re: Armor Regeneration Question
Negative numbers tend to wrap around to insanely large. (~64k)
|
Re: Armor Regeneration Question
But would it work? Like for LR mod I want to make a Reactor that is very potent, but highly unstable and is breaking up from the moment you build it.
|
Re: Armor Regeneration Question
No, -1 would be changed to a few hundred above 64,000 regen points.
|
Re: Armor Regeneration Question
Lmao. And you know how afterburners give combat movement? If i set that ability to negative would it still go all flippy outty?
|
Re: Armor Regeneration Question
Sounds like the string parser that read the text files properly interprets the negative numbers, and stores them in an appropriate twos-complement format. Then the game takes the twos-complement negative number, and treats it like an unsigned integer. Negative one would become 65,535.
Of course, anyone reading this who understands the term "two-complement" also already knew what was happening and had no need for my explanation. http://forum.shrapnelgames.com/image...s/rolleyes.gif Sorry. |
Re: Armor Regeneration Question
Quote:
|
All times are GMT -4. The time now is 12:43 AM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.