Author Topic: Trench Digging [BETA Release V4]  (Read 24687 times)

    Trench Digging

    I remember back in V8 playing the Trench Wars mod, but was so sad when it broke and just disappeared in v9. I searched for it for so long, but couldn't find it. Of course, at the time I had no scripting knowledge whatsoever. With all the digging mods popping up recently, I remembered the old mod, and thought, "Why can't I make it?" So with that thought, I set out remaking the mod from scratch. It is close to being finished, and I thought I would post it on here to see what people think.

    For those of you who don't remember this or weren't here in V8, then here are the features (some weren't in the old mod):
    • 4 Items:
      • Trench Pickaxe
      • Trench Dirt
      • Admin Pickaxe (Equipped when an admin types /SpeedDig, its the Trench Pickaxe, but way faster)
      • Admin Dirt (Equipped when an admin types /SpeedPlace, its the Trench Dirt, but way faster)
    • Splitting bricks upon digging, to save brickcount
    • Regrouping bricks upon placing dirt, to save brickcount even further
    • Placing your dirt back on other dirt
    • Server Cmd's
      • An /infiniteDigging command for admins
      • A /dumpDirt command to dump all of your dirt in a tower where you are looking
      • A /speedDig and /speedPlace command for admins to dig/place dirt really fast
    • An RTB Pref for how much dirt players are allowed to hold
    • An RTB Pref to choose the color of dirt

    Screenshots
    Here are a couple screenshots:
       

    Differences
    Here are a couple differences than the original V8 mod that I remember:
    • Displaying how much dirt you have out of the max dirt
    • You can't place on walls or ceiling, just other dirt
    • The items might be setup a little differently
    • The bricks are assigned to the brick your placing's brickgroup and client, so saving shouldn't be messed up
    • Added the Admin Dirt/Pickaxe for faster Digging/Placing
    • The /dumpDirt command
    • Regrouping bricks upon placing

    Known Issues
    Here are the known issues that are still to be fixed:
    • One of the main issues that comes up is getting stuck while splitting a brick your standing on. I still have to figure out a way to stop this.

    Thanks for reading and if you have any suggestions/requests/comments, please let me know.I've heard a couple suggestions to make it more DM oriented by possibly modding a machine gun to dig/place dirt/shoot as a multifunctional tool for Trench DM's. Let me know what you would like to see.

    Download
    Released on RTB:
    http://forum.blockland.us/index.php?topic=89050.0
    Here is the default save to use with the mod:
    Trench Digging Bricks Save

    NOTE: The preference for dirt color is 8 by default, which is brown in the default colorset. If you want it a different color, change the RTB pref "Dirt Color" to the color id you want. (Between 0-64 [Or 63, I don't really care])

    Change Log
    I've decided to start keeping a change log:
    • V2
      • Added the /infiniteDigging command
      • Added brick regrouping
    • V3
      • Fixed /speedDig and /speedPlace commands
      • Added /dumpDirt which dumps all your dirt out where your looking
    • V4
      • Fixed /dumpDirt to not be laggy
      • Added the ability to choose the color of the dirt through RTB preferences or the variable $TrenchDig::dirtColor
    [/list]
    « Last Edit: November 22, 2009, 03:25:45 AM by lilboarder32 »


    Instead of splitting 8x8's into 1x1s straight away, make it split into half size THEN 1x1s. It would save even more brick count.

    Instead of splitting 8x8's into 1x1s straight away, make it split into half size THEN 1x1s. It would save even more brick count.
    This.

    Instead of splitting 8x8's into 1x1s straight away, make it split into half size THEN 1x1s. It would save even more brick count.

    I had done 64x > 32x > 16x > 8x > 4x then just break it for my terrain mod, since any smaller than that seems to be pushing it.

    Finaly Trench Digging,like old time :D

    Instead of splitting 8x8's into 1x1s straight away, make it split into half size THEN 1x1s. It would save even more brick count.
    Thats what it does already. It goes from 8x16 > 8x8 > 4x4 > 2x2 > 1x1.
    I had done 64x > 32x > 16x > 8x > 4x then just break it for my terrain mod, since any smaller than that seems to be pushing it.
    Thats what I started out originally doing, using 2x cubes for the smallest, but wanted to keep it along the lines of the old V8 mod and you can't be very detailed using those.

    Thats what I started out originally doing, using 2x cubes for the smallest, but wanted to keep it along the lines of the old V8 mod and you can't be very detailed using those.

    I was never here for the V8 one; I was just saying what worked best for my terrain editor. I suppose whatever your server can handle is best though.

    I remembered the V8 one cause i had demo, it always broke the brick limit :cookieMonster:
    But the bad thing is it wouldn't work when i load bricks :panda:

    Sweet I remember this :D good idea remaking it

    I remembered the V8 one cause i had demo, it always broke the brick limit :cookieMonster:
    But the bad thing is it wouldn't work when i load bricks :panda:
    Saving and loading works fine in this one.

    Oh mai gawd. I loved this mod. Build the trench! stuff! THE DEATHMATCH STARTED! GAH! :D

    Playing this in his server, it is perfect. It brings back memories.

    Only a few minor bugs :D

    Whoa, this looks pretty neat.
    Putting this on my must-download list for later.

    Pretty cool.
    Was wondering when someone would make this.