Set Multiplayer Equipment Spawn's

From Mount&Blade Modding Wiki
Revision as of 22:34, 26 February 2012 by Wolfstar (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

[edit] Info

Coded By: Bad Idea

Module Files Edited: Module_Mission_Templates

[edit] Module_Mission_Templates

  1. Above mission_templates
  2. Remember to customise your items!


 nova_clan_equipment = ( #decide what equipment the troops get
 ti_on_agent_spawn, 0, 0, [], 
 [
   (store_trigger_param_1, ":agent"),
   #(agent_get_troop_id, ":agent", ":troop"),
   (agent_get_item_slot,":item",":agent",5),
   
   (try_begin),
   (eq, ":item", "itm_nova_merc_light"),  #STANDARD MERC GEAR
   (agent_equip_item, ":agent", "itm_nova_merc_lasergun"),
   (agent_equip_item, ":agent", "itm_nova_merc_light_helmet"),
   (agent_equip_item, ":agent", "itm_good_bullets"),
   (agent_equip_item, ":agent", "itm_infantry_gloves"),
   (agent_equip_item, ":agent", "itm_old_cavalry_boots"),
   (agent_equip_item, ":agent", "itm_dagger"),    
   (else_try),
   (eq, ":item", "itm_nova_merc_med"), #MEDIUM MERC GEAR
   (agent_equip_item, ":agent", "itm_nova_merc_crossbow"),
   (agent_equip_item, ":agent", "itm_nova_merc_med_helmet"),
  (agent_equip_item, ":agent", "itm_good_bullets"),
   (agent_equip_item, ":agent", "itm_infantry_gloves"),
   (agent_equip_item, ":agent", "itm_old_cavalry_boots"),
   (agent_equip_item, ":agent", "itm_dagger"),     
   (else_try),
   (eq, ":item", "itm_nova_merc_heavy"), #HEAVY MERC GEAR
   (agent_equip_item, ":agent", "itm_nova_merc_pistol"),
   (agent_equip_item, ":agent", "itm_nova_merc_heavy_helmet"),
  (agent_equip_item, ":agent", "itm_good_bullets"),
   (agent_equip_item, ":agent", "itm_infantry_gloves"),
   (agent_equip_item, ":agent", "itm_old_cavalry_boots"),
   (agent_equip_item, ":agent", "itm_dagger"),     
   (try_end),    
 ])  

After make a module_item and then set it as the only thing active for a player in Module_Scripts.

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox