GECKNV : Listes des fonctions et commandes de script

De Wiwiki
Aller à la navigation Aller à la recherche

Les scripts du Geck New Vegas sont régis par les mêmes fonctions et commandes que celles du Geck Fallout3, augmentées de quelques_unes.


Un post sur le forum retranscrit la plupart des fonctions et commandes de scripts : http://forums.bethsoft.com/index.php?/topic/1122265-initial-technical-details/page__st__20__p__16508760&#entry16508760 Il sert de référence pour cette page.

Types de Blocs

Les blocs servent à séparer le script suivant le type d'action à mener. Un script peut contenir plusieurs blocs : par exemple un bloc MenuMode qui détermine les actions à effectuer quand le pipboy est ouvert (menu), et un bloc GameMode qui servira à déterminer les actions que le script peut effectuer en mode de jeu (temps réel en jeu).


•GameMode,,0000,

•MenuMode,,0001,

•onactivate,,0002,

•OnActorEquip,,001C,

•OnActorUnequip,,001D,

•OnAdd,,0003,

•OnClose,,0020,

•OnCombatEnd,,000C,

•OnDeath,,000A,

•OnDestructionStageChange,,0023,

•ondrop,,0006,

•OnEquip,,0004,

•OnFire,,0024,

•OnGrab,,0021,

•OnHit,,0008,

•OnHitWith,,0009,

•onload,,0015,

•OnMagicEffectHit,,0016,

•OnMurder,,000B,

•OnNPCActivate,,0025,OnOpen,,001F,

•OnPackageChange,,0014,

•OnPackageDone,OnPackageEnd,0010,

•OnPackageStart,,000F,

•OnRelease,,0022,

•onreset,,001E,

•OnSell,,0017,

•onstartCombat,,0019,

•OnTrigger,,0018,

•OnTriggerEnter,,001A,

•OnTriggerLeave,,001B,

•OnUnequip,,0005,

•SayToDone,,0007,

•ScriptEffectFinish,,0012,

•ScriptEffectStart,,0011,

•ScriptEffectUpdate,,0013,

•Unused,,000D,

•Unused2,,000E,


Commandes de Console:

? signifie nouvelle fonction spécifique à New Vegas

Des commandes de Console sont à entrer en mode console. En jeu, appuyez sur la touche ² : une petite barre en bas de l'écran matérialise la ligne de commande que vous pouvez entrer. Il ne reste qu'à rentrer une des commandes pour qu'elle s'éxécute en jeu. Par exemple, en jeu, tapez ², puis tcl : cela désactivera ou activera les collisions en jeu.

•AddDecal,,0147,

•AddFaceAnimNote,AFAN,0144,

•AddOcclusionPlane,AOP,01A9,Add Occlusion plane (x size, y size).

•BeginTrace,bt,017B,Creates a trace file (Xenon only)

•BetaComment,BC,0135,Add comment to [General] 'sBetaCommentFile' file. NOTE: select object first. [bc "This rock is too high."]

•CalcLowPathToPoint,LP2P,0129,ignore locks, allow disabled doors, ignore min use

•CalcPathToPoint,P2P,0128,

•CenterOnCell,COC,0123,

•CenterOnExterior,COE,0127,

•CenterOnWorld,COW,0142,[COW worldname -10 5]

•ClearAdaptedLight,cal,0184,Clears the HDR adapted light texture

•ClearLocationMarkers,clm,01A4,

•ClearScreenBlood,csb,01AD,Clear screen blood

•CloseAllMenus,cam,01B2,Closes all open menus

•CloseFile,,0187,

•CompleteAllQuestStages,caqs,017E,Sets all quest stages

•CopySaves,CopySaves,01BB,Copy save games from the host machine or a memory stick (ms).

•DamageWeapon,,018B,

•DeactivateAllHighlights,DAH,0121,remove all VATS highlights

•DebugCombatPlan,dcp,0196,Debugs the combat plan on an actor

•DebugMilesPS3,dm3,01B4,Enumerates Miles samples and streams

•DeleteReference,zap,01A1,Deletes the specified object ref

•DrawSkeleton,das,01BC,Enables skeleton drawing

•DumpMenuPackingInfo,dpmi,018A,Dump menu packing information

•DumpModelMap,DMM,0141,Dump model map contents to file

•DumpNiUpdates,dnu,01BF,Dumps the next frame's calls to NiNode/NiAVObject::UpdateDownwardPass to NiDump*.xls (only Debug/PIX 360 builds)

•DumpTexturePalette,DTP,0140,Dump texture palette contents to file param is sort type f-filename, s-size, c-count)

•EnableWeaponMod,,01CB,Mods the current weapon with the slot

•EvalActorTextures,EAT,01CA,

•FlushNonPersistActors,Flush,017F,Deletes all the actors in High who are not persistant

•ForceFileCache,ffc,01BE,Enumerates Miles samples and streams

•ForceGroupStrategy,fgs,0199,Forces a combat group strategy

•ForceRSXCrash,fRSX,01C5,Forces an RSX crash

•FreezeRenderAccumulation,fra,015B,only re-render geometry visible during this frame

•GetActorValueInfo,GetAVInfo,01B1,Get detailed an actor value info. [player.getav luck]

•GetINISetting,GetINI,0126,"setting:category"

•GetWeaponHealth,,018C,

•HairTint,,014C,3 ints, RGB

•Help,,0116,Show this help.

•HighlightAdditionalReference,HAR,0120,highlight a reference

•HighlightBodyPart,HBP,011F,highlight body part

•IgnoreRenderPass,irp,01B7,Ignore the given renderpass

•LoadGame,load,014E,LoadGame <filename>

•ModWaterShader,mws,0177,Modifies water shader settings

•ModifyFaceGen,mfg,01C4,Modify FaceGen Functionality

•MovePipboyKnob,MPK,011E,move pipboy knob

•MoveToQuestTarget,movetoqt,0157,Move player to current quest target (optional param: target number).

•OutputArchiveProfile,oap,016B,Output Archive profile info to a file

•OutputLocalMapPictures,OLMP,0181,Writes out the current local map.

•OutputMemContexts,omc,015D,Output Mem Context info to a file

•OutputMemStats,oms,015E,Output Mem Stats info to a file

•OutputMemStats,omsfw,018D,Output Mem Stats info to a file

•OutputTextureUseMap,OTUM,01AB,Writes out texture use map data to file.

•PickRefByID,PRID,0119,Select a reference by id for the console.

•PlaceLocationMarker,plm,01A3,PlaceLocationMarker x y z (optional name) (optional color )

•PlayExplosion,,018E,Plays explosion seq in selected obj

•PlayVATSCameras,pvc,01B8,Play this set of VATS cameras for the next VATS playback.

•PlayerSpellBook,psb,0149,Add all spells to player.

•PrintAiList,pai,014A,Printed Ai Lists.

•PrintHDRParam,PHP,0168,Prints current HDR settings.

•PrintNPCDialog,pdialog,0158,Prints NPC dialog

•QuitGame,qqq,016C,Exit game without going through menus.

•RefreshINI,REFINI,0145,Refresh INI settings from file.

•RefreshShaders,RS,013A,Reload HLSL shaders from disk

•ReloadCurrentClimate,rcc,0153,Reloads values from the current climate

•ReloadCurrentWeather,rcw,0154,Reloads values from the current weather

•RenderTestCell,rtc,0150,runs Render Test on player's current parent cell

•RenderTestHere,rth,0151,runs Render Test on player's current position

•ResetAllTerminals,rat,01B0,Debug resets all hacked/locked terminals.

•ResetDialogueFlags,rdf,01AF,Debug resets SayOnce, TalkedToPc, etc.

•ResetMemContexts,rmc,0171,Reset Max Mem Contexts

•ResetPerformanceTimers,rpt,019C,Resets the performance timers

•RevertWorld,rw,016A,Revert the world

•RunCellTest,rct,017C,Runs a cell test

•RunMemoryPass,rmp,0170,Runs a cleanup memory pass

•SaveGame,save,014D,SaveGame <filename>

•SaveIniFiles,saveini,016D,Writes all the .ini files.

•SaveWorld,,0152,Save hkWorld <filename>

•ScreenBloodTest,tsbTEST,01AE,Toggle screen blood debugging

•SendSherlockDebugText,ssdt,0189,

•SetClipDist,,012B,float, new clip distance

•SetCombatActionCost,scc,0197,Sets the cost on a combat action

•SetConsoleOuputFile,scof,01B5,Sets the given file as target for console output.

•SetDebugText,sdt,016E,Sets which debug text is shown.

•SetDepthOfFieldRange,sdofr,0190,Sets Depth of Field range

•SetEmitterParticleMax,,01C6,Sets the maximum number of particles emitted by a non-master particle system emitter

•SetFog,,012A,2 floats, start and end depths

•SetGameSetting,SetGS,0124,

•SetGamma,sg,0182,Sets new gamma ramp.

•SetGlobalRadialBlur,sgrb,01AA,Set parameters for the global radial blur

•SetHDRParam,SHP,0166,Sets various values for the HDR shader

•SetHudGlowConstants,shgc,0186,Set parameters for HUD glow.

•SetINISetting,SetINI,0125,"setting:category" value

•SetImageSpaceGlow,SISG,012D,

•SetImageSpaceModifiersEnable,sisme,019F,Set imagespace modifiers enable: 0-Off, 1-On

•SetLODObjectDistance,SLOD,011C,

•SetLightingPasses,SLP,011A,4 (0/1) values. amb|diff|tex|spec ex: 1010

•SetMPSParticleMax,,01C7,Sets the maximum number of particles emitted by master particle system emitter set

•SetMaxAniso,,018F,Sets Depth of Field focal distance

•SetMotionblur,smb,0193,Set the motion blur params

•SetSkyParam,SSP,0165,Sets various values for the sky

•SetTargetDOF,stdof,0191,Sets the depth of field based on the target

•SetTargetFalloff,stfo,01B9,Sets the falloff of the target

•SetTargetRefraction,str,0160,Sets the refractive value of the target

•SetTargetRefractionFire,strf,0161,Sets the refractive fire value of the target

•SetTaskThreadSleep,,01C8,Sets the task thread sleep value (-1 to disable).

•SetTaskThreadUpdateSleep,,01C9,Sets the task thread update sleep value (-1 to disable).

•SetTerminalMenuPos,STMP,011D,

•SetTreeMipmapBias,stmb,0188,Set mipmap LOD bias values for tree billboards.

•SetUFOCamSpeedMult,sucsm,01A0,Set speed mult for UFO cam.

•SetVel,,0195,Sets Velocity on a reference

•Show,TST,0100,Show global scripts and variables.

•Show1stPerson,S1ST,0115,Show the 1st person Model from the 3rd person camera. If in 3rd person mode it will show both.

•ShowAnim,SA,0114,Show Animation and Actor status.

•ShowFullQuestLog,SFQL,013F,Show all log entries for a single quest

•ShowHeadTrackTarget,SHeadT,0164,Show the head track target if set from look function

•ShowInventory,inv,019B,Shows reference inventory

•ShowPivot,SP,0167,Puts a temporary yellow plus at the pivot point of the selected reference.

•ShowQuestLog,SQL,013E,Show Quest Log

•ShowQuestTargets,SQT,014B,Show current quest targets

•ShowQuestVars,SQV,0102,Show quest variables. [svq QuestID]

•ShowQuests,SQ,0103,List quests.

•ShowRenderPasses,srp,015A,display render passes for the next frame

•ShowScenegraph,SFSG,0112,Create a window with the full game scene graph, open to the node corresponding to the selected reference (if any).

•ShowScenegraph,SSG,0111,Create a window with the full game scene graph or the scene graph of the selected reference.

•ShowSubtitle,,0159,show all dialog subtitles (1 shows always, 0 hides always)

•ShowVars,SV,0101,Show variables on object. [player->sv]

•ShowWhoDetectsPlayer,SWDP,0174, Show who detects the player

•SpeakSound,,0134,

•StartAllQuests,saq,017D,Starts all quests

•TestAllCells,TAC,014F,Test All Cells (0 - stop, 1 - start, 2 - interiors, 3 - current world)

•TestCode,,0148,

•TestDegrade,,01C0,degrades the specified number of MB of textures. negative values degrade all possible. (only 360 builds)

•TestLocalMap,tlm,0156,Simulates the local map. (1 or 0 for FOW on or off)

•TestRaceSexTerimnal,trst,01B6,Test race/sex menu rendered terminal

•TestSeenData,tsd,0155,Visually displays the current seen data

•ToggleAI,TAI,0106,

•ToggleActorMover,tam,01BA,Toggles actor movement through pathing system

•ToggleAiSchedules,TAIS,0133,

•ToggleBorders,TB,0109,Show border lines for each cell.

•ToggleBoundVisGeom,tbvg,01B3,Toggles bound visualization for a ref

•ToggleCastShadows,tsh,0185,

•ToggleCellNode,TCN,0136,Toggle 3D for a Cell child node: 0-Actor, 1-Marker, 2-Land, 3-Water, 4-Static, 5-Active

•ToggleCharControllerShape,TCCS,0163,Toggle char controller shape type.

•ToggleCollision,TCL,010D,

•ToggleCollisionGeometry,TCG,0107,Show collision geometry.

•ToggleCombatAI,tcai,0175,Toggles ALL Combat AI

•ToggleCombatDebug,tcd,0198,Toggles combat debug info

•ToggleCombatStats,TCS,0104,

•ToggleConversations,TCONV,013C,Toggle conversation stats

•ToggleDebugDecal,TDD,019D,Toggle debug displays for decal creation : 0-Wireframe, 1-Solid, 2-Occlusion Query, 3-Transform

•ToggleDebugText,TDT,010E,Show debug numbers on the screen.

•ToggleDecalRendering,TDR,019E,Toggle decal rendering

•ToggleDepthBias,tdb,01C1,toggles depth bias for decals on or off

•ToggleDetection,TDETECT,012E,

•ToggleDetectionStats,tds,015F,Show the detection stats of the current seletected Ref.

•ToggleEOFImageSpace,teofis,01BD,Toggles end of frame imagespace effects

•ToggleEmotions,temo,0146,Toggle NPC facial emotions.

•ToggleFlyCam,tfc,0176,Toggles the Free Fly camera (UFO cam).

•ToggleFogOfWar,TFOW,0180,Turns fog of war on or off.

•ToggleFootIK,tfik,0194,Toggles Foot IK system

•ToggleFullHelp,TFH,013D,Toggle Full Help

•ToggleFullScreenMotionblur,tfsmb,0192,Toggles Full screen motion blur

•ToggleGodMode,TGM,0139,Toggle God mode

•ToggleGrabIK,tgik,01A6,Toggles Grab IK system

•ToggleGrass,TG,0143,Toggle grass display.

•ToggleGrassUpdate,TGU,0122,

•ToggleHDRDebug,THD,0169,Toggles HDR debug textures.

•ToggleHighProcess,THIGHPROCESS,012F,

•ToggleLODLand,TLL,011B,

•ToggleLeaves,TLV,010B,

•ToggleLiteBrite,tlb,016F,Toggles lite brite render mode.

•ToggleLookIK,tlik,01A7,Toggles Look IK system

•ToggleLowProcess,TLOWPROCESS,0130,

•ToggleMagicStats,TMS,0113,

•ToggleMaterialGeometry,TMG,0108,Show material geometry.

•ToggleMenus,TM,010F,Hide all the menus. Used for taking screen shots.

•ToggleMiddleHighProcess,TMHIGHPROCESS,0132,

•ToggleMiddleLowProcess,TMLOWPROCESS,0131,

•ToggleMultiboundCheck,mbc,01A5,Toggle all Multibound check functionality

•ToggleNavMesh,TNM,0117,Toggle blocked display.

•ToggleOcclusion,tocc,015C,toggle occlusion query for geometry

•TogglePathLine,TPL,0118,Toggle path display.

•TogglePathingInfoFunction,TPI,019A,Toggle pathing information.

•TogglePrimitives,TPR,0110,

•ToggleProjectileDebug,TP,01CC,Show debug lines/shapes for projectiles. ,,01CD,(null)

•ToggleRagdollAnim,tra,01A8,Toggles Ragdoll Anim system

•ToggleRefractionDebug,trd,0162,Toggles refraction debug render texture

•ToggleSPURenderBatch,tSPURB,01C2,toggles the SPU render batch on or off

•ToggleSPUTransformUpdate,tSPUTU,01C3,toggles the SPU transform update on or off

•ToggleSafeZone,TSZ,0105,Display the television 85%% safe zone.

•ToggleScripts,TSCR,013B,Turn Script processing on/off

•ToggleShadowVolumes,TSV,012C,

•ToggleSky,TS,010A,

•ToggleTestLight,TTL,01A2,Toggle test light (radius, magnitude).

•ToggleTrees,TT,0137,Turn trees on/off

•ToggleVATSLight,TVL,01AC,Toggle VATS Light

•ToggleWaterRadius,TWR,0173,

•ToggleWaterSystem,TWS,0172,Toggles the water system

•ToggleWireframe,TWF,010C,Show the world as wireframe.

•Verbose,VERBOSE,0138,Toggle verbose combat/AI messages

•WasteMemory,wm,0183,Allocates some memory (in MB).

•WaterDeepColor,deep,0179,Modifies water deep color

•WaterReflectionColor,refl,017A,Modifies water reflection color

•WaterShallowColor,shallow,0178,Modifies water shallow color