If there are ANY IC2 developers reading this out there, me and Rheves(our server admin) would really love your assistance. We love your product IC2, and would like to use it to its full potential on our server.
Posts by dh04000
-
-
if (var1 instanceof EntityPlayer && var2 >= 1000.0D)
{
IC2Achievements.issueAchievement((EntityPlayer)var1, "teleportFarAway");
}
}
}Do you mean this little Function?
public void teleport(EntityLiving var1)
{
double var2 = Math.sqrt((double)((this.xCoord - this.targetX) * (this.xCoord - this.targetX) + (this.yCoord - this.targetY) * (this.yCoord - this.targetY) + (this.zCoord - this.targetZ) * (this.zCoord - this.targetZ)));
int var4 = this.getWeightOf(var1);
int var5 = (int)((double)var4 * Math.pow(var2 + 10.0D, 0.7D) * 5.0D);if (var5 <= this.getAvailableEnergy())
{
this.consumeEnergy(var5);
Platform.teleportTo(var1, (double)this.targetX + 0.5D, (double)this.targetY + 1.5D + var1.getYOffset(), (double)this.targetZ + 0.5D, var1.rotationYaw, var1.rotationPitch);
NetworkManager.initiateTileEntityEvent(this, 0, true);if (var1 instanceof EntityPlayer && var2 >= 1000.0D)
{
IC2Achievements.issueAchievement((EntityPlayer)var1, "teleportFarAway");
}
}
}Is this TileEntityTeleporter a config/txt file I can edit? How do I use this to achieve our server's goal? I notice EnttyPlayer && var >= 1000.0D. which we would want to read 100.0D.
-
That's a shame. I imagine it would be too much to ask to get a refactored class file made and emailed to me?
Also, is this the right page to leave a suggestion to the developers to make teleporters configurable in the future?
Again, thanks for the quick response.
-
Disable inventory weight calculation?
?
We're looking to lower the value associated with moving players. Not counting their inventory, this cost is distance*1000, correct? We want to change this value, how do we do this?
Thank you for the quick response!
-
My server wants teleporting to be big aspect of out set up, so we would like to change the default distance*1000 to distance*100, to make it a less costly and fun system.
We are running the newest tekkit server. What do we have to edit in order to change this value?
Thank you,
looking forward from hearing back.