Page MenuHomeFeedback Tracker

Move 1.13 Artillery out of OnUpdate()
Closed, ResolvedPublic

Description

New Exp 1.13 added a chunk of code to MissionServer.c within the following method

void OnUpdate(float timeslice)

for easier modding reasons could this chunk of code be moved into its own method?
Eg;

override void OnUpdate(float timeslice)
{
	UpdateDummyScheduler();
	TickScheduler(timeslice);
	UpdateLogoutPlayers();		
	m_WorldData.UpdateBaseEnvTemperature( timeslice );	// re-calculate base enviro temperature
        / /-----------------------
	// ARTILLERY SOUNDS SETUP
	// -----------------------
       ArtilleryStrikes(timeslice);
}

void ArtilleryStrikes(float timeslice)
{
 ..........
 .........
}

Thanks :)

Details

Severity
Tweak
Resolution
Open
Reproducibility
N/A
Operating System
Windows 10 x64
Category
General

Event Timeline

Geez changed the task status from New to Assigned.Jun 18 2021, 4:40 PM
Geez added a subscriber: Geez.

Thank you for the report markkoky44.
We will take a look at what can be done.
Regards,
Geez

This is very interesting...

Geez closed this task as Resolved.Jun 23 2021, 9:41 AM
Geez claimed this task.

Hello markkoky44.
This issue is going to be resolved with the next experimental build.
Regards,
Geez