Agent.SetTargetPosition
also works.CustomBattleAgentStatCalculateModel.UpdateHumanStats
and SandboxAgentStatCalculateModel.UpdateHumanStats
to change the agentDrivenProperties
.agentDrivenProperties.AIAttackOnDecideChance = 0f;
agent.SetAgentFlags(agent.GetAgentFlags() & ~AgentFlag.CanAttack;
DefaultMapWeatherModel
instead of editing the flow map.ItemObject.Deserialize()
IMBAgent.SetAllAIBehaviorParams(UIntPtr agentPointer, HumanAIComponent.BehaviorValues[] behaviorParams)
which interacts with the unmanaged engine. <XmlNode>
<IncludedGameTypes>
<GameType value="CustomGame"/>
</IncludedGameTypes>
</XmlNode>
LordConversationsCampaignBehavior
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output omit-xml-declaration="yes"/>
<xsl:template match="@*|node()">
<xsl:copy>
<xsl:apply-templates select="@*|node()"/>
</xsl:copy>
</xsl:template>
<xsl:template match="Item[@id='crossbow_f']/@difficulty">
<xsl:attribute name="difficulty">
<xsl:value-of select="75"/>
</xsl:attribute>
</xsl:template>
<xsl:template match="Item[@id='crossbow_f']/ItemComponent/Weapon/@missile_speed">
<xsl:attribute name="missile_speed">
<xsl:value-of select="102"/>
</xsl:attribute>
</xsl:template>
<xsl:template match="Item[@id='crossbow_f']/ItemComponent/Weapon/@thrust_damage">
<xsl:attribute name="thrust_damage">
<xsl:value-of select="115"/>
</xsl:attribute>
</xsl:template>
</xsl:stylesheet>