itch.io/t/2178710/mech-generator-scriptMech Generator Script/t/2178710/mech-generator-scriptSat, 18 Jun 2022 16:40:47 GMTSat, 18 Jun 2022 16:40:47 GMTSun, 04 May 2025 23:11:26 GMTHi everyone, this is a robot generator script based on the Mech blocks. 

Enjoy!

script here ->> MechGenerator.lua 

Edit: The script was inaccessible until now. 


]]>
/t/4951013/quick-material-palette-switchQuick Material Palette Switch/t/4951013/quick-material-palette-switchWed, 04 Jun 2025 17:09:04 GMTWed, 04 Jun 2025 17:09:04 GMTWed, 04 Jun 2025 17:09:04 GMTWhile we still can’t save color palettes for materials, I whipped up a little custom script that lets you input any hex color code and assign it to a material — by name — so you can switch your scene’s look faster than you can say “render this, not that!”

You can add as many materials as you want, no limits. Just hook it up, type in your favorite hex codes, and boom: your very own palette is ready to go.

Click here for the Source Code

]]>
/t/1544324/diesel-train-generator-based-on-kenneys-script-car-generatorDiesel train generator (based on Kenney's script Car Generator)/t/1544324/diesel-train-generator-based-on-kenneys-script-car-generatorFri, 23 Jul 2021 10:47:53 GMTFri, 23 Jul 2021 10:47:53 GMTSun, 04 May 2025 23:11:19 GMT

Download trainGenerator (v. 1)

]]>
/t/3780740/delux-parts-not-working-in-scriptsDelux Parts Not Working In Scripts/t/3780740/delux-parts-not-working-in-scriptsFri, 24 May 2024 17:09:24 GMTFri, 24 May 2024 17:09:24 GMTFri, 24 May 2024 17:09:24 GMTI want to execute this line of code:

forge.build("Aircraft/hull_cockpitRound",{0,0,0},{0,0,0},{1,1,1})

The parts is marked as one from the delux version and is not addable via these script. With every other non delux part it works fine.

Thank you for your time!

]]>
/t/3169495/custom-assets-not-showing-colorCustom assets not showing color/t/3169495/custom-assets-not-showing-colorMon, 25 Sep 2023 03:14:14 GMTMon, 25 Sep 2023 03:14:14 GMTMon, 25 Sep 2023 03:14:14 GMTI am creating assets in blockbench and exporting the assets as obj directly into the custom collection I have. When I open it in AssetForge and I go to my custom collection I see the model but there is no color. 

In the folder I have 

test_block.obj

test_block.mtl

texture (which is supposed to contain the textures for the obj)

]]>
/t/2951508/tower-generatorTower Generator/t/2951508/tower-generatorThu, 29 Jun 2023 04:51:54 GMTThu, 29 Jun 2023 04:51:54 GMTSun, 04 May 2025 23:12:05 GMTBased on Kenney Building Generator. Basic Tower Generator. Modify the script as you like.

It helps You create random heights, flags, and roofs of a tower in asset forge.

Instructions

  1. Download Lua Script From Here.
  2. Navigate to your AssetForge Installation Directory and find the "Scripts" folder.
  3. Paste the script you downloaded from Step 1 in the Scripts folder.
  4. Launch Your Asset Forge Software.
  5. In the menu, click Scripts, and open the Lua File you added to the Scripts folder in Step 3.
  6. Hit F5 and Enjoy.

Demo


Download From Here
]]>
/t/634187/sword-generatorSword Generator/t/634187/sword-generatorMon, 16 Dec 2019 03:54:46 GMTMon, 16 Dec 2019 03:54:46 GMTSun, 04 May 2025 23:12:11 GMTThis script generates random swords

Source Code


]]>
/t/639715/house-generatorHouse generator/t/639715/house-generatorMon, 23 Dec 2019 13:01:10 GMTMon, 23 Dec 2019 13:01:10 GMTSun, 04 May 2025 23:12:19 GMTThe below script is a modification of the building generator provided by Kenney that builds houses (i.e with sloped roofs rather than flat as per the building generator). It differs to Kenneys version in a few ways :

  • Windows will build on the lowest level. As such, you don't get a skirting around the bottom of your building like in the building generator
  • You get a door on the ground level
  • You get the occasional balcony on upstairs windows
  • Houses will be 1 or 2 storey
  • Currently, houses are square/rectangle. I plan to make provision for "L" shaped houses 


NOTES :

  • The centre of the roof builds with a couple of "wrong" tiles as appropriate tiles that fit with the existing tile set are not currently available. You'll get a not-quite-matching end piece for rectangular buildings (as per the below image), and a not-quite-matching "point" piece for square buildings. Fixing this will require replacement of the "roof_point" and "roof_half" references in the code once appropriate pieces are available.


====================================================================

Get it here! House Generator

]]>
/t/2723374/selection-questionsselection questions/t/2723374/selection-questionsThu, 16 Mar 2023 04:22:50 GMTThu, 16 Mar 2023 04:22:50 GMTThu, 16 Mar 2023 04:22:50 GMTDoes forge.selectAll(string block) function return anything? 

Is there a way to loop thorough a selection to access the blocks in it?

]]>
/t/1690694/rotateselection-on-group-or-selectall.rotateSelection() on group or selectall()/t/1690694/rotateselection-on-group-or-selectallSat, 09 Oct 2021 13:37:38 GMTSat, 09 Oct 2021 13:37:38 GMTSat, 09 Oct 2021 13:37:38 GMTHey hey, trying to use a script to generate some sprites for an lame outrunnish style of game and its working as i expected but..

theres 2 loops, one giving a quater turn of the wheel objects, and another to rotate the whole model around the y axis.. the wheel rotation works fine, but the rotateselction() rotates each object around its own y axis rather than the selection or group y axis.. am i doin it right? tried some variations of grouping and reselecting but same result.

for y = 0, 18 do
    -- -45 to 45 around model y axis in 5degree increments ?
    for x = 0,10 do
        -- wheel rotaton, qtr turn
        forge.clear()
        forge.build("Moats/cg_Body", {0, 0, 0}, {0, 0, 0}, {1, 1, 1})
        forge.build("Moats/cg_Wheel_FL", {.65, -.29, .82}, {x * 9, 0, 0}, {1, 1, 1})
        forge.build("Moats/cg_Wheel_FR", {-.65, -.29, .82}, {x * 9, 0, 0}, {1, 1, 1})
        forge.build("Moats/cg_Wheel_RL", {.65, -.29, -.88}, {x * 9, 0, 0}, {1, 1, 1})
        forge.build("Moats/cg_Wheel_RR", {-.65, -.29, -.88}, {x * 9, 0, 0}, {1, 1, 1})
        imgcode = "WR" .. string.format("%02d", x) .."CA"..string.format("%02d", y)
        forge.selectAll()
        --forge.groupSelection("EntireModel")
        --forge.selectNone()
        --forge.selectAll("EntireModel")
        forge.rotateSelection({0, -45 + (y * 5), 0})
        forge.exportSprite(512, "C:\\cg_PlayerSprites\\cg_Player_" .. imgcode)
    end
end


]]>
/t/769170/text-forgeText Forge/t/769170/text-forgeTue, 28 Apr 2020 17:44:15 GMTTue, 28 Apr 2020 17:44:15 GMTSun, 04 May 2025 23:12:31 GMT

Text Forge

A text generator for Asset Forge.

Installation

- Download the script: https://github.com/Tetracyl/TextForge
- Open Asset Forge.
- Click on `Scripts` in the upper left corner.
- Choose the script called `textforge.lua`.
- To edit the sample text: Open the script in a text editor then modify the `text` variable.

Documentation

To make a new line, add this to your string: `

Here is a list of all the characters that are supported (feel free to add more!):

a b c d e f g h i j k l m n o p q r s t u v w x y z
0 1 2 3 4 5 6 7 8 9
. ! ? / [ ] # $ % ^ & * ( ) - _ = + { } | < > : ; ~
]]>
/t/632158/building-generatorBuilding generator/t/632158/building-generatorSat, 14 Dec 2019 22:11:47 GMTSat, 14 Dec 2019 22:11:47 GMTSun, 04 May 2025 23:12:37 GMTThis script generates a random building, adds windows and details.

[ View the script ]


]]>
/t/632605/car-generatorCar generator/t/632605/car-generatorSun, 15 Dec 2019 12:37:47 GMTSun, 15 Dec 2019 12:37:47 GMTSun, 04 May 2025 23:12:52 GMTGenerates basic cars!

[ View the script ]


]]>
/t/1062569/how-to-get-rotation-and-scale-of-selected-blocksHow to get rotation and scale of selected blocks/t/1062569/how-to-get-rotation-and-scale-of-selected-blocksSat, 14 Nov 2020 20:22:23 GMTSat, 14 Nov 2020 20:22:23 GMTSat, 14 Nov 2020 20:22:23 GMTI'm looking to create a simple script that "flips" any currently selected blocks along a specified axis. This entails inverting their scale along that axis and moving them. I see the method forge.getSelectionX() to get the position of a selected object, but what about it's other properties?


thanks,

Nate

]]>
/t/910330/dungeon-room-generatorDungeon Room Generator/t/910330/dungeon-room-generatorTue, 04 Aug 2020 00:39:46 GMTTue, 04 Aug 2020 00:39:46 GMTSun, 04 May 2025 23:12:58 GMTCreate randomly generated dungeon room, change variables in the lua script to change how rooms are created.

[click here for script]

I still need to upload a model pack for this dungeon generation to work.  So check back here soon for a link to that!
- with out it stairs won't work, nor will the ladder going down.

Here is the link to the collections to download - https://jasoncrawford.itch.io/dungeon-room-prefabs-asset-forge


]]>
/t/690318/how-do-you-use-forgematerialcolor-How do you use forge.materialColor ?/t/690318/how-do-you-use-forgematerialcolor-Sun, 23 Feb 2020 15:28:32 GMTSun, 23 Feb 2020 15:28:32 GMTSun, 23 Feb 2020 15:28:32 GMTI want to change the color of the pieces of an object i am doing. How do you do it with forge.materialColor ?

]]>
/t/640090/write-your-name-inatorWrite-your-name-inator/t/640090/write-your-name-inatorTue, 24 Dec 2019 03:46:22 GMTTue, 24 Dec 2019 03:46:22 GMTSun, 04 May 2025 23:13:18 GMTDeveloped this just because I felt like it. Don't know that anyone will ever use it, but if you do, give me a shout so that I know the effort was worthwhile!
Write your name in cart tracks in Asset Forge! Write your dogs name! Write whatever you like!

All lowercase letters and space are supported. 


Grab it here! - write-your-name-inator

]]>
/t/632884/minigolf-course-generatorMinigolf course generator/t/632884/minigolf-course-generatorSun, 15 Dec 2019 16:45:32 GMTSun, 15 Dec 2019 16:45:32 GMTSun, 04 May 2025 23:13:23 GMTGenerates a simple minigolf course

[ View the script ]


]]>