Thank you very much!
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Pages1
#2
Help / Best way to hook into the game logic
May 03, 2016, 11:15:44 PM
Hi all,
what is the best way to load a dll? At the moment I am initiating my mod via a call which inherits Mapcomponent and then using the static Find class i manage the game from there on.
I have tried getting the class to inherit MonoBehavior but the game does not load the mod then.
I am proficient enough with unity to have created my own games before, but never had any experience with modding games.
It just seems rather tacky managing the game via the MapComponent.
what is the best way to load a dll? At the moment I am initiating my mod via a call which inherits Mapcomponent and then using the static Find class i manage the game from there on.
I have tried getting the class to inherit MonoBehavior but the game does not load the mod then.
I am proficient enough with unity to have created my own games before, but never had any experience with modding games.
It just seems rather tacky managing the game via the MapComponent.
#3
Help / Re: [Tutorial] (Alpha 13) How to make a .dll-mod (Power Generation)
May 03, 2016, 07:54:01 AM
hi all,
love the game, decided to give modding a go.
So I've compiled my first dll:
But when i launch the game and enable dev mode, I can't see the messages in the debug log.
location of my dll is D:\Work\OneDrive\games\RimWorld\Mods\Panoptes\Panoptes.dll
Am i placing the dll in correct location?
Thank you in advance
EDIT:
After reading the WIKI i have changed my structure as mentioned on here http://rimworldwiki.com/wiki/Modding_Tutorials/Mod_folder_structure
still no luck
EDIT2:
NVM, got everything sorted, the dll is now loading correctly
love the game, decided to give modding a go.
So I've compiled my first dll:
Code Select
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEngine;
using Verse;
using RimWorld;
using RimWorld.Planet;
namespace Panoptes
{
public class SomethingAwesome : Pawn
{
public SomethingAwesome() : base()
{
Debug.Log("this is fine wine here!");
}
public override void Tick()
{
base.Tick();
Debug.Log("this is fine wine here!");
}
}
}
But when i launch the game and enable dev mode, I can't see the messages in the debug log.
location of my dll is D:\Work\OneDrive\games\RimWorld\Mods\Panoptes\Panoptes.dll
Am i placing the dll in correct location?
Thank you in advance
EDIT:
After reading the WIKI i have changed my structure as mentioned on here http://rimworldwiki.com/wiki/Modding_Tutorials/Mod_folder_structure
still no luck
EDIT2:
NVM, got everything sorted, the dll is now loading correctly
Pages1