Author Topic: Spear Bracing Kit (Updated)  (Read 20129 times)

0 Members and 2 Guests are viewing this topic.

ZemplinTemplar

  • Sergeant
  • *
  • Jolly raubritter and Marshal of blood and guts
    • View Profile
  • Faction: Neutral
Re: Spear Bracing Kit (Updated)
« Reply #165 on: October 10, 2010, 09:00:24 PM »
Actually, as of now, I'm taking all my words back saying these scripts are unoptimized.

I just did a test. I had 50 AI agents in the scene (+1 including me) and I ran a loop 50 times, each time looping through each agent and making sure they're alive and human. Guess what? I got absolutely no performance lagging.

Code: [Select]
(try_for_range, reg1, 0, 50),
    (try_for_agents, ":agent"),
        (agent_is_alive, ":agent"),
        (agent_is_human, ":agent"),
    (try_end),
(try_end),

So yeah, these scripts are awesome indeed.



Another test: 100 AI agents, loop ran 70 times and each time two commands were checked. Again, no noticeable frame drop. Quite awesome..

And what does this have to do with anything ?
ZemplinTemplar supports this mod :

vota dc

  • Sergeant at Arms
  • *
    • View Profile
  • Faction: Nord
  • M&BWB
Re: Spear Bracing Kit (Updated)
« Reply #166 on: May 01, 2011, 05:13:59 PM »
Can this guide be upgraded for Warband?

 ["spearwall_hold", acf_thrust|acf_enforce_all|acf_align_with_ground,
   [4.0, "anim_human", combat+7310, combat+7310, blend_in_ready],
 ],

Gives error in Warband. If you change this code (you need to change the acfthing) you won't have any error and the game will start. But if you press any key it won't happen nothing: I don't think it is an animation problem since you should get a notify that you are bracing.

Caba`drin

  • Administrator
  • *
  • It's time to toss the dice.
    • View Profile
  • Faction: Nord
  • MP nick: Caba_drin
  • M&BWBWF&S
Re: Spear Bracing Kit (Updated)
« Reply #167 on: May 01, 2011, 08:58:45 PM »
I've updated the code for the most recent version of Warband and incorporated it into Pre-Battle Orders & Deployment. You can check out the source there or in the various compilations it appears in.



Sayd Ûthman

  • Modification Area Moderator
  • *
    • View Profile
  • Faction: Neutral
  • MP nick: Sayd_uth
  • WB
Re: Spear Bracing Kit (Updated)
« Reply #168 on: June 25, 2011, 10:51:01 PM »
I was waiting this update for ages :D thank's

ZemplinTemplar

  • Sergeant
  • *
  • Jolly raubritter and Marshal of blood and guts
    • View Profile
  • Faction: Neutral
Re: Spear Bracing Kit (Updated)
« Reply #169 on: September 06, 2011, 12:59:05 AM »
Is it also available for the original ? Or "no go" ?  :|
ZemplinTemplar supports this mod :