Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
  • Need help?

    Create a topic in the appropriate section
    Don't write everything in the chat!
  • Take a look at the marketplace

    There you can buy
    everything related to game servers
  • Don't want a ban?

    Please read our rules
    Don't disturb the order!
  • Sell or buy?

    Use services of the guarantor
    We will make your deal safe
  • 0
Sign in to follow this  
Verum

Лут в кастомных постройках

Добрый день. Ситуация следующая. Добавил на карту медицинскую палатку.
В файле mapgroupproto.xml прописал:

	<group name="Land_Medical_Tent_Big", pos="2653.959961 211.279999 5589.899902", rpy="-4.650000 -1.300000 -170.000015" a="0" />

Так как в файле mapgrouppos.xml уже есть позиции спавна лута, то больше ничего не прописывал.
 

<group name="Land_Medical_Tent_Big" lootmax="8">
				<usage name="Medic" />
				<container name="lootFloor">
						<category name="tools" />
						<category name="containers" />
						<category name="clothes" />
						<tag name="floor" />
						<point pos="0.878961 0.008423 2.423510" range="1.052892" height="2.000015" />
						<point pos="-2.109011 0.006996 2.902564" range="1.064976" height="2.000008" />
						<point pos="2.306444 0.034348 -4.022240" range="0.588774" height="1.887747" />
						<point pos="-2.594043 0.007942 -1.565960" range="0.704102" height="1.760254" />
						<point pos="1.771812 0.020363 0.493978" range="0.725098" height="1.812744" />
						<point pos="1.503654 0.018127 -1.789303" range="1.130121" height="2.000000" />
				</container>
				<container name="lootshelves" lootmax="6">
						<category name="tools" />
						<category name="containers" />
						<category name="clothes" />
						<category name="books" />
						<tag name="shelves" />
						<point pos="1.910018 0.722397 3.717247" range="0.237500" height="0.593750" />
						<point pos="2.943820 1.016510 4.603766" range="0.237500" height="0.593750" />
						<point pos="2.450612 1.016510 4.175817" range="0.271875" height="0.679688" />
						<point pos="-0.903013 1.016510 1.451418" range="0.203125" height="0.507813" />
						<point pos="-2.385782 0.722397 1.227147" range="0.203125" height="0.507813" />
						<point pos="0.345196 0.482315 -4.685581" range="0.134375" height="0.264999" />
						<point pos="-0.469727 0.860893 -4.790687" range="0.134375" height="0.264999" />
						<point pos="-1.374149 0.862373 -4.644001" range="0.134375" height="0.265007" />
						<point pos="-1.399362 0.107498 -4.634909" range="0.134375" height="0.260010" />
						<point pos="-0.943328 1.240356 -4.663788" range="0.100000" height="0.250000" />
						<point pos="-0.874001 1.016510 -2.567032" range="0.203125" height="0.507813" />
						<point pos="2.658795 0.862427 -4.660295" range="0.134375" height="0.265007" />
						<point pos="2.694934 0.107246 -4.627802" range="0.134375" height="0.260002" />
						<point pos="2.347996 1.016510 -2.831473" range="0.271875" height="0.679688" />
						<point pos="2.918595 1.016510 -1.072354" range="0.203125" height="0.507813" />
						<point pos="2.933502 1.016510 -1.672846" range="0.203125" height="0.507813" />
						<point pos="2.480503 0.722397 -0.527704" range="0.203125" height="0.507813" />
						<point pos="-2.411317 0.722397 -2.843950" range="0.203125" height="0.507813" />
						<point pos="-1.631707 0.722397 -2.817230" range="0.203125" height="0.507813" />
						<point pos="-2.040739 1.028168 0.220865" range="0.203125" height="0.507782" />
						<point pos="-1.474229 0.722397 1.206495" range="0.100000" height="0.250000" />
				</container>
				<container name="lootweapons" lootmax="2">
						<category name="weapons" />
						<category name="explosives" />
						<point pos="-1.171777 1.016510 1.977780" range="0.237500" height="0.593750" />
						<point pos="-0.992395 0.480705 -4.598229" range="0.100000" height="0.250000" />
						<point pos="0.726908 0.860680 -4.633949" range="0.100000" height="0.250000" />
						<point pos="0.332947 1.242317 -4.713015" range="0.100000" height="0.250000" />
						<point pos="-0.143931 0.106758 -4.771693" range="0.134375" height="0.260002" />
						<point pos="-0.927929 1.016510 -3.103087" range="0.168750" height="0.421875" />
						<point pos="-0.696853 0.007942 -1.023209" range="1.199951" height="2.000000" />
						<point pos="3.077715 0.480370 -4.522451" range="0.100000" height="0.250000" />
						<point pos="1.968083 1.016510 -3.261031" range="0.237500" height="0.593750" />
						<point pos="1.490574 0.722397 -0.639466" range="0.100000" height="0.250000" />
						<point pos="0.130665 0.007607 -3.332138" range="0.935200" height="2.000000" />
						<point pos="-1.798197 1.030388 0.705568" range="0.134375" height="0.335938" />
				</container>
		</group>

Однако, при загрузке этих файлов на сервер в палатке ничего не спавнится, да и вообще слетает весь спавн по карте.
Подскажите в чём может быть проблема?

Share this post


Link to post
Share on other sites

1 answer to this question

Recommended Posts

  • 0

Вопрос закрыт.
Проблема была в том, что в обязательном порядке необходимо высчитывать переменную "а".
Вот файлик для расчёта.

<group name="Land_Medical_Tent_Big", pos="2653.959961 211.279999 5589.899902", rpy="-4.650000 -1.300000 -170.000015" a="0" />

Из этой строки вствляем 3-е значение в блоке rpy в желтую ячейку (только измените точку на запятую). Полученное значение вводим в a="..."

 

Пожалуйста, Войдите или Зарегистрируйтесь, чтобы увидеть это: Вложение.

Edited by Verum (see edit history)

Share this post


Link to post
Share on other sites





Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you automaticly agree to our Guidelines and Privacy Policy.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.