Results 1 to 19 of 19

Thread: Console commands & command line options for modders?

  1. #1
    EB insanity coordinator Senior Member khelvan's Avatar
    Join Date
    Sep 2002
    Location
    Oakland, CA
    Posts
    8,449

    Default Console commands & command line options for modders?

    I have tested none of this. Use these at your own peril. I pulled it from rtw.exe, and had to guess at what was a command and what was not.

    Possible console commands

    show_console ?

    toggle_tow : shows/hides the tabbed output window
    add_money : adds an amount of money to a faction's coffers, can be negative, default is player faction
    add_population : adds an amount of population to a settlement, can be negative
    move_character , : moves named character to position on campaign map
    auto_win : the attacker or defender wins the next autoresolved battle
    create_unit : creates one or more units of the specified type
    toggle_fow : toggles the fog of war on or off
    toggle_restrictcam : toggles camera restrictions on or off
    give_ancillary : gives the character an ancillary
    give_trait : gives the character a trait at level (default = level 1)
    process_cq : completes all construction pending in queue
    character_reset : resets the character back to its start of turn settings
    show_cursorstat : shows the cursor position and region id
    bestbuy : sells units cheaper
    oliphaunt : the biggest around
    oliphants.jericho : and the walls came a-tumblin' down
    write_ui_cache : writes out the ui texture cache to disk
    toggle_terrain : toggles the terrain to display various data sets, no param resets to normal
    give_trait_points : gives the character points for trait
    list_traits : lists all the available traits
    list_ancillaries : lists all the available ancillaries
    mp : gives the character movement points
    list_characters : lists all the characters in the world or those belonging to a faction
    show_landings : shows the landing positions available to the ai from a given region, default hides them
    filter_coastlines : applies filter to world map coastlines
    toggle_coastlines : toggles strategy map coastline display
    set_building_health : sets health of a building of the specified type (eg core_building) in a settlement, so that the final health percentage is as specified; for building chains see export_descr_building.txt
    ai_turn_speed : sets the maximum speed of turn processing during the ai round
    amdb_min : sets aerial map overlay depth bias for min zoom
    amdb_max : sets aerial map overlay depth bias for max zoom
    amdb_offset : sets aerial map overlay offset towards camera
    zoom : zooms to specified aerial map zoom (amdb_offset.zoom?)
    set_ranking_interval : sets the denominator of the faction ranking graph interval which is calculated as (number_of_turns / denominator). If set to 0, then the denominator will be set to number_of_turns, giving an interval of 1
    regenerate_radar : does what it says on the tin
    adjust_sea_bed : adjusts whole sea bed to specified height
    reload_shaders : reloads all vertex shaders
    reload_textures : reloads all textures
    ? fire (mt | toggle | reload | int)
    ? toggle_game_update
    toggle_perfect_spy : toggles everyone's spying ability to perfect and infinite range, and off again
    building_debug : toggles building debug mode
    (TAB to toggle view modes, RIGHT SHIFT-TAB to reset mode, LEFT SHIFT-TAB to go backe modes. G damages mouse-over building. P displays plaza)
    reset_display : Forces a display_close(); diplay_open() display reset cycle
    toggle_underlay
    toggle_overlay
    process_rq : completes all (possible) recruitment pending in queue
    force_diplomacy : Forces the negotiator to accept or decline a proposition
    diplomatic_stance : set the diplomatic stance between the two factions
    ? shadow
    ? ie
    invulnerable_general : makes that named general invulnerable in battle
    ? test_ancillary_localisation : adds all ancilarry to the character info display, ancillaries aren't actually added to the character
    ? perf_times : toggle display of simple performance times of game update vs display
    burn_piggies_burn : ignite all the piggy winks
    ? test_message : test the event message specified in descr_event_enums.txt
    show_terrain_lines : display defensive terrain features
    ? message_collation_set : set the message collation on or off (sets all factions)
    ? show_all_messages : show all messages to all factions (on/off)
    ? clear_messages : clear all the current stacked messages
    ? puppify_my_love
    ? reapply_rigid_model_influence
    toggle_flowing_water : toggles display of campaign map flowing water
    nw_stats : toggles display of network stats
    toggle_pr : toggles pr mode
    list_units : lists all of the units in an army, with details
    victory : show victory message for faction for short or long campaign
    trigger_advice : triggers an advice thread
    damage_wall : damage wall of settlement. forces 40% damage to a randome gatehouse if 'gate' parameter present; breaches wall if 'breach' present
    test_victory_scroll : opens up the victory scroll declaring that the given faction is the victor
    date : changes the campaign date to the given year
    season : changes the campaign season to the given season
    upgrade_effect : triggers unit upgrade effect
    force_battle_victory : forces the local player's alliance to win the battle, completely destroying the enemy alliance
    force_battle_defeat : forces the local player's alliance to win the battle, completely destroying the enemy alliance
    output_unit_positions : output the positions of all units in the battle to the specified file
    show_battle_paths : show all valid processed paths in the pathfinder
    show_battle_paths_for_unit : show all valid processed paths in the pathfinder for a specific unit given a unit id
    show_battle_street_plan : show the street plan for the settlement
    show_battle_marker : display a marker at (x,y) for t seconds
    show_battle_circle : display a circle at (x,y) of r radius for t seconds
    kill_faction : removes the faction from the game
    diplomacy_mission : creates a diplomacy mission
    event : creates an event at position
    kill_character : kills a character with the given name
    control : switches player control to specified faction; old faction may not act correctly as ai faction
    create_building : creates a building of the specified type in a settlement; for building level id's see export_descr_building.txt
    capture_settlement : evicts any resident characters and armies and gives the settlement to the local player
    disable_ai : disables the ai, so that it does nothing
    halt_ai : halts the turn sequence just before the start of the specified faction's turn, or the current faction if no faction given
    run_ai : re-starts an ai turn sequence after disableai or haltai has been triggered

    Possible command line parameters
    show_err
    gs_join
    gs_host
    gs_lan
    gs_game_password
    gs_group_room
    gs_chat_name
    battle_ed
    strat
    battle
    multirun
    mod
    bookmark
    disr
    fplog
    fperr
    fpex
    sound
    animdb
    encrypt
    unit_models
    util
    force_default_hz
    Last edited by khelvan; 02-04-2005 at 17:59.
    Cogita tute


  2. #2
    Shaidar Haran Senior Member SAM Site Champion Myrddraal's Avatar
    Join Date
    Feb 2004
    Location
    UK
    Posts
    5,752

    Default Re: Console commands & command line options for modders?

    Thx a lot, I've been waiting for this, this will be a great use in scripting.

    Do you know if you could find the scripting commands as well.
    Also stuff like conditions, like I_AdvisorSpeechPlaying


    If possible, a list of these would be very much appreciated.

  3. #3
    EB insanity coordinator Senior Member khelvan's Avatar
    Join Date
    Sep 2002
    Location
    Oakland, CA
    Posts
    8,449

    Default Re: Console commands & command line options for modders?

    Whatever you give me an example of, I can find. I search for instances of a particular thing, and then pull out the stuff near it that looks like more of the same class of "thing."

    Not a very intelligent way of doing it, but I'm trying
    Cogita tute


  4. #4
    Shaidar Haran Senior Member SAM Site Champion Myrddraal's Avatar
    Join Date
    Feb 2004
    Location
    UK
    Posts
    5,752

    Default Re: Console commands & command line options for modders?

    For examples of scripting commands look in the Prologue campaign script text file in data\world\maps\campaign\sons_of_mars

    They include commands like:
    Code:
       while I_TurnNumber = 1
       end_while
    inc_counter
    declare_counter
    	monitor_event EscPressed TrueCondition	
    		and I_CompareCounter IsFirstTurn = 1	
    			console_command season winter
    		terminate_monitor
    	end_monitor
    Loads of stuff like that, I don't want to list them off the top of my head, I'll get the syntax wrong.
    Last edited by Myrddraal; 01-07-2005 at 10:59.

  5. #5
    EB insanity coordinator Senior Member khelvan's Avatar
    Join Date
    Sep 2002
    Location
    Oakland, CA
    Posts
    8,449

    Default Re: Console commands & command line options for modders?

    Ok, someone who knows something about scripting needs to do this. I am just giving myself a headache. Prepare for spam. I probably missed a ton because I didn't know what I was looking for. At the end I just gave up, I'm too tired, maybe I'll try again some other time.

    BATTLE_UI_END_DRAG_SELECTION
    BATTLE_UI_START_DRAG_SELECTION
    BATTLE_UI_END_DRAG_FORMATION
    BATTLE_UI_START_DRAG_FORMATION
    BATTLE_START_DEPLOYMENT
    BATTLE_WAIT
    BATTLE_AI_ASSISTANCE_OFF
    BATTLE_AI_ASSISTANCE_ON
    BATTLE_SELECT_GROUP_FORMATION
    BATTLE_HIDE_GROUP_FORMATIONS
    BATTLE_SHOW_GROUP_FORMATIONS
    BATTLE_WALK_MODE
    BATTLE_RUN_MODE
    BATTLE_DISABLE_GUARD_MODE
    BATTLE_ENABLE_GUARD_MODE
    BATTLE_SPECIAL_FORMATION
    BATTLE_NORMAL_FORMATION
    BATTLE_DISABLE_FIRE_AT_WILL
    BATTLE_DISABLE_SKIRMISH_MODE
    BATTLE_ENABLE_SKIRMISH_MODE
    BATTLE_LOOSE_FORMATION
    BATTLE_TIGHT_FORMATION
    BATTLE_DISABLE_LINKING
    BATTLE_UNGROUP_SELECTED_UNITS
    BATTLE_GROUP_SELECTED_UNITS
    BATTLE_WITHDRAW
    BATTLE_HALT_STOP_CURRENT_ORDERS
    BATTLE_ZOOM_GENERAL
    BATTLE_ZOOM_TO_UNIT
    BATTLE_DROP_CARD
    BATTLE_PICKUP_CARD
    BATTLE_DESELECT_CARD
    BATTLE_SELECT_CARD
    BATTLE_TRIPLE_SPEED
    BATTLE_DOUBLE_SPEED
    BATTLE_UNPAUSE
    BATTLE_PAUSE
    BATTLE_ZOOM_RADAR_OUT
    BATTLE_ZOOM_RADAR_IN
    BATTLE_INVALID_ATTACK_TARGET
    BATTLE_CHARGE_SIEGE_ATTACK
    BATTLE_SIEGE_ATTACK
    BATTLE_CHARGE_MISSLE_ATTACK_UNIT
    BATTLE_MISSLE_ATTACK_UNIT
    BATTLE_CHARGE_MELEE_ATTACK_UNIT
    BATTLE_MELEE_ATTACK_UNIT
    BATTLE_INVALID_DESTINATION
    BATTLE_SELECT_UNIT_DESTINATION
    BATTLE_TURN_SOUND_EFFECTS_OFF
    BATTLE_TURN_SOUND_EFFECTS_ON
    BATTLE_TURN_MUSIC_OFF
    BATTLE_TURN_MUSIC_ON
    BATTLE_UNHIDE_UI
    BATTLE_HIDE_UI
    BATTLE_SELECT_PREVIOUS_GROUP
    BATTLE_SELECT_NEXT_GROUP
    BATTLE_SELECT_SIEGE
    BATTLE_SELECT_MISSLE
    BATTLE_SELECT_MELEE
    BATTLE_SELECT_INFANTRY
    BATTLE_SELECT_CAVALRY
    BATTLE_DESELECT_ALL
    BATTLE_SELECT_ALL
    BATTLE_ZOOM_UNIT
    BATTLE_STOP_FOLLOWING_UNIT
    BATTLE_FOLLOW_UNIT
    BATTLE_END_DEPLOYMENT
    BATTLE_PANEL_MENU_X_BUTTON
    BATTLE_PANEL_MENU_CHECK_BUTTON
    BATTLE_PANEL_MENU_TICK_BOX_ON
    BATTLE_PANEL_MENU_SCROLLING
    BATTLE_PANEL_MENU_SCROLL_BALL
    BATTLE_PANEL_MENU_SELECT
    BATTLE_SCROLL_CLOSES
    BATTLE_SCROLL_OPENS
    STRAT_DIPLOMACY_ARROW_BUTTONS
    STRAT_DIPLOMACY_SCROLL_CLOSE
    STRAT_DIPLOMACY_SCROLL_OPEN
    STRAT_DIPLOMACY_TEXT_CLICK
    STRAT_DIPLOMACY_AMBIENT
    STRAT_BATTLE_ZOOM
    STRAT_END_TURN_FAILED
    STRAT_MESSAGE_DISMISS
    STRAT_SENATE_FLOOR_TAB
    STRAT_SENATE_MISSIONS_TAB
    STRAT_SENATE_POLICY_TAB
    STRAT_CONSTRUCTION_DRAG_BUILDING
    STRAT_CONSTRUCTION_DELETE_BUILDING
    STRAT_CONSTRUCTION_SELECT_BUILDING
    STRAT_TRAINING_QUEUE_DRAG_UNIT
    STRAT_TRAINING_QUEUE_DELETE_UNIT
    STRAT_TRAINING_QUEUE_SELECT_UNIT
    STRAT_BUILD_WATCHTOWER
    STRAT_BUILD_FORT
    STRAT_SELECT_CITY_DOWN
    STRAT_END_TURN_DOWN
    STRAT_ADVICE_MESSAGE_TICK
    STRAT_EVENT_CARD_STOPS_FALLING
    STRAT_EVENT_CARD_STARTS_TO_FALL
    STRAT_NEW_MESSAGES_AVAILABLE
    STRAT_ADVICE_BUBBLE_DISAPPEARS
    STRAT_ADVICE_BUBBLE_APPEARS
    STRAT_ADVICE_PANEL_SLIDING_OUT
    STRAT_ADVICE_PANEL_SLIDING_IN
    STRAT_SELECT_DETAIL
    STRAT_ARROW_BUTTONS
    STRAT_SHOW_BUILDINGS_IN_SETTLEMENT
    STRAT_LOCATION_POSITION_OF_SETTLEMENT
    STRAT_SHOW_TRADE_SUMMARY
    STRAT_VIEW_SETTLEMENT_ON_BATTLEMAP
    STRAT_SELECT_FACTION_HEIR
    STRAT_LOCATE_SELECTED_CHARACTER_ON_MAP
    STRAT_SHOW_FAMILY_TREE
    STRAT_SHOW_EVENTS_LOG
    STRAT_SHOW_UNITS_IN_GARRISON_THAT_REQUIRE_RETRAINING
    STRAT_REMOVE_RALLY_POINT
    STRAT_SHOW_RALLY_POINTS
    STRAT_ASK_FOR_UNIT_ADVICE
    STRAT_DROP_UNIT
    STRAT_PICKUP_UNIT
    STRAT_REMOVE_UNIT_FROM_QUEUE
    STRAT_ADD_UNIT_TO_QUEUE
    STRAT_LOCATE_POSITION_OF_SETTLEMENT
    STRAT_ASK_FOR_ADVICE
    STRAT_DROP_BUILDING
    STRAT_PICKUP_BUILDING
    STRAT_REMOVE_FROM_QUEUE
    STRAT_ADD_BUILDING_TO_QUEUE
    STRAT_SELECT_BUILDING
    STRAT_SHOW_SENATE_OFFICES_LIST
    STRAT_SHOW_MISSION_TARGET
    STRAT_END_TURN
    STRAT_SELECT_PREVIOUS
    STRAT_SELECT_NEXT
    STRAT_OPEN_FACTION_SUMMARY
    STRAT_MOVE_CAMERA_TO_SELECTION_BUTTON
    STRAT_SHOW_UNITS_ON_SHIP
    STRAT_SHOW_VISITORS_IN_SETTLEMENT
    STRAT_SHOW_BUILDS_IN_SETTLEMENT
    STRAT_SHOW_UNITS_IN_GARRISON
    STRAT_DROP_CARD
    STRAT_PICKUP_CARD
    STRAT_DESELECT_CARD
    STRAT_SELECT_CARD
    STRAT_CLICK_ON_RADAR_TELEPORTS_SCREEN
    STRAT_OPEN_TRAINING_PANEL
    STRAT_OPEN_CONSTRUCTION_PANEL
    STRAT_OPEN_SENATE_MISSIONS_LOG
    STRAT_OPEN_FINANCES_WINDOW
    STRAT_OPEN_DIPLOMATIC_STANDING_WINDOW
    STRAT_SET_GAME_OPTIONS
    STRAT_PANEL_MENU_FACTION_SHIELD_BUTTON
    STRAT_PANEL_MENU_X_BUTTON
    STRAT_PANEL_MENU_CHECK_BUTTON
    STRAT_PANEL_MENU_CLOSE_BUTTON
    STRAT_PANEL_MENU_TICK_BOX_OFF
    STRAT_PANEL_MENU_TICK_BOX_ON
    STRAT_PANEL_MENU_SCROLLING
    STRAT_PANEL_MENU_SCROLL_ARROWS
    STRAT_PANEL_MENU_SCROLL_BALL
    STRAT_PANEL_MENU_SELECT
    STRAT_SCROLL_CLOSES
    STRAT_SCROLL_OPENS
    STRAT_DESTROY_BUILDING
    STRAT_DISBAND_UNIT
    STRAT_HIDE_INFO_RIGHT_CLICK_AGAIN
    STRAT_SHOW_INFO_RIGHT_CLICK
    STRAT_SELECT_CITY
    STRAT_SELECT_CHARACTER
    STRAT_TOOLTIP
    STRAT_HIGHLIGHT
    UI_FIELD_CHANGED
    UI_SAVE_KEY_SETTINGS
    UI_LOAD_KEY_SETTINGS
    UI_MULTIPLAYER_TOGGLE_RECEIVE_OUTGOING
    UI_MULTIPLAYER_TOGGLE_RECEIVE_INCOMING
    UI_MULTIPLAYER_REFRESH_GAME_LIST
    UI_COMPUTER_CHOOSE_ARMY
    UI_CLEAR_CURRENT_ARMY
    UI_CHANGE_WEAPON
    UI_CHANGE_EXPERIENCE
    UI_CHANGE_ARMOUR
    UI_NEXT_TEAM_BUTTON
    UI_NEXT_FACTION_BUTTON
    UI_RESTORE_DEFAULT_KEYS
    UI_KEY_REASSIGNED
    UI_START_REASSIGNMENT
    UI_SELECT_FUNCTION
    UI_APPLY_VIDEO_SETTINGS
    UI_LOAD_SELECT_GAME
    UI_CHOOSE_CONDITIONS_FOR_BATTLE
    UI_SELECT_GAME
    UI_SORT_BY_COLUMN_BUTTONS
    UI_REFRESH_GAME_LIST
    UI_HOST_GAME
    UI_JOIN_GAME
    UI_JOIN_AS_SPECTATOR
    UI_GAME_DISAPPEARS
    UI_GAME_APPEARS
    UI_START_THE_BATTLE
    UI_LEVELS_ARROWS
    UI_REMOVE_UNIT
    UI_SELECT_UNIT
    UI_DROP_CARD
    UI_PICK_UP_CARD
    UI_CUSTOMISE_THE_ARMIES
    UI_NO_FACTION_BUTTON
    UI_DEFFENDER_BUTTON (sic)
    UI_ATTACKER_BUTTON
    UI_ARROW_BUTTONS
    UI_CUSTOMISE_THE_BATTLE
    UI_CHOOSE_LOCATION
    UI_START_THE_HISTORICAL_BATTLE
    UI_CHOOSE_AN_ARMY
    UI_SELECT_BATTLE
    UI_SELECT_CAMPAIGN
    UI_START_THE_CAMPAIGN
    UI_FACTION_SHIELD_BUTTONS
    UI_SELECT_A_FACTION
    UI_CONTINUE_CAMPAIGN
    UI_TICK_BOX_OFF
    UI_TICK_BOX_ON
    UI_TEXT_FIELD_ENTERED
    UI_TEXT_FIELD_CLICKED
    UI_DROP_MENU_SCROLLING
    UI_DROP_MENU_SCROLL_BALL
    UI_DROP_MENU_SCROLL_ARROW_HEAD
    UI_DROP_MENU_ITEM_SELECT
    UI_DROP_MENU_ITEM_HIGHLIGHT
    UI_DROP_MENUS_UP
    UI_DROP_MENUS_DOWN
    UI_RETURN_TO_PREVIOUS
    UI_ERROR_DIALOG_DISAPPEAR
    UI_ERROR_DIALOG_CHECK
    UI_ERROR_DIALOG_APPEAR
    UI_QUIT_DIALOG_DISAPPEAR
    UI_QUIT_DIALOG_X
    UI_QUIT_DIALOG_CHECK
    UI_QUIT_DIALOG_APPEAR
    UI_ESC_KEY
    UI_HELP_DIALOG_DISAPPEAR
    UI_HELP_DIALOG_CHECK
    UI_HELP_DIALOG_APPEAR
    UI_F1_HELP
    UI_SELECT_MENU_ITEM
    UI_HIGHLIGHT
    START_GAME
    MENU_BACK
    MENU_FORWARD
    VOLCANO_ERUPTION
    RECRUITMENT
    CONSTRUCTION
    SELECT
    MERGE_ARMIES
    OPEN_MSG
    NEW_MSG
    THUNDER
    BUTTON_UP
    BUTTON_DOWN
    __SND_BANK_PREBATTLE
    __SND_COLLISIONS
    __SND_BANK_ADVICE
    __SND_UPDATED_UNIT_VOICE_BANK
    EVT
    PACK

    ignore_pause
    interface
    music
    speech
    sfx
    pref
    wet_level
    dry_level
    pan
    effect_level
    probradius
    randomdelay
    rndvolume
    distancepriority
    fadeout
    fadein
    maxPitch
    minPitch
    maxDist
    minDist
    volume
    streamed
    1d
    3d
    wav
    folder
    required_samples_cutoff
    unit_ambient_probability_scale
    do_unit_ambient_probability
    unit_idle_probability_scale
    do_unit_idle_probability
    ducking_amount
    ducking_fade_out
    ducking_fade_in
    ducking_on
    unit_warhorns_delay
    unit_under_attack_delay
    unit_collide_threshold
    EAX
    pitch_offset
    priority_floor
    volume_cutoff
    unit_proximity_distance
    unit_start_delay
    unit_change_delay
    unit_anim_switch
    do_unit_anim_switch
    #ifndef
    #ifdef
    source
    music_fade_out_timeout
    music_fade_out
    music_fade_in
    music_retrigger
    music_timeout
    doppler_factor
    stratmap_rolloff_factor
    rolloff_factor
    SOUND_DB
    snd_descr
    WEAPON_SAP_DIGGING
    FLAMING_PIG
    time_absolute
    enemy_close
    force_move
    on
    release_unit
    hiding_enabled_set
    pause_battle
    unit_immediate_place
    unit_order_halt
    unit_order_move
    run
    unit_order_move_relative
    unit_order_attack_unit
    unit_order_attack_closest_unit
    unit_order_change_formation
    unit_order_move_to_missle_range
    unit_order_turn
    unit_set_morale
    unit_unset_morale
    unit_set_weapon_upgrade
    unit_set_armour_upgrade
    unit_set_experience
    kill_unit
    reduce_unit_strength
    unit_set_guard_mode
    unit_set_skirmish_mode
    unit_set_fire_at_will_mode
    unit_set_formation_spacing
    tight
    unit_taunt
    unit_use_special_ability
    unit_group_enable_automation
    unit_group_immediate_place
    unit_group_order_halt
    unit_group_order_move_formed
    unit_group_order_move_unformed
    unit_group_order_relative_move_formed
    unit_group_order_relative_move_unformed
    unit_group_move_to_missle_range_of_unit
    unit_group_move_to_missle_range_of_group
    unit_group_order_attack_unit
    unit_group_order_attack_group
    unit_group_order_change_group_formation
    unit_group_order_turn
    unit_group_set_morale
    unit_group_unset_morale
    unit_group_change_unit_formation
    unit_group_set_guard_mode
    unit_group_set_skirmish_mode
    unit_group_set_fire_at_will_mode
    unit_group_set_formation_spacing
    move_strat_camera
    snap_strat_camera
    zoom_strat_camera
    camera_restrictions_set
    camera_event_cuts_active_set
    camera_default_mode_set
    user_pref
    rts
    tw
    battle_default_camera
    battle_general_camera
    set_camera_bookmark
    camera_position_at_bookmark
    camera_zoom_to_bookmark
    camera_position
    camera_zoom_to
    camera_look_at_position
    camera_look_at_unit
    camera_track_unit
    front
    back
    camera_zoom_to_unit
    e_camera_zoom_to_unit
    inhibit_camera_input
    terminate_prologue
    provoke_rebellion
    reposition_character
    replenish_action_points
    replenish_units
    spawn_character
    spawn_army
    engage_armies
    end_script
    terminate_script
    spawn_battle
    end_battle
    if
    end_if
    while
    end_while
    monitor_conditions
    end_monitor
    monitor_event
    terminate_monitor
    console_command
    declare_counter
    inc_counter
    set_counter
    I_CompareCounter
    prepare_for_battle
    declare_show_me
    label_unit
    label_location
    define_unit_group
    undefine_unit_group
    remove_unit_from_group
    declare_timer
    restart_timer
    I_TimerElapsed
    timer_id
    heed_pause
    wait
    campaign_wait
    battle_wait
    suspend_during_battle
    senate_mission_help_player
    senate_mission_assassination
    senate_mission_cease_hostilities
    senate_mission_declare_war
    senate_mission_broker_peace
    senate_mission_take_city
    custom
    mobilize
    tension
    play_sound_event
    stop_sound_event
    I_SoundPlaying
    point_at_character
    point_at_settlement
    point_at_strat_position
    point_at_message
    ui_flash_start
    ui_flash_stop
    settlement_flash_start
    settlement_flash_stop
    character_flash_start
    character_flash_stop
    point_at_location
    point_at_unit_pos
    point_at_unit_group_pos
    remove_battle_map_arrow
    point_at_card
    point_at_unit_card
    e_point_at_unit_card
    show_mouse_button_animation
    ui_indicator_remove
    ui_indicator
    hide_ui
    show_ui
    disable_ui
    enable_ui
    disable_entire_ui
    enable_entire_ui
    set_cards_selectable
    disable_cursor
    enable_cursor
    reveal_tile
    play_video
    advance_advice_thread
    no_dismiss
    dismiss_advice
    dismiss_advisor
    suspend_unscripted_advice
    select_character
    e_select_character
    select_settlement
    e_select_settlement
    call_object_shortcut
    simulate_mouse_click
    ldbl_click
    rclick_up
    rclick_down
    lclick_up
    lclick_down
    select_ui_element
    disable_shortcuts
    filter_unit_commands
    filter_unit_group_commands
    filter_unit_selection_commands
    filter_settlement_commands
    filter_character_commands
    filter_all_ui_commands
    period
    track_unit_3d
    track_unit
    track_ground_3d
    track_ground
    track_3d
    track
    steal_esc_key
    StealEscKeyCommand
    object_manager
    issue_proposed_action
    create_army
    attach_to_fort
    attach_to_settlement
    attach_to_character
    attempt_night_raid
    issue_set_ambush_order
    issue_decimate_order
    infiltrate
    bribe
    poison
    set_freeze_build
    remove_build_item
    remove_item_from_queue
    add_item_to_queue
    chat_enum_positional
    chat_enum
    chat_generic
    build_fort
    build_settlement
    speed_up_action
    path_store_clear
    remove_retrain_unit
    destroy_building
    ai_assistant_mode
    set_rally_point
    unit_add_to_docked_navy
    unit_add_to_garrison
    training_queue_remove_index
    demote_governor
    demote_garrison_commander
    decimate_population
    set_entertainment_type
    recruitment_queue_move
    recruitment_queue_freeze_set
    recruitment_queue_remove
    building_queue_add_dismantle
    destroy
    retrain_unit
    recruitment_queue_add
    tax_set
    fortify
    building_queue_move
    building_queue_remove
    building_queue_freeze
    building_queue_add
    set_governor
    install_garrison
    automate_attack_settlement
    automate_attack_battle_group
    automate_defend_settlement
    automate_defend_location
    automate
    dbl_click
    halt
    attack_building
    attack_unit
    set_formation_from_current
    set_formation
    change_facing
    move_change_formation
    move_change_width
    change_speed
    remove_units
    add_units
    reset
    turn
    auto_link_up
    set_special_ability
    cheat_experience_down
    cheat_experience_up
    rally
    engine_detach
    engine_attach_existing
    engine_attach
    transport_army_remove
    transport_army_add
    transfer_to_position
    transfer_to_navy
    army_transfer
    army_set
    feign_rout
    withdraw
    move_rot
    hid_in_building
    hide
    setup_engines
    change_melee_state
    change_move_speed
    change_formation_width_in_men
    change_formation
    NETWORK_KNOWN_HOST start
    NETWORK_KNOWN_HOST end
    Local
    Remote
    end
    LOBBY CHECKSUM DETAILS
    NETWORK CLOSE
    PACKET DATA SUM
    NETWORK_LAN_CONTROLLER
    NETWORK_LOBBY
    process_out_of_band_packet
    NETWORK_CLIENT_CHECKSUM
    NETWORK_CLIENT_SYNC_CHECKER
    NETWORK_UI_Q
    process_sync_packet
    (more network stuff skimmed over, sorry)
    card_manager
    select
    assign
    orders_ungroup
    select_prev_grp
    select_next_grp
    dec_xp
    inc_xp
    select_melee
    select_missle
    select_siege
    select_infantry
    select_cavalry
    select_prev
    select_all
    select_next
    deselect_all
    _select.tga
    battle_ui
    advisor
    battlemap.tga
    next_army
    dec_formation
    inc_formation
    dec_rotation
    inc_rotation
    toolbar_show
    unit_track
    unit_info_toggle
    unit_zoom
    general_chat
    freelook
    intellizoom
    --start of army scripting section--
    location
    locations.txt
    descr_locations.txt

    --start of objectives scripting section--
    defending
    attacking
    can_delay
    can_view
    can_deploy
    alliance
    home_faction
    playable_area_dimensions
    weather_seed
    variable_weather_and_time
    duration
    latitude
    year_day
    day_time
    constant_weather_and_time
    ambient_settlement
    battle

    --start of battle section--

    --start of factions section--
    end_date
    start_date
    end
    nonplayable
    playable
    battle
    descr_battle.txt

    fixed_weather_and_time
    deployment_area_point
    never_a_leader
    Cogita tute


  6. #6
    Shaidar Haran Senior Member SAM Site Champion Myrddraal's Avatar
    Join Date
    Feb 2004
    Location
    UK
    Posts
    5,752

    Default Re: Console commands & command line options for modders?

    Thank you very much khelvan. This is all and more than I hoped for. Thx

  7. #7

    Default Re: Console commands & command line options for modders?

    khelvan you are a god!

    I was gonna do what u just did with my cracked RTW exe, but i just wasn't motivated enough to get all that work done.

    This will surely help expand the limits to modding with RTW.

  8. #8
    EB insanity coordinator Senior Member khelvan's Avatar
    Join Date
    Sep 2002
    Location
    Oakland, CA
    Posts
    8,449

    Default Re: Console commands & command line options for modders?

    Ah, no problem. Keep in mind, there may be more in there, I just couldn't look at it anymore. The hex editor I use doesn't allow me to see only ASCII, I have a split screen that just gives me headaches after a while.
    Cogita tute


  9. #9

    Default Re: Console commands & command line options for modders?

    i sent Myrddraal a text file containing all the "ASCII"....bout 500kbs that i copied out of it....so all of should be in there...

    though it may take a long time to sift through it

  10. #10
    EB insanity coordinator Senior Member khelvan's Avatar
    Join Date
    Sep 2002
    Location
    Oakland, CA
    Posts
    8,449

    Default Re: Console commands & command line options for modders?

    Just out of morbid curiosity, could you send that to me too? I would appreciate it.

    Thanks!

    -khel
    Cogita tute


  11. #11

    Default Re: Console commands & command line options for modders?

    Was all of this pulled out or retail RomeTW.exe, or the demo? I couldn't find any of this in the retail file, so downloading the demo.

    EDIT: Well I pulled out 1 meg worth of text, and wrote it up here:

    https://forums.totalwar.org/vb/showthread.php?p=925782
    Last edited by SigniferOne; 09-18-2005 at 04:27.

  12. #12
    Member Member waitcu's Avatar
    Join Date
    Mar 2005
    Location
    China
    Posts
    100

    Default Re: Console commands & command line options for modders?

    Possible command line parameters
    show_err
    gs_join
    gs_host
    gs_lan
    gs_game_password
    gs_group_room
    gs_chat_name
    battle_ed
    strat
    battle
    multirun
    mod
    bookmark
    disr
    fplog
    fperr
    fpex
    sound
    animdb
    encrypt
    unit_models
    util
    force_default_hz
    oh, i just know the function three of them , could anybody give an explain ?

  13. #13
    Shaidar Haran Senior Member SAM Site Champion Myrddraal's Avatar
    Join Date
    Feb 2004
    Location
    UK
    Posts
    5,752

    Default Re: Console commands & command line options for modders?

    I don't know the function of all of them, which three do you know?

  14. #14
    The Philosopher Duke Member Suraknar's Avatar
    Join Date
    Dec 2002
    Location
    Navigating the realm of Ideas
    Posts
    707

    Default Re: Console commands & command line options for modders?

    Hello,

    hen gao xing ren shi nin

    This is what I saw in a thread over at twcenter by Simetrical.

    -ne. This switch is the #1 most useful switch of all, discounting show_err. It allows RTW to run in windowed mode—you can switch back and forth between it and other applications instantly while anything's loading. I can't overstate how useful this is—no more staring blankly at loading screens! You can post on message boards, talk on IRC, etc., switching between RTW and your browser as easily as you switch between your browser and e-mail client. Try it out and see for yourself.

    -nm. This is next most useful, in my opinion. What it does is quite simple—it eliminates all videos, including the introductory videos and the menu background video. This speeds up loading significantly.

    -strat:campaign_name (campaign_name is the name of a subfolder within data\world\maps\campaign). This skips all the menus and immediately starts a new campaign that you specified. This is useful for repetitive testing of the campaign, or at least some find it so. I personally think it's easier to just start it up normally. Also, I don't know how to pick what faction you start as, but I'm sure there's some way.

    And for those of you in the dark about -show_err and -enable_editor:

    -show_err. This switch will often show you an error when one crops up in the game. Sometimes it's helpful, sometimes it's not, sometimes an error doesn't show up at all. The error message will appear when you exit RTW (or when it crashes), and only the first error encountered will be reported.

    -enable_editor. This switch enables the historical battle editor. With it enabled, go to the Options menu, then Battle Editor.
    And that is all I know on this...
    Duke Surak'nar
    "Η ΤΑΝ Η ΕΠΙ ΤΑΣ"
    From: Residing:
    Traveled to: Over 70 Countries, most recent: and

    ~ Ask not what modding can do for you, rather ask what you can do for modding ~
    ~ Everyone dies, not everyone really fights ~

  15. #15
    Member Member waitcu's Avatar
    Join Date
    Mar 2005
    Location
    China
    Posts
    100

    Default Re: Console commands & command line options for modders?

    just.......
    show_err
    battle_ed
    mod
    animdb

  16. #16
    EB insanity coordinator Senior Member khelvan's Avatar
    Join Date
    Sep 2002
    Location
    Oakland, CA
    Posts
    8,449

    Default Re: Console commands & command line options for modders?

    Quote Originally Posted by Suraknar
    hen gao xing ren shi nin
    你对谁说?

    Remember guys, I just did a text extraction, I don't know if they actually ARE real command line parameters.
    Cogita tute


  17. #17
    Member Member waitcu's Avatar
    Join Date
    Mar 2005
    Location
    China
    Posts
    100

    Default Re: Console commands & command line options for modders?

    thanks Suraknar :)

    oh my god , you guys all know to speak chinese !!!!!!!!!!!!!!
    Last edited by waitcu; 10-13-2005 at 13:21.

  18. #18
    Member Member afrit's Avatar
    Join Date
    Jun 2004
    Location
    USA
    Posts
    321

    Default Re: Console commands & command line options for modders?

    Quote Originally Posted by khelvan

    Remember guys, I just did a text extraction, I don't know if they actually ARE real command line parameters.
    Khelvan,
    which file did you extract the text from? I tried to cull out ASCII for the executables and did not get script commands. So I must be looking in the wrong place.
    The plural of anectode is not data - Anonymous Scientist

    I don't believe in superstition. It brings bad luck. - Umberto Eco

  19. #19
    EB insanity coordinator Senior Member khelvan's Avatar
    Join Date
    Sep 2002
    Location
    Oakland, CA
    Posts
    8,449

    Default Re: Console commands & command line options for modders?

    Afrit, rtw.exe - of course, you can't do it on an encrypted version of the file.
    Cogita tute


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