I've been using OreRunner and never had the problem of ore spawning in trees so yeah, this should work (if there are no errors of course).Just so I don't have to test everything again, this should make it so ore can't spawn in trees right?
Because ore runner allows ore to spawn in only specified tiles.
Code:if (downedDesertScourge) { for (int k = 0; k < (int)((double)(Main.maxTilesX * Main.maxTilesY) * 15E-05); k++) { int i2 = WorldGen.genRand.Next(0, Main.maxTilesX); int j2 = WorldGen.genRand.Next((int)(Main.maxTilesY * .2f), (int)(Main.maxTilesY * .8f)); WorldGen.OreRunner(i2, j2, (double)WorldGen.genRand.Next(3, 6), WorldGen.genRand.Next(3, 6), (ushort)mod.TileType("AerialiteOre")); } }
You could try something like the following:How can I make the projectile spin during flight?
public override bool PreUpdate()
{
projectile.rotation += 0.1F * projectile.direction;
return false;
}
where are enough tutorials on youtube for theseCan anyone help me on installation please?
If you could give us some details on what's going wrong: of course.Can anyone help me on installation please?
Doesn't workJust a quick question to confirm my assumption:
A method when placing a tile is absent, right? I want to use the coordinates of the newly placed tile, so if my assumption is correct, I'm guessing I'll have to do the tile placement manually and go from there?
You could try something like the following:
Code:public override bool PreUpdate() { projectile.rotation += 0.1F * projectile.direction; return false; }
Could you tell me what doesn't work? Are you getting an error or...?Doesn't work
I should have known...Add
projectile.rotation += 0.1f;
To Your AI() Method
I really, really want to know this. I even tried messing with Main.playerDrawData and no luck.So I suppose the real question here is: is it possible to change the color of an armor piece without changing the color of nearby accessories? It feels like it should, since the game already seems to do that with dressers.
Check the documentation for GlobalItem.I should have known...
[doublepost=1465737970,1465737795][/doublepost]Is there way to change properties of existing item?
Sorry bout that but I can't seem to find any tutorial on installing the tModLoader for GOG version in youtube.where are enough tutorials on youtube for these
I only remember that Bluemagic postet an Mini-Tutorial in the threadSo I downloaded the GOG Windows version of the tModLoader. It contains this files.View attachment 117367
I don't know how to install it. I tried following the README.txt instructions but whenever I try to run terraria, it doesn't start and shows this.
View attachment 117368
I have downloaded the GOG 1.3.1 version of terraria previously. I wanted to install the Thorium mod but it requires the tModLoader first. Any advice? Thanks.
[doublepost=1465738376,1465738148][/doublepost]
Sorry bout that but I can't seem to find any tutorial on installing the tModLoader for GOG version in youtube.
Programming AI requires an in-depth understanding of (in this case) C#.Can someone explain the custom boss AI.
Link some tutorial of send some example with explained what do all things or some help because i need ai that fallow the player from the sky and shoot to him and some times charge him like queen bee but if I use ai style queen bee he shoot with bees en some green things.
So I downloaded the GOG Windows version of the tModLoader. It contains this files.View attachment 117367
I don't know how to install it. I tried following the README.txt instructions but whenever I try to run terraria, it doesn't start and shows this.
View attachment 117368
I have downloaded the GOG 1.3.1 version of terraria previously. I wanted to install the Thorium mod but it requires the tModLoader first. Any advice? Thanks.
[doublepost=1465738376,1465738148][/doublepost]
Sorry bout that but I can't seem to find any tutorial on installing the tModLoader for GOG version in youtube.
The GOG version for Windows has now been released for v0.8.1.2! Huge thanks to @Jeckel for making the GOG version possible!
In order to make sure only people who have purchased Terraria can play tModLoader, the installation process for the GOG version is the same as when tModLoader was first released. You will need to put your exe files in a Vanilla folder, then run the Patch.bat file in order to create your tModLoader exe files.
I dont know what to do too,sry thats was the only thing i foundIt still won't work. I tried redownloading the tModLoader but got the same results. It produces a terraria.exe and a tModLoaderServer.exe but still says its not a valid win32 application.
You could try checking if ai[0] is 1 and then multiplying it' velocity by something bigger than 1.
public override void AI()
{
if (projectile.ai[0] == 1)
{
projectile.velocity *= 2;
}
}