![]() ![]() = new int I hope that this helps you a bit (there is an easier way to do this, but this way you might understand the principles a bit better ). = true // Yeah, we use a custom Can Place. ![]() = new AnchorData(AnchorType.SolidTile,, 0) // Make sure that we need to place this altar on solid tiles, based on the width (which is 3, as set before). ![]() You might want to change the Y value of this Point16, since most tiles are placed from the bottom left corner in Terraria (which would make it (0, 1) probably). = new Point16(0, 0) // The origin of the tile. Main.tileNoAttach = true // We do not want this tile to attach to anything. Main.tileSolid = false // You'll probably want to be able to walk through the object, since that's possible with all altars. It can be removed, and can't be smashed by hammers. This is just a crafting station which can craft same items as the true altars, but doesn't need to be exactly the same as the true altar. Maybe I should add some of those "Main" stuff to define this.īut, well, I don't know how should I set up for this altar, so it would look like what it should look like just like the vanilla altar, when I place it. I checked the examplemod and found there are actually some extra settings about these special tiles, which I think they're telling the game that these are sprites. Since my platform uses pkgsrc for its package manager, I downloaded the ports tree and configured the ffmpeg port to build with an extra patch (see below), and left make package figure out all the dependencies it wanted. I guess the game probably doesn't regard this as an altar, but a normal tile block, just like the dirt block. If you're willing to compile ffmpeg yourself, you'll need to configure it with all the options you care about. Then, ofc., I put it in the game, and it appears to be some error blocks. Still just stays on this screen and never starts the download. }And its texture like(which I've cut from the vanilla texture): I tried restarting my computer, I reinstalled sharex (didn't uninstall it first). Thus, the height is scaled to 1080 / 6 180. These examples are also an introduction to the capabilities and parameters of the SDK. Item.createTile = mod.TileType("ManmadeDemonAltarTile") /content/test stream.264 -o::h264 out.h264 -hw -la This provides a quick smoke test for a range of components used in FFmpeg. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |