• 0

    posted a message on Would my friends be able to join my world in LAN that has a mod, even though they don't have that particular mod?
    Quote from Ambrose321

    If the mod requires Forge or Mod Loader API, then no. They'll have to download those first. But I believe that once they have those (One or both) then they can play AND the mods will work for them even though they dont have them installed :D


    This is wrong for any mod that adds blocks/items/mobs etc. Mods can determine if a client side mod is required for anyone connecting to a server(or LAN game). Basically any mod that adds blocks/items/mobs etc will need a modded client side instance also (how else would they get textures for example?)
    Posted in: Mods Discussion
  • 0

    posted a message on [1.6.2] Custom Flags - 1.3.1 [ModJam]
    I have been putting a few finishing touches on the interface, what do you think?



    Personally I am not 100% sold on displaying the map texture behind the canvas area. What do you guys think?
    Posted in: Minecraft Mods
  • 0

    posted a message on The Modders' Union - Partners with the TAU!
    Quote from Kovu

    Nice! How much of that rendering code did you have to write yourself?


    Most of the rendering code I had to write, the textures are applied using dynamic textures (same way as maps).
    Posted in: Mods Discussion
  • 0

    posted a message on The Modders' Union - Partners with the TAU!
    Welcome DarkHax.


    Soon as though half of this is to "show off new stuff"

    My new flag designer interface (You can't see it on the screenshot but the mouse also changes depending on the current tool

    I am also thinking about shifting the whole interface over to the left (to centre it) and also add a proper background to the GUI (probably similar to minecraft's default maybe with 3 panels)
    Posted in: Mods Discussion
  • 0

    posted a message on [1.6.2] Custom Flags - 1.3.1 [ModJam]
    Quote from Terrivel_World

    Of course I won't judge it outside its original rules, but truth be told, plenty will: since it is hard to find info about the mods around Modjam oficial media, people will look around for that and will find the topics that will probably have a more updated version. A lot of people will have trouble not mixing up when voting.

    Thanks for the reply and good luck.



    I do see were you are comming from, I actually did package a README file in the jar, and also sent one seperately with the submition. I actually thought Searge would have included the readme file with the download so people would have know to to use the mod (and I assume most are in the same boat).

    In either case, many of the additions were minor, I see it as more of adding bells and whistles. Unlike many other entries I prioritised bug fixing over more features so my entry was quite stable (except for the file dialog apearing behind the minecraft window sometimes). The main issue was people not knowing how it was used.


    Quote from crafteverywhere

    It's really cool!I have voted it for modjam.

    And maybe you can afford some designs in game but not only allow us do it by ourselves.

    edit:I know it can load the img form files,but flag imgs lib in game is differrnt!


    As you pointed out, because you can load any image I am not sure if it is really necessary Furthermore I am the first to admit that I am not the best graphic artist (which is funny because the mod does basically revolve creating your own graphics)

    P.s. thanks for the vote, did you look at the other entries also?






    EDIT: I am actually quite looking forward to someone having a go at making a capture the flag map
    Posted in: Minecraft Mods
  • 0

    posted a message on [1.6.2] Custom Flags - 1.3.1 [ModJam]
    Quote from Terrivel_World

    For a weekend project, you once again makes the simple and amazing. The fact that is LOADS pictures to be used as a flag makes this all more useful in my gameplays.

    Just one question: is this topic version of the mod more updated than the one inside Modjam pack? I know it is suposed to be judged by the result of the limited time window, but the more I meet a project closer to its true concept, I think it is better.


    I am glad you like the image loading, personally I think that is one of the features that really make it useable.

    The version here is slightly more up to date than the one submitted as I continued working on it. Basicaly the one submitted to modjam was the "base" mod where this has a few bells and whistles. The added stuff are:
    • Flag poles using the type of wood in the crafting recipie (I.e. in the modjam all Flag Poles are Oak Flag Poles)
    • The ability to place flag poles horizontally and hang flags off them
    • The undo/redo buttons
    • The Icons for each of the tools in the GUI (They used to be just labels on buttons)
    • Changing of the mouse cursor depending on the tool in use
    And the things I am about to add
    • Fixing the bug (hopefully) where the Save/Load dialogs would appear behind the minecraft window
    • A Rectangle/Square tool
    • An Circle/Oval tool.

    If you are planning on judging my mod, please keep in the spirit of the competition and don't base your vote on the above features.
    Posted in: Minecraft Mods
  • 0

    posted a message on [1.6.2] Custom Flags - 1.3.1 [ModJam]
    Quote from sad555

    I wish you were working on your main mods instead of this. But thank you anyway, looking interesting.


    Did you miss the part that this was for a competition? The back-end mechanics for this is actually a bit of a prototype test for a 1.6 compatible heraldry mechanic.
    Posted in: Minecraft Mods
  • 0

    posted a message on [1.6.2] Custom Flags - 1.3.1 [ModJam]
    I have just uploaded a slightly more enhanced version. 1.3 adds
    • Undo/Redo buttons in the Flag designer (ctrl-z & ctrl-y)
    • Changed the crafting recipe of the flag poles
    • Added icons for the tools
    • Change the mouse cursor to the current icon in the flag designer gui.
    Posted in: Minecraft Mods
  • 17

    posted a message on [1.6.2] Custom Flags - 1.3.1 [ModJam]
    Custom Flags

    Custom flags was my submition to ModJam. For those who don't know ModJam is a 96 hour coding competition, were a modder has to code, test, bug fix and submit a mod starting from scratch in 96 hours. Voting for modjam mods will begin shortly. It should be noted that I have added a few small features (map item rendering, vertical hanging flags, bock type aware poles), please do not judge based on these features. All modjam entries can be downloaded from here, I will post a link to where you can vote (for me) when one is avaliable

    Custom adds flags to minecraft that allow full customisation by the user. Flags can be attached to a flag pole and be put on display for everyone to see.



    Mod Mechanics

    An instruction manual can be obtained by using the /cf.instructions command.

    The mod revolves around 1 new item (Flag) and 1 new block (Flag pole)

    Flag poles

    4 Flag poles are created by placing 3 wooden logs or 3 iron ingots in a vertical line in the crafting recipe
    [ ][L][ ]
    [ ][L][ ] = Flag Pole
    [ ][L][ ]

    Flag poles can be placed on any block. If you place a flag pole on the top or bottom of a block, you will be able to hag a horizontal flag, if you place it on the side of a block, you will be able to place a vertical hanging flag.

    Flags

    Flags are created by arranging 4 wool blocks (of any colour) in a 2 x 2 square in the crafting grid
    [ ][W][W]
    [ ][W][W] = Flag
    [ ][ ][ ]

    The wool may be any colour (or any combination of colours) and the resulting flag will take the colours of the wool blocks used.

    Flags may be attached to any flag pole by right clicking a flag pole while holding a flag. In survival/hardcore modes, this will consume the flag, in creative mode, no flag is consumed. Each flag pole block can have a maximum of 4 flags attached to it. Each flag placed after the first will be placed after the previous flag. Right clicking on an flag pole with empty hands will remove the most recently attached flag and place it in the players inventory.

    Flags attached to a flag pole will blow in the wind. Due to the fact minecraft wind only blows in the north direction, flags on vertical poles will ALWAYS blow north. The speed of the animation can be changed in the config file, (valid between 1 & 10) higher numbers will speed up the animation, lower nmumbers will slow it down.

    Flag Designer

    Right clicking while holding a flag (with no usable block in front of the player) will open the flag designer gui. The GUI supports a 32x32 12 bit ARGB image. A colour chooser is included on the right of the screen and drawing tools on the left The tools include
    • Pen Tool: Draws a single pixel at the current mouse location when the left mouse button is down
      • Holding shift will draw a straight line from the last location clicked to the current mouse location
    • Rectangle Tool: Draws a rectangle with the corners of the last 2 clicked locations.
      • Holding shift will force the rectangle into a square
    • Oval Tool: Draws an oval with the corners of the last 2 clicked locations.
      • Holding shift will force the oval into a circle
    • Flood Fill: Clicking the left mouse button will change all of the connected pixals of the same colour to the currently selected colour
      • Holding shift while clicking will fill the whole 32x32 area with the colour selected
    • Text Tool: Allows the user to write text at the most recently clicked location.
      • Pressing enter saves the text
    • Colour Picker: Clicking will set the current colour to the colour of the selected pixal
    • Save: Opens a save dialog to allow the user to save the current design to their filesystem for later use
    • Load: Opens a load dialog to allow the user to use an image on their current file system as their current flag. Images will be scaled to 32x32 and converted to 12bit ARGB before being drawn on the canvus
    • Load Section: Opens a load dialog to allow the user to use a section of an image on their current file system as their current flag. After selecting the desired file, a user will be asked how many sections they desire in the X and Y directions (between 1 & 4) and which section they want to use for the current flag. The resulting image will be scaled to 32x32 and converted to 12 bit ARGB colour space.
    • The OK button will save the design to the currently held flag, pressing escape will close the flag designer without changing the design.
    • Undo/Redo: Pressing Ctrl-z will undo and Ctrl-y will re-do.



    Configuration File

    The configuration file for the mod is located in the configs directory under the name custom_flags.cfg The fields correspond to
    • Animation Detail Level: The detail level for the waving animation. 0 will turn the animation off, higher values will produce higher levels of detail (generally 16ish is way more than needed)
    • Cache Size: Not currently in use
    • Flag Speed: The speed of the animation (between 1 & 10). Higher values will speed up the animation
    • Use System L&F: Mimic the system look and feel for swing dialogs. Set to false to use the default look and feel (likely the cross platform metal L&F). Some users may have issues with the save/load buttons, if this is the case try changing this.
    • Load Images in FileChooser: Will preview the images in the filechooser. This feature may also have issues on some systems, turn it off if you have issues with the Save/Load buttons.
    • Flag Pole Id: The Id of the Flag Pole Block (defaults to 2700)
    • Flag Id: The Id of the Flag Item (defaults to 24532)
    Instalation Instructions

    The mod is compiled for Minecraft 1.6.2
    1. Download and Install Minecraft Forge (http://files.minecraftforge.net/)
      • The mod was compiled using Minecraft Forge version 9.10.0.804
    2. Download Link Removed
    3. Place the downloaded Custom Flags file into the /mods directory in the .minecraft directory (for Client) or the root of the server directory (for Server)
    4. Run the client or server as usual
    Video Demonstration

    Mod Reviews
    By CtrlShiftCreate


    Known Bugs & Issues
    • Crafting an Iron flag pole will give you an oak flag pole
    • Some people may have issues with the Save/Load dialogs, try turning off the "Use System L&F" or the "Load Images in FileChooser" options in the config.
    • The Save dialog sometimes opens behind the minecraft window, causing the appearance of minecraft not responding.
    Posted in: Minecraft Mods
  • 1

    posted a message on Crash Reports 101
    As I have pointed out multiple times, this is not for you to post your crash reports. It is for you to learn how to read and diagnose your own problems. If you have no interest in learning this there is no point in posting as I will not be reading a single crash report posted here
    Posted in: Java Edition Support
  • 0

    posted a message on The Modders' Union - Partners with the TAU!
    Quote from Kovu

    I was way off. o.O

    Not sure about C/P'ing and editing. I'd assume so, but if it's like a lib, then it may be. I'd ask on #ModJam on esper.net


    It's more or less basically an unreleased lib I am still developing to extend the controls used for GUIs. Fort it I have developed a pretty neat colour picker which I would want to use for this potential ModJam project. I have tried to go on the #ModJam channel, but it always seems dead
    Posted in: Mods Discussion
  • 0

    posted a message on The Modders' Union - Partners with the TAU!
    Quote from Kovu

    It's a 96 hour modding competition.
    You may have libraries, (not sure how many), but all code and resources must be made within the 96 hour period. (Excluding libraries).

    No idea what the maximum packet size is, but I think it's something with bytes, maybe 16 / 64. (Just pulling that out).


    The potential problem I would have is time zone difference (i.e. if it starts on a Saturday in America, I would effectivly loose a day as I would only really be free on the weekend)

    Your estimate on packet size is way off (that wouldn't be enough for a single chunk). Looking at Packet250 there is a limit of 32767 bytes can't see one for other packets, so I would assume they are either bounded by the same rule or not bounded.

    I do have an idea that could work, but would require sending packets containing over 384 bytes. This would have to be sent both in a packet containing x, y, z block position information (adding another 12 bytes) as well as at times in the NBTTagCompound of an item (increasing the packet size again). I might test out how the server handles packets of this size before I reveal my idea.

    My plan might require a GUIControl I have developed for another mod though. I assume using it would be against the rules, what about copy/pasting and then editing?
    Posted in: Mods Discussion
  • 0

    posted a message on The Modders' Union - Partners with the TAU!
    What time/days is it over? And what are the rules about new content (I.e can I use a small part of a current mod).

    Finally does anyone know offhand the maximum packet size.
    Posted in: Mods Discussion
  • 0

    posted a message on What's getAttackStrength(Entity par1Entity) called now?
    There cureently is no equivilant method. Forge has a note saying they need to find a new place to hook something similar in.
    Posted in: Modification Development
  • 0

    posted a message on The Modders' Union - Partners with the TAU!
    Quote from Jaryt23

    I could host, I have a dedicated server for free ;D (professionally hosted)
    I think it'd be neat if we were to put all of our mods that we've made (that'd fit with the server) on to it.


    This could actually be quite useful, would we be able to use it to test new features?
    Posted in: Mods Discussion
  • To post a comment, please .