Fallout: New Vegas

Fallout: New Vegas

366 个评价
Every console command in Fallout: New Vegas
由 12345678910 制作
A list of all console commands, and the description on what they do.
2
2
3
3
2
   
奖励
收藏
已收藏
取消收藏
Introduction
This guide will show you every console command in Fallout: New Vegas.

You can open the console by pressing the backquote key (`) while in game. The backquote key shifts to tilde (~) on US. keyboards. You can also type "help" in the console for the list of commands, but I find it very unorganized.

Huge props to the Fallout: New Vegas wiki, I couldn't find everything out for myself!
(http://fallout.wikia.com/wiki/Fallout:_New_Vegas_console_commands)
Achievement Disclaimer
Using the console will disable achivements, but only for the current session.
If you use a console command, then save, then completly close the game, and open it again, achievement will work again, even on the save which you used console commands.
Display Manipulation
tfc <X> – Toggle Free Camera (where X is an optional variable in which a value of 1 will freeze all in the scene except any running scripts)

sgtm <X> – Set global time speed, where X is the multiplier (IE: normal: 1, half speed: 0.5)

sucsm <X> – Set UFO cam movement speed (IE: freecam speed), where X is a multiplier

tlb – Toggle Light Brite (disables lighting and shadowing; all materials at full brightness; normal
bump shading won't function)

tcl – No clipping mode

tmm <1/0> – Show/hide all mapmarkers (additionally : 'tmm 1 0 1' will show all map markers without discovering them and without being able to fast travel to them.)

tdt – Toggle debug display

tlv – Toggle leaves

tg – Toggle grass

tp – Toggle view of projectiles and spawns

tfow – Toggle fog of war on local map

tgm – Toggle god mode (infinite health, unlimited ammunition, no need to reload, able to carry unlimited items)

tdm – Toggle demigod mode (infinite health, limited ammunition, need to reload, able to carry unlimited items)

EnablePlayerControls – Enables player controls (when disabled by quasi-cutscenes)
disable – Removes the selected object from the game (can be undone by typing "enable" while the object is still selected. Great for removing glitching objects.

enable – Used for enabling previously disabled objects. (Object still needs to be selected, as you cannot reselect an object that no longer exists.)

movetoqt – Instantly shifts you to the quest target or next optional quest spot.

coc <cell name> – Force fast travel to town/area (Example: coc Jacobstown)

tcg – Toggle Collision Geometry Visibility

twf – Toggle Wireframe

tm – Toggle HUD

tvl - Toggle VATS lights
Inventory Manipulation
player.setweaponhealthperc <percentage> – Sets currently equipped weapon's health. For example, player.setweaponhealthperc 100 would fully repair the currently equipped weapon.

player.additem <base id> <amount> – Get the indicated amount of the selected item.

Example: player.additem <000000f> <200> - adds 200 caps to the player money/inventory

player.removeitem <base id> <amount> – Remove the indicated amount of the selected item.

player.additemhealthpercent <base_id> <amount> <quality> – add item to your inventory, with a
specified condition. Quality should be given in decimal form.
Example: player.additemhealthpercent 000fd771 99 .01 will add 99 Vault 3 utility jumpsuits at 1% to the player's inventory.

setownership – make the item yours by mouse left-click on item and typing setownership (for instance, a cabinet or a bed; already owned property will still deduct Karma)

unlock – unlock doors, safes, terminals or any other locked containers. You can get the unique ID of an item by clicking on it while you have the console open, causing it to print out on the command line, preferably after you type "unlock " and a space. Please note that the "unlock" command may not work on a very limited number of locks, safes and/or terminals. However, it will open anything that is meant to be opened directly from the door/safe/container, and some more that are game breaking, like the elevator behind Benny's room leads to a vault, and the doors that are not meant to be opened will lead to bottomless gray pits. If you jump into the pit, it drops you to the stairs under the Vault 21 gift shop.

lock <lock level> – lock doors, safes, terminals or any other unlocked containers. Adding a number after lock sets the difficulty. For example, lock 0 would create a very easy lock, lock 25 an easy
lock, and lock 100 a very hard lock. lock 101 will make the item unpick-able (Requires Key).

player.srm – Self-repair of items up to your current repair skill. Note that you can't repair all items in one command ('A' on PC) if the total cost of the repair is more caps than you currently have, forcing you to do repair individual items until the total amount needed to repair all items in a single command, is less than your total caps on hand. Regardless of method, all caps "spent" on repairs are paid to you, netting a total cost of zero. This is particularly handy before you sell items, raising their value considerably.

setpccanusepowerarmor 1 – make power armor wearable. If you can already wear power armor and type 0 instead of 1, you will no longer be able to wear it.
Actor Manipulation
addperk – Select an NPC and type addperk 00031db7; this example would give the selected NPC Light Step.

resurrect - Revives non-player character and renews their inventory. This command will not undo the failure of quests.

resurrect 1 – Revives non-player character without renewing their inventory. This command will not enable the completion of failed quests.

player.resurrect - May cause a game crash.

kill – Kills non-player character. Killing quest-related NPCs may lead to failed quests.

killall – Kills all non-invincible NPCs in the nearby area. Use with caution, as some quest-essential NPCs you can't see directly may also be killed. Also effects companions (rendering them "unconscious" in Casual mode but actually killing them in Hardcore).

tdetect - Toggles AI player detection (Causes player to always be hidden).

rdf – resets all the dialog trees of all actors. A last resort for bugged dialog; can help in bugged quests or break them if used incorrectly. (i.e. choosing an answer, then resetting and choosing a different one may or may not break the quest based on such answers) Use with caution.
player.placeatme <base id> – Spawns Creature/Non-player character, static objects, and containers. They will spawn on top of you, so make sure you are in an open area if you spawn a lot.
Alternatively, you can use 'placeatme' instead to spawn things at selected object location instead of the player location. (useful if spawning several monsters and you don't want to be at hit distance from them)

addtofaction <X> – Makes selected non-player character a member of a specific faction. Replace X with "1" to make the non-player character an ally of the faction or "0" to simply make him/her friendly with it. Be sure to click on each character you want to add to the faction before entering the command. So, for example, to add a non-player character to your own character's faction as a friend, you would first click on them and then enter addtofaction 1b2a4 0. Remember you will then need to use the stopcombat function right afterward if the non-player character was already attacking.

removefromfaction <faction id> – Removes non-player character from a specific faction. For example:
removefromfaction 1b2a4 will remove NPC from your own Player Character's faction. These previous two commands are useful when you need to turn a hostile non-player character friendly in order to talk to them/begin a quest related to them that you otherwise couldn't start. Add them to your faction, talk to them and complete their quest. Then remove them from your faction and they will return to being hostile.

tcai – Toggle all non-player character combat AI (non-player character doesn't fight)

tai – Toggle all or selected non-player character AI (disables AI processing)

OpenTeammateContainer 1 – Will open their inventory, as though they were a companion, for the transfer of inventory items.

SetRestrained 1 – Will cause an actor to stand in place, not engaging in combat or carrying out AI packages.

PlayIdle <X> – Plays an idle, where X is the idle's EditorID string (not the FormID). The number of EditorIDs are too numerous to list here.

PushActorAway <X> <Y> – Causes another actor (variable X, an Actor reference formID) to go into a ragdoll state and gets impelled away at a force of Y, away from the calling reference (selectable by clicking on a ref in console mode or by using the 'prid' command)
Player Manipulation
player.setscale <scale> – 1 is default, 0.1 is ultimately microscopic, 10 is gigantic (not recommended for indoor use).

player.getav – Get the current value of Skills or S.P.E.C.I.A.L. amount. See Fallout 3 console commands for the list. These can be modified with the modav command.

player.modav <ActorValue> <value> – Add or subtract from Skills or S.P.E.C.I.A.L. amount. (Example: player.modav energyweapons 25 +25 to Energy Weapons)

player.forceav <ActorValue> <value> – Set precise value of Skill or S.P.E.C.I.A.L. level. A = Skill or S.P.E.C.I.A.L. name; X = amount - Skill range from (1-100), S.P.E.C.I.A.L. from (1-10) (Example: player.forceav medicine 50 sets medicine level on 50)

player.advlevel – Levels the player up by one level, but does not add the experience points. While you gain all level perks, etc, you will not level again until you have made up all the points for the levels gained by this command and the experience required for the next level.

player.rewardxp 15000 – adds 15000 exp. Any levels gained will be granted immediately, one after the other. (You cannot subtract experience using player.rewardxp -n. Attempting player.modav xp -n displays the message "Actor value 'XP' cannot be modified in scripts or the console.")

showracemenu – Allows race editing, whenever.

showbarbermenu – Allows hair editing.

shownamemenu – Allows renaming.

player.addperk <base id> – give player selected perk or trait. For list of perks, click the list of items here.

player.removeperk <base id> – removes the selected perk.

sexchange - changes the gender of your character.

player.setav speedmult X - changes movement speed by percentage. Example: player.setav speedmult 50 cuts movement in half, while player.setav speedmult 150 increases movement by half.

showtraitmenu – Allows the player to re-pick their traits.

player.setlevel X – Allows the player to set their level
Quest Manipulation
resetquest <QuestID> – Gives the given quest, removing it from the quest log. Beware: often, this may force you to redo other quests to receive it once more.

movetoqt – Moves the player to the current quest target.

showquestlog – Shows the quest log which includes everything the player has encountered and done.

GetQuestCompleted – Checks if the current quest is complete. Returns 1 for true and 0 for false. Receiving 1.00 means the quest is complete; 0.00 means it is not.

sqt – Generates a list of current quest targets.

completequest <QuestID> – Completes the given quest.

caqs – Completes all stages of all quests, even quests you have not taken on, basically completely wiping out all quests of the game and completing the game without ending the game.

setstage <QuestID> <Quest stage number> – Moves the quest in your quest log to the indicated quest stage. Recommended command for moving past bugged sections of quests rather than forcing the entire quest to become completed.
Miscellaneous
incrementscriptedchallenge <base id> - Increments the current value of a challenge by 1, does not work with all challenges.
69 条留言
eeqan 2024 年 12 月 1 日 上午 4:12 
Cool
20 CIGARRILLOS RUBIOS 2021 年 8 月 17 日 上午 2:30 
So i spoke with evil karma to Cassidy many times and she disband and said she was heading west and that she didnt want to spoke with me (the NPC left the ap and never came back).
so i tried to spawn her or teleport her to me by commands and befriend her with addtofaction commands and also did placeatme command to spawn a new one but the b1tch was still mad at me, also tried rdf to see if she would reset or smt but no. i dont know what else to do in order to have her as a companion again.
pls help
LAMENT3R 2021 年 5 月 6 日 上午 9:43 
000FFAE8 Is the faction code for the boomers I think. Hope I could help anyone who needed it.
spookynova backshots 2021 年 4 月 10 日 下午 8:50 
Commands to activate devices? Like wall-mounted detonators?
jafra 2020 年 12 月 7 日 上午 12:06 
is there a command to go to a specific place
Kraft Punk 2019 年 11 月 16 日 下午 5:01 
Thanks for the info, but what I was looking for was a way to delete a corpse in the strip (Caleb Mcaffery) from the Atomic Wrangler quest
12345678910  [作者] 2019 年 9 月 6 日 下午 1:53 
@aloonwolf, cheers for the information! It is quite late right now, so I'll add them tommorow. Do you want to help me/list you as a contributor? If so just add me. Cheers again!
aloonwolf 2019 年 9 月 6 日 下午 1:04 
http://geck.bethsoft.com/index.php?title=Category:Functions

This looks better! :)

A
Abs
Activate
AddAchievement
AddCreatureToLeveledList
AddFormToFormList
AddItem
AddItemHealthPercent
AddItemToLeveledList
AddNote
AddNPCToLeveledList
AddPerk
AddScriptPackage
AddSPECIALPoints
AddSpell
AddTagSkills
AddToFaction
AddTopic
AdvancePCLevel
AgeRace
ApplyImageSpaceModifier
AttachAshPile
AutoDisplayObjectives
Autosave
C
Cast
CastImmediateOnSelf
ClearActorsFactionsPlayerEnemyFlag
ClearDestruction
ClearFactionPlayerEnemyFlag
ClearNoActivationSound
ClearOwnership
Complete List of Function in Fallout New Vegas
CompleteAllObjectives
CompleteQuest
Cos
CreateDetectionEvent


Et cetera!
aloonwolf 2019 年 9 月 6 日 下午 12:53 
Surely this isn't all of them. Where is there a list of ALL OF THEM? The only information I can find is all copied from the same sources and is totally incomplete, making even the simplest of things impossible to do!
12345678910  [作者] 2019 年 8 月 23 日 上午 5:47 
Not that I know. You could steal a book in his camp - and set your reputation with the legion to make them respect more. Then Arcade will be your companion.