Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - RallyBlock

Pages: [1] 2 3 4 5 6 ... 23
1
Add-Ons / Re: [Vehicle] Blocko Dirt Bike
« on: Yesterday at 08:01:20 PM »
I love it. One thing though, are you gonna make a version with a sidecar?

Would make it even better for TDMs and stuff. Perhaps even a machine gun could be mounted on the sidecar?

That's pretty sweet, I'll add that to the list should be pretty easy to add

2
Add-Ons / Re: [Vehicle] Blocko Dirt Bike
« on: Yesterday at 02:48:15 AM »
Thanks for all the feedback guys!

r/n one of the leopard hosting links contains a zip within a zip.  nested addon.

My bad didn't notice. Probably just going to revert back to version 1, not a huge fan of the new turning animation anyway.

my only suggestions is that it goes a bit faster (or at least accelerates better) and doesn't bank so harshly when you turn at speed
Turning while at speed is jerky

I'm still making adjustments here and there, going to be a lot of trial and error before I get it to where it feels pretty decent. Kind of wish there was a motocross save somewhere that I could test it out on but I'm not sure if anybody has one.

3
Add-Ons / Re: [Vehicle] Blocko Dirt Bike
« on: August 15, 2019, 10:29:02 AM »
ow you twisted my arms
just because blockheads have rayman arms is not an excuse to extend the arm and break the strict lego skeleton all the dsq files follow

I didn't really think it was that bad, not much I can really do with it but I made some changes.



In the latest update, the player will now rotate and tilt as he turns the hands also move to almost match the shoulders.

4
Add-Ons / [Vehicle] Blocko Dirt Bike
« on: August 14, 2019, 11:34:47 PM »
Blocko Dirt Bike
Version 1.0.0




This is based on the lego dirt bike that was first introduced in 2007, it's not a direct copy but it's similar while trying to use the Blockland style.

This uses 2 wheels instead of 4 hidden wheels like most typical bikes for Blockland has, it uses a mass offset to allow it to balance itself on 2 wheels.
It handles pretty well for what it is I think so, I'm planning to do more updates on this thing in the future I just wanted to see what kind of feedback it would get at its current stage.

Also, I'm busy for the next few days and since this works I might as well release it before it ends up getting pushed aside to collect dust.

Code: [Select]
Planned Features

Add Teneski's vehicle customization
Add all the different lego colors of each part
Add some stunts like Rally's skateboard
Add sidecar version


Blockland Glass
DropBox
Leopard Hosting

5
i cant even switch it from internet explorer even though internet explorer is no longer a program installed on my pc

All you have to do is edit a registry key, there's more information on it here.

6
Creativity / Re: The new and improved 3D model topic!
« on: August 12, 2019, 02:18:37 AM »


Had a sudden urge to make the lego dirt bike, it's pretty close but not exactly the same as the lego bike.

7
Modification Help / Re: Using Obj2Blb With Wine
« on: July 22, 2019, 08:04:18 PM »
Oh that's right, textures are defined through material names

8
Modification Help / Re: Using Obj2Blb With Wine
« on: July 22, 2019, 06:25:58 PM »
How do you group a single face? It seems to me like you can only put objects in groups. Should I just make what I want it's own object and then put that in a group?
Yeah, that's how you do it. But I'm not sure why you need to do that, I don't remember having to do that for anything with generals converter.

9
Modification Help / Re: Using Obj2Blb With Wine
« on: July 22, 2019, 03:47:09 PM »
Most likely, each face can only have 4 verts(corners/edges) or less

10
Modification Help / Re: Using Obj2Blb With Wine
« on: July 22, 2019, 03:40:10 PM »
Can you post the obj? or blend

11
Modification Help / Re: Using Obj2Blb With Wine
« on: July 22, 2019, 09:46:32 AM »
Looks good! And no problem, happy to help.

12
Modification Help / Re: Using Obj2Blb With Wine
« on: July 22, 2019, 08:22:24 AM »
Also, how do I know how wide to make my model?
In blender I usually make a bounds box first to get the general size of what my model needs to be, the blockland units to scale in blender are x0.5 y0.5 z0.6 for a typical 1x1 brick, x0.5 y0.5 z0.2 for a 1x1 plate brick. Basically just multiply the numbers by how big you want your brick to be, like if I wanted a 4x4 cube I'd do x2 y2 z2.

Okay, I've got most it figured out. I would appreciate some screenshots or something of General's Obj2Blb documentation though.
Code: [Select]
Obj2Blb Converter
V4.0.0.2
By General (Blockland ID: 4878)



Documentation
Written by Tophius (Blockland ID: 3200) and General (Blockland ID: 4878)

Preface
This converter was tested alongside .obj files exported by Blender 249, and as such, this documentation was written with that program in mind. If you are using a different modelling program, be aware that some of this information might not translate correctly.

Using the converter
Usage of the converter is very easy. Simply drag your .obj file into the .exe, wait for the program to run, and the resulting .blb file should be created within the converter's working directory.

Modifications
The converter supports installation of mods for customization. To install a mod, simply create a folder in the same directory as the executable and name it "Obj2Blb Mods", then drag any scripts (".gml" files) or other necessary content related to the mod into the folder. Likewise, to uninstall a mod, just remove the scripts from the folder.
Note: Scripts will not be executed if inside a directory in the folder or do not have the extension ".gml".
If you need further help on installing mods, or wish to see application source code to create a mod, send General an e-mail at "gensoft@hotmail.co.uk".

Brick size
Automatically, the converter generates a bounding box for the brick based on the location of the furthest vertex from the centre in order cover all the quads. You can however override this default assignment by creating a box of a certain size and grouping it as “BOUNDS”, the converter will then use the size of this shape to set the bounds for the brick. The centre of the bounding box must be at point (0,0,0) on the axis in the modelling program otherwise the size of the bounds will be treated as the length from point (0,0,0) to the furtherst vertex from the centre multiplied by two.
That being said it is also worth noting that you are able to place just a single vertex or a plane a distance from the centre of the brick and group it as “BOUNDS”, the converter will create a box based on the distance of this vertex.

Collision
Like for the bounding box, if you do not define a custom collision box for the brick then the converter will automatically create a collision box the size of the brick's bounding box. To create collision boxes for the brick, all you have to do is add single or multiple boxes and group them each individually as “COL”, “COL2” etc. The shape will be treated as collision no matter the group name as long as the phrase “COL” exists in the name.
It is important to know that if you wish to create multiple collision boxes you cannot include each box as part of the same group; this is because the converter will treat them as one big box. You therefore have to give each box a unique name.

Placement grid
The converter automatically generates a placement grid for the brick upon conversion. However, since the converter cannot accurately produce a placement grid without being manually fed information, the automatically generated grid is only truly useful if the brick were a cuboid.
Likewise, the converter allows you to create a placement grid for the brick within your modelling program. All you have to do is create a box and group it “GRIDU” / “GRIDB”/ “GRIDD”/ “GRIDX” where GRIDU, GRIDB, GRIDD and GRIDX indicate that a brick can be place above, above and below, below or cannot be placed respectively. Any areas not covered by a grid box will be treated as an empty area (“-“). You are able to add more than one grid box if you please.
You must be sure NOT to join two or more boxes as part of the same group as this will lead the converter to believe that both boxes are one large box. If you need to group a box that has the same name as another group, you can add characters before or after “GRID(U/B/D/X)” in the name. For example “GRIDU2” etc.
Note: Due to the nature of the manual grid generating system, applying too many grid boxes on a brick with very large bounds can result in over a minute of grid writing time. If converter takes long to generate and the application is labelled as non-responsive, please wait patiently as it has not crashed.

Coverage
Although the converter does handle aspects of these sections of the .blb file well enough that it should function in-game, they are not optimal. Some manual labour will be required in order to refine the brick to an acceptable quality. For reference, this aspect is dependent on the “bounding box” of your model, so anything created by the converter would only truly be completely useful if your brick were a simple cuboid.
It is also worth mentioning that if one quad should cover an entire side of the bounding box, that then the respective side will be set to cover adjacent faces within the coverage section.

Quad sorting
You are able to manually define to which quad group faces in your model belong to within your modelling program. All you have to do is group chosen faces in your model as “Q L” where “L” is either T, B, N, E, S, W or O standing for Top, Bottom, North, East, South, West and Omni respectively. When converting, these faces will be sorted as the groups you have stated.
If you do not state a group, quads will automatically be grouped by the converter based on information from both the “bounding box” as well as the faces themselves. Faces close to the side edges of the bounding box will automatically be sorted as either: north, east, south or west, depending on what side they are close to. Faces assigned with a “TOP” texture will be automatically sorted as a top quad regardless of its position and faces with a “BOTTOMLOOP” or “BOTTOMEDGE” texture as a bottom quad respectively. Faces left over will be sorted as omni quads.
Note: If you wish to sort quads on a group also using colour, you can place the quad sorting command before or after the colour command in the group.

Textures
Textures within the .blb file are defined by the material assigned to the respective face in Blender. Recognized material names include: TOP, BOTTOMLOOP, BOTTOMEDGE, RAMP, SIDE and PRINT. If the face is not assigned a material or if the material name is not one of the above, the face is automatically applied the “SIDE” texture.

Vertex position
The vertex position is copied exactly as it appears in Blender / the .obj file, with the exception that the z axis is scaled by the converter in order to fit Blockland's own scale. As a tip, a 1x1 brick is exactly the same size as the default Blender cubed scaled down by a factor of 0.5, and then scaled on the z axis by 1.2.
Note: scaling faces by a negative value in order to mirror them causes the vertex order to flip as well, thus appearing inversed in-game. To remedy this: press “Ctrl-A”, and choose “Scale and Rotation to ObData”.

UV Coordinates
UV Coordinates are borrowed directly from the UV data in the .obj file, which in turn is affected by what you do in the “UV/Image Editor”. It is recommended that you use the default brick textures edited to appear as a solid colour rather than with transparency, as it is easier to work with.
TOP textures must be UV mapped in a specific way in order to appear properly in-game (so that they remain facing the same direction). To do this, ensure that the darkest side of the top texture faces up along the y-axis (green), while the second darkest side faces down along the x-axis (red), in the opposite direction to the axis arrow. It is also important that you do not perform any scale operations within the UV Editor while mapping the top textures.
Note: The image you use in the UV Editor to map to your face does not affect the texture as it appeas in-game.
This program comes with a series of edited brick textures to help in UV mapping. To export these textures, simply press the “E” button before closing this window.

Normals
Again, normals appear in-game exactly as they are defined within the .obj. It is important to note that in Blender, in order to achieve a partial smooth-shade effect, that you make use of the “edgesplit” modifiers just as you would if you were to export a model for use in-game as a .dts. It is not necessary to apply the modifier before export as Blender's .obj exporter allows you to choose to do that during the export process.

Colours
Bricks converted with the program can currently only be coloured on a per-face basis, meaning that having different-coloured vertices on one face is not currently possible. Face colours are defined by named groups within the .obj file. The name of the group must be “C R G B A” where R/G/B/A are values between -1 and 1. It is important to note that if you do not have enough space in the group name for setting a colour, values of "0.#" where # is a number can be written as ".#", this optimises space.
For more information on how to export .obj groups in Blender, please look at the “Blender .obj exporter” section.
Note: If you wish to set colour on a group also using quad sorting, you can place the colour command before or after the quad sorting command in the group.

Blender .obj exporter
When attempting to export your Blender model as an .obj, you are presented with a GUI and multiple export options to choose from. The “Context” row simply decides what part of your model should be exported. You can use “Selection only” to export only specific parts of your model, or you may choose “All Scenes” to export everything. “Animation” is not needed.
In “Output Options”, be sure to disable “Rotate X90” or your brick will appear sideways. Also, you may wish to apply any modifiers you may have for export with “Apply Modifiers”. Ignore “Copy Images”.
Be sure that “Materials”, ”UVs”, “Normals” and “HQ” are all enabled before export. You should leave “Edges” and “Triangulate” disabled.
For grouping, you may either choose “Polygroups”, “Objects” or “Groups”. “Polygroups” relies on the vertex groups assigned within Blender, while the other two rely on the Blender objects themselves, and are each handled similarly by the converter.
“Keep Vert Order” has no effect on the result of the .blb brick upon conversion.

13
Suggestions & Requests / Re: [req] ghost brick auto rotation
« on: July 22, 2019, 08:04:59 AM »
whatever you find is easier, both ways would work.

14
Suggestions & Requests / [req] ghost brick auto rotation
« on: July 21, 2019, 10:40:16 PM »
could somebody make like a client addon that automatically rotates your ghost brick in a random fashion for like placing nature bricks? I normally don't mind doing this manually, but I have to reforest a whole map this time and I think this would speed up the process and also be very useful.


15
Development / Re: 2019/07/13 - Blockland r2000
« on: July 15, 2019, 10:23:34 PM »
I still have r1997. Updater isn't updating to r2000.

I had the same issue, but I was using dlls and had my exe set to readonly. After deleting my exe it updated to r2000 next time I booted up.

Pages: [1] 2 3 4 5 6 ... 23