EtG Modding Guide
  • ETG Modding Guide
  • Getting started
    • Modding EtG: Installing Mods
    • Modding EtG: Creating a Mod
    • Uploading a Mod
    • Useful Tools
      • Using IlSpy
  • Making An Item
    • Creating A Passive
    • Creating An Active
    • Creating An Ammolet
    • Creating A Guon
    • Synergies
  • Making a Gun
    • Creating A Gun
      • Setting Up Gun Sprite Folders
      • Creating Gun Jsons/Jtk2ds
        • Pixel Measurement Conversions
    • Setting Up Projectiles
      • Adding Components To A Projectile
      • Projectile HitEffects (Visual Effects)
      • Adding status effects to a projectile
    • Continuous Fire Animations
    • Gun Ammo Types
  • Custom Characters
    • Creating A Standalone Custom Character
  • Making a Floor
    • Introduction
    • Setup
    • Making The Dungeon
    • Tileset
    • Rooms
    • Making the flow
    • Making the Entrance
    • All Files
  • Text, Text Boxes, Etc
    • Textboxes
    • Text Formatting
  • Sounds
    • Using Custom Sounds
    • Customising Gun Sounds
    • Basegame Sound List
    • wwise Sound Dump
  • Misc
    • Making Asset bundles
    • Assetbundles: How-To
    • How to create a hook
    • Creating A Command
    • Subscribing Methods to Actions
    • Reversing Player Controls
    • Undodgeable Projectiles
    • Creating An Enemy
  • Shaders
    • Creating Shaders
  • All things Spriting
    • Important Sprite Creation Information.
    • Importing a Sprite To Visual Studios
  • Monobehaviour Documentation
    • BounceProjModifier
    • PierceProjModifier
    • KeyProjModifier
    • CompanionFollowPlayerBehaviour
  • Various Lists of IDs, Sounds, Etc.
    • List of Item and Gun IDs
    • Enemy Guids
    • List of Base Game Synergies
    • dfSpriteList
    • All Custom Ammo Types
    • Gun .Json Dump
  • OFF TOPIC MEMES
    • Modders Anthem
Powered by GitBook
On this page
  • Difficulty: 8/10 : (due to amount of spriting/planning&creativity)
  • Example tileset for rat floor:
  • Example tileset for Gungeon Proper

Was this helpful?

  1. Making a Floor

Tileset

PreviousMaking The DungeonNextRooms

Last updated 3 years ago

Was this helpful?

Difficulty: 8/10 : (due to amount of spriting/planning&creativity)

Here is where the asset bundles start coming into play.

Now we want to copy a base game tileset and resprite that, of course, we don't *have* to, but if you want to make your own just look at how expand did it once:

;)

Example tileset for rat floor:

light green is floor dark green is the tiles that go between walls and floor tiles orange is the bottom half of the wall dark orange is the top half of the wall (the darker oranges is a different set of walls) dark blue is the bit over the walls light blue is the pit the slightly darker light blue goes outside the rooms so it isnt completely dark the turquoise is used between the floor tiles and a pit hot pink is the floor tiles that go around pits and the crosses show which walls go together the pink in the dark green squares shows where the wall would be

Example tileset for Gungeon Proper

the white tiles are unused tiles.

once you've got your tileset (or you can just use one of these as a placeholder) you need to place it into your assetbundle.

we are going to go back into the ModPrefabs file and add this public static Texture2D ENV_Tileset_FloorName;

and in the InitCustomPrefabs add: ENV_Tileset_FloorName = ModAssets.LoadAsset("ENV_Tileset_FloorName");

Now we can access the tileset from anywhere

Now we need to make a new script called CustomValidTilesets. delete the class.

paste in:

public enum CustomValidTilesets
    {
        GUNGEON = 1,
        CASTLEGEON = 2,
        SEWERGEON = 4,
        CATHEDRALGEON = 8,
        MINEGEON = 16,
        CATACOMBGEON = 32,
        FORGEGEON = 64,
        HELLGEON = 128,
        SPACEGEON = 256,
        PHOBOSGEON = 512,
        WESTGEON = 1024,
        OFFICEGEON = 2048,
        BELLYGEON = 4096,
        JUNGLEGEON = 8192,
        FINALGEON = 16384,
        RATGEON = 32768,
        FLOORNAMEGEON = 69696969 //DO NOT USE THIS NUMBER TO AVOID CONFLICTS
    }

https://raw.githubusercontent.com/ApacheThunder/ExpandTheGungeon/dac3f0f977948c2461cbe8f9de34ee40857daa81/ExpandTheGungeon/ExpandObjects/ExpandDungeonCollections/ENV_Tileset_Belly.cs