login

Author Topic: Random Notes  (Read 25297 times)

Offline KON_Air

  • Craftsman
  • **
  • Posts: 110
    • View Profile
Stationary Horses
« Reply #30 on: October 12, 2008, 11:35:01 PM »
Stationary Horses Without Riders In Battlefield

Mission Template
     (0.1, 0, 0,
      [
(try_for_agents, ":cur_agent"),
  (agent_is_alive, ":cur_agent"), #so we don't try dead agents
    (neg|agent_is_human,":cur_agent"), #agent is a horse
      (agent_get_rider,":cur_rider", ":cur_agent"),
        (lt, ":cur_rider", 0), #horse does not have a rider
  (agent_set_animation, ":cur_agent", "anim_unused_horse_anim_1"), #so the horse doesn't move, must include module_animations at the top
(try_end),
      ], []),


Animations
 ["unused_horse_anim_1", 0, [1.0, "anim_horse", 0, 1, 0]],

Kon_Air & HokieBT For Speeder Bikes in M&B Starwars Mod

Offline KON_Air

  • Craftsman
  • **
  • Posts: 110
    • View Profile
Village Recruits According to The Villages Faction
« Reply #31 on: October 12, 2008, 11:36:13 PM »
in menu recruit_volunteers,

this will give the preset,
(party_get_slot, ":volunteer_troop", "$current_town", slot_center_volunteer_troop_type),

replace that line with this;
(store_faction_of_party, ":cur_faction", "$current_town"),
(faction_get_slot, ":volunteer_troop", ":cur_faction", slot_faction_tier_1_troop),

grailknighthero

  • Guest
Re: Random Notes
« Reply #32 on: October 13, 2008, 06:21:02 PM »
Another way is to have it so a center's culture is changed when it is taken over.

Offline KON_Air

  • Craftsman
  • **
  • Posts: 110
    • View Profile
Re: Random Notes
« Reply #33 on: November 04, 2008, 03:07:18 PM »
Town Cultures are just slot values incase you didn't notice :P Just look for the script that changes its faction and add it there.

Offline KON_Air

  • Craftsman
  • **
  • Posts: 110
    • View Profile
Re: Random Notes
« Reply #34 on: November 17, 2008, 05:46:00 PM »
Don't teach monkeys how to play poker and then cheat while gambling with them.