# SAR SimObjects

Objects created for Search and Rescue Missions.

## Model Setup

* Node MMH\_RESCUEE
* Node MMH\_SMOKE\_FLARE

## Model.xml

```
// Some code
```

## SimObject Setup

<details>

<summary>{SIMOBJECTNAME}.xml</summary>

```
<?xml version="1.0" encoding="utf-8"?>
<ModelInfo guid="{SIMOBJECTGUID}" version="1.1">
	<LODS>
		<LOD minSize="0" ModelFile="{SIMOBJECTNAME}.gltf"/>
	</LODS>

	<Behaviors>
			<Include ModelBehaviorFile="Asobo\Misc\GroundVehicles.xml"/>
			
			<Include ModelBehaviorFile="Asobo\Generic\FX.xml"/>

	
			<Component ID="MMH_SMOKE_FLARE_VFX">
				<OverrideTemplateParameters>
					<FX_GUID>{E9193091-7488-4A9B-BA47-C9A1FB209052}</FX_GUID>
					<FX_CODE>1</FX_CODE>
				</OverrideTemplateParameters>
				<Component ID="MMH_SMOKE_FLARE_VFX" Node="MMH_SMOKE_FLARE">
					<UseTemplate Name="ASOBO_GT_FX"/>
				</Component>
			</Component>

			<Component ID="MMH_SMOKE_FLARE" Node="MMH_SMOKE_FLARE">
				<Visibility>
					<Parameter>
						<Code>(L:MMH_SMOKE_FLARE) 1 ==</Code>
					</Parameter>
				</Visibility>
			</Component>

			<Component ID="MMH_RESCUEE" Node="MMH_RESCUEE">
				<Visibility>
					<Parameter>
						<Code>(L:MMH_RESCUEE_PICKED) 0 ==</Code>
					</Parameter>
				</Visibility>
			</Component>

	</Behaviors>
	
</ModelInfo>

```

</details>

<details>

<summary>model.cfg</summary>

```
[models]
normal={SIMOBJECTNAME}.xml
```

</details>

<details>

<summary>sim.cfg</summary>

```
[fltsim.0]
title= {SIMOBJECTNAME}
model=
texture=

[General]
category=StaticObject
DistanceToNotAnimate=7500
```

</details>

## PackageDefinitions

<details>

<summary>{PACKAGENAME}.xml</summary>

Add entry:

{% code fullWidth="true" %}

```
<AssetGroup Name="{SIMOBJECTNAME}">
			<Type>SimObject</Type>
			<Flags>
				<FSXCompatibility>false</FSXCompatibility>
			</Flags>
			<AssetDir>{PATH}</AssetDir>
			<OutputDir>{PATH}</OutputDir>
</AssetGroup>
```

{% endcode %}

</details>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.miltechsimulations.com/miltech-mission-hub/developer-sdk/custom-simobjects/sar-simobjects.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
