Thread: [592] Yet another construction show-off by teemuzz

Page 2 of 2 FirstFirst 12
Results 11 to 17 of 17
  1. #11  
    Donator

    Sambu's Avatar
    Join Date
    Apr 2013
    Posts
    405
    Thanks given
    705
    Thanks received
    38
    Rep Power
    135
    Thats awesome, good job dude! i love 592's!
    Reply With Quote  
     

  2. #12  
    [592] Yet another construction show-off by teemuzz



    Scu11's Avatar
    Join Date
    Aug 2007
    Age
    30
    Posts
    16,307
    Thanks given
    7,215
    Thanks received
    12,308
    Rep Power
    5000
    Quote Originally Posted by Teemuzz View Post
    since i have no idea how others have done construction i'll claim this is the best
    Attached image

    Code:
    val POH_SAND = ZoneKey(233, 632, 2)
    val POH_GRASS = ZoneKey(232, 632, 0)
    val POH_PARLOUR = ZoneKey(240, 639, 0)
    val POH_WOOD_ROOF = ZoneKey(233, 634, 0)
    val POH_GARDEN_PORTAL = ZoneKey(232, 633, 0)
    
    val instances: InstanceMap by inject()
    
    command("instance") {
        description = "Create test instance"
    
        execute {
            instances += {
                for (x in 0 until ZoneConstants.ZONES_PER_INSTANCE) {
                    for (y in 0 until ZoneConstants.ZONES_PER_INSTANCE) {
                        this[x, y, 0] = ZonePointer(POH_SAND, ZoneConstants.ROTATION_90_CCW)
                    }
                }
    
                for (x in 4..7) {
                    for (y in 4..7) {
                        this[x, y, 0] = ZonePointer(POH_GRASS)
                    }
                }
    
                this[5, 5, 0] = ZonePointer(POH_PARLOUR, ZoneConstants.ROTATION_90_CCW)
                this[5, 5, 1] = ZonePointer(POH_WOOD_ROOF)
                this[6, 5, 0] = ZonePointer(POH_GARDEN_PORTAL)
            }
        }
    }
    Attached image

    Attached image
    Reply With Quote  
     

  3. Thankful user:


  4. #13  
    Somewhere in the Mojave desert...

    EnlistedGhost's Avatar
    Join Date
    Nov 2015
    Age
    31
    Posts
    65
    Thanks given
    63
    Thanks received
    16
    Rep Power
    111
    Very nice! and 2 days? Geez bud you're a wizard.

    Glad to see people still working on the 5xx revisions. Personally my favorite ones.
    Reply With Quote  
     

  5. Thankful user:


  6. #14  
    Registered Member
    Teemuzz's Avatar
    Join Date
    Oct 2009
    Posts
    2,755
    Thanks given
    1,212
    Thanks received
    422
    Rep Power
    934
    Quote Originally Posted by Scu11 View Post
    Attached image

    Code:
    val POH_SAND = ZoneKey(233, 632, 2)
    val POH_GRASS = ZoneKey(232, 632, 0)
    val POH_PARLOUR = ZoneKey(240, 639, 0)
    val POH_WOOD_ROOF = ZoneKey(233, 634, 0)
    val POH_GARDEN_PORTAL = ZoneKey(232, 633, 0)
    
    val instances: InstanceMap by inject()
    
    command("instance") {
        description = "Create test instance"
    
        execute {
            instances += {
                for (x in 0 until ZoneConstants.ZONES_PER_INSTANCE) {
                    for (y in 0 until ZoneConstants.ZONES_PER_INSTANCE) {
                        this[x, y, 0] = ZonePointer(POH_SAND, ZoneConstants.ROTATION_90_CCW)
                    }
                }
    
                for (x in 4..7) {
                    for (y in 4..7) {
                        this[x, y, 0] = ZonePointer(POH_GRASS)
                    }
                }
    
                this[5, 5, 0] = ZonePointer(POH_PARLOUR, ZoneConstants.ROTATION_90_CCW)
                this[5, 5, 1] = ZonePointer(POH_WOOD_ROOF)
                this[6, 5, 0] = ZonePointer(POH_GARDEN_PORTAL)
            }
        }
    }
    Attached image
    Basically the same way i do it now, and now that i rewrote how i handle landscape i don't have any code assigning the hotspots into a house but rather they are just dynamically duplicated into the map instance

    Tldr i accidentally wrote a landscape manager that caused me to have absolutely no code whatsoever for the actual construction logic and its just a copy of the original chunks
    Reply With Quote  
     

  7. #15  
    Registered Member
    Teemuzz's Avatar
    Join Date
    Oct 2009
    Posts
    2,755
    Thanks given
    1,212
    Thanks received
    422
    Rep Power
    934
    Attached image
    Attached image
    Attached image
    Attached image


    Okay so since i finished my landscape related stuff and area manager to a point of where i'm satisfied with it i decided to mess around and finish the rotation code
    Attached image
    Attached image


    Now all hotspots are added from the original map, rotation is fully supported and the core is complete
    Reply With Quote  
     

  8. #16  
    Donator

    Join Date
    Jan 2014
    Posts
    1,617
    Thanks given
    8
    Thanks received
    196
    Rep Power
    39
    Great work, keep it up
    Reply With Quote  
     

  9. Thankful user:


  10. #17  
    Somewhere in the Mojave desert...

    EnlistedGhost's Avatar
    Join Date
    Nov 2015
    Age
    31
    Posts
    65
    Thanks given
    63
    Thanks received
    16
    Rep Power
    111
    Very nice progress! Keeping an eye out for more
    Reply With Quote  
     

  11. Thankful user:


Page 2 of 2 FirstFirst 12

Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. Brand new models by me [Show-off]
    By nis0307 in forum Models
    Replies: 9
    Last Post: 07-16-2018, 08:43 PM
  2. [Show-Off] New Shield Under Construction
    By Yanobi in forum Models
    Replies: 25
    Last Post: 12-29-2014, 09:49 AM
  3. Replies: 3
    Last Post: 08-12-2014, 02:11 AM
  4. Another Epic Show-Off
    By Reich in forum Show-off
    Replies: 4
    Last Post: 07-22-2012, 10:45 PM
  5. Another Show-Off :D
    By oledis in forum Show-off
    Replies: 9
    Last Post: 01-03-2012, 12:01 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •