Results 1 to 30 of 53

Thread: Modding the demo

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    the G-Diffuser Senior Member pevergreen's Avatar
    Join Date
    Nov 2006
    Location
    Brisbane, Australia
    Posts
    11,585
    Blog Entries
    2

    Default Re: Modding the demo

    Not impressive. I've seen a guy have a 9001 unit of Grenadiers. Literally.

    Of course the frame rate was something like 3 frames per minute, but even so.
    Quote Originally Posted by TosaInu
    The org will be org until everyone calls it a day.

    Quote Originally Posted by KukriKhan View Post
    but I joke. Some of my best friends are Vietnamese villages.
    Quote Originally Posted by Lemur
    Anyone who wishes to refer to me as peverlemur is free to do so.

  2. #2

    Default Re: Modding the demo

    Quote Originally Posted by pevergreen View Post
    Not impressive. I've seen a guy have a 9001 unit of Grenadiers. Literally.

    Of course the frame rate was something like 3 frames per minute, but even so.
    Really? Can you post a link, because it would be great see that!
    Quote Originally Posted by a completely inoffensive name View Post
    Have the strength of Arnold Schwarzenegger, the voice of Billy Mays and the ability to produce bull**** at a moments notice and you can be the leader of anything.

  3. #3
    the G-Diffuser Senior Member pevergreen's Avatar
    Join Date
    Nov 2006
    Location
    Brisbane, Australia
    Posts
    11,585
    Blog Entries
    2

    Default Re: Modding the demo



    from TWC.
    Quote Originally Posted by TosaInu
    The org will be org until everyone calls it a day.

    Quote Originally Posted by KukriKhan View Post
    but I joke. Some of my best friends are Vietnamese villages.
    Quote Originally Posted by Lemur
    Anyone who wishes to refer to me as peverlemur is free to do so.

  4. #4

    Default Re: Modding the demo

    Thats big (big understatement).
    Quote Originally Posted by a completely inoffensive name View Post
    Have the strength of Arnold Schwarzenegger, the voice of Billy Mays and the ability to produce bull**** at a moments notice and you can be the leader of anything.

  5. #5
    Could be your God Member Abokasee's Avatar
    Join Date
    Apr 2005
    Location
    N/A
    Posts
    1,487

    Default Re: Modding the demo

    Theres already Ancillaries, and to a degree slavery is in, but not in the Mass Cotton farm form, but more of the Cotton House:

    --[[ Ancillary_African_Servant_02_Trigger ]]--

    events.BuildingCompleted[#events.BuildingCompleted+1] =
    function (context)
    if conditions.CharacterType("minister", context) and conditions.CharacterMinisterialPosition("governor_america", context) and conditions.CharacterBuildingConstructed("large_cotton_plantation", context) then
    if conditions.DateInRange(1700, 1900, context) then
    effect.ancillary("Ancillary_African_Servant", 8, context)
    end
    return true
    end
    return false
    end
    I can confirm the return of turncoats:

    --[[ Ancillary_Army_Ottoman_Turncoat_2_Trigger ]]--

    events.CharacterCompletedBattle[#events.CharacterCompletedBattle+1] =
    function (context)
    if conditions.CharacterType("General", context) and not conditions.CharacterFactionName("ottomans", context) and conditions.CharacterFoughtCulture("middle_east", context) and conditions.CharacterWonBattle(context) and conditions.BattleResult("major_victory", context) and not conditions.CampaignName("episodic_1", context) and not conditions.CampaignName("episodic_3", context) then
    if conditions.DateInRange(1700, 1900, context) then
    effect.ancillary("Ancillary_Army_Ottoman_Turncoat", 17, context)
    end
    return true
    end
    return false
    end
    Another interesting Ancillary, seems there will be cultural ones as well including ones for unlockable/unplayable factions (well we can mod the demo... why not the main game?)

    --[[ Ancillary_Assassin_Thug_Trigger ]]--

    events.CharacterTurnEnd[#events.CharacterTurnEnd+1] =
    function (context)
    if conditions.CharacterType("assassin", context) and conditions.CharacterCultureType("indian", context) and not conditions.CampaignName("episodic_1", context) and not conditions.CampaignName("episodic_3", context) then
    if conditions.DateInRange(1700, 1900, context) then
    effect.ancillary("Ancillary_Assassin_Thug", 2, context)
    end
    return true
    end
    return false
    end
    --[[ Ancillary_Blood_Brother_2_Trigger ]]--

    events.CharacterCompletedBattle[#events.CharacterCompletedBattle+1] =
    function (context)
    if conditions.CharacterType("General", context) and not conditions.CharacterCultureType("tribal", context) and conditions.CharacterFoughtCulture("tribal", context) and conditions.CharacterInTheatre(1, context) and conditions.CharacterTurnsInEnemyLands(context) >= 1 and conditions.CharacterWonBattle(context) and not conditions.CampaignName("episodic_1", context) and not conditions.CampaignName("episodic_3", context) then
    if conditions.DateInRange(1700, 1900, context) then
    effect.ancillary("Ancillary_Blood_Brother", 8, context)
    end
    return true
    end
    return false
    end
    Theres Dueling Ancillaries

    --[[ Ancillary_Duelling_Hidalgo_Fop_2_Trigger ]]--

    events.DuelFought[#events.DuelFought+1] =
    function (context)
    if conditions.CharacterWonDuel(context) and conditions.CharacterDuelWeapon("duelling_sword", context) and conditions.CharacterFactionName("spain", context) and not conditions.CampaignName("episodic_1", context) and not conditions.CampaignName("episodic_3", context) then
    if conditions.DateInRange(1700, 1900, context) then
    effect.ancillary("Ancillary_Duelling_Hidalgo_Fop", 17, context)
    end
    return true
    end
    return false
    end

    --[[ Ancillary_Duelling_Minx_Trigger ]]--

    events.CharacterTurnEnd[#events.CharacterTurnEnd+1] =
    function (context)
    if (conditions.CharacterType("rake", context) or conditions.CharacterType("gentleman", context)) and conditions.CharacterCultureType("european", context) and (conditions.CharacterTrait("C_Gent_Duelling_Sword", context) >= 2 or conditions.CharacterTrait("C_Gent_Duelling_Pistol", context) >= 4) and not conditions.CampaignName("episodic_1", context) and not conditions.CampaignName("episodic_3", context) then
    if conditions.DateInRange(1700, 1900, context) then
    effect.ancillary("Ancillary_Duelling_Minx", 8, context)
    end
    return true
    end
    return false
    end

    --[[ Ancillary_Duelling_Pistols_2_Trigger ]]--

    events.DuelFought[#events.DuelFought+1] =
    function (context)
    if conditions.CharacterWonDuel(context) and conditions.CharacterDuelWeapon("duelling_pistols", context) and not conditions.CharacterFactionName("britain", context) and not conditions.CampaignName("episodic_1", context) and not conditions.CampaignName("episodic_3", context) then
    if conditions.DateInRange(1700, 1900, context) then
    effect.ancillary("Ancillary_Duelling_Pistols", 17, context)
    end
    return true
    end
    return false
    end

    --[[ Ancillary_Duelling_Pistols_Manton_2_Trigger ]]--

    events.DuelFought[#events.DuelFought+1] =
    function (context)
    if conditions.CharacterWonDuel(context) and conditions.CharacterDuelWeapon("duelling_pistols", context) and conditions.CharacterFactionName("britain", context) and not conditions.CampaignName("episodic_1", context) and not conditions.CampaignName("episodic_3", context) then
    if conditions.DateInRange(1700, 1900, context) then
    effect.ancillary("Ancillary_Duelling_Pistols_Manton", 5, context)
    end
    return true
    end
    return false
    end

    Theres more Captive Ancillaries

    --[[ Ancillary_European_Captive_Ferang_Trigger ]]--

    events.CharacterCompletedBattle[#events.CharacterCompletedBattle+1] =
    function (context)
    if (conditions.CharacterType("General", context) or conditions.CharacterType("admiral", context)) and conditions.CharacterCultureType("indian", context) and conditions.CharacterFoughtCulture("european", context) or (conditions.CharacterInTheatre(836795134, context) or conditions.CharacterInTheatre(-1133129049, context)) and not conditions.CampaignName("episodic_1", context) and not conditions.CampaignName("episodic_3", context) then
    if conditions.DateInRange(1700, 1900, context) then
    effect.ancillary("Ancillary_European_Captive_Ferang", 8, context)
    end
    return true
    end
    return false
    end

    This is probably the most intersting trigger:

    --[[ Ancillary_Government_Vampire_Hunter_Trigger ]]--

    events.CharacterTurnEnd[#events.CharacterTurnEnd+1] =
    function (context)
    if conditions.CharacterType("minister", context) and conditions.IsFactionLeader(context) and conditions.CharacterFactionName("austria", context) and conditions.FactionLeadersTrait("C_Personal_Piety", context) >= 1 and not conditions.CampaignName("episodic_1", context) and not conditions.CampaignName("episodic_3", context) then
    if conditions.DateInRange(1700, 1900, context) then
    effect.ancillary("Ancillary_Government_Vampire_Hunter", 8, context)
    end
    return true
    end
    return false
    end
    Till I saw this one:

    --[[ Ancillary_Grizzly_Adams_Trigger ]]--

    events.CharacterCompletedBattle[#events.CharacterCompletedBattle+1] =
    function (context)
    if conditions.CharacterType("General", context) and not conditions.CharacterCultureType("tribal", context) and conditions.CharacterWonBattle(context) and conditions.CharacterInTheatre(1, context) and not conditions.CampaignName("episodic_1", context) and not conditions.CampaignName("episodic_3", context) then
    if conditions.DateInRange(1700, 1900, context) then
    effect.ancillary("Ancillary_Grizzly_Adams", 8, context)
    end
    return true
    end
    return false
    end
    Now with transparent layers!

    Lost on the Internet? Go back to start.

  6. #6
    Member Member Alexander the Pretty Good's Avatar
    Join Date
    Jun 2004
    Location
    New Jersey, USA
    Posts
    4,979

    Default Re: Modding the demo

    Has anyone tried to take away the scripting in the battle of Brandywine? The naval battle has a template for an "unscripted" scenario, and I was wondering if something similar could be done for the land battle...

  7. #7
    Undercover Lurker Member Mailman653's Avatar
    Join Date
    Nov 2006
    Location
    Mansfield, TX
    Posts
    1,309

    Default Re: Modding the demo

    Quote Originally Posted by Alexander the Pretty Good View Post
    Has anyone tried to take away the scripting in the battle of Brandywine? The naval battle has a template for an "unscripted" scenario, and I was wondering if something similar could be done for the land battle...
    http://www.twcenter.net/forums/showthread.php?t=228100
    Looks like it's been done, I'm gonna give it a try myself.

  8. #8
    the G-Diffuser Senior Member pevergreen's Avatar
    Join Date
    Nov 2006
    Location
    Brisbane, Australia
    Posts
    11,585
    Blog Entries
    2

    Default Re: Modding the demo

    It has been done.

    Check TWC, all the modding progress is being done there. (edit: thats what not refreshing gets me)
    Last edited by pevergreen; 02-23-2009 at 15:40.
    Quote Originally Posted by TosaInu
    The org will be org until everyone calls it a day.

    Quote Originally Posted by KukriKhan View Post
    but I joke. Some of my best friends are Vietnamese villages.
    Quote Originally Posted by Lemur
    Anyone who wishes to refer to me as peverlemur is free to do so.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Single Sign On provided by vBSSO