Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Poll

How many want to keep this up in the next release?

Me
- 16 (22.9%)
Me!
- 54 (77.1%)

Total Members Voted: 69


Pages: 1 ... 231 232 [233] 234 235 ... 261

Author Topic: DF from scratch: The entirely player-made universe succession.  (Read 497953 times)

CaptainMcClellan

  • Bay Watcher
  • [WAS_NEVER_HERE][CUBE]
    • View Profile
Re: DF from scratch: The entirely player-made universe succession.
« Reply #3480 on: March 02, 2014, 04:17:39 pm »

Ok. That's all good and well. How would changing the data type to unsigned going to cause this exploit? Wouldn't it have prevent it?

DrKillPatient

  • Bay Watcher
  • The yak falls infinitely
    • View Profile
Re: DF from scratch: The entirely player-made universe succession.
« Reply #3481 on: March 02, 2014, 04:20:19 pm »

What does "unsigned" mean anyway?

(Note: I'm not formally learned in computer science... YET — however, I think my understanding as detailed below is at least accurate on a basic conceptual level.)

To simplify things a bit, it means that that the type can only take on positive values; a signed type gains an 'extra' bit as a result (relative to a signed version of the value) and its max is thus about half that of an unsigned type. Suppose you have a four-bit integer (max value is 1111 in binary, or 2^4-1 = 15 in decimal). If you want it to take on both negative and positive values (that is, to be signed), one of those four bits needs to represent the sign. Which bit it is depends on the implementation details, I suppose, but let's say it's the first one, and that 0 indicates negative and 1 indicates positive. Now, 1111 might represent +7 (1000 to 1111 -> 0 to 7) and 0111 might represent -7 (0000 to 0111 -> -0 to -7), since a signed four-bit type is essentially a three-bit number with an additional bit for holding the value of the sign. The 0000/1000 overlap here is not a problem in more efficient implementations, which is why you see ranges like [-128, 127] for a signed 8-bit number. However, I think this implementation is conceptually the easiest... There are more computationally efficient ones such as the two's complement, where the negative version of an N-bit binary number, I, can be represented as 2^N-I. (The two's complement is a better choice since that representation is compatible with standard binary arithmetic operators and can represent values from -2^(N-1) to +2^(N-1)-1 — for instance, -128 to 127 for an 8-bit signed integer).
« Last Edit: March 02, 2014, 04:25:10 pm by DrKillPatient »
Logged
"Frankly, if you're hanging out with people who tell you to use v.begin() instead of &v[0], you need to rethink your social circle."
    Scott Meyers, Effective STL

I've written bash scripts to make using DF easier under Linux!

WillowLuman

  • Bay Watcher
  • They/Them Life is weird
    • View Profile
Re: DF from scratch: The entirely player-made universe succession.
« Reply #3482 on: March 02, 2014, 04:44:51 pm »

Like I said, setting it to negative won't make other parts larger than total creature size, or cause some weird spacetime thing - the game just treats them as zero-sized and spams the error log.
Logged
Dwarf Souls: Prepare to Mine
Keep Me Safe - A Girl and Her Computer (Illustrated Game)
Darkest Garden - Illustrated game. - What mysteries lie in the abandoned dark?

Dwarf4Explosives

  • Bay Watcher
  • Souls are tasty. Kinda like bacon.
    • View Profile
Re: DF from scratch: The entirely player-made universe succession.
« Reply #3483 on: March 03, 2014, 12:52:18 am »

Eergh, I keep getting confused about this. Thanks for clarifying.
Logged
And yet another bit of proof that RNG is toying with us. We do 1984, it does animal farm
...why do your hydras have two more heads than mine? 
Does that mean male hydras... oh god dammit.

Urdothor

  • Bay Watcher
    • View Profile
Re: DF from scratch: The entirely player-made universe succession.
« Reply #3484 on: March 03, 2014, 02:14:05 am »

I just got a new art set I'm thinking of doing some sketchs of this mod since I cant currently access my computer.

What should I draw?

Edit, is there anyway to post images straight from my phone to the forum?
« Last Edit: March 03, 2014, 02:16:35 am by Urdothor »
Logged

WillowLuman

  • Bay Watcher
  • They/Them Life is weird
    • View Profile
Re: DF from scratch: The entirely player-made universe succession.
« Reply #3485 on: March 03, 2014, 02:16:55 am »

A halfling settlement's pastures of giant insects and cephalopods.
Logged
Dwarf Souls: Prepare to Mine
Keep Me Safe - A Girl and Her Computer (Illustrated Game)
Darkest Garden - Illustrated game. - What mysteries lie in the abandoned dark?

Urdothor

  • Bay Watcher
    • View Profile
Re: DF from scratch: The entirely player-made universe succession.
« Reply #3486 on: March 03, 2014, 02:21:18 am »

As I havent read the descriptions in awhile, would you mind describing a few creatures briefly?
Logged

WillowLuman

  • Bay Watcher
  • They/Them Life is weird
    • View Profile
Re: DF from scratch: The entirely player-made universe succession.
« Reply #3487 on: March 03, 2014, 02:56:01 am »

The only one that comes immediately to mind are the Panserblekks - big, armored land cepahlopods. Check mine and STL's raws.
Logged
Dwarf Souls: Prepare to Mine
Keep Me Safe - A Girl and Her Computer (Illustrated Game)
Darkest Garden - Illustrated game. - What mysteries lie in the abandoned dark?

Urdothor

  • Bay Watcher
    • View Profile
Re: DF from scratch: The entirely player-made universe succession.
« Reply #3488 on: March 03, 2014, 03:11:29 am »

I shall take my artists liberty with it.
Logged

Urdothor

  • Bay Watcher
    • View Profile
Re: DF from scratch: The entirely player-made universe succession.
« Reply #3489 on: March 03, 2014, 03:33:09 am »

Heres a question, what does a formics foot look like?
Logged

BlackFlyme

  • Bay Watcher
  • BlackFlyme cancels Work: Interrupted by bird.
    • View Profile
Re: DF from scratch: The entirely player-made universe succession.
« Reply #3490 on: March 03, 2014, 03:41:54 am »

Heres a question, what does a formics foot look like?

Like an ant's foot would, I suppose. Though probably a bit larger and wider, since drones, workers, and warriors stand on only two legs.
Logged

Urdothor

  • Bay Watcher
    • View Profile
Re: DF from scratch: The entirely player-made universe succession.
« Reply #3491 on: March 03, 2014, 05:04:42 am »

Damn
I had a really cool looking formic and i screwed it up
Logged

CaptainMcClellan

  • Bay Watcher
  • [WAS_NEVER_HERE][CUBE]
    • View Profile
Re: DF from scratch: The entirely player-made universe succession.
« Reply #3492 on: March 03, 2014, 09:21:07 am »

I have begun my modding. I know the rules state "No copy-pasting", but several creatures are variations on the bronze colossus. Ergo, I copied the bronze colossus's tags, modified as necessary and will add even more variations later. I don't think that's too bad. Now to get my iron golems to drop mechanisms when they are dead. :) Anyways, did you guys keep the inorganic stone mats? If not, I'll have to check and see what materials that you guys have in your mod. ( I need to see about that anyway. ) I don't suppose I could copy-paste the mats necessary for the creature from Vanilla DF? ( Stuff like marble, obsidian, adamantine. Hehheh. Adamant colossus, sounds scary right?)

Dwarf4Explosives

  • Bay Watcher
  • Souls are tasty. Kinda like bacon.
    • View Profile
Re: DF from scratch: The entirely player-made universe succession.
« Reply #3493 on: March 03, 2014, 01:11:57 pm »

No copied stuff at all. You'll have to modify your creatures till they have only the faintest resemblance to the originals (change the proportions a bit, maybe a special ability or intelligence modifier), but an Iridium Golem (as that is one of the most astoundingly common metals in this mod) sounds pretty awesome. Maybe you could change the limb configuration a bit?

Considering some of the hilarious bugs we've had, you could even make a golem out of frozen blood if you want.
Logged
And yet another bit of proof that RNG is toying with us. We do 1984, it does animal farm
...why do your hydras have two more heads than mine? 
Does that mean male hydras... oh god dammit.

CaptainMcClellan

  • Bay Watcher
  • [WAS_NEVER_HERE][CUBE]
    • View Profile
Re: DF from scratch: The entirely player-made universe succession.
« Reply #3494 on: March 03, 2014, 01:28:13 pm »

Hmm. Ok. And yea, my golems [should] all drop mechanisms when killed also. Free Iridium mechs! :3 But no copying even of mats like marble, gold, the like?

A frozen blood golem? Wow.
Pages: 1 ... 231 232 [233] 234 235 ... 261