ModuleSystem Command Database (WIP)

Users who are viewing this thread

Theoris

Hello,

I've always been amazed at the lack of documentation. So this is why I just created the MSCD (Modulesystem Command Database). The idea is to have every single command in there, however, I'm just one man and it's impossible for me to add all of the commands in.

So that's why I'm asking for your help. Just post here or PM me and I will give you the details on how to add/modify commands which are displayed in the page. Adding/modifying commands is actually extremely easy, as seen by the screenshot in the spoiler.
47960460.jpg

Team
Myself - coder.
Swyter - coder.

Thanks to...
cmpxchg8b for providing me tons of MS commands.


How to help?
1. Register at: http://mbcommands.zxq.net/register.
2. Wait until an admin confirms your account.
3. Modify commands at: http://mbcommands.zxq.net/editor&pass=your_login_pass.


Link to page: http://mbcommands.zxq.net/.
 

Theoris

Yeah, I used PHP and MySQL.

Hmm. A search function - good idea. I'll try to implement it. Perhaps a sort function would be feasible as well, e.g sorting alphabetically or by the type (shared, client only, server only etc).

Also, changed host so now it's a lot faster.
 

sir Gulos

Veteran
WB
Very good idea. If you even need help with the mysql/php or even hosting, don't hesitate to contact me. Also, which is the link to the adding form itself?:grin:
Lateredit: Maybe it's good to also add a can-fail checkbox column in the table.
 

Theoris

I'm giving the link to the command adder to only those who are trusted & PM me. This is to avoid kids messing stuff up.

sir Gulos said:
Lateredit: Maybe it's good to also add a can-fail checkbox column in the table.
Good idea.
 

SonKidd

Knight
Theoris said:
Yeah, I used PHP and MySQL.

Hmm. A search function - good idea. I'll try to implement it. Perhaps a sort function would be feasible as well, e.g sorting alphabetically or by the type (shared, client only, server only etc).

Also, changed host so now it's a lot faster.

I did something similar before. Here's my source code for make a sortable table.

The MySQL fetching from table part:
Code:
if(isset($_GET['order']))
$order=$_GET['order'];
else
$order=asc;

if(isset($_GET['orderby']))
$orderby=$_GET['orderby'];
else
$orderby=DEFAULT ORDER-BY HEADER;

$result = mysql_query("SELECT * FROM table ORDER BY ".$orderby." ".$order);
if (!$result)
{  
	die('Could not connect: ' . mysql_error()); 
}

The headers for the table that can be clicked to be sorted:
Code:
echo "
<tr>
<th scope='col' class='nobg'>"; 
headerlink('HEADER1(to be displayed)', 'HEADER2(to be passed into MySQL database', $orderby, $order); echo"</th>
<th scope='row'>"; 
headerlink('HEADER2', 'BookName', $orderby, $order); echo"</th>
<th scope='row'>"; 
headerlink('HEADER', 'Author', $orderby, $order); echo"</th>
</tr>";

The function headerlink used above:
Code:
/*
Note:
Outside function, define void $_GET["orderby"] and void $_GET["order"], before function.

$text = text of link
$n_orderby = the order you want the next page to be ordered by (must = table header)
$o_orderby = current order by on this page (must = table header)
$dir_order = current direction of order
*/
function headerlink ($text, $n_orderby, $o_orderby, $dir_order)
{
//echo $n_orderby.$o_orderby;
if ($n_orderby == $o_orderby)
{
if ($dir_order == 'asc')
$dir_order = 'desc';
else
$dir_order = 'asc';
}
else
$dir_order = 'asc';

echo "<a href = 'YOURSITE.php?orderby=".$n_orderby."&order=".$dir_order."'>".$text."</a>";
}

Sorry for my crappy commenting, just a amateur programmer.

Edit

Forget it, I see you've done it already  :grin:.
 

sir Gulos

Veteran
WB
A good idea though would be to add all the ops with a small script (i can help you with that if you want), but with blank usage, description and all other fields, and then let make it so we can edit the other fields. Just so we don't overlook any op + it would be a lot easier to modify a pre-exsiting description, if we could edit it directly (not add it from scratch again).
 

cmpxchg8b

Count
M&BWBWF&SNW
If it helps:

1,call_script
3,try_end
4,try_begin
5,else_try
6,try_for_range
7,try_for_range_backwards
11,try_for_parties
12,try_for_agents
21,store_script_param_1
22,store_script_param_2
23,store_script_param
30,ge
31,eq
32,gt
33,is_between
36,entering_town
37,map_free
39,encountered_party_is_attacker
42,conversation_screen_is_active
44,in_meta_mission
47,set_player_troop
50,store_repeat_object
60,set_result_string
70,key_is_down
71,key_clicked
72,game_key_is_down
73,game_key_clicked
75,mouse_get_position
77,omit_key_once
78,clear_omitted_keys
90,get_global_cloud_amount
91,set_global_cloud_amount
92,get_global_haze_amount
93,set_global_haze_amount
101,hero_can_join
102,hero_can_join_as_prisoner
103,party_can_join
104,party_can_join_as_prisoner
105,troops_can_join
106,troops_can_join_as_prisoner
107,party_can_join_party
110,main_party_has_troop
130,party_is_in_town
131,party_is_in_any_town
132,party_is_active
150,player_has_item
151,troop_has_item_equipped
152,troop_is_mounted
153,troop_is_guarantee_ranged
154,troop_is_guarantee_horse
200,check_quest_active
201,check_quest_finished
202,check_quest_succeeded
203,check_quest_failed
204,check_quest_concluded
250,is_trial_version
350,profile_get_banner_id
351,profile_set_banner_id
370,get_achievement_stat
371,set_achievement_stat
372,unlock_achievement
380,send_message_to_url
388,multiplayer_send_message_to_server
389,multiplayer_send_int_to_server
390,multiplayer_send_2_int_to_server
391,multiplayer_send_3_int_to_server
392,multiplayer_send_4_int_to_server
393,multiplayer_send_string_to_server
394,multiplayer_send_message_to_player
395,multiplayer_send_int_to_player
396,multiplayer_send_2_int_to_player
397,multiplayer_send_3_int_to_player
398,multiplayer_send_4_int_to_player
399,multiplayer_send_string_to_player
400,get_max_players
401,player_is_active
402,player_get_team_no
403,player_set_team_no
404,player_get_troop_id
405,player_set_troop_id
406,player_get_agent_id
407,player_get_gold
408,player_set_gold
409,player_spawn_new_agent
410,player_add_spawn_item
411,multiplayer_get_my_team
412,multiplayer_get_my_troop
413,multiplayer_set_my_troop
414,multiplayer_get_my_gold
415,multiplayer_get_my_player
416,multiplayer_clear_scene
417,multiplayer_is_server
418,multiplayer_is_dedicated_server
419,game_in_multiplayer_mode
420,multiplayer_make_everyone_enemy
421,player_control_agent
422,player_get_item_id
423,player_get_banner_id
424,game_get_reduce_campaign_ai
425,multiplayer_find_spawn_point
426,set_spawn_effector_scene_prop_kind
427,set_spawn_effector_scene_prop_id
429,player_set_is_admin
430,player_is_admin
431,player_get_score
432,player_set_score
433,player_get_kill_count
434,player_set_kill_count
435,player_get_death_count
436,player_set_death_count
437,player_get_ping
438,player_is_busy_with_menus
439,player_get_is_muted
440,player_set_is_muted
441,player_get_unique_id
442,player_get_gender
450,team_get_bot_kill_count
451,team_set_bot_kill_count
452,team_get_bot_death_count
453,team_set_bot_death_count
454,team_get_kill_count
455,team_get_score
456,team_set_score
457,team_set_faction
458,team_get_faction
459,player_save_picked_up_items_for_next_spawn
460,player_get_value_of_original_items
461,player_item_slot_is_picked_up
465,kick_player
466,ban_player
467,save_ban_info_of_player
468,ban_player_using_saved_ban_info
470,start_multiplayer_mission
473,server_add_message_to_log
475,server_get_renaming_server_allowed
476,server_get_changing_game_type_allowed
477,server_set_anti_cheat
478,server_get_combat_speed
479,server_set_combat_speed
480,server_get_friendly_fire
481,server_set_friendly_fire
482,server_get_control_block_dir
483,server_set_control_block_dir
484,server_set_password
485,server_get_add_to_game_servers_list
486,server_set_add_to_game_servers_list
487,server_get_ghost_mode
488,server_set_ghost_mode
489,server_set_name
490,server_get_max_num_players
491,server_set_max_num_players
492,server_set_welcome_message
493,server_get_melee_friendly_fire
494,server_set_melee_friendly_fire
495,server_get_friendly_fire_damage_self_ratio
496,server_set_friendly_fire_damage_self_ratio
497,server_get_friendly_fire_damage_friend_ratio
498,server_set_friendly_fire_damage_friend_ratio
499,server_get_anti_cheat
500,troop_set_slot
501,party_set_slot
502,faction_set_slot
503,scene_set_slot
504,party_template_set_slot
505,agent_set_slot
506,quest_set_slot
507,item_set_slot
508,player_set_slot
509,team_set_slot
510,scene_prop_set_slot
520,troop_get_slot
521,party_get_slot
522,faction_get_slot
523,scene_get_slot
524,party_template_get_slot
525,agent_get_slot
526,quest_get_slot
527,item_get_slot
528,player_get_slot
529,team_get_slot
530,scene_prop_get_slot
540,troop_slot_eq
541,party_slot_eq
542,faction_slot_eq
543,scene_slot_eq
544,party_template_slot_eq
545,agent_slot_eq
546,quest_slot_eq
547,item_slot_eq
548,player_slot_eq
549,team_slot_eq
550,scene_prop_slot_eq
560,troop_slot_ge
561,party_slot_ge
562,faction_slot_ge
563,scene_slot_ge
564,party_template_slot_ge
565,agent_slot_ge
566,quest_slot_ge
567,item_slot_ge
568,player_slot_ge
569,team_slot_ge
570,scene_prop_slot_ge
599,play_sound_at_position
600,play_sound
601,play_track
602,play_cue_track
603,music_set_situation
604,music_set_culture
609,stop_all_sounds
700,copy_position
701,init_position
702,get_trigger_object_position
705,get_angle_between_positions
707,position_has_line_of_sight_to_position
710,get_distance_between_positions
711,get_distance_between_positions_in_meters
712,get_sq_distance_between_positions
713,get_sq_distance_between_positions_in_meters
714,position_is_behind_position
715,get_sq_distance_between_position_heights
716,position_transform_position_to_parent
717,position_transform_position_to_local
718,position_copy_rotation
719,position_copy_origin
720,position_move_x
721,position_move_y
722,position_move_z
723,position_rotate_x
724,position_rotate_y
725,position_rotate_z
726,position_get_x
727,position_get_y
728,position_get_z
729,position_set_x
730,position_set_y
731,position_set_z
735,position_get_scale_x
736,position_get_scale_y
737,position_get_scale_z
738,position_rotate_x_floating
739,position_rotate_y_floating
740,position_get_rotation_around_z
741,position_normalize_origin
742,position_get_rotation_around_x
743,position_get_rotation_around_y
744,position_set_scale_x
745,position_set_scale_y
746,position_set_scale_z
750,position_get_screen_projection
791,position_set_z_to_ground_level
792,position_get_distance_to_terrain
793,position_get_distance_to_ground_level
900,start_presentation
901,start_background_presentation
902,presentation_set_duration
903,is_presentation_active
910,create_text_overlay
911,create_mesh_overlay
912,create_button_overlay
913,create_image_button_overlay
914,create_slider_overlay
915,create_progress_overlay
916,create_combo_button_overlay
917,create_text_box_overlay
918,create_check_box_overlay
919,create_simple_text_box_overlay
920,overlay_set_text
921,overlay_set_color
922,overlay_set_alpha
923,overlay_set_hilight_color
924,overlay_set_hilight_alpha
925,overlay_set_size
926,overlay_set_position
927,overlay_set_val
928,overlay_set_boundaries
929,overlay_set_area_size
930,overlay_set_mesh_rotation
931,overlay_add_item
932,overlay_animate_to_color
933,overlay_animate_to_alpha
934,overlay_animate_to_highlight_color
935,overlay_animate_to_highlight_alpha
936,overlay_animate_to_size
937,overlay_animate_to_position
938,create_image_button_overlay_with_tableau_material
939,create_mesh_overlay_with_tableau_material
940,create_game_button_overlay
941,create_in_game_button_overlay
942,create_number_box_overlay
943,create_listbox_overlay
944,create_mesh_overlay_with_item_id
945,set_container_overlay
946,overlay_get_position
947,overlay_set_display
948,create_combo_label_overlay
949,overlay_obtain_focus
950,overlay_set_tooltip
960,show_object_details_overlay
970,show_item_details
971,close_item_details
980,context_menu_add_item
990,get_average_game_difficulty
991,get_level_boundary
1003,all_enemies_defeated
1004,race_completed_by_player
1005,num_active_teams_le
1006,main_hero_fallen
1019,finish_party_battle_mode
1020,set_party_battle_mode
1021,set_camera_follow_party
1025,start_map_conversation
1030,rest_for_hours
1031,rest_for_hours_interactive
1062,add_xp_to_troop
1063,add_gold_as_xp
1064,add_xp_as_reward
1070,add_gold_to_party
1080,set_party_creation_random_limits
1090,add_info_page_note_tableau_mesh
1091,add_info_page_note_from_dialog
1092,add_info_page_note_from_sreg
1095,troop_set_note_available
1096,faction_set_note_available
1097,party_set_note_available
1098,quest_set_note_available
1100,spawn_around_party
1103,set_spawn_radius
1104,display_debug_message
1105,display_log_message
1106,display_message
1107,set_show_messages
1108,add_troop_note_tableau_mesh
1109,add_faction_note_tableau_mesh
1110,add_party_note_tableau_mesh
1111,add_quest_note_tableau_mesh
1112,add_quest_note_from_dialog
1113,add_quest_note_from_sreg
1114,add_troop_note_from_dialog
1115,add_faction_note_from_dialog
1116,add_party_note_from_dialog
1117,add_troop_note_from_sreg
1118,add_faction_note_from_sreg
1119,add_party_note_from_sreg
1120,dialog_box
1121,question_box
1122,tutorial_message
1123,tutorial_message_set_position
1124,tutorial_message_set_size
1125,tutorial_message_set_center_justify
1126,tutorial_message_set_background
1130,set_tooltip_text
1170,reset_price_rates
1171,set_price_rate_for_item
1172,set_price_rate_for_item_type
1201,party_join
1202,party_join_as_prisoner
1203,troop_join
1204,troop_join_as_prisoner
1210,remove_member_from_party
1211,remove_regular_prisoners
1215,remove_troops_from_companions
1216,remove_troops_from_prisoners
1225,heal_party
1230,disable_party
1231,enable_party
1232,remove_party
1233,add_companion_party
1250,add_troop_to_site
1251,remove_troop_from_site
1261,modify_visitors_at_site
1262,reset_visitors
1263,set_visitor
1264,set_visitors
1265,add_visitors_to_current_scene
1266,scene_set_day_time
1270,set_relation
1275,faction_set_name
1276,faction_set_color
1277,faction_get_color
1280,start_quest
1281,complete_quest
1282,succeed_quest
1283,fail_quest
1284,cancel_quest
1285,set_quest_progression
1286,conclude_quest
1290,setup_quest_text
1291,setup_quest_giver
1300,start_encounter
1301,leave_encounter
1302,encounter_attack
1303,select_enemy
1304,set_passage_menu
1305,auto_set_meta_mission_at_end_commited
1307,end_current_battle
1320,set_mercenary_source_party
1490,set_merchandise_modifier_quality
1491,set_merchandise_max_value
1492,reset_item_probabilities
1493,set_item_probability_in_merchandise
1501,troop_set_name
1502,troop_set_plural_name
1503,troop_set_face_key_from_current_profile
1505,troop_set_type
1506,troop_get_type
1507,troop_is_hero
1508,troop_is_wounded
1509,troop_set_auto_equip
1510,troop_ensure_inventory_space
1511,troop_sort_inventory
1512,troop_add_merchandise
1513,troop_add_merchandise_with_faction
1515,troop_get_xp
1516,troop_get_class
1517,troop_set_class
1520,troop_raise_attribute
1521,troop_raise_skill
1522,troop_raise_proficiency
1523,troop_raise_proficiency_linear
1525,troop_add_proficiency_points
1528,troop_add_gold
1529,troop_remove_gold
1530,troop_add_item
1531,troop_remove_item
1532,troop_clear_inventory
1533,troop_equip_items
1534,troop_inventory_slot_set_item_amount
1535,troop_add_items
1536,troop_remove_items
1537,troop_inventory_slot_get_item_amount
1538,troop_inventory_slot_get_item_max_amount
1539,troop_loot_troop
1540,troop_get_inventory_capacity
1541,troop_get_inventory_slot
1542,troop_get_inventory_slot_modifier
1543,troop_set_inventory_slot
1544,troop_set_inventory_slot_modifier
1550,troop_set_faction
1555,troop_set_age
1560,troop_set_health
1561,troop_get_upgrade_troop
1570,item_get_type
1601,party_get_num_companions
1602,party_get_num_prisoners
1603,party_set_flags
1604,party_set_marshall
1605,party_set_extra_text
1606,party_set_aggressiveness
1607,party_set_courage
1608,party_get_current_terrain
1609,party_get_template_id
1610,party_add_members
1611,party_add_prisoners
1612,party_add_leader
1613,party_force_add_members
1614,party_force_add_prisoners
1615,party_remove_members
1616,party_remove_prisoners
1617,party_clear
1618,party_wound_members
1619,party_remove_members_wounded_first
1620,party_set_faction
1623,party_relocate_near_party
1625,party_get_position
1626,party_set_position
1627,map_get_random_position_around_position
1628,map_get_land_position_around_position
1629,map_get_water_position_around_position
1630,party_count_members_of_type
1631,party_count_companions_of_type
1632,party_count_prisoners_of_type
1633,party_get_free_companions_capacity
1634,party_get_free_prisoners_capacity
1638,party_get_ai_initiative
1639,party_set_ai_initiative
1640,party_set_ai_behavior
1641,party_set_ai_object
1642,party_set_ai_target_position
1643,party_set_ai_patrol_radius
1644,party_ignore_player
1645,party_set_bandit_attraction
1646,party_get_helpfulness
1647,party_set_helpfulness
1650,party_get_num_companion_stacks
1651,party_get_num_prisoner_stacks
1652,party_stack_get_troop_id
1653,party_stack_get_size
1654,party_stack_get_num_wounded
1655,party_stack_get_troop_dna
1656,party_prisoner_stack_get_troop_id
1657,party_prisoner_stack_get_size
1658,party_prisoner_stack_get_troop_dna
1660,party_attach_to_party
1661,party_detach
1662,party_collect_attachments_to_party
1663,party_quick_attach_to_current_battle
1665,party_get_cur_town
1666,party_leave_cur_battle
1667,party_set_next_battle_simulation_time
1669,party_set_name
1670,party_add_xp_to_stack
1671,party_get_morale
1672,party_set_morale
1673,party_upgrade_with_xp
1674,party_add_xp
1675,party_add_template
1676,party_set_icon
1677,party_set_banner_icon
1678,party_add_particle_system
1679,party_clear_particle_systems
1680,party_get_battle_opponent
1681,party_get_icon
1685,party_get_skill_level
1689,agent_get_speed
1690,get_battle_advantage
1691,set_battle_advantage
1692,agent_refill_wielded_shield_hit_points
1693,agent_is_in_special_mode
1694,party_get_attached_to
1695,party_get_num_attached_parties
1696,party_get_attached_party_with_rank
1697,inflict_casualties_to_party_group
1698,distribute_party_among_party_group
1699,agent_is_routed
1700,get_player_agent_no
1701,get_player_agent_kill_count
1702,agent_is_alive
1703,agent_is_wounded
1704,agent_is_human
1705,get_player_agent_own_troop_kill_count
1706,agent_is_ally
1707,agent_is_non_player
1708,agent_is_defender
1709,agent_get_look_position
1710,agent_get_position
1711,agent_set_position
1712,agent_is_active
1713,agent_set_look_target_agent
1714,agent_get_horse
1715,agent_get_rider
1716,agent_get_party_id
1717,agent_get_entry_no
1718,agent_get_troop_id
1719,agent_get_item_id
1720,store_agent_hit_points
1721,agent_set_hit_points
1722,agent_deliver_damage_to_agent
1723,agent_get_kill_count
1724,agent_get_player_id
1725,agent_set_invulnerable_shield
1726,agent_get_wielded_item
1727,agent_get_ammo
1728,agent_refill_ammo
1729,agent_has_item_equipped
1730,agent_set_scripted_destination
1731,agent_get_scripted_destination
1732,agent_force_rethink
1733,agent_set_no_death_knock_down_only
1734,agent_set_horse_speed_factor
1735,agent_clear_scripted_mode
1736,agent_set_speed_limit
1737,agent_ai_set_always_attack_in_melee
1738,agent_get_simple_behavior
1739,agent_get_combat_state
1740,agent_set_animation
1741,agent_set_stand_animation
1742,agent_set_walk_forward_animation
1743,agent_set_animation_progress
1744,agent_set_look_target_position
1745,agent_set_attack_action
1746,agent_set_defend_action
1747,agent_set_wielded_item
1748,agent_set_scripted_destination_no_attack
1749,agent_fade_out
1750,agent_play_sound
1751,agent_start_running_away
1752,agent_stop_running_away
1753,agent_ai_set_aggressiveness
1754,agent_set_kick_allowed
1755,remove_agent
1756,agent_get_attached_scene_prop
1757,agent_set_attached_scene_prop
1758,agent_set_attached_scene_prop_x
1759,agent_set_attached_scene_prop_z
1760,agent_get_time_elapsed_since_removed
1761,agent_get_number_of_enemies_following
1762,agent_set_no_dynamics
1763,agent_get_attack_action
1764,agent_get_defend_action
1765,agent_get_group
1766,agent_set_group
1767,agent_get_action_dir
1768,agent_get_animation
1769,agent_is_in_parried_animation
1770,agent_get_team
1771,agent_set_team
1772,agent_get_class
1773,agent_get_division
1774,agent_unequip_item
1775,class_is_listening_order
1776,agent_set_ammo
1777,agent_add_offer_with_timeout
1778,agent_check_offer_from_agent
1779,agent_equip_item
1780,entry_point_get_position
1781,entry_point_set_position
1782,entry_point_is_auto_generated
1783,agent_set_division
1784,team_get_hold_fire_order
1785,team_get_movement_order
1786,team_get_riding_order
1787,team_get_weapon_usage_order
1788,teams_are_enemies
1790,team_give_order
1791,team_set_order_position
1792,team_get_leader
1793,team_set_leader
1794,team_get_order_position
1795,team_set_order_listener
1796,team_set_relation
1797,set_rain
1798,set_fog_distance
1799,get_scene_boundaries
1800,scene_prop_enable_after_time
1801,scene_prop_has_agent_on_it
1802,agent_clear_relations_with_agents
1803,agent_add_relation_with_agent
1804,agent_get_item_slot
1805,ai_mesh_face_group_show_hide
1806,agent_is_alarmed
1807,agent_set_is_alarmed
1808,agent_stop_sound
1809,agent_set_attached_scene_prop_y
1810,scene_prop_get_num_instances
1811,scene_prop_get_instance
1812,scene_prop_get_visibility
1813,scene_prop_set_visibility
1814,scene_prop_set_hit_points
1815,scene_prop_get_hit_points
1816,scene_prop_get_max_hit_points
1817,scene_prop_get_team
1818,scene_prop_set_team
1830,scene_item_get_num_instances
1831,scene_item_get_instance
1832,scene_spawned_item_get_num_instances
1833,scene_spawned_item_get_instance
1834,scene_allows_mounted_units
1837,class_set_name
1838,prop_instance_is_valid
1840,prop_instance_get_variation_id
1841,prop_instance_get_variation_id_2
1850,prop_instance_get_position
1851,prop_instance_get_starting_position
1852,prop_instance_get_scale
1853,prop_instance_get_scene_prop_kind
1854,prop_instance_set_scale
1855,prop_instance_set_position
1860,prop_instance_animate_to_position
1861,prop_instance_stop_animating
1862,prop_instance_is_animating
1863,prop_instance_get_animation_target_position
1864,prop_instance_enable_physics
1865,prop_instance_rotate_to_position
1866,prop_instance_initialize_rotation_angles
1870,prop_instance_refill_hit_points
1871,prop_instance_dynamics_set_properties
1872,prop_instance_dynamics_set_velocity
1873,prop_instance_dynamics_set_omega
1874,prop_instance_dynamics_apply_impulse
1877,prop_instance_receive_damage
1880,prop_instance_intersects_with_prop_instance
1889,replace_prop_instance
1890,replace_scene_props
1891,replace_scene_items_with_scene_props
1906,set_mission_result
1907,finish_mission
1910,jump_to_scene
1911,set_jump_mission
1912,set_jump_entry
1920,start_mission_conversation
1930,add_reinforcements_to_entry
1935,mission_enable_talk
1936,mission_disable_talk
1940,mission_tpl_entry_set_override_flags
1941,mission_tpl_entry_clear_override_items
1942,mission_tpl_entry_add_override_item
1950,set_current_color
1955,set_position_delta
1960,add_point_light
1961,add_point_light_to_entity
1965,particle_system_add_new
1968,particle_system_emit
1969,particle_system_burst
1970,set_spawn_position
1971,spawn_item
1972,spawn_agent
1973,spawn_horse
1974,spawn_scene_prop
1980,cur_tableau_add_tableau_mesh
1981,cur_item_set_tableau_material
1982,cur_scene_prop_set_tableau_material
1983,cur_map_icon_set_tableau_material
1984,cur_tableau_render_as_alpha_mask
1985,cur_tableau_set_background_color
1986,cur_agent_set_banner_tableau_material
1987,cur_tableau_set_ambient_light
1988,cur_tableau_set_camera_position
1989,cur_tableau_set_camera_parameters
1990,cur_tableau_add_point_light
1991,cur_tableau_add_sun_light
1992,cur_tableau_add_mesh
1993,cur_tableau_add_mesh_with_vertex_color
1994,cur_tableau_add_map_icon
1995,cur_tableau_add_troop
1996,cur_tableau_add_horse
1997,cur_tableau_set_override_flags
1998,cur_tableau_clear_override_items
1999,cur_tableau_add_override_item
2000,cur_tableau_add_mesh_with_scale_and_vertex_color
2001,mission_cam_set_mode
2002,mission_get_time_speed
2003,mission_set_time_speed
2004,mission_time_speed_move_to_value
2006,mission_set_duel_mode
2008,mission_cam_set_screen_color
2009,mission_cam_animate_to_screen_color
2010,mission_cam_get_position
2011,mission_cam_set_position
2012,mission_cam_animate_to_position
2013,mission_cam_get_aperture
2014,mission_cam_set_aperture
2015,mission_cam_animate_to_aperture
2016,mission_cam_animate_to_position_and_aperture
2017,mission_cam_set_target_agent
2018,mission_cam_clear_target_agent
2019,mission_cam_set_animation
2020,talk_info_show
2021,talk_info_set_relation_bar
2022,talk_info_set_line
2031,set_background_mesh
2032,set_game_menu_tableau_mesh
2040,change_screen_return
2041,change_screen_loot
2042,change_screen_trade
2043,change_screen_exchange_members
2044,change_screen_trade_prisoners
2045,change_screen_buy_mercenaries
2046,change_screen_view_character
2047,change_screen_training
2048,change_screen_mission
2049,change_screen_map_conversation
2050,change_screen_exchange_with_party
2051,change_screen_equip_other
2052,change_screen_map
2053,change_screen_notes
2055,change_screen_quit
2056,change_screen_give_members
2057,change_screen_controls
2058,change_screen_options
2060,jump_to_menu
2061,disable_menu_option
2071,store_trigger_param_1
2072,store_trigger_param_2
2073,store_trigger_param_3
2075,set_trigger_result
2105,val_add
2106,val_sub
2107,val_mul
2108,val_div
2109,val_mod
2110,val_min
2111,val_max
2112,val_clamp
2113,val_abs
2114,val_or
2115,val_and
2116,store_or
2117,store_and
2119,store_mod
2120,store_add
2121,store_sub
2122,store_mul
2123,store_div
2124,set_fixed_point_multiplier
2125,store_sqrt
2126,store_pow
2127,store_sin
2128,store_cos
2129,store_tan
2130,convert_to_fixed_point
2131,convert_from_fixed_point
2133,assign
2134,shuffle_range
2135,store_random
2136,store_random_in_range
2140,store_asin
2141,store_acos
2142,store_atan
2143,store_atan2
2149,store_troop_gold
2154,store_num_free_stacks
2155,store_num_free_prisoner_stacks
2156,store_party_size
2157,store_party_size_wo_prisoners
2158,store_troop_kind_count
2159,store_num_regular_prisoners
2160,store_troop_count_companions
2161,store_troop_count_prisoners
2165,store_item_kind_count
2167,store_free_inventory_capacity
2170,store_skill_level
2171,store_character_level
2172,store_attribute_level
2173,store_troop_faction
2175,store_troop_health
2176,store_proficiency_level
2190,store_relation
2197,set_conversation_speaker_troop
2198,set_conversation_speaker_agent
2199,store_conversation_agent
2200,store_conversation_troop
2201,store_partner_faction
2202,store_encountered_party
2203,store_encountered_party2
2204,store_faction_of_party
2205,set_encountered_party
2211,store_current_scene
2230,store_item_value
2231,store_troop_value
2240,store_partner_quest
2250,store_random_quest_in_range
2251,store_random_troop_to_raise
2252,store_random_troop_to_capture
2254,store_random_party_in_range
2255,store01_random_parties_in_range
2257,store_random_horse
2258,store_random_equipment
2259,store_random_armor
2261,store_quest_number
2262,store_quest_item
2263,store_quest_troop
2270,store_current_hours
2271,store_time_of_day
2272,store_current_day
2273,is_currently_night
2281,store_distance_to_party_from_party
2290,get_party_ai_behavior
2291,get_party_ai_object
2292,party_get_ai_target_position
2293,get_party_ai_current_behavior
2294,get_party_ai_current_object
2300,store_num_parties_created
2301,store_num_parties_destroyed
2302,store_num_parties_destroyed_by_player
2310,store_num_parties_of_template
2311,store_random_party_of_template
2318,str_is_empty
2319,str_clear
2320,str_store_string
2321,str_store_string_reg
2322,str_store_troop_name
2323,str_store_troop_name_plural
2324,str_store_troop_name_by_count
2325,str_store_item_name
2326,str_store_item_name_plural
2327,str_store_item_name_by_count
2330,str_store_party_name
2332,str_store_agent_name
2335,str_store_faction_name
2336,str_store_quest_name
2337,str_store_info_page_name
2340,str_store_date
2341,str_store_troop_name_link
2342,str_store_party_name_link
2343,str_store_faction_name_link
2344,str_store_quest_name_link
2345,str_store_info_page_name_link
2346,str_store_class_name
2350,str_store_player_username
2351,str_store_server_password
2352,str_store_server_name
2353,str_store_welcome_message
2355,str_encode_url
2360,store_remaining_team_no
2365,store_mission_timer_a_msec
2366,store_mission_timer_b_msec
2367,store_mission_timer_c_msec
2370,store_mission_timer_a
2371,store_mission_timer_b
2372,store_mission_timer_c
2375,reset_mission_timer_a
2376,reset_mission_timer_b
2377,reset_mission_timer_c
2380,store_enemy_count
2381,store_friend_count
2382,store_ally_count
2383,store_defender_count
2384,store_attacker_count
2385,store_normalized_team_count
2386,set_postfx
2387,set_river_shader_to_mud
 

Swyter

Grandmaster Knight
M&BWBWF&S
If you don't mind I want to put my two cents with the stylesheet. Theoris. Give me only a moment.  :smile:

EDIT: Needs improvement, but it looks good to go... later I'll improve it.
Paste it in the end of your current styles.

Code:
* {
	padding: 7px;
	font-family: serif;
	text-shadow: 1px 1px black;
}

body {
	background: #584E42; /* old browsers */
	background: -moz-linear-gradient(top, #584E42 0%, #483823 100%); /* firefox */

	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#584E42), color-stop(100%,#483823)); /* webkit */

	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#584E42', endColorstr='#483823',GradientType=0 ); /* ie */
}

input {
	background: #7A7660; /* old browsers */
	background: -moz-linear-gradient(top, #7A7660 0%, #CEC1A1 26%); /* firefox */

	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#7A7660), color-stop(26%,#CEC1A1)); /* webkit */

	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#7A7660', endColorstr='#CEC1A1',GradientType=0 ); /* ie */
	border-radius: 7px;
	border: 2px solid #7A7660;
}

body form input {
	font-family: Monospace;
	text-shadow: 1px 1px white
}

table, th, td {
	border-style: dotted;
	border-color: #817059;
	border-radius: 5px;
}
 

Theoris

Oh damn, that's quite awesome! Thanks a lot, Swyter! I wanted to make a new style but sadly I don't know how to operate efficiently with CSS. Thanks again.  :razz:

Also, I added in all the commands, but due to a small fail on my side I over-wrote all the existing commands..  :razz: I already made sure it won't happen again.
 

ithilienranger

Knight at Arms
Could you clarify what is the point of this? Is it to compile documentation from modders for all of the MS operations? If so that is great because there are a lot of operations that have unclear documentation.
 

Theoris

The idea is that the community provides documentation for the community.

It's kind of obvious that we won't get any official documentation from Taleworlds... now that there are literally thousands of commands. It'd be a major pain in the ass for the small team of TW to documentate it all. So that's why I'm seeking people to help me.
 

ithilienranger

Knight at Arms
I think you should make the search so that it ignores the underscores. That way I could search "add" and I would get all the operations that start with add.
 

Swyter

Grandmaster Knight
M&BWBWF&S
Just finished the "Usage" entries injection with my just made artisan program.  :smile:
Worked fine. A success. Check it!
 

shokkueibu

Knight
M&BWB
I hope I'm not too late in suggesting this (considering all the work you already had :/), but have you considered a wiki like the one for Garry's Mod?

sir Gulos said:
A good idea though would be to add all the ops with a small script (i can help you with that if you want), but with blank usage, description and all other fields, and then let make it so we can edit the other fields. Just so we don't overlook any op + it would be a lot easier to modify a pre-exsiting description, if we could edit it directly (not add it from scratch again).

It's something along the lines of sir Gulos's idea.
 
Top Bottom