Search results for query: *

  1. order_without_power

    Stop NPC Movement [Solved]

    Agent.SetTargetPosition also works.
  2. order_without_power

    How to disable attacks?

    You need to patch CustomBattleAgentStatCalculateModel.UpdateHumanStats and SandboxAgentStatCalculateModel.UpdateHumanStats to change the agentDrivenProperties.
  3. order_without_power

    How to disable attacks?

    agentDrivenProperties.AIAttackOnDecideChance = 0f;
  4. order_without_power

    How to disable attacks?

    agent.SetAgentFlags(agent.GetAgentFlags() & ~AgentFlag.CanAttack;
  5. order_without_power

    Suggestion General Increase Maximum Number of Hairstyles Allowed by Engine

    How do you know it's set by the engine? Where did you look at and what value did you try to change?
  6. order_without_power

    Weather evetns

    You can also try overriding the methods in DefaultMapWeatherModel instead of editing the flow map.
  7. order_without_power

    Anyone know what causes NPCs to have the stupid smirk and different postures in the encyclopedia?

    This is the mod you might be looking for.

  8. order_without_power

    Question about HumanAiComponent behaviour values

    It leads to IMBAgent.SetAllAIBehaviorParams(UIntPtr agentPointer, HumanAIComponent.BehaviorValues[] behaviorParams) which interacts with the unmanaged engine.
  9. order_without_power

    Debugging a Mod ?!

    The crash is caused by My Little Warband and the author has not updated it for 1.2.x yet.
  10. order_without_power

    Accessing Custom/Modded Troops and Heroes in CustomBattle mode

    You need to have this line in the SubModule.xml.
    XML:
            <XmlNode>
                <IncludedGameTypes>
                    <GameType value="CustomGame"/>
                </IncludedGameTypes>
            </XmlNode>
  11. order_without_power

    How to make a configuration file for mod?

    It's best to use Mod Configuration Menu.
  12. order_without_power

    How to override conversation text at runtime?

    LordConversationsCampaignBehavior
  13. order_without_power

    [XML] Most crossbow properties can't be overwritten by a mod

    Instead of overriding the whole XML, try this XSLT:

    XML:
    <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>
  14. order_without_power

    How to make the rounded map notifications?

    What rounded map notification are you referring to? Can you take a screenshot of an example?
Back
Top Bottom