Page MenuHomeFeedback Tracker

spawn refused... too close to another one.
New, UrgentPublic

Description

I have 2 Vehicle events.

events.xml

<event name="VehicleTestEvent_1">
	<nominal>1</nominal>
	<min>0</min>
	<max>2</max>
	<lifetime>300</lifetime>
	<restock>0</restock>
	<saferadius>1</saferadius>
	<distanceradius>1</distanceradius>
	<cleanupradius>1</cleanupradius>
	<flags deletable="0" init_random="0" remove_damaged="1"/>
	<position>fixed</position>
	<limit>child</limit>
	<active>1</active>
	<children>
		<child lootmax="0" lootmin="0" max="1" min="1" type="CAR1"/>
	</children>
</event>
<event name="VehicleTestEvent_2">
	<nominal>1</nominal>
	<min>0</min>
	<max>2</max>
	<lifetime>300</lifetime>
	<restock>0</restock>
	<saferadius>1</saferadius>
	<distanceradius>1</distanceradius>
	<cleanupradius>1</cleanupradius>
	<flags deletable="0" init_random="0" remove_damaged="1"/>
	<position>fixed</position>
	<limit>child</limit>
	<active>1</active>
	<children>
		<child lootmax="0" lootmin="0" max="1" min="1" type="CAR2"/>
	</children>
</event>

cfgeventspawns.xml

<event name="VehicleTestEvent_1">
	<pos x="1000" z="1000" a="0"/>
</event>
<event name="VehicleTestEvent_2">
	<pos x="1003" z="1000" a="0"/>
</event>

These events will not spawn, since their spawn points are closer than 20 meters. The server shows this message: "spawn refused... too close to another one."

How can I change the minimum distance between these events to 2 vehicles spawn? Perhaps there is some kind of constant responsible for this distance?
I need exactly 2 different events. Making 2 spawn points in one event is not an appropriate solution

Details

Severity
None
Resolution
Open
Reproducibility
Always
Operating System
Windows 10 x64
Category
General
Steps To Reproduce

Create 2 events, similar to what I showed in the description

Event Timeline

mmetrjuk created this task.Aug 22 2024, 1:14 PM