10000 Home · Deathly/terra Wiki · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Deathly edited this page Jun 16, 2011 · 2 revisions

Welcome to the terra Wiki

What terra is

  • a Terraria Mod
  • a Terraria Modding Interface for developers
  • a Terraria Enhancer

Current features

Core Features

  • terra.cs MainClass with Hooks, Mod Management and Functions
  • terraMod.cs ModClass which will store Mod information & functions
  • Direct Access to Chat, Character etc.

Modding Features

  • Acess to several Hooks (e.g. Chat, Keys, Death, Damage, etc.)
  • Acess to several Functions (see Core Features, Draw to Screen (fully-managed), etc.)

Developer Notes

  • Every function will go in the MainClass

public static void noclipFunction() { noclip = !noclip; }

  • Create a new Mod using one line of code`

terraMod noclip = new terraMod(Keys.N, "noclipFunction");

  • Hooks (currently) work like following code (Add code to exisiting functions in MainClass)

if (noClip) { int speed = 5; if (keyBuffer.Contains(Keys.LeftShift)) speed *= 3; if (keybuffer.Contains(Keys.W)) Main.player[Main.myPlayer].position.Y -= speed; if (keybuffer.Contains(Keys.S)) Main.player[Main.myPlayer].position.Y += speed; if (keybuffer.Contains(Keys.D)) Main.player[Main.myPlayer].position.X += speed; if (keybuffer.Contains(Keys.A)) Main.player[Main.myPlayer].position.X -= speed; }

  • More Features coming / already done

Best Regards xtravagant aka Deathly

Clone this wiki locally
0