Page MenuHomeFeedback Tracker

Barrel_ColorBase initializes RainProcurementHandler in ctor, not in Init()
Feedback, UrgentPublic

Description

Makes the object more difficult to mod, since we can't disable it.

Could you move it to Init, like player variables? Thank you

        void Barrel_ColorBase()
	{
		m_BarrelOpener = new Timer();

		m_Openable = new OpenableBehaviour(false);
		m_RainProcurement = new RainProcurementManager(this); //legacy reasons
		m_RainProcComponent = new RainProcurementComponentBarrel(this);
		
		m_HalfExtents = Vector(0.30,0.85,0.30);

		RegisterNetSyncVariableBool("m_Openable.m_IsOpened");
		RegisterNetSyncVariableBool("m_IsSoundSynchRemote");
		RegisterNetSyncVariableBool("m_IsPlaceSound");
	}

Details

Severity
None
Resolution
Open
Reproducibility
N/A
Operating System
Windows 7
Category
General

Event Timeline

This is causing the most headache, MissionBaseWorld.Cast

Geez changed the task status from New to Feedback.Mar 11 2024, 9:32 AM