scroggle

Eurobricks Vassals
  • Content Count

    13
  • Joined

  • Last visited

Everything posted by scroggle

  1. Hey, I recently found a bunch of my old Lego, and made a program that generates Lego castles by swapping out various elements in an LDR file for other assemblies or bricks. (plus doing pallete swaps - etc) I used sections of 7946: King's Castle, 7947: Prison Tower Rescue, 70404: King's Castle, 9468-1: Vampyre Castle, and Battle of Alamut, but I'm also adding bits from other models/assemblies. I haven't fully documented everything yet on how it works, but here is the latest working version: https://github.com/richardFirth/CastleGeneratorPublic [Last update - 3Jul18] To generate permutations of smaller sets (as seen in later posts), select it using "Spawn From Instruction (TEST)" dropdown SpawnDrawbridgeDefense.txt Spawn_whitecap_bay.txt SpwnAlamatGate.txt Spawn_RockTower.txt I also think it should be possible to do random rock faces/walls/trees in the same way. Here are some of the results.
  2. scroggle

    Computer Generated Castles

    Hey, I made the castle generator a long time ago, and just rediscovered it, but have forgotten how it works. I remember it became kind of complicated when too many things were going on. Would anyone be interested in helping me create the random elements that are used in the seeds? This would improve the variety of possible castles :)
  3. scroggle

    [Moc] Black Falcons Castle

    I like the vegetation area at the side of the castle.
  4. I like these. They're like eldrich mixels.
  5. scroggle

    Computer Generated Castles

    I've added some ways to generate automated rock faces. My current difficulty in developing this further is that it's getting tedious creating the variation tables for different permutations of different things, since the build rules work by substitution. Variation table for 2x2x3 rock below. Each 2x2x3 rock is replaces with a random item from the table below, and then each green is replaced with a color from my rock colors. (this is a .ldr file)
  6. scroggle

    Computer Generated Castles

    Tower from kings castle Siege added.
  7. scroggle

    Computer Generated Castles

    1. Thanks :D 2. Yep. The result is an .LDR File. 3. I've edited the first post to have a link to the app. I haven't documented how to use many of the features, and it has some really quirky bits. I'm constantly updating it to be easier to use and have more features. my eventual goal is that it will be easy enough to use that interested people will be able to add permutations for various parts of the castle, (Or randomize something else if wanted) and then possibly Incorporate the designs back into the generator
  8. scroggle

    Computer Generated Castles

    Drawbridge defense worked very well.
  9. scroggle

    Computer Generated Castles

    I'm assuming eventually it would crash if you tried to make it super super huge. it will also repeat itself a bunch. for example, here's a much larger castle with multiple throne rooms: Multiple Throne Rooms Yup :). it's also cool because sometimes it comes up with looks that I hadn't anticipated that look cool. I try to make the choices consistent throughout, so that that the castle looks like it comes from a particular "Faction". I have made it possible to select various options upfront, but I haven't gotten to the point of clearly documenting everything (since I keep changing stuff). Large Castle. Working on having a siege engine in front of the castle since many castles normally come with a member of the opposing faction with a siege engine. (See that the catapult wheels have the same faction colors as the flags - soon the catapults will have a different faction) White Cap Bay tower progress, with roof from Kingdoms joust on spawn1
  10. scroggle

    Computer Generated Castles

    I used Excel Visual Basic. https://github.com/richardFirth/CastleGeneratorPublic (Many features in second tab have no explanation/documentation at this time) The way that it works is I've created my own "Commands" that I embed into a bunch of LDR files. The Castle Generator takes these in and executes the commands to modify and spit out a processed LDR File. For example, in the file for trees, it has a table command, and color replacement commands, that the Program knows to preprocess before spitting out the tree. (see comments in code below) 0 FILE main.ldr 0 SCMD_TABLE // tells my processor that this is a table, so it will choose one of the below trees to be the tree 1 25 0 0 260 1 0 0 0 1 0 0 0 1 VillageTree.ldr 1 25 0 0 0 1 0 0 0 1 0 0 0 1 Tree_A.ldr 1 25 300 0 240 1 0 0 0 1 0 0 0 1 Tree_C.ldr 1 25 300 0 10 1 0 0 0 1 0 0 0 1 Tree_E.ldr 0 FILE VillageTree.ldr 0 RNDCOLOR 25 "2,10,288" ONE // replace each item with color 25 with one of the other three colors. Only recolor one part, and choose a new color for the next part 0 REPCOLOR 11 "A_GroundColor" ALL // replace all instances of color 11 with the "A_GroundColor" selected 1 15 40 -306.75 -40 -1 0 0 0 1 0 0 0 -1 3742.dat 1 25 0 -314.75 0 0 0 1 0 1 0 -1 0 0 2417.dat 1 70 0 -268 0 1 0 0 0 -1 0 0 0 -1 30374.dat 1 15 0 -306.75 40 -1 0 0 0 1 0 0 0 -1 3742.dat 1 70 10 -288 10 0 0 1 0 1 0 -1 0 0 2339.dat 1 25 0 -296 0 0 0 -1 0 1 0 1 0 0 2417.dat 1 70 0 -288 0 1 0 0 0 1 0 0 0 1 6143.dat Table of 4 trees shown below. Orange is color 25, so a procressed tree will have each orange element replaced with Green, Dark Green, or Bright green, giving each tree different coloration. Here are the results of spawning two different trees.
  11. scroggle

    MOC: the lost palace at Timbuktu

    i like the hat on the woman in the green dress.
  12. scroggle

    Wurm Welcome

    That's awesome. I like the face. how to they attach on the inside?