IMoD_GaMeRs Rated Awesome
Posts : 48 Points : 156 Reputation : 40 Join date : 2010-12-17
| Subject: Black Ops Code/Function list Sun Dec 26, 2010 3:27 am | |
| List of most Important Dvars Coming Soon DOES THIS DESERVE A STICKY Display Text: - Spoiler:
Bottom Left - Code:
-
player iPrintln("Put Text Here"); Middle Of Screen - Code:
-
player iPrintlnBold("Put Text Here"); Type Writer - Code:
-
self thread maps\mp\gametypes\_hud_message::hintMessage("Put Text Here");
Editing LeaderBoards/Rank - Code:
-
self maps\mp\gametypes\_persistence::statSet( dataName, value, includeGameType );
self maps\mp\gametypes\_rank::giveRankXP( type, value, devAdd ); Button Presses - Code:
-
else if ( !self ButtonPressed( "DPAD_LEFT" ) )
else if ( !self ButtonPressed( "DPAD_RIGHT" ) )
else if ( !self ButtonPressed( "DPAD_UP" ) )
else if ( !self ButtonPressed( "DPAD_DOWN" ) ) Bot Settings - Spoiler:
bot_set_difficulty( difficulty ) { if ( difficulty == "fu" ) { SetDvar( "sv_botMinDeathTime", "250" ); SetDvar( "sv_botMaxDeathTime", "500" ); SetDvar( "sv_botMinFireTime", "100" ); SetDvar( "sv_botMaxFireTime", "300" ); SetDvar( "sv_botYawSpeed", "14" ); SetDvar( "sv_botYawSpeedAds", "14" ); SetDvar( "sv_botPitchUp", "-5" ); SetDvar( "sv_botPitchDown", "10" ); SetDvar( "sv_botFov", "160" ); SetDvar( "sv_botMinAdsTime", "3000" ); SetDvar( "sv_botMaxAdsTime", "5000" ); SetDvar( "sv_botMinCrouchTime", "100" ); SetDvar( "sv_botMaxCrouchTime", "400" ); SetDvar( "sv_botTargetLeadBias", "2" ); SetDvar( "sv_botMinReactionTime", "30" ); SetDvar( "sv_botMaxReactionTime", "100" ); SetDvar( "sv_botStrafeChance", "1" ); SetDvar( "sv_botMinStrafeTime", "3000" ); SetDvar( "sv_botMaxStrafeTime", "6000" ); SetDvar( "scr_help_dist", "512" ); } else if ( difficulty == "hard" ) { SetDvar( "sv_botMinDeathTime", "250" ); SetDvar( "sv_botMaxDeathTime", "500" ); SetDvar( "sv_botMinFireTime", "400" ); SetDvar( "sv_botMaxFireTime", "600" ); SetDvar( "sv_botYawSpeed", "8" ); SetDvar( "sv_botYawSpeedAds", "10" ); SetDvar( "sv_botPitchUp", "-5" ); SetDvar( "sv_botPitchDown", "10" ); SetDvar( "sv_botFov", "100" ); SetDvar( "sv_botMinAdsTime", "3000" ); SetDvar( "sv_botMaxAdsTime", "5000" ); SetDvar( "sv_botMinCrouchTime", "100" ); SetDvar( "sv_botMaxCrouchTime", "400" ); SetDvar( "sv_botTargetLeadBias", "2" ); SetDvar( "sv_botMinReactionTime", "400" ); SetDvar( "sv_botMaxReactionTime", "700" ); SetDvar( "sv_botStrafeChance", "0.9" ); SetDvar( "sv_botMinStrafeTime", "3000" ); SetDvar( "sv_botMaxStrafeTime", "6000" ); SetDvar( "scr_help_dist", "384" ); } else if ( difficulty == "easy" ) { SetDvar( "sv_botMinDeathTime", "1000" ); SetDvar( "sv_botMaxDeathTime", "2000" ); SetDvar( "sv_botMinFireTime", "900" ); SetDvar( "sv_botMaxFireTime", "1000" ); SetDvar( "sv_botYawSpeed", "2" ); SetDvar( "sv_botYawSpeedAds", "2.5" ); SetDvar( "sv_botPitchUp", "-20" ); SetDvar( "sv_botPitchDown", "40" ); SetDvar( "sv_botFov", "50" ); SetDvar( "sv_botMinAdsTime", "3000" ); SetDvar( "sv_botMaxAdsTime", "5000" ); SetDvar( "sv_botMinCrouchTime", "4000" ); SetDvar( "sv_botMaxCrouchTime", "6000" ); SetDvar( "sv_botTargetLeadBias", "8" ); SetDvar( "sv_botMinReactionTime", "1200" ); SetDvar( "sv_botMaxReactionTime", "1600" ); SetDvar( "sv_botStrafeChance", "0.1" ); SetDvar( "sv_botMinStrafeTime", "3000" ); SetDvar( "sv_botMaxStrafeTime", "6000" ); SetDvar( "scr_help_dist", "256" ); } else // 'normal' difficulty { SetDvar( "sv_botMinDeathTime", "500" ); SetDvar( "sv_botMaxDeathTime", "1000" ); SetDvar( "sv_botMinFireTime", "600" ); SetDvar( "sv_botMaxFireTime", "800" ); SetDvar( "sv_botYawSpeed", "4" ); SetDvar( "sv_botYawSpeedAds", "5" ); SetDvar( "sv_botPitchUp", "-10" ); SetDvar( "sv_botPitchDown", "20" ); SetDvar( "sv_botFov", "70" ); SetDvar( "sv_botMinAdsTime", "3000" ); SetDvar( "sv_botMaxAdsTime", "5000" ); SetDvar( "sv_botMinCrouchTime", "2000" ); SetDvar( "sv_botMaxCrouchTime", "4000" ); SetDvar( "sv_botTargetLeadBias", "4" ); SetDvar( "sv_botMinReactionTime", "800" ); SetDvar( "sv_botMaxReactionTime", "1200" ); SetDvar( "sv_botStrafeChance", "0.6" ); SetDvar( "sv_botMinStrafeTime", "3000" ); SetDvar( "sv_botMaxStrafeTime", "6000" ); SetDvar( "scr_help_dist", "256" ); } }
Game Types - Spoiler:
dm - Free-For-All dom - Domination sd - Search And Destroy sab - Sabotage tdm - Team Death Match koth - Headquarters ctf - Capture The Flag dem - Demolition oic - One In The Chamber hlnd - Stick And Stones gun - Gun Game shrp - Sharpe Shooter zom - Zombies
arc - Arcade Mode (Dead Ops?) "MPUI_ARCADE_MODE" cmp - Campaign (Splitscreen?) "MPUI_CAMPAIGN_MODE" sop - Campaign/Solo (Main Menu?) "MENU_SO"
Give Commands - Code:
-
self giveWeapon( "WEAPON NAME" );
self switchToWeapon( WEAPON NAME ); Multiplayer Map Names And Loading Screen Names - Spoiler:
{ map "mp_array" loadscreen "loadscreen_mp_array" longname "MPUI_ARRAY" loadname "MPUI_ARRAY_CAPS" gametype "dm tdm sd sab dom koth twar war sur ctf vdm vtdm mini" } { map "mp_cracked" loadscreen "loadscreen_mp_cracked" longname "MPUI_CRACKED" loadname "MPUI_CRACKED_CAPS" gametype "dm tdm sd sab dom koth twar war sur ctf vdm vtdm mini" } { map "mp_crisis" loadscreen "loadscreen_mp_crisis" longname "MPUI_CRISIS" loadname "MPUI_CRISIS_CAPS" gametype "dm tdm sd sab dom koth twar war sur ctf vdm vtdm mini" } { map "mp_firingrange" loadscreen "loadscreen_mp_firingrange" longname "MPUI_FIRINGRANGE" loadname "MPUI_FIRINGRANGE_CAPS" gametype "dm tdm sd sab dom koth twar war sur ctf vdm vtdm mini" } { map "mp_duga" loadscreen "loadscreen_mp_duga" longname "MPUI_DUGA" loadname "MPUI_DUGA_CAPS" gametype "dm tdm sd sab dom koth twar war sur ctf vdm vtdm mini" } { map "mp_hanoi" loadscreen "loadscreen_mp_hanoi" longname "MPUI_HANOI" loadname "MPUI_HANOI_CAPS" gametype "dm tdm sd sab dom koth twar war sur ctf vdm vtdm mini" } { map "mp_cairo" loadscreen "loadscreen_mp_cairo" longname "MPUI_CAIRO" loadname "MPUI_CAIRO_CAPS" gametype "dm tdm sd sab dom koth twar war sur ctf vdm vtdm mini" } { map "mp_havoc" loadscreen "loadscreen_mp_havoc" longname "MPUI_HAVOC" loadname "MPUI_HAVOC_CAPS" gametype "dm tdm sd sab dom koth twar war sur ctf vdm vtdm mini" } { map "mp_cosmodrome" loadscreen "loadscreen_mp_cosmodrome" longname "MPUI_COSMODROME" loadname "MPUI_COSMODROME_CAPS" gametype "dm tdm sd sab dom koth twar war sur ctf vdm vtdm mini" } { map "mp_nuked" loadscreen "loadscreen_mp_nuked" longname "MPUI_NUKED" loadname "MPUI_NUKED_CAPS" gametype "dm tdm sd sab dom koth twar war sur ctf vdm vtdm mini" } { map "mp_radiation" loadscreen "loadscreen_mp_radiation" longname "MPUI_RADIATION" loadname "MPUI_RADIATION_CAPS" gametype "dm tdm sd sab dom koth twar war sur ctf vdm vtdm mini" } { map "mp_mountain" loadscreen "loadscreen_mp_mountain" longname "MPUI_MOUNTAIN" loadname "MPUI_MOUNTAIN_CAPS" gametype "dm tdm sd sab dom koth twar war sur ctf vdm vtdm mini" } { map "mp_villa" loadscreen "loadscreen_mp_villa" longname "MPUI_VILLA" loadname "MPUI_VILLA_CAPS" gametype "dm tdm sd sab dom koth twar war sur ctf vdm vtdm mini" } { map "mp_russianbase" loadscreen "loadscreen_mp_russianbase" longname "MPUI_RUSSIANBASE" loadname "MPUI_RUSSIANBASE_CAPS" gametype "dm tdm sd sab dom koth twar war sur ctf vdm vtdm mini" }
Models/Items - Spoiler:
( "frag_grenade_short_mp" ); ( "dogs_mp" ); ( "dog_bite_mp" ); ( "explosive_bolt_mp" ); ( "t5_weapon_law_stow" ); ( "weapon_rpg7_stow" ); ( "t5_weapon_strela_stow" ); ( "t5_weapon_mp_crossbow_stow" ); ( "weapon_claymore_detect" ); ( "weapon_c4_mp_detect" ); ( "t5_weapon_acoustic_sensor_world_detect" ); ( "t5_weapon_scrambler_world_detect" ); ( "t5_weapon_camera_spike_world_detect" ); ( "t5_weapon_camera_head_world_detect" ); ( "t5_weapon_tactical_insertion_world_detect" ); ( "t5_weapon_camera_head_world" ); ( "napalmblob_mp" ); ( "scavenger_item_mp" ); ( "hud_scavenger_pickup" ); ( "minigun_wager_mp" ); ( "m202_flash_wager_mp" );
Stances - Code:
-
Standing - ???? Crouch - ???? Prone - if ( !self isOnGround() ) Custom Class Names - Spoiler:
level.classMap["custom1"] = "CLASS_CUSTOM1"; level.classMap["custom2"] = "CLASS_CUSTOM2"; level.classMap["custom3"] = "CLASS_CUSTOM3"; level.classMap["custom4"] = "CLASS_CUSTOM4"; level.classMap["custom5"] = "CLASS_CUSTOM5";
level.classMap["prestige1"] = "CLASS_CUSTOM6"; level.classMap["prestige2"] = "CLASS_CUSTOM7"; level.classMap["prestige3"] = "CLASS_CUSTOM8"; level.classMap["prestige4"] = "CLASS_CUSTOM9"; level.classMap["prestige5"] = "CLASS_CUSTOM10";
Visions - Spoiler:
berserker.vision camera_spike_mp.vision cheat_bw.vision cheat_bw_invert.vision concussion_grenade.vision creek_1.vision creek_1b.vision creek_1_ambush_path.vision creek_1_dark.vision creek_1_helicopter.vision creek_1_helicopter_start.vision creek_1_helicopter_water.vision creek_1_helicopter_water_exit.vision creek_1_interior.vision creek_1_rain.vision creek_1_tunnel.vision creek_1_tunnel_cave_light_end.vision creek_1_tunnel_cliffhanger.vision creek_1_tunnel_collapse.vision creek_1_tunnel_enter.vision creek_1_tunnel_off.vision creek_1_village.vision creek_1_war_room.vision creek_1_water.vision creek_drown.vision cuba.vision cuba_car.vision cuba_compound.vision cuba_courtyard.vision cuba_drive.vision cuba_end.vision cuba_flame.vision cuba_mansion.vision cuba_runway_base.vision cuba_runway_vista.vision cuba_streets.vision cuba_streets_floodlights.vision cuba_sunrise.vision cuba_zipline.vision death.vision default.vision default_night.vision drown.vision flare.vision flashpoint.vision flashpoint_night.vision flashpoint_slide_a.vision flashpoint_tunnels.vision flash_grenade.vision fullahead_base.vision fullahead_betrayal.vision fullahead_flashlight.vision fullahead_nova6.vision fullahead_post_flashlight.vision fullahead_reznov.vision fullahead_ship_out.vision fullahead_start.vision huey_city.vision hue_city.vision hue_city_streets.vision infrared.vision infrared_rebirth.vision infrared_snow.vision interrogation_escape.vision int_brainwash.vision int_castro_reveal.vision int_esc.vision int_esc_numbers.vision int_first_junction.vision int_frontend_char_trans.vision int_frontend_default.vision int_frontend_menus.vision int_frontend_narrative_1.vision int_frontend_narrative_2.vision int_frontend_narrative_3.vision int_frontend_narrative_4.vision int_frontend_narrative_5.vision int_frontend_narrative_6.vision int_frontend_terminal.vision int_hudson_control.vision int_rocket_hallway.vision in_country.vision khe_sanh.vision khe_sanh_e1_intro.vision khe_sanh_e1_intro_flash.vision khe_sanh_e2_trenchbattle.vision khe_sanh_e2_trenchbattle_bunker.vision khe_sanh_e3_trenchdefense.vision khe_sanh_e4_hillbattle.vision khe_sanh_e4_hillbattle2.vision khe_sanh_e5_airfieldbattle.vision khe_sanh_e6_siege.vision kowloon.vision kowloon_level_start.vision kowloon_rooftop.vision kowloon_rooftop_lightning.vision kowloon_rooftop_slidearea.vision laststand.vision low_health.vision macv_main.vision macv_stairwell.vision mpintro.vision mpoutro.vision mp_array.vision mp_berlinwall.vision mp_cairo.vision mp_cosmodrome.vision mp_cracked.vision mp_crisis.vision mp_discovery.vision mp_duga.vision mp_firingrange.vision mp_hanoi.vision mp_havoc.vision mp_mountain.vision mp_munich.vision mp_nuked.vision mp_nuked2.vision mp_radiation.vision mp_russianbase.vision mp_underwater.vision mp_vdm_cosmopoc.vision mp_villa.vision neutral.vision pentagon.vision pentagon_highway.vision pentagon_interior.vision pentagon_kennedy.vision pentagon_kennedy_bloom.vision pentagon_limousine.vision pentagon_security.vision pentagon_speed_elevator.vision pentagon_speed_security.vision pentagon_tarmac.vision pentagon_warroom.vision pow.vision pow_base.vision pow_bloom.vision pow_cage.vision pow_cave.vision pow_endfight.vision pow_face_up.vision pow_landing.vision pow_midcave.vision pow_mountain.vision pow_office.vision pow_office2.vision pow_roulette.vision pow_tunnels.vision quagmire_1.vision quagmire_2.vision quagmire_3.vision quagmire_4.vision quagmire_default.vision rebirth.vision rebirth_btr_rail.vision rebirth_cargo_container.vision rebirth_docks.vision rebirth_elevator_shaft.vision rebirth_gas_attack.vision rebirth_lab_exterior.vision rebirth_lab_interior.vision rebirth_lab_interior_2.vision rebirth_stairwell_security_room.vision rebirth_steiner_kill.vision rebirth_tunnel_exit.vision revive.vision river.vision river_boat.vision river_burn.vision river_land.vision river_plane.vision river_village.vision tvguided_mp.vision tvguided_sp.vision ui_viewer.vision underwaterbase.vision underwaterbase_swimming.vision uwb_bigigc.vision uwb_broadcastcenter.vision uwb_chopper.vision uwb_corridor_01.vision uwb_corridor_02.vision uwb_dive.vision uwb_dragofight.vision uwb_end.vision uwb_escape.vision uwb_moonpool.vision uwb_shipdeck.vision uwb_shipint.vision uwb_swimtosurface.vision vorkuta_bike.vision vorkuta_exterior.vision vorkuta_inclinator.vision vorkuta_interior.vision vorkuta_mines.vision vorkuta_slingshot.vision vorkuta_warehouse.vision water.vision wmd.vision wmd_avalanche.vision wmd_gforce.vision wmd_jumpcut.vision wmd_lower_valley.vision wmd_lower_valley_interior.vision wmd_pilot.vision wmd_power_station.vision wmd_radar_station.vision wmd_runway.vision wmd_snow_hide.vision wmd_sr71.vision wmd_sr71barracks.vision wmd_sr71cam.vision wmd_sr71_rts_barracks_destroy.vision wmd_sr71_rts_interior.vision wmd_takeoff.vision zombie.vision zombietron_afternoon.vision zombietron_afternoon_death.vision zombietron_day.vision zombietron_evening.vision zombietron_evening_rooftop.vision zombietron_morning.vision zombietron_morning_island.vision zombie_coast.vision zombie_cosmodrome.vision zombie_death.vision zombie_frontend_default.vision zombie_frontend_menus.vision zombie_last_stand.vision zombie_mountain.vision zombie_neutral.vision zombie_pentagon.vision zombie_pentagon_electrician.vision zombie_pentagon_lab.vision zombie_pentagon_offices_poweroff.vision zombie_pentagon_warroom.vision zombie_sumpf_dogs.vision zombie_theater.vision zombie_theater_erooms_pentagon.vision zombie_theater_eroom_asylum.vision zombie_theater_eroom_girlnew.vision zombie_theater_eroom_girlold.vision zombie_turned.vision
| |
|
The Game Forum Rated Awesome
Posts : 39 Points : 162 Reputation : 90 Join date : 2010-12-15 Location : England
| Subject: Re: Black Ops Code/Function list Sun Dec 26, 2010 4:12 pm | |
| | |
|
IMoD_GaMeRs Rated Awesome
Posts : 48 Points : 156 Reputation : 40 Join date : 2010-12-17
| Subject: Re: Black Ops Code/Function list Mon Dec 27, 2010 1:11 am | |
| - The Game Forum wrote:
- nice post...
Thank mate | |
|
Sponsored content
| Subject: Re: Black Ops Code/Function list | |
| |
|