Category:Маркер: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
	
 (New page: __NOTOC__ Класс маркер представляет цветные, треехмерные формы в мире GTA. Ест mytcrjkmrj типов маркеров, включая ...)  | 
				No edit summary  | 
				||
| Line 1: | Line 1: | ||
__NOTOC__  | __NOTOC__  | ||
Класс маркер представляет цветные,   | Класс маркер представляет цветные, трехмерные формы в мире GTA. Есть несколько типов маркеров, включая цилиндры и чекпойнты. В скриптах маркеры часто используются, чтобы обозначить какое-либо место и включать выполнение какого-то действия, когда игрок заходит на маркер.  | ||
Тип элемента этого класса - '''"маркер"'''.  | Тип элемента этого класса - '''"маркер"'''.  | ||
| Line 6: | Line 6: | ||
Размер маркера не может быть изменен из XML файла и по умолчанию равен 4.0.  | Размер маркера не может быть изменен из XML файла и по умолчанию равен 4.0.  | ||
==XML   | ==XML синтаксис==  | ||
<syntaxhighlight lang="xml">  | <syntaxhighlight lang="xml">  | ||
<marker posX="" posY="" posZ="" type="" .../>  | <marker posX="" posY="" posZ="" type="" .../>  | ||
</syntaxhighlight>  | </syntaxhighlight>  | ||
===Требуемые   | ===Требуемые атрибуты===  | ||
* '''posX''': A float representing the X position of the pickup.  | * '''posX''': A float representing the X position of the pickup.  | ||
* '''posY''': A float representing the Y position of the pickup.  | * '''posY''': A float representing the Y position of the pickup.  | ||
| Line 17: | Line 17: | ||
===Опциональные аттрибуты===  | ===Опциональные аттрибуты===  | ||
* '''type:'''   | * '''type:''' Визуальный тип маркера. Список всех видов:  | ||
{{Marker types}}  | {{Marker types}}  | ||
* '''color:''' The color of the marker in HTML style format #RRGGBB, defaults to red if not specified.  | * '''color:''' The color of the marker in HTML style format #RRGGBB, defaults to red if not specified.  | ||
Revision as of 17:40, 11 January 2011
Класс маркер представляет цветные, трехмерные формы в мире GTA. Есть несколько типов маркеров, включая цилиндры и чекпойнты. В скриптах маркеры часто используются, чтобы обозначить какое-либо место и включать выполнение какого-то действия, когда игрок заходит на маркер.
Тип элемента этого класса - "маркер".
Размер маркера не может быть изменен из XML файла и по умолчанию равен 4.0.
XML синтаксис
<marker posX="" posY="" posZ="" type="" .../>
Требуемые атрибуты
- posX: A float representing the X position of the pickup.
 - posY: A float representing the Y position of the pickup.
 - posZ: A float representing the Z position of the pickup.
 
Опциональные аттрибуты
- type: Визуальный тип маркера. Список всех видов:
- "checkpoint": A race checkpoint. These are very tall, but not infinite, light pillars. Checkpoints snap to ground and become invisible after going over a certain Z height.
 - "ring": Doughnut shaped ring, normally used for aircraft.
 - "cylinder": Small glowing ground ring. These are the glow markers you walk into to activate missions or events in single player.
 - "arrow": Arrow pointing down. These are the arrows on the doors you can enter in single player, except MTA's are not animated by default.
 - "corona": A glowing ball of light.
 
 - color: The color of the marker in HTML style format #RRGGBB, defaults to red if not specified.
 
Связанные функции скриптинга
This category currently contains no pages or media.