Dont know if you would like to add this to manual as the add_folders() (have never) dont seem to work outside Lite-C. // Setting up paths in C# First create your folders in your bin/debug bin/release folder. then:
Code:
//
public static String levels = Application.StartupPath + @"\gsDefaults\levels\";
public static String models = Application.StartupPath + @"\gsDefaults\models\";
public static String terrains = Application.StartupPath + @"\gsDefaults\terrains\";
public static String props = Application.StartupPath + @"\gsDefaults\props\";
public static String textures = Application.StartupPath + @"\gsDefaults\textures\";
public static String fx = Application.StartupPath + @"\gsDefaults\fx\";
public static String ppfx = Application.StartupPath + @"\gsDefaults\pp_fx\";
Then use like so
Code:
public static String strDefLevel = levels + "default.wmb";
public static String strDefEntity = models + "camnode.mdl";
OR
Actor = EngFun.ent_create(models + "cbabe.mdl", new Vector(0, 0, 32), ActorAction);
A8.3x Commercial, AcknexWrapper and VS 2010 Express ○pararealist now.