Hi, and first, thank you for this excellent mod, we love it on my server.
I have just a small problem, I would like to slightly modify the GuardedCrate.cs file, just to make the chute drag a lot more and have different colors/messages at starts/stops/ends, but my modifications continue to be ignored ; any idea ? Thanks !:3
#region Oxide
protected override void LoadDefaultMessages()
{
lang.RegisterMessages (new Dictionary<string, string>
{
{ "InvalidSyntax", "gc start|stop" },
{ "Permission", "No permission" },
{ "CreateEvent", "<color=#cc3610>Guarded Crate : </color><color=#ff8c00>New guarded crate event starting, please stand by.</color>" },
{ "CleanEvents", "<color=#cc3610>Guarded Crate : </color><color=#ff8c00>Cleaning up all current events.</color>" },
{ "EventStarted", "<color=#cc3610>Guarded Crate : </color><color=#858585>{0}</color>, event started at <color=#82635b>{1}</color>, eliminate the guards before they leave in <color=#a30000>{2}</color>." },
{ "EventEnded", "<color=#cc3610>Guarded Crate : </color><color=#239632>The event ended at </color><color=#82635b>{0}</color><color=#239632>, </color><color=#a30000>{1}</color><color=#239632> nailed it !</color>" },
{ "EventClear", "<color=#cc3610>Guarded Crate : </color><color=#a30000>The event ended at </color><color=#82635b>{0}</color><color=#a30000> ; Maybe next time !</color>" },
}, this);
}This is for the messages and their colors, and below is for the chute drag, which both of them are ignored, even if I reload the plugin.
private void Awake()
{
_crate = gameObject.GetComponent<BaseEntity>();
_crate.GetComponent<Rigidbody>().drag = 2.50f;
SpawnChute();
}