An intralisim map configuration tool.
Naviage towards the releases page Here
Download the latest release,
Add it to your refrences in your C# Project.
- Full map json data.
- Ability to read and write map data.
using IntraSharp;
public class Program
{
public static void Main(string[] args)
{
IntraConfig config = IntraConfig.LoadConfig(args[0]); // Loads the config in the 1st argument, which is a file path.
}
}
using IntraSharp;
public class Program
{
public static void Main(string[] args)
{
IntraConfig config = IntraConfig.LoadConfig(args[0]); // Loads the config in the 1st argument, which is a file path.
config.Config.Events.Clear(); // Removes all events
Event e = new Event(); // Creates a new event object
e.Time = 0; // Sets the time to the begging of the map.
Data data = new Data(); // Makes a new data type
data.Type = DataType.SpawnObj; // We want to spawn in some arcs so use SpawnObj
data.DataString = "[LeftUpDownRight]"; // We want to have a full circle so we do [LeftUpDownRight]
e.Data = data.ConvertToReadableData(); // Convert it to readable data so Intra can load it
config.Config.Events.Add(e); // Add the event
}
}
using IntraSharp;
public class Program
{
public static void Main(string[] args)
{
IntraConfig config = IntraConfig.LoadConfig(args[0]); // Loads the config in the 1st argument, which is a file path.
config.Config.Events.Clear(); // Removes all events
Event e = new Event(); // Creates a new event object
e.Time = 0; // Sets the time to the begging of the map.
Data data = new Data(); // Makes a new data type
data.Type = DataType.SpawnObj; // We want to spawn in some arcs so use SpawnObj
data.DataString = "[LeftUpDownRight]"; // We want to have a full circle so we do [LeftUpDownRight]
e.Data = data.ConvertToReadableData(); // Convert it to readable data so Intra can load it
config.Config.Events.Add(e); // Add the event
config.SaveConfig(); // Save the config
}
}