ScrapHacks/helplib.txt

1559 lines
78 KiB
Text
Raw Normal View History

======== [ marshal ] ========
2019-09-02 19:44:17 +00:00
- loads:<built-in function loads>
- dump:<built-in function dump>
- dumps:<built-in function dumps>
- load:<built-in function load>
======== [ SScorer ] ========
2019-09-02 19:44:17 +00:00
- SetCursor:<built-in function SetCursor>
SetCursor(playernumber,CursorName) : pone un item del scorer como cursor
2019-09-02 19:44:17 +00:00
- Show:<built-in function Show>
Show(playernumber) : Activa el scorer.
2019-09-02 19:44:17 +00:00
- GetTextArea:<built-in function GetTextArea>
(width, height) GetTextArea(fontType, text) : obtiene la anchura y la altura de un texto dado el texto y el tipo de fuente
2019-09-02 19:44:17 +00:00
- AddModel:<built-in function AddModel>
AddModel(playernumber,Name,ModelFile,numanim,Radius) : Pre carga un modelo para usarse en el scorer.
2019-09-02 19:44:17 +00:00
- SetOnPrev:<built-in function SetOnPrev>
SetOnPrev(playernumber,CancelEvent) : Define la funcion que se ejecutara en el caso del pagina abajo.
2019-09-02 19:44:17 +00:00
- AddChatMsg:<built-in function AddChatMsg>
AddChatMsg(string,red,gree,blue) : Agrega un mensaje a la lista de chat.
2019-09-02 19:44:17 +00:00
- GetOnCancel:<built-in function GetOnCancel>
(CancelEvent)GetOnCancel(playernumber) : Devuelve la funcion que se ejecutara en el caso del escape.
2019-09-02 19:44:17 +00:00
- GetDefault:<built-in function GetDefault>
DefaultItemName GetDefault(playernumber) Obtiene el nombre del item por defecto
2019-09-02 19:44:17 +00:00
- SetOnSpecialHint:<built-in function SetOnSpecialHint>
SetOnSpecialHint(playernumber,SpecialHintTestFunc,SpecialHint) : Define la funcion que decide si se muestra un hint especial
2019-09-02 19:44:17 +00:00
- SetConsole:<built-in function SetConsole>
SetConsole(show) : oculta/ muestra la consola de pantalla completa
2019-09-02 19:44:17 +00:00
- Get2DPos:<built-in function Get2DPos>
(x,y) Get2DPos(vector3d) : obtiene en cordenadas de pantalla una posicion del escenario
2019-09-02 19:44:17 +00:00
- GetActual:<built-in function GetActual>
ActualItem GetActual(playernumber) Obtiene el item actual
2019-09-02 19:44:17 +00:00
- SetOnNext:<built-in function SetOnNext>
SetOnNext(playernumber,CancelEvent) : Define la funcion que se ejecutara en el caso del pagina abajo.
2019-09-02 19:44:17 +00:00
- SetMPFunc:<built-in function SetMPFunc>
SetMPFunc(playernumber,Callback) : Callback(id,showmpscorer) (muestra oculta el scorer multiplayer)
2019-09-02 19:44:17 +00:00
- Set:<built-in function Set>
Set(playernumber,itemname,varname,value) : Modifica el valor de una variable de un item
2019-09-02 19:44:17 +00:00
- SetSpeechCallback:<built-in function SetSpeechCallback>
SetSpeechCallback(Callback) : Especifica la funcion callback que ser<65> llamada
2019-09-02 19:44:17 +00:00
- Get:<built-in function Get>
Get(playernumber,itemname,varname) : Obtiene el valor de una variable de un item
2019-09-02 19:44:17 +00:00
- GetMenuAccept:<built-in function GetMenuAccept>
GetMenuAccept(id) : Devuelve el estado de la acci<63>n de menu aceptar.
2019-09-02 19:44:17 +00:00
- SetDefault:<built-in function SetDefault>
SetDefault(playernumber,DefaultItemName) : pone un item del scorer 'por defecto'
2019-09-02 19:44:17 +00:00
- CancelSpeech:<built-in function CancelSpeech>
CancelSpeech(time) : cancela un mensaje remoto
2019-09-02 19:44:17 +00:00
- SetHeadMonitor:<built-in function SetHeadMonitor>
SetHeadMonitor(Head,Msg,anm) : Especifica la cabeza que ser<65> usada en el monitor y el mensaje.
2019-09-02 19:44:17 +00:00
- Add:<built-in function Add>
Add(playernumber,itemname,itemtype,AtEnd) : Agrega un item al scorer.
2019-09-02 19:44:17 +00:00
- SetMarkerSprite:<built-in function SetMarkerSprite>
SetMarkerSprite(id,SpriteName) : pone un sprite como marcador
2019-09-02 19:44:17 +00:00
- PreloadTexture:<built-in function PreloadTexture>
PreloadTexture(filename) : Precarga una textura
2019-09-02 19:44:17 +00:00
- SetMsgText:<built-in function SetMsgText>
SetMsgText(text,time) : Muestra un mensaje de sistema y lo desactiva en el tiempo de mundo time
2019-09-02 19:44:17 +00:00
- Fade:<built-in function Fade>
Fade(id,(r,g,b,a),(r,g,b,a),time) : Realiza un fade de rgba a rgba.
2019-09-02 19:44:17 +00:00
- Clear:<built-in function Clear>
Clear(playernumber) : Limpia el scorer completamente.
2019-09-02 19:44:17 +00:00
- SetCinema:<built-in function SetCinema>
SetCinema(id,status,time) : Activa el modo escena de cine.
2019-09-02 19:44:17 +00:00
- SetSpeechText:<built-in function SetSpeechText>
SetSpeechText(text,time,r,g,b) : activa el texto de una conversacion que durar<61> un tiempo espeficico
2019-09-02 19:44:17 +00:00
- SetOnCancel:<built-in function SetOnCancel>
SetOnCancel(playernumber,CancelEvent) : Define la funcion que se ejecutara en el caso del escape.
2019-09-02 19:44:17 +00:00
- Hide:<built-in function Hide>
Hide(playernumber) : Desactiva el scorer.
2019-09-02 19:44:17 +00:00
- SetLabelText:<built-in function SetLabelText>
SetLabelText(text,time) : Muestra un rotulo de sistema y lo desactiva en el tiempo de mundo time
======== [ SWeap ] ========
2019-09-02 19:44:17 +00:00
- SetSWeap:<built-in function SetSWeap>
SetSWeap(numammo,svar,svalue) : Pone un valor cadena de las municiones
2019-09-02 19:44:17 +00:00
- FillPriority:<built-in function FillPriority>
FillPriority() : Inizializa las prioridades de las armas
2019-09-02 19:44:17 +00:00
- GetSAmmo:<built-in function GetSAmmo>
GetSAmmo(numammo,svar) : Obtiene un valor cadena de las municiones
2019-09-02 19:44:17 +00:00
- SetFAmmo:<built-in function SetFAmmo>
GetFAmmo(numammo,svar,fvalue) : Pone un valor numerico de las municiones
2019-09-02 19:44:17 +00:00
- InitWeap:<built-in function InitWeap>
InitWeap(num) : Inicializa las armas num es el numero de armas
2019-09-02 19:44:17 +00:00
- GetNWeap:<built-in function GetNWeap>
GetNWeap() : Obtiene el numero de armas en el juego
2019-09-02 19:44:17 +00:00
- GetFAmmo:<built-in function GetFAmmo>
GetFAmmo(numammo,svar) : Obtiene un valor numerico de las municiones
2019-09-02 19:44:17 +00:00
- GetFirstiWeap:<built-in function GetFirstiWeap>
GetFirstiWeap() : Obtiene el arma primera y por defecto
2019-09-02 19:44:17 +00:00
- GetSWeap:<built-in function GetSWeap>
GetSWeap(numWeap,svar) : Obtiene un valor cadena de las municiones
2019-09-02 19:44:17 +00:00
- GetFWeap:<built-in function GetFWeap>
GetFWeap(numWeap,svar) : Obtiene un valor numerico de las municiones
2019-09-02 19:44:17 +00:00
- GetNAmmo:<built-in function GetNAmmo>
GetNAmmo() : Obtiene el numero de municiones en el juego
2019-09-02 19:44:17 +00:00
- NetExec:<built-in function NetExec>
NetExec() : Rutinas de red de los misiles
2019-09-02 19:44:17 +00:00
- SetFWeap:<built-in function SetFWeap>
GetFWeap(numWeap,svar,fvalue) : Pone un valor numerico de las municiones
2019-09-02 19:44:17 +00:00
- InitAmmo:<built-in function InitAmmo>
InitAmmo(num) : Inicializa las municiones del juego
2019-09-02 19:44:17 +00:00
- SetSAmmo:<built-in function SetSAmmo>
SetSAmmo(numammo,svar,svalue) : Pone un valor cadena de las municiones
======== [ signal ] ========
2019-09-02 19:44:17 +00:00
- default_int_handler:<built-in function default_int_handler>
default_int_handler(...)
The default handler for SIGINT instated by Python.
It raises KeyboardInterrupt.
- SIGABRT: 22
- SIGTERM: 15
- SIGILL: 4
2019-09-02 19:44:17 +00:00
- getsignal:<built-in function getsignal>
getsignal(sig) -> action
Return the current action for the given signal. The return value can be:
SIG_IGN -- if the signal is being ignored
SIG_DFL -- if the default action for the signal is in effect
None -- if an unknown handler is in effect
anything else -- the callable Python object used as a handler
- SIGINT: 2
2019-09-02 19:44:17 +00:00
- signal:<built-in function signal>
signal(sig, action) -> action
Set the action for the given signal. The action can be SIG_DFL,
SIG_IGN, or a callable Python object. The previous action is
returned. See getsignal() for possible return values.
*** IMPORTANT NOTICE ***
A signal handler function is called with two arguments:
the first is the signal number, the second is the interrupted stack frame.
- SIGFPE: 8
- SIG_IGN: 1
- NSIG: 23
- SIGSEGV: 11
- SIG_DFL: 0
======== [ SFX ] ========
2019-09-02 19:44:17 +00:00
- CharacterConversor:<built-in function CharacterConversor>
FXCharacterConversor(CharacterName, ConversorName, phase) : Conversor de Personajes.
2019-09-02 19:44:17 +00:00
- BishopSellLife:<built-in function BishopSellLife>
FXBishopSellLife(AttackerName, AttackedName) : Efecto de dar vida (de Attacker [Bishop <20> NULL] a Attacked[Usuario]).
2019-09-02 19:44:17 +00:00
- CharacterConversion:<built-in function CharacterConversion>
FXCharacterConversion(AttackerName, AttackedName, time) : Conversi<73>n de Personajes.
2019-09-02 19:44:17 +00:00
- EmbeddedSet:<built-in function EmbeddedSet>
FXEmbeddedSet(EntityName, FXType) : Asigna el controlador de efectos embedidos.
2019-09-02 19:44:17 +00:00
- ShipExplosion:<built-in function ShipExplosion>
ShipExplosion(V3D Pos, V3D Vel, float scale, float time, float nflames, bool bcolision) : Explosi<73>n de la nave.
2019-09-02 19:44:17 +00:00
- MoneyTransfer:<built-in function MoneyTransfer>
FXMoneyTransfer(EntityFrom, EntityTo, Time) : Transferencia de dinero
======== [ _locale ] ========
2019-09-02 19:44:17 +00:00
- strcoll:<built-in function strcoll>
string,string -> int. Compares two strings according to the locale.
- LC_TIME: 5
- Error: 'locale.Error'
- LC_ALL: 0
- LC_CTYPE: 2
2019-09-02 19:44:17 +00:00
- strxfrm:<built-in function strxfrm>
string -> string. Returns a string that behaves for cmp locale-aware.
2019-09-02 19:44:17 +00:00
- localeconv:<built-in function localeconv>
() -> dict. Returns numeric and monetary locale-specific parameters.
- LC_MONETARY: 3
2019-09-02 19:44:17 +00:00
- setlocale:<built-in function setlocale>
(integer,string=None) -> string. Activates/queries locale processing.
- LC_COLLATE: 1
- CHAR_MAX: 127
- LC_NUMERIC: 4
======== [ SVec ] ========
2019-09-02 19:44:17 +00:00
- Mod:<built-in function Mod>
res Mod(v1) : Devuelve el modulo de un vector
2019-09-02 19:44:17 +00:00
- Norm:<built-in function Norm>
res Norm(v1) : Normaliza un vector
2019-09-02 19:44:17 +00:00
- Prod:<built-in function Prod>
res Prod(v1,f) : multiplica un vector por un numero
2019-09-02 19:44:17 +00:00
- ModSqr:<built-in function ModSqr>
res ModSqr(v1) : Devuelve el modulo (al cuadrado) de un vector
2019-09-02 19:44:17 +00:00
- DProd:<built-in function DProd>
res DProd(v1,v2) : Calcula el producto escalar de dos vectores
2019-09-02 19:44:17 +00:00
- Add:<built-in function Add>
res Add(v1,v2) : suma dos vectores 3D
2019-09-02 19:44:17 +00:00
- CProd:<built-in function CProd>
vRes CProd(v1,v2) : Calcula el producto vectorial de dos vectores
2019-09-02 19:44:17 +00:00
- NormAng:<built-in function NormAng>
rAng NormAng(Ang) : Normaliza un angulo
2019-09-02 19:44:17 +00:00
- Sub:<built-in function Sub>
res Sub(v1,v2) : Resta dos vectores 3D
2019-09-02 19:44:17 +00:00
- GetRotAng:<built-in function GetRotAng>
AngX,AngY GetRotAng(vec) : Obtiene la rotacion de un vector
2019-09-02 19:44:17 +00:00
- Rotate3D:<built-in function Rotate3D>
res Rotate3D(src,rot) : Rota un vector
2019-09-02 19:44:17 +00:00
- GetAngle:<built-in function GetAngle>
Ang GetAngle(vec) : Obtiene el <20>ngulo entre dos vectores
======== [ new ] ========
2019-09-02 19:44:17 +00:00
- module:<built-in function module>
Create a module object from (NAME).
2019-09-02 19:44:17 +00:00
- classobj:<built-in function classobj>
Create a class object from (NAME, BASE_CLASSES, DICT).
2019-09-02 19:44:17 +00:00
- instancemethod:<built-in function instancemethod>
Create a instance method object from (FUNCTION, INSTANCE, CLASS).
2019-09-02 19:44:17 +00:00
- code:<built-in function code>
Create a code object from (ARGCOUNT, NLOCALS, STACKSIZE, FLAGS, CODESTRING, CONSTANTS, NAMES, VARNAMES, FILENAME, NAME, FIRSTLINENO, LNOTAB).
2019-09-02 19:44:17 +00:00
- instance:<built-in function instance>
Create an instance object from (CLASS, DICT) without calling its __init__().
2019-09-02 19:44:17 +00:00
- function:<built-in function function>
Create a function object from (CODE, GLOBALS, [NAME, ARGDEFS]).
======== [ SSound ] ========
2019-09-02 19:44:17 +00:00
- StopVoice:<built-in function StopVoice>
StopVoice(channel) : stop a voice on the specified channel.
2019-09-02 19:44:17 +00:00
- Play:<built-in function Play>
Play('soundname'[,vol,pan]) : ejecuta un sonido con el volumen deseado.
2019-09-02 19:44:17 +00:00
- PlaySound:<built-in function PlaySound>
PlaySound((x,y,z),'soundname',vol[,AttenIni,AttenEnd,Doppler]) : ejecuta un sonido en la posicion dada con el volumen deseado.
2019-09-02 19:44:17 +00:00
- SetMusic:<built-in function SetMusic>
SetMusic('soundname'[,vol]) : set the file of the background music.
2019-09-02 19:44:17 +00:00
- LoadSound:<built-in function LoadSound>
LoadSound(soundfile) : carga un sonido desde un archivo empaquetado.
2019-09-02 19:44:17 +00:00
- OpenVoice:<built-in function OpenVoice>
OpenVoice(name,channel) : Preload a voice on a channel.
2019-09-02 19:44:17 +00:00
- StopAllSounds:<built-in function StopAllSounds>
SCRAP_StopAllSounds() : para todos los sonidos.
2019-09-02 19:44:17 +00:00
- SetMusicVolume:<built-in function SetMusicVolume>
SetMusicVolume(vel) : set the volume of the background music.
2019-09-02 19:44:17 +00:00
- UsePS:<built-in function UsePS>
UsePS(Name) : Crea un nuevo sonido posicional
2019-09-02 19:44:17 +00:00
- SetVoiceString:<built-in function SetVoiceString>
SetVoiceString(channel,volume) : set string user data of a voice.
2019-09-02 19:44:17 +00:00
- VoiceRemain:<built-in function VoiceRemain>
VoiceRemain(channel,time) : return the remaining time of a voice.
2019-09-02 19:44:17 +00:00
- CreatePS:<built-in function CreatePS>
CreatePS(Name) : Crea un nuevo sonido posicional
2019-09-02 19:44:17 +00:00
- SetPS:<built-in function SetPS>
SetPS(name,varname,value) : Modifica el valor de una variable de un sonido posicional
2019-09-02 19:44:17 +00:00
- PlayVoice:<built-in function PlayVoice>
PlayVoice(channel) : play a voice loaded on the specified channel.
2019-09-02 19:44:17 +00:00
- DeleteAllSounds:<built-in function DeleteAllSounds>
SCRAP_DeleteAllSounds() : elimina todos los sonidos.
2019-09-02 19:44:17 +00:00
- GetPS:<built-in function GetPS>
GetPS(name,varname) : Obtiene el valor de una variable de un sonido posicional
2019-09-02 19:44:17 +00:00
- SetVoiceVolume:<built-in function SetVoiceVolume>
SetVoiceVolume(channel,volume) : set the volume of a voice.
======== [ sys ] ========
- hexversion: 17105648
2019-09-02 19:44:17 +00:00
- setcheckinterval:<built-in function setcheckinterval>
setcheckinterval(n)
Tell the Python interpreter to check for asynchronous events every
n instructions. This also affects how often thread switches occur.
2019-09-02 19:44:17 +00:00
- exc_info:<built-in function exc_info>
exc_info() -> (type, value, traceback)
Return information about the exception that is currently being handled.
This should be called from inside an except clause only.
2019-09-02 19:44:17 +00:00
- stderr:<__main__.ConsoleErrorOutput instance at 1359621c>
- exit:<built-in function exit>
exit([status])
Exit the interpreter by raising SystemExit(status).
If the status is omitted or None, it defaults to zero (i.e., success).
If the status numeric, it will be used as the system exit status.
If it is another kind of object, it will be printed and the system
exit status will be one (i.e., failure).
- version: '1.5.2 (#0, Oct 13 2004, 11:28:15) [MSC 32 bit (Intel)]'
- platform: 'win32'
2019-09-02 19:44:17 +00:00
- modules: {'HangarTab': <module 'HangarTab' from 'PACK: ShipEdit/HangarTab.pyc'>, 'Cloud': <module 'Cloud' from 'PACK: Weapons/Cloud.pyc'>, 'marshal': <module 'marshal' (built-in)>, 'Dtritus': <module 'Dtritus' from 'PACK: Chars/Dtritus.pyc'>, 'Parking': <module 'Parking' from 'PACK: Vehicles/Parking.pyc'>, 'SScorer': <module 'SScorer' (built-in)>, 'SWeap': <module 'SWeap' (built-in)>, 'dbg': <module 'dbg' from '.\lib\dbg.pyc'>, 'Scene': <module 'Scene' from 'PACK: Missions/Scene.pyc'>, 'RacerScorer': <module 'RacerScorer' from 'PACK: Scorer/RacerScorer.pyc'>, 'signal': <module 'signal' (built-in)>, 'Tesla': <module 'Tesla' from 'PACK: Weapons/Tesla.pyc'>, 'SFX': <module 'SFX' (built-in)>, 'OutMap': <module 'OutMap' from 'PACK: Vehicles/OutMap.pyc'>, '_locale': <module '_locale' (built-in)>, 'Inferno': <module 'Inferno' from 'PACK: Weapons/Inferno.pyc'>, 'SVec': <module 'SVec' (built-in)>, 'PhoneCab': <module 'PhoneCab' from 'PACK: Missions/PhoneCab.pyc'>, 'new': <module 'new' (built-in)>, 'PCMenu': <module 'PCMenu' from 'PACK: Scorer/PCMenu.pyc'>, 'ShipEdit': <module 'ShipEdit' from 'PACK: ShipEdit/ShipEdit.pyc'>, 'VehiclesNPC': <module 'VehiclesNPC' from 'PACK: Vehicles/VehiclesNPC.pyc'>, 'SSound': <module 'SSound' (built-in)>, 'RaceMaker': <module 'RaceMaker' from 'PACK: Missions/RaceMaker.pyc'>, 'Accelerator': <module 'Accelerator' from 'PACK: Vehicles/Accelerator.pyc'>, 'sys': <module 'sys' (built-in)>, 'Elevator': <module 'Elevator' from 'PACK: Missions/Elevator.pyc'>, 'Vulcan': <module 'Vulcan' from 'PACK: Weapons/Vulcan.pyc'>, 'SaveGame': <module 'SaveGame' from 'PACK: SaveGame.pyc'>, 'Map': <module 'Map' from 'PACK: Map.pyc'>, 'Vehicles': <module 'Vehicles' from 'PACK: Vehicles/Vehicles.pyc'>, 'Alarm': <module 'Alarm' from 'PACK: Missions/Alarm.pyc'>, 'Items': <module 'Items' from 'PACK: Items.pyc'>, 'QuickConsole': <module 'QuickConsole' from 'D:\Games\Deep Silver\Scrapland\Bin\QuickConsole.pyc'>, 'Challenge': <module 'Challenge' from 'PACK: Missions/Challenge.pyc'>, 'Metro': <module 'Metro' from 'PACK: Missions/Metro.pyc'>, 'string': <module 'string' from 'PACK: Python/string.pyc'>, 'Laser': <module 'Laser' from 'PACK: Weapons/Laser.pyc'>, 'MapSnd': <module 'MapSnd' from 'PACK: MapSnd.pyc'>, 'Devastator': <module 'Devastator' from 'PACK: Weapons/Devastator.pyc'>, 'SLogic': <module 'SLogic' (built-in)>, 'Sound': <module 'Sound' from 'PACK: Sound/Sound.pyc'>, 'OutPolice': <module 'OutPolice' from 'PACK: Missions/OutPolice.pyc'>, 'math': <module 'math' (built-in)>, 'MapRace': <module 'MapRace' from 'PACK: MapRace.pyc'>, 'imp': <module 'imp' (built-in)>, 'DtritusSound': <module 'DtritusSound' from 'PACK: Sound/DtritusSound.pyc'>, 'ATPC': <module 'ATPC' from 'PACK: Weapons/ATPC.pyc'>, 'Scorer': <module 'Scorer' from 'PACK: Scorer/Scorer.pyc'>, 'Traffic': <module 'Traffic' from 'PACK: Missions/Traffic.pyc'>, 'SInput': <module 'SInput' (built-in)>, 'MakeChar': <module 'MakeChar' from 'PACK: Chars/MakeChar.pyc'>, 'OutSound': <module 'OutSound' from 'PACK: Sound/OutSound.pyc'>, 'SNet': <module 'SNet' (built-in)>, 'CharAct': <module 'CharAct' from 'PACK: Chars/CharAct.pyc'>, 'SputnikSound': <module 'SputnikSound' from 'PACK: Sound/SputnikSound.pyc'>, 'DoorSound': <module 'DoorSound' from 'PACK: Sound/DoorSound.pyc'>, 'Chars': <module 'Chars' from 'PACK: Chars/Chars.pyc'>, 'errno': <module 'errno' (built-in)>, 'Fx': <module 'Fx' from 'PACK: FX/Fx.pyc'>, 'MisItems': <module 'MisItems' from 'PACK: Missions/MisItems.pyc'>, 'strop': <module 'strop' (built-in)>, 'SAI': <module 'SAI' (built-in)>, 'Sonic': <module 'Sonic' from 'PACK: Weapons/Sonic.pyc'>, 'regex': <module 'regex' (built-in)>, '__builtin__': <module '__builtin__' (built-in)>, 'Swarm': <module 'Swarm' from 'PACK: Weapons/Swarm.pyc'>, 'Net': <module 'Net' from 'PACK: Net/Net.pyc'>, 'ShipMaker': <module 'ShipMaker' from 'PACK: Vehicles/ShipMaker.pyc'>, '__main__': <module '__main__' (built-in)>, 'Doors': <module 'Doors' from 'PACK: Missions/Doors.pyc'>, 'SputnikInterface': <module 'SputnikInterface' from 'PACK: ShipEdit/SputnikInterface.pyc'>, 'Speech': <module 'S
- stdin: <open file '<stdin>', mode 'r' at 1359d030>
- exec_prefix: ''
- copyright: 'Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam'
2019-09-02 19:44:17 +00:00
- __stderr__: <open file '<stderr>', mode 'w' at 1359d0a0>
- executable: 'D:\\Games\\Deep Silver\\Scrapland\\Bin\\Scrap.exe'
2019-09-02 19:44:17 +00:00
- exc_type: None
- builtin_module_names: ('SAI', 'SAct', 'SFX', 'SInput', 'SLogic', 'SNet', 'SScorer', 'SSound', 'SVec', 'SWeap', 'Scrap', '__builtin__', '__main__', '_locale', 'errno', 'imp', 'marshal', 'math', 'new', 'regex', 'signal', 'strop', 'sys')
2019-09-02 19:44:17 +00:00
- __stdin__: <open file '<stdin>', mode 'r' at 1359d030>
- path: ['.\\DLLs', '.\\lib', '.\\lib\\plat-win', '.\\lib\\lib-tk', 'D:\\Games\\Deep Silver\\Scrapland\\Bin', 'Scripts', 'Scripts/Scorer', 'Scripts/ShipEdit', 'Scripts/Python', 'Scripts/Weapons', 'Scripts/Vehicles', 'Scripts/Net', 'Scripts/FX', 'Scripts/Sound', 'Scripts/Chars', 'Scripts/Missions', 'Scripts/SuperDeals', 'Scripts/Split', 'Levels/Outskirts/Scripts', '.\\pylib\\Lib', '.\\pylib\\Libs', '.\\pylib']
- maxint: 2147483647
- prefix: ''
2019-09-02 19:44:17 +00:00
- __stdout__: <open file '<stdout>', mode 'w' at 1359d068>
- setprofile:<built-in function setprofile>
setprofile(function)
Set the profiling function. It will be called on each function call
and return. See the profiler chapter in the library manual.
2019-09-02 19:44:17 +00:00
- settrace:<built-in function settrace>
settrace(function)
Set the global debug tracing function. It will be called on each
function call. See the debugger chapter in the library manual.
2019-09-02 19:44:17 +00:00
- stdout:<__main__.ConsoleOutput instance at 13595b6c>
- getrefcount:<built-in function getrefcount>
getrefcount(object) -> integer
Return the current reference count for the object. This includes the
temporary reference in the argument list, so it is at least 2.
2019-09-02 19:44:17 +00:00
======== [ SLogic ] ========
- IsEnemyActive:<built-in function IsEnemyActive>
int IsEnemyActive() : Indica si hay un enemigo activo, mirando el contenido de la lista de enemigos y en el tr<74>fico.
- ChangeZoneState:<built-in function ChangeZoneState>
void ChangeZoneState(zoneId, state): Pone el estado de una zona de dominaci<63>n
- SetOnFloor:<built-in function SetOnFloor>
void SetOnFloor(Entity) : Pone una entidad en el suelo
- ChangeBatonState:<built-in function ChangeBatonState>
void ChangeBatonState(pos, state): Actualiza el estado del testigo en el modo dominaci<63>n
- SetShipToRegenerate:<built-in function SetShipToRegenerate>
void SetShipToRegenerate(shipName, regSpeed,regEndSpeed): Pone una nave a regenerarse
- SetDominationZones:<built-in function SetDominationZones>
void SetDominationZones(zonesList): Establece la lista de posiciones de las zonas de dominaci<63>n en la super apuesta de dominaci<63>n
- Flash:<built-in function Flash>
void Flash((x,y,z),radius) : Pone una entidad en el suelo
- GetNearestShip:<built-in function GetNearestShip>
Name GetNearestShip(pos) : Cicla por varias listas y devuelve la nave m<>s cercana a la posici<63>n indicada
- SendSentinelToWatch:<built-in function SendSentinelToWatch>
void SendSentinelToWatch(Pos) : Envia a un centinela a inspeccionar una posicion
- UpdateTauntEndTime:<built-in function UpdateTauntEndTime>
void UpdateTauntEndTime(time): Tiempo final del taunt
- GearAttack:<built-in function GearAttack>
void GearAttack(Entity) : Envia a un Gear a atacar a una entidad
- SetCharState:<built-in function SetCharState>
void SetCharState(entityName, state, entityTargetName) : Pone a una entidad en un estado de logica y un target determinados
2019-09-02 19:44:17 +00:00
======== [ math ] ========
- fmod:<built-in function fmod>
fmod(x,y)
2019-09-02 19:44:17 +00:00
Return x % y.
- log10:<built-in function log10>
log10(x)
2019-09-02 19:44:17 +00:00
Return the base-10 logarithm of x.
- pi: 3.14159274101
- acos:<built-in function acos>
acos(x)
2019-09-02 19:44:17 +00:00
Return the arc cosine of x.
- sqrt:<built-in function sqrt>
sqrt(x)
2019-09-02 19:44:17 +00:00
Return the square root of x.
- modf:<built-in function modf>
modf(x)
2019-09-02 19:44:17 +00:00
Return the fractional and integer parts of x. Both results carry the sign
of x. The integer part is returned as a real.
- sin:<built-in function sin>
sin(x)
2019-09-02 19:44:17 +00:00
Return the sine of x.
- atan2:<built-in function atan2>
atan2(y, x)
2019-09-02 19:44:17 +00:00
Return atan(y/x).
- frexp:<built-in function frexp>
frexp(x)
2019-09-02 19:44:17 +00:00
Return the matissa and exponent for x. The mantissa is positive.
- exp:<built-in function exp>
exp(x)
2019-09-02 19:44:17 +00:00
Return e raised to the power of x.
- asin:<built-in function asin>
asin(x)
2019-09-02 19:44:17 +00:00
Return the arc sine of x.
- floor:<built-in function floor>
floor(x)
2019-09-02 19:44:17 +00:00
Return the floor of x as a real.
- fabs:<built-in function fabs>
fabs(x)
2019-09-02 19:44:17 +00:00
Return the absolute value of the real x.
- log:<built-in function log>
log(x)
2019-09-02 19:44:17 +00:00
Return the natural logarithm of x.
- e: 2.71828174591
- cos:<built-in function cos>
cos(x)
2019-09-02 19:44:17 +00:00
Return the cosine of x.
- pow:<built-in function pow>
pow(x,y)
2019-09-02 19:44:17 +00:00
Return x**y.
- tanh:<built-in function tanh>
tanh(x)
2019-09-02 19:44:17 +00:00
Return the hyperbolic tangent of x.
- tan:<built-in function tan>
tan(x)
2019-09-02 19:44:17 +00:00
Return the tangent of x.
- sinh:<built-in function sinh>
sinh(x)
2019-09-02 19:44:17 +00:00
Return the hyperbolic sine of x.
- hypot:<built-in function hypot>
hypot(x,y)
2019-09-02 19:44:17 +00:00
Return the Euclidean distance, sqrt(x*x + y*y).
- ldexp:<built-in function ldexp>
ldexp_doc(x, i)
2019-09-02 19:44:17 +00:00
Return x * (2**i).
- cosh:<built-in function cosh>
cosh(x)
2019-09-02 19:44:17 +00:00
Return the hyperbolic cosine of x.
- ceil:<built-in function ceil>
ceil(x)
2019-09-02 19:44:17 +00:00
Return the ceiling of x as a real.
- atan:<built-in function atan>
atan(x)
2019-09-02 19:44:17 +00:00
Return the arc tangent of x.
2019-09-02 19:44:17 +00:00
======== [ imp ] ========
- C_BUILTIN: 6
- C_EXTENSION: 3
- init_frozen:<built-in function init_frozen>
- SEARCH_ERROR: 0
- load_module:<built-in function load_module>
load_module(name, file, filename, (suffix, mode, type)) -> module
Load a module, given information returned by find_module().
The module name must include the full package name, if any.
- new_module:<built-in function new_module>
new_module(name) -> module
Create a new module. Do not enter it in sys.modules.
The module name must include the full package name, if any.
- is_frozen:<built-in function is_frozen>
- find_module:<built-in function find_module>
find_module(name, [path]) -> (file, filename, (suffix, mode, type))
Search for a module. If path is omitted or None, search for a
built-in, frozen or special module and continue search in sys.path.
The module name cannot contain '.'; to search for a submodule of a
package, pass the submodule name and the package's __path__.
- load_compiled:<built-in function load_compiled>
- PY_FROZEN: 7
- is_builtin:<built-in function is_builtin>
- get_magic:<built-in function get_magic>
get_magic() -> string
Return the magic number for .pyc or .pyo files.
- PKG_DIRECTORY: 5
- load_package:<built-in function load_package>
- init_builtin:<built-in function init_builtin>
- PY_CODERESOURCE: 8
- PY_RESOURCE: 4
- load_dynamic:<built-in function load_dynamic>
- get_suffixes:<built-in function get_suffixes>
get_suffixes() -> [(suffix, mode, type), ...]
Return a list of (suffix, mode, type) tuples describing the files
that find_module() looks for.
- load_source:<built-in function load_source>
- PY_COMPILED: 2
- get_frozen_object:<built-in function get_frozen_object>
- PY_SOURCE: 1
2019-09-02 19:44:17 +00:00
======== [ SInput ] ========
- Rumble:<built-in function Rumble>
Rumble(iPlayer,Left,Right,Time) : Inicializa el rumble de un pad.
- GetActionSet:<built-in function GetActionSet>
string GetActionSet() : Obtiene el set de acciones Actual...
- SetInputFunc:<built-in function SetInputFunc>
SetInputFunc(iPlayer,modfunc) : agrega la funcion callback de entrada modfunc(iPlayer,string)
- GetCursorChar:<built-in function GetCursorChar>
GetCursorChar(iPlayer) : Obtiene el (x,y,caracter) que indican el estado del cursor.
- GetDefinedEntry:<built-in function GetDefinedEntry>
value GetDefinedEntry(iPlayer,ActionSet,Action,Device) : obtiene una cadena con la primera definicion del control que encuentre
- AbortListenToDefine:<built-in function AbortListenToDefine>
AbortListenToDefine() : Aborta la redefinicion en curso
- ResetToDefault:<built-in function ResetToDefault>
ResetToDefault(iPlayer,ActionSet,Action) : Pone todas las entradas de los controles a valores por defecto.
- ResetToSplit:<built-in function ResetToSplit>
ResetToSplit() : Resetea el sistema de entrada de datos para iniciar el modo split screen.
- GetDefinedList:<built-in function GetDefinedList>
GetDefinedList(iPlayer,ActionSet,Action) : obtiene una cadena con la definicion de controles
- AssingEntry:<built-in function AssingEntry>
int AssingEntry(Device,Entry,Player,ActionSet,Action) : Asigna una entrada... retorna 0 o el Nro de parametro erroneo
- CheckPadButton:<built-in function CheckPadButton>
CheckPadButton() : Chequea el estado de un determinado bot<6F>n del pad.
- ListenToDefine:<built-in function ListenToDefine>
ListenToDefine(iPlayer,ActionSet,Action,LaFunction) : Espera a que el usuario mueva un control y lo redefine
- SetString:<built-in function SetString>
SetString(iPlayer,String) : Modifica la cadena de entrada de texto.
- Bind:<built-in function Bind>
Bind(iPlayer,ActionSet,Action) : obtiene una cadena con la definicion de controles
- GetEntry:<built-in function GetEntry>
(Player,Action) GetEntry(Device,Entry,ActionSet) : Obtiene una entrada, (0,) si vacia
- GetVirtualKeyboard:<built-in function GetVirtualKeyboard>
GetVirtualKeyboard() : Obtiene el (W,H,Board) que son datos del keyboard virtual.
- GetString:<built-in function GetString>
GetString(iPlayer) : Obtiene la cadena de entrada de texto.
- SetVirtualKeyboard:<built-in function SetVirtualKeyboard>
SetVirtualKeyboard(tipo de teclado) : Cambia el teclado virtual
- SetActionSet:<built-in function SetActionSet>
SetActionSet(string name) : Pone el set de acciones requerido...
- ClearDefinedList:<built-in function ClearDefinedList>
ClearDefinedList(iPlayer,ActionSet,Action) : Elimina todas las entradas de un control.
2019-09-02 19:44:17 +00:00
======== [ SNet ] ========
- SendUsrString:<built-in function SendUsrString>
SendUsrString(id,string) : -1 significa a todo el mundo en modo servidor, para cliente id se ignora
- InitServer:<built-in function InitServer>
InitServer(LevelPath,MaxPlayers,ipport) : Intenta inicializar el servidor.
- GetBotName:<built-in function GetBotName>
GetBotName() : Obtiene un nombre valido de entidad jugador manejada por el servidor (bot o jugador local)
- CloseServer:<built-in function CloseServer>
CloseServer(LevelPath) : Acaba el servidor y carga un nivel.
- IsClient:<built-in function IsClient>
IsClient() : 1 si esta activado el sistema cliente
NOTA: Scrap.GetNetFlags() tiene el flag cliente activado
si la coneccion se hizo efectiva
- ServerChangeLevel:<built-in function ServerChangeLevel>
ServerChangeLevel(resource name) : carga el siguiente nivel.
- DoneBrowser:<built-in function DoneBrowser>
DoneBrowser() : Cierra el browser de red local.
- InitClient:<built-in function InitClient>
InitClient(ipAddress,ipport) : Inicia el proceso de coneccion con el servidor.
- CloseClient:<built-in function CloseClient>
CloseClient(LevelPath) : Acaba el cliente y carga un nivel.
- IsServer:<built-in function IsServer>
IsServer() : 1 si esta activado el sistema servidor
NOTA: es para depuracion, mejor use Scrap.GetNetFlags()
- GetObjName:<built-in function GetObjName>
GetObjName() : Obtiene un nombre valido de Objeto cualesquiera.
- GetMyClientShip:<built-in function GetMyClientShip>
GetMyClientShip() : retorna el nombre de su nave.
- ModifyUsrData:<built-in function ModifyUsrData>
ModifyUsrData(ClientId) :
modifica desde el servidor los datos locales.
- AddResource:<built-in function AddResource>
resourceid AddResource(resource name) : intenta agregar un recurso si este no existe. -1 si el pool esta lleno
- SendChatString:<built-in function SendChatString>
SendChatString(id,string) : -1 significa a todo el mundo en modo servidor, para cliente id se ignora
- GetClientData:<built-in function GetClientData>
GetClientData() : Obtiene la tupla (ipaddress,ipport)
- InitBrowser:<built-in function InitBrowser>
InitBrowser(port) : Inicializa el browser de red local.
- SendMasterString:<built-in function SendMasterString>
SendMasterString(string) : envia una cadena al master. Si retorna cero no hay master.
- PingInetSvrs:<built-in function PingInetSvrs>
PingInetSvrs() : 1 exitoso. revisa el estado de los servidores en internet. Se realiza despues de browse.
- IsMaster:<built-in function IsMaster>
IsMaster() : 1 si esta activado el sistema cliente
NOTA: Scrap.GetNetFlags() tiene el flag cliente activado
si la coneccion se hizo efectiva
- GetServerData:<built-in function GetServerData>
GetServerData() : Obtiene la tupla (Hostname,ipaddress,ipport)
======== [ errno ] ========
- ENODEV: 19
- EHOSTUNREACH: 10065
- EUSERS: 10068
- WSAENETDOWN: 10050
- WSAEAFNOSUPPORT: 10047
- WSAEHOSTUNREACH: 10065
- WSAELOOP: 10062
- WSAESTALE: 10070
- ENOSYS: 40
- EINVAL: 22
- WSAEINTR: 10004
- WSAEUSERS: 10068
- EINTR: 4
- WSANOTINITIALISED: 10093
- EPROTOTYPE: 10041
- ENOBUFS: 10055
- WSAENOPROTOOPT: 10042
- EREMOTE: 10071
- WSAEFAULT: 10014
- ECHILD: 10
- ELOOP: 10062
- EXDEV: 18
- EPROTONOSUPPORT: 10043
- ESRCH: 3
- WSAENOTSOCK: 10038
- EAFNOSUPPORT: 10047
- WSAEPROCLIM: 10067
- EHOSTDOWN: 10064
- EPFNOSUPPORT: 10046
- ENOPROTOOPT: 10042
- EBUSY: 16
- errorcode: {29: 'ESPIPE', 20: 'ENOTDIR', 1: 'EPERM', 40: 'ENOSYS', 16: 'EBUSY', 25: 'ENOTTY', 10101: 'WSAEDISCON', 10093: 'WSANOTINITIALISED', 10092: 'WSAVERNOTSUPPORTED', 10091: 'WSASYSNOTREADY', 10071: 'WSAEREMOTE', 10070: 'WSAESTALE', 10069: 'WSAEDQUOT', 10068: 'WSAEUSERS', 10067: 'WSAEPROCLIM', 10066: 'WSAENOTEMPTY', 10065: 'WSAEHOSTUNREACH', 10064: 'WSAEHOSTDOWN', 10063: 'WSAENAMETOOLONG', 10062: 'WSAELOOP', 10061: 'WSAECONNREFUSED', 10060: 'WSAETIMEDOUT', 10059: 'WSAETOOMANYREFS', 10058: 'WSAESHUTDOWN', 10057: 'WSAENOTCONN', 10056: 'WSAEISCONN', 10055: 'WSAENOBUFS', 10054: 'WSAECONNRESET', 10053: 'WSAECONNABORTED', 10052: 'WSAENETRESET', 10051: 'WSAENETUNREACH', 10050: 'WSAENETDOWN', 10049: 'WSAEADDRNOTAVAIL', 10048: 'WSAEADDRINUSE', 10047: 'WSAEAFNOSUPPORT', 10046: 'WSAEPFNOSUPPORT', 10045: 'WSAEOPNOTSUPP', 10044: 'WSAESOCKTNOSUPPORT', 10043: 'WSAEPROTONOSUPPORT', 10042: 'WSAENOPROTOOPT', 10041: 'WSAEPROTOTYPE', 10040: 'WSAEMSGSIZE', 10039: 'WSAEDESTADDRREQ', 10038: 'WSAENOTSOCK', 10037: 'WSAEALREADY', 10036: 'WSAEINPROGRESS', 10035: 'WSAEWOULDBLOCK', 42: 'EILSEQ', 41: 'ENOTEMPTY', 10024: 'WSAEMFILE', 39: 'ENOLCK', 10022: 'WSAEINVAL', 36: 'EDEADLOCK', 34: 'ERANGE', 33: 'EDOM', 32: 'EPIPE', 31: 'EMLINK', 10014: 'WSAEFAULT', 10013: 'WSAEACCES', 28: 'ENOSPC', 27: 'EFBIG', 10009: 'WSAEBADF', 24: 'EMFILE', 23: 'ENFILE', 22: 'EINVAL', 21: 'EISDIR', 10004: 'WSAEINTR', 19: 'ENODEV', 18: 'EXDEV', 17: 'EEXIST', 10000: 'WSABASEERR', 14: 'EFAULT', 13: 'EACCES', 12: 'ENOMEM', 11: 'EAGAIN', 10: 'ECHILD', 9: 'EBADF', 8: 'ENOEXEC', 7: 'E2BIG', 6: 'ENXIO', 5: 'EIO', 38: 'ENAMETOOLONG', 3: 'ESRCH', 2: 'ENOENT', 30: 'EROFS', 4: 'EINTR'}
- ESTALE: 10070
- WSAEREMOTE: 10071
- ERANGE: 34
- ESPIPE: 29
- WSAEHOSTDOWN: 10064
- EWOULDBLOCK: 10035
- WSAETOOMANYREFS: 10059
- EBADF: 9
- EISCONN: 10056
- EIO: 5
- ETIMEDOUT: 10060
- ENOSPC: 28
- WSAEBADF: 10009
- ENETUNREACH: 10051
- EALREADY: 10037
- ENETDOWN: 10050
- WSAECONNRESET: 10054
- EACCES: 13
- WSAENAMETOOLONG: 10063
- EDOM: 33
- EILSEQ: 42
- WSAETIMEDOUT: 10060
- ENOTDIR: 20
- WSAECONNABORTED: 10053
- WSAEACCES: 10013
- EPERM: 1
- WSAENOBUFS: 10055
- ENETRESET: 10052
- ENOTEMPTY: 41
- ECONNREFUSED: 10061
- EISDIR: 21
- WSAEDISCON: 10101
- EROFS: 30
- WSABASEERR: 10000
- EADDRNOTAVAIL: 10049
- EDESTADDRREQ: 10039
- WSAEMSGSIZE: 10040
- WSAENOTEMPTY: 10066
- WSAEPROTOTYPE: 10041
- WSAEDESTADDRREQ: 10039
- WSAEADDRINUSE: 10048
- WSAEADDRNOTAVAIL: 10049
- WSAEALREADY: 10037
- WSAEPROTONOSUPPORT: 10043
- WSASYSNOTREADY: 10091
- WSAESHUTDOWN: 10058
- ENFILE: 23
- ESHUTDOWN: 10058
- EMSGSIZE: 10040
- ENOENT: 2
- EEXIST: 17
- EDQUOT: 10069
- WSAEPFNOSUPPORT: 10046
- WSAEOPNOTSUPP: 10045
- WSAEISCONN: 10056
- WSAEDQUOT: 10069
- WSAEWOULDBLOCK: 10035
- WSAENETUNREACH: 10051
- EFAULT: 14
- EFBIG: 27
- EDEADLK: 36
- ENOTCONN: 10057
- WSAENETRESET: 10052
- WSAENOTCONN: 10057
- ENOLCK: 39
- ECONNABORTED: 10053
- WSAEINVAL: 10022
- WSAEINPROGRESS: 10036
- ENOMEM: 12
- ENOTSOCK: 10038
- WSAEMFILE: 10024
- ENOEXEC: 8
- EMLINK: 31
- ECONNRESET: 10054
- WSAESOCKTNOSUPPORT: 10044
- EADDRINUSE: 10048
- WSAVERNOTSUPPORTED: 10092
- EAGAIN: 11
- ENAMETOOLONG: 38
- ENOTTY: 25
- EOPNOTSUPP: 10045
- ESOCKTNOSUPPORT: 10044
- EDEADLOCK: 36
- ETOOMANYREFS: 10059
- WSAECONNREFUSED: 10061
- EMFILE: 24
- EPIPE: 32
- EINPROGRESS: 10036
- ENXIO: 6
- E2BIG: 7
======== [ strop ] ========
2019-09-02 19:44:17 +00:00
- translate:<built-in function translate>
translate(s,table [,deletechars]) -> string
Return a copy of the string s, where all characters occurring
in the optional argument deletechars are removed, and the
remaining characters have been mapped through the given
translation table, which must be a string of length 256.
2019-09-02 19:44:17 +00:00
- rstrip:<built-in function rstrip>
rstrip(s) -> string
Return a copy of the string s with trailing whitespace removed.
2019-09-02 19:44:17 +00:00
- maketrans:<built-in function maketrans>
maketrans(frm, to) -> string
Return a translation table (a string of 256 bytes long)
suitable for use in string.translate. The strings frm and to
must be of the same length.
2019-09-02 19:44:17 +00:00
- splitfields:<built-in function splitfields>
split(str [,sep [,maxsplit]]) -> list of strings
splitfields(str [,sep [,maxsplit]]) -> list of strings
Return a list of the words in the string s, using sep as the
delimiter string. If maxsplit is nonzero, splits into at most
maxsplit words If sep is not specified, any whitespace string
is a separator. Maxsplit defaults to 0.
(split and splitfields are synonymous)
2019-09-02 19:44:17 +00:00
- split:<built-in function split>
split(str [,sep [,maxsplit]]) -> list of strings
splitfields(str [,sep [,maxsplit]]) -> list of strings
Return a list of the words in the string s, using sep as the
delimiter string. If maxsplit is nonzero, splits into at most
maxsplit words If sep is not specified, any whitespace string
is a separator. Maxsplit defaults to 0.
(split and splitfields are synonymous)
2019-09-02 19:44:17 +00:00
- rfind:<built-in function rfind>
rfind(s, sub [,start [,end]]) -> int
Return the highest index in s where substring sub is found,
such that sub is contained within s[start,end]. Optional
arguments start and end are interpreted as in slice notation.
Return -1 on failure.
2019-09-02 19:44:17 +00:00
- expandtabs:<built-in function expandtabs>
expandtabs(string, [tabsize]) -> string
Expand tabs in a string, i.e. replace them by one or more spaces,
depending on the current column and the given tab size (default 8).
The column number is reset to zero after each newline occurring in the
string. This doesn't understand other non-printing characters.
2019-09-02 19:44:17 +00:00
- atof:<built-in function atof>
atof(s) -> float
Return the floating point number represented by the string s.
2019-09-02 19:44:17 +00:00
- join:<built-in function join>
join(list [,sep]) -> string
joinfields(list [,sep]) -> string
Return a string composed of the words in list, with
intervening occurences of sep. Sep defaults to a single
space.
(join and joinfields are synonymous)
2019-09-02 19:44:17 +00:00
- lower:<built-in function lower>
lower(s) -> string
Return a copy of the string s converted to lowercase.
2019-09-02 19:44:17 +00:00
- count:<built-in function count>
count(s, sub[, start[, end]]) -> int
Return the number of occurrences of substring sub in string
s[start:end]. Optional arguments start and end are
interpreted as in slice notation.
2019-09-02 19:44:17 +00:00
- find:<built-in function find>
find(s, sub [,start [,end]]) -> in
Return the lowest index in s where substring sub is found,
such that sub is contained within s[start,end]. Optional
arguments start and end are interpreted as in slice notation.
Return -1 on failure.
2019-09-02 19:44:17 +00:00
- capitalize:<built-in function capitalize>
capitalize(s) -> string
Return a copy of the string s with only its first character
capitalized.
2019-09-02 19:44:17 +00:00
- strip:<built-in function strip>
strip(s) -> string
Return a copy of the string s with leading and trailing
whitespace removed.
2019-09-02 19:44:17 +00:00
- atol:<built-in function atol>
atol(s [,base]) -> long
Return the long integer represented by the string s in the
given base, which defaults to 10. The string s must consist
of one or more digits, possibly preceded by a sign. If base
is 0, it is chosen from the leading characters of s, 0 for
octal, 0x or 0X for hexadecimal. If base is 16, a preceding
0x or 0X is accepted. A trailing L or l is not accepted,
unless base is 0.
- lowercase: 'abcdefghijklmnopqrstuvwxyz'
2019-09-02 19:44:17 +00:00
- atoi:<built-in function atoi>
atoi(s [,base]) -> int
Return the integer represented by the string s in the given
base, which defaults to 10. The string s must consist of one
or more digits, possibly preceded by a sign. If base is 0, it
is chosen from the leading characters of s, 0 for octal, 0x or
0X for hexadecimal. If base is 16, a preceding 0x or 0X is
accepted.
2019-09-02 19:44:17 +00:00
- replace:<built-in function replace>
replace (str, old, new[, maxsplit]) -> string
Return a copy of string str with all occurrences of substring
old replaced by new. If the optional argument maxsplit is
given, only the first maxsplit occurrences are replaced.
2019-09-02 19:44:17 +00:00
- swapcase:<built-in function swapcase>
swapcase(s) -> string
Return a copy of the string s with upper case characters
converted to lowercase and vice versa.
- uppercase: 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2019-09-02 19:44:17 +00:00
- lstrip:<built-in function lstrip>
lstrip(s) -> string
Return a copy of the string s with leading whitespace removed.
2019-09-02 19:44:17 +00:00
- joinfields:<built-in function joinfields>
join(list [,sep]) -> string
joinfields(list [,sep]) -> string
Return a string composed of the words in list, with
intervening occurences of sep. Sep defaults to a single
space.
(join and joinfields are synonymous)
- whitespace: '\011\012\013\014\015 '
2019-09-02 19:44:17 +00:00
- upper:<built-in function upper>
upper(s) -> string
Return a copy of the string s converted to uppercase.
======== [ SAI ] ========
2019-09-02 19:44:17 +00:00
- GetStateChar:<built-in function GetStateChar>
GetStateChar(string nameEntity) : Devuelve el estado de la IA del personaje.
2019-09-02 19:44:17 +00:00
- AddVehicleRace:<built-in function AddVehicleRace>
bool AddVehicleRace(cWithLifeEntity *entidad) : Asigna entidad como perteneciente a carrera.
2019-09-02 19:44:17 +00:00
- SetStateVehicle:<built-in function SetStateVehicle>
SetStateVehicle(0, string nameAgent) : Estado sin movimiento ni disparo.
SetStateVehicle(1, float posObjX, float posObjY, float posObjZ, radiusObj, string nameAgent) : Estado alcanzar posici<63>n.
SetStateVehicle(2, string nameObjectiveDin, string nameAgent) : Estado persecuci<63>n enemigo.
SetStateVehicle(3, string nameAgent) : Estado en ruta.
SetStateVehicle(4, string nameAgent) : Estado tr<74>fico.
SetStateVehicle(5, string nameAgent, float distStop) : Estado hu<68>da con parada.
SetStateVehicle(6, float posObjX, float posObjY, float posObjZ, radiusObj, string nameAgent) : Estado alcanzar meta en carrera.
SetStateVehicle(7, string nameObjectiveDin, string nameAgent) : Estado persecuci<63>n.
SetStateVehicle(8, string nameObjectiveDin, string nameAgent) : Estado persecuci<63>n enemigo con uso de hook.
2019-09-02 19:44:17 +00:00
- EnableAIChar:<built-in function EnableAIChar>
EnableAIChar(string nameEntity, int enable, int stupidPathfinding) : Habilita la IA del personaje indicando caracter<65>sticas asociadas al movimiento).
2019-09-02 19:44:17 +00:00
- BuildGraph:<built-in function BuildGraph>
BuildGraph(int numNodesRadius, float sizeNodeX, float sizeNodeY, float sizeNodeZ) : Crea el Grafo asociado al Pathfinding
2019-09-02 19:44:17 +00:00
- AnalizeMap:<built-in function AnalizeMap>
AnalizeMap(float sizeNode) : Analiza caracter<65>sticas mapa.
2019-09-02 19:44:17 +00:00
- SetStateChar:<built-in function SetStateChar>
SetStateChar(0, string nameAgent) : Estado sin movimiento ni disparo.
SetStateChar(1, string nameAgent, float vel, int withStopTemp) : Estado en ruta.
SetStateChar(2, string nameAgent, string nameObjective, float vel) : Estado en persecuci<63>n objetivo con acci<63>n.
SetStateChar(3, string nameAgent, string nameObjective, float vel) : Estado en persecuci<63>n objetivo sin acci<63>n.
SetStateChar(4, string nameAgent, float posObjX, float posObjY, float posObjZ, float orientX, float orientY, float orientZ, float radiusObj, float velObj) : Estado ir a un punto con orientaci<63>n final.
SetStateChar(5, string nameAgent, string nameObjective, float vel) : Estado hu<68>da de otro personaje.
SetStateChar(6, string nameAgent, float centerPatrolZone.x, float centerPatrolZone.y, float centerPatrolZone.z, float radiusPatrolZone, float vel, int withStopTemp) : Estado patrulla de zona.
SetStateChar(7, string nameAgent, string nameObjective, float vel) : Estado en persecuci<63>n objetivo con acci<63>n.
2019-09-02 19:44:17 +00:00
- AnalizeGraph2D:<built-in function AnalizeGraph2D>
AnalizeGraph2D() : Analiza caracter<65>sticas grafo 2D.
2019-09-02 19:44:17 +00:00
- GetNextRacePoint:<built-in function GetNextRacePoint>
(point) GetNextRacePoint(initialPoint, minDist, maxDist) : A partir de un punto inicial 'initialPoint', una distancia m<>nima 'minDist' y una distancia m<>xima 'maxDist', devuelve un punto aleatorio a partir del grafo 3D de la IA en el interior actual.
2019-09-02 19:44:17 +00:00
- GetOD:<built-in function GetOD>
- SetRotStaticObj:<built-in function SetRotStaticObj>
bool SetRotStaticObj(float maxVelRot, float limIncVelRot) : Asigna rotaciones para movimiento hacia objetivo est<73>tico.
2019-09-02 19:44:17 +00:00
- IniAI:<built-in function IniAI>
IniAI(levelPath) : Inicializa AI para un nivel.
2019-09-02 19:44:17 +00:00
- GetStateVehicle:<built-in function GetStateVehicle>
GetStateVehicle(string nameEntity) : Devuelve el estado de la IA del veh<65>culo.
0 : Estado sin movimiento ni disparo.
1 : Estado alcanzar posici<63>n.
2 : Estado persecuci<63>n enemigo.
3 : Estado en ruta.
4 : Estado tr<74>fico.
5 : Estado hu<68>da con parada.
6 : Estado alcanzar meta en carrera.
7 : Estado persecuci<63>n.
8 : Estado persecuci<63>n enemigo con uso de hook.
9 : Estado sin movimiento ni disparo por estar objetivo en posici<63>n inv<6E>lida.
2019-09-02 19:44:17 +00:00
- BuildGraph2D:<built-in function BuildGraph2D>
BuildGraph2D(int numNodesRadius, float sizeNodeX, float sizeNodeY, float sizeNodeZ) : Crea el Grafo asociado al Pathfinding 2D
2019-09-02 19:44:17 +00:00
- AnalizeTraffic:<built-in function AnalizeTraffic>
AnalizeTraffic() : Analiza caracter<65>sticas tr<74>fico.
2019-09-02 19:44:17 +00:00
- SetInertia:<built-in function SetInertia>
void SetInertia(bool inertia) : Indica si la nave tiene inercia.
2019-09-02 19:44:17 +00:00
- InitVehicleRace:<built-in function InitVehicleRace>
InitVehicleRace() : Inicializa carrera de veh<65>culos.
2019-09-02 19:44:17 +00:00
- GetNearestItemLife:<built-in function GetNearestItemLife>
(itemName) GetNearestItemLife(vehicleName)) : Devuelve el item de vida m<>s cercano a una nave dada.
2019-09-02 19:44:17 +00:00
- EnableAIVehicle:<built-in function EnableAIVehicle>
EnableAIVehicle(string nameEntity, int enable, int controlStrafe, int controlBrake, int stupidPathfinding) : Habilita la IA del veh<65>culo indicando caracter<65>sticas asociadas al movimiento).
2019-09-02 19:44:17 +00:00
- AnalizeGraph:<built-in function AnalizeGraph>
AnalizeGraph() : Analiza caracter<65>sticas grafo.
2019-09-02 19:44:17 +00:00
- GetRandomVisibilityPoint:<built-in function GetRandomVisibilityPoint>
(point) GetRandomVisibilityPoint() : Devuelve un punto aleatorio del grafo de puntos de visibilidad.
2019-09-02 19:44:17 +00:00
- GetReposCharPos:<built-in function GetReposCharPos>
(x,y,z) GetReposCharPos((x,y,z) ,EntityClass,[,EntityName]) : Obtiene un punto de reposicion de personaje (si entidad, se asigna).
Retorna (None) si falla
======== [ regex ] ========
2019-09-02 19:44:17 +00:00
- match:<built-in function match>
- symcomp:<built-in function symcomp>
- get_syntax:<built-in function get_syntax>
- error: 'regex.error'
2019-09-02 19:44:17 +00:00
- set_syntax:<built-in function set_syntax>
- search:<built-in function search>
- casefold: '\000\001\002\003\004\005\006\007\010\011\012\013\014\015\016\017\020\021\022\023\024\025\026\027\030\031\032\033\034\035\036\037 !"#$%&\'()*+,-./0123456789:;<=>?@abcdefghijklmnopqrstuvwxyz[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\177\200\201\202\203\204\205\206\207\210\211\212\213\214\215\216\217\220\221\222\223\224\225\226\227\230\231\232\233\234\235\236\237\240\241\242\243\244\245\246\247\250\251\252\253\254\255\256\257\260\261\262\263\264\265\266\267\270\271\272\273\274\275\276\277\300\301\302\303\304\305\306\307\310\311\312\313\314\315\316\317\320\321\322\323\324\325\326\327\330\331\332\333\334\335\336\337\340\341\342\343\344\345\346\347\350\351\352\353\354\355\356\357\360\361\362\363\364\365\366\367\370\371\372\373\374\375\376\377'
2019-09-02 19:44:17 +00:00
- compile:<built-in function compile>
======== [ __builtin__ ] ========
2019-09-02 19:44:17 +00:00
- OverflowError: 'OverflowError'
- AttributeError: 'AttributeError'
- NotImplementedError: 'NotImplementedError'
2019-09-02 19:44:17 +00:00
- range:<built-in function range>
range([start,] stop[, step]) -> list of integers
Return a list containing an arithmetic progression of integers.
range(i, j) returns [i, i+1, i+2, ..., j-1]; start (!) defaults to 0.
When step is given, it specifies the increment (or decrement).
For example, range(4) returns [0, 1, 2, 3]. The end point is omitted!
These are exactly the valid indices for a list of 4 elements.
2019-09-02 19:44:17 +00:00
- filter:<built-in function filter>
filter(function, sequence) -> list
2019-09-02 19:44:17 +00:00
Return a list containing those items of sequence for which function(item)
is true. If function is None, return a list of items that are true.
- KeyboardInterrupt: 'KeyboardInterrupt'
2019-09-02 19:44:17 +00:00
- TypeError: 'TypeError'
- AssertionError: 'AssertionError'
2019-09-02 19:44:17 +00:00
- apply:<built-in function apply>
apply(function, args[, kwargs]) -> value
2019-09-02 19:44:17 +00:00
Call a function with positional arguments taken from the tuple args,
and keyword arguments taken from the optional dictionary kwargs.
- _:<function helplib at 1d74bb38>
- __debug__: 1
2019-09-02 19:44:17 +00:00
- ord:<built-in function ord>
ord(c) -> integer
Return the integer ordinal of a one character string.
2019-09-02 19:44:17 +00:00
- eval:<built-in function eval>
eval(source[, globals[, locals]]) -> value
Evaluate the source in the context of globals and locals.
The source may be a string representing a Python expression
or a code object as returned by compile().
The globals and locals are dictionaries, defaulting to the current
globals and locals. If only globals is given, locals defaults to it.
- ZeroDivisionError: 'ZeroDivisionError'
2019-09-02 19:44:17 +00:00
- callable:<built-in function callable>
callable(object) -> Boolean
Return whether the object is callable (i.e., some kind of function).
Note that classes are callable, as are instances with a __call__() method.
2019-09-02 19:44:17 +00:00
- len:<built-in function len>
len(object) -> integer
Return the number of items of a sequence or mapping.
2019-09-02 19:44:17 +00:00
- max:<built-in function max>
max(sequence) -> value
max(a, b, c, ...) -> value
With a single sequence argument, return its largest item.
With two or more arguments, return the largest argument.
2019-09-02 19:44:17 +00:00
- buffer:<built-in function buffer>
buffer(object [, offset[, size]) -> object
Creates a new buffer object which references the given object.
The buffer will reference a slice of the target object from the
start of the object (or at the specified offset). The slice will
extend to the end of the target object (or with the specified size).
2019-09-02 19:44:17 +00:00
- hash:<built-in function hash>
hash(object) -> integer
Return a hash value for the object. Two objects with the same value have
the same hash value. The reverse is not necessarily true, but likely.
2019-09-02 19:44:17 +00:00
- None: None
- map:<built-in function map>
map(function, sequence[, sequence, ...]) -> list
Return a list of the results of applying the function to the items of
the argument sequence(s). If more than one sequence is given, the
function is called with an argument list consisting of the corresponding
item of each sequence, substituting None for missing values when not all
sequences have the same length. If the function is None, return a list of
the items of the sequence (or a list of tuples if more than one sequence).
2019-09-02 19:44:17 +00:00
- ValueError: 'ValueError'
- slice:<built-in function slice>
slice([start,] step[, stop]) -> slice object
2019-09-02 19:44:17 +00:00
Create a slice object. This is used for slicing by the Numeric extensions.
- abs:<built-in function abs>
abs(number) -> number
Return the absolute value of the argument.
2019-09-02 19:44:17 +00:00
- getattr:<built-in function getattr>
getattr(object, name[, default]) -> value
2019-09-02 19:44:17 +00:00
Get a named attribute from an object; getattr(x, 'y') is equivalent to x.y.
When a default argument is given, it is returned when the attribute doesn't
exist; without it, an exception is raised in that case.
- reduce:<built-in function reduce>
reduce(function, sequence[, initial]) -> value
Apply a function of two arguments cumulatively to the items of a sequence,
from left to right, so as to reduce the sequence to a single value.
For example, reduce(lambda x, y: x+y, [1, 2, 3, 4, 5]) calculates
((((1+2)+3)+4)+5). If initial is present, it is placed before the items
of the sequence in the calculation, and serves as a default when the
sequence is empty.
- complex:<built-in function complex>
complex(real[, imag]) -> complex number
Create a complex number from a real part and an optional imaginary part.
This is equivalent to (real + imag*1j) where imag defaults to 0.
2019-09-02 19:44:17 +00:00
- execfile:<built-in function execfile>
execfile(filename[, globals[, locals]])
Read and execute a Python script from a file.
The globals and locals are dictionaries, defaulting to the current
globals and locals. If only globals is given, locals defaults to it.
2019-09-02 19:44:17 +00:00
- FloatingPointError: 'FloatingPointError'
- min:<built-in function min>
min(sequence) -> value
min(a, b, c, ...) -> value
With a single sequence argument, return its smallest item.
With two or more arguments, return the smallest argument.
2019-09-02 19:44:17 +00:00
- OSError: 'OSError'
- RuntimeError: 'RuntimeError'
- locals:<built-in function locals>
locals() -> dictionary
Return the dictionary containing the current scope's local variables.
2019-09-02 19:44:17 +00:00
- id:<built-in function id>
id(object) -> integer
Return the identity of an object. This is guaranteed to be unique among
simultaneously existing objects. (Hint: it's the object's memory address.)
- EnvironmentError: ('IOError', 'OSError')
2019-09-02 19:44:17 +00:00
- issubclass:<built-in function issubclass>
issubclass(C, B) -> Boolean
Return whether class C is a subclass (i.e., a derived class) of class B.
2019-09-02 19:44:17 +00:00
- intern:<built-in function intern>
intern(string) -> string
``Intern'' the given string. This enters the string in the (global)
table of interned strings whose purpose is to speed up dictionary lookups.
Return the string itself or the previously interned string object with the
same value.
2019-09-02 19:44:17 +00:00
- coerce:<built-in function coerce>
coerce(x, y) -> None or (x1, y1)
When x and y can be coerced to values of the same type, return a tuple
containing the coerced values. When they can't be coerced, return None.
- KeyError: 'KeyError'
2019-09-02 19:44:17 +00:00
- EOFError: 'EOFError'
- __import__:<built-in function __import__>
__import__(name, globals, locals, fromlist) -> module
2019-09-02 19:44:17 +00:00
Import a module. The globals are only used to determine the context;
they are not modified. The locals are currently unused. The fromlist
should be a list of names to emulate ``from name import ...'', or an
empty list to emulate ``import name''.
When importing a module from a package, note that __import__('A.B', ...)
returns package A when fromlist is empty, but its submodule B when
fromlist is not empty.
- ImportError: 'ImportError'
- oct:<built-in function oct>
oct(number) -> string
Return the octal representation of an integer or long integer.
- MemoryError: 'MemoryError'
2019-09-02 19:44:17 +00:00
- cmp:<built-in function cmp>
cmp(x, y) -> integer
2019-09-02 19:44:17 +00:00
Return negative if x<y, zero if x==y, positive if x>y.
- dir:<built-in function dir>
dir([object]) -> list of strings
2019-09-02 19:44:17 +00:00
Return an alphabetized list of names comprising (some of) the attributes
of the given object. Without an argument, the names in the current scope
are listed. With an instance argument, only the instance attributes are
returned. With a class argument, attributes of the base class are not
returned. For other types or arguments, this may list members or methods.
- round:<built-in function round>
round(number[, ndigits]) -> floating point number
2019-09-02 19:44:17 +00:00
Round a number to a given precision in decimal digits (default 0 digits).
This always returns a floating point number. Precision may be negative.
- str:<built-in function str>
str(object) -> string
2019-09-02 19:44:17 +00:00
Return a nice string representation of the object.
If the argument is a string, the return value is the same object.
- reload:<built-in function reload>
reload(module) -> module
2019-09-02 19:44:17 +00:00
Reload the module. The module must have been successfully imported before.
- compile:<built-in function compile>
compile(source, filename, mode) -> code object
2019-09-02 19:44:17 +00:00
Compile the source string (a Python module, statement or expression)
into a code object that can be executed by the exec statement or eval().
The filename will be used for run-time error messages.
The mode must be 'exec' to compile a module, 'single' to compile a
single (interactive) statement, or 'eval' to compile an expression.
- list:<built-in function list>
list(sequence) -> list
2019-09-02 19:44:17 +00:00
Return a new list whose items are the same as those of the argument sequence.
- raw_input:<built-in function raw_input>
raw_input([prompt]) -> string
2019-09-02 19:44:17 +00:00
Read a string from standard input. The trailing newline is stripped.
If the user hits EOF (Unix: Ctl-D, Windows: Ctl-Z+Return), raise EOFError.
On Unix, GNU readline is used if enabled. The prompt string, if given,
is printed without a trailing newline before reading.
- setattr:<built-in function setattr>
setattr(object, name, value)
2019-09-02 19:44:17 +00:00
Set a named attribute on an object; setattr(x, 'y', v) is equivalent to
``x.y = v''.
- IndexError: 'IndexError'
- delattr:<built-in function delattr>
delattr(object, name)
2019-09-02 19:44:17 +00:00
Delete a named attribute on an object; delattr(x, 'y') is equivalent to
``del x.y''.
- hasattr:<built-in function hasattr>
hasattr(object, name) -> Boolean
2019-09-02 19:44:17 +00:00
Return whether the object has an attribute with the given name.
(This is done by calling getattr(object, name) and catching exceptions.)
- ArithmeticError: ('OverflowError', 'ZeroDivisionError', 'FloatingPointError')
- xrange:<built-in function xrange>
xrange([start,] stop[, step]) -> xrange object
2019-09-02 19:44:17 +00:00
Like range(), but instead of returning a list, returns an object that
generates the numbers in the range on demand. This is slightly slower
than range() but more memory efficient.
- repr:<built-in function repr>
repr(object) -> string
2019-09-02 19:44:17 +00:00
Return the canonical string representation of the object.
For most object types, eval(repr(object)) == object.
- tuple:<built-in function tuple>
tuple(sequence) -> list
2019-09-02 19:44:17 +00:00
Return a tuple whose items are the same as those of the argument sequence.
If the argument is a tuple, the return value is the same object.
- StandardError: (('OverflowError', 'ZeroDivisionError', 'FloatingPointError'), ('IndexError', 'KeyError'), 'AssertionError', 'AttributeError', 'EOFError', 'FloatingPointError', ('IOError', 'OSError'), 'IOError', 'OSError', 'ImportError', 'IndexError', 'KeyError', 'KeyboardInterrupt', 'MemoryError', 'NameError', 'OverflowError', 'RuntimeError', 'NotImplementedError', 'SyntaxError', 'SystemError', 'TypeError', 'ValueError', 'ZeroDivisionError')
- isinstance:<built-in function isinstance>
isinstance(object, class-or-type) -> Boolean
2019-09-02 19:44:17 +00:00
Return whether an object is an instance of a class or of a subclass thereof.
With a type as second argument, return whether that is the object's type.
- Exception: ('SystemExit', (('OverflowError', 'ZeroDivisionError', 'FloatingPointError'), ('IndexError', 'KeyError'), 'AssertionError', 'AttributeError', 'EOFError', 'FloatingPointError', ('IOError', 'OSError'), 'IOError', 'OSError', 'ImportError', 'IndexError', 'KeyError', 'KeyboardInterrupt', 'MemoryError', 'NameError', 'OverflowError', 'RuntimeError', 'NotImplementedError', 'SyntaxError', 'SystemError', 'TypeError', 'ValueError', 'ZeroDivisionError'))
- SystemExit: 'SystemExit'
- type:<built-in function type>
type(object) -> type object
2019-09-02 19:44:17 +00:00
Return the type of the object.
- input:<built-in function input>
input([prompt]) -> value
2019-09-02 19:44:17 +00:00
Equivalent to eval(raw_input(prompt)).
- IOError: 'IOError'
- chr:<built-in function chr>
chr(i) -> character
2019-09-02 19:44:17 +00:00
Return a string of one character with ordinal i; 0 <= i < 256.
- NameError: 'NameError'
- long:<built-in function long>
long(x) -> long integer
2019-09-02 19:44:17 +00:00
Convert a string or number to a long integer, if possible.
A floating point argument will be truncated towards zero.
- hex:<built-in function hex>
hex(number) -> string
2019-09-02 19:44:17 +00:00
Return the hexadecimal representation of an integer or long integer.
- e_write:<function e at 1d74c5d8>
- SystemError: 'SystemError'
- open:<built-in function open>
open(filename[, mode[, buffering]]) -> file object
2019-09-02 19:44:17 +00:00
Open a file. The mode can be 'r', 'w' or 'a' for reading (default),
writing or appending. The file will be created if it doesn't exist
when opened for writing or appending; it will be truncated when
opened for writing. Add a 'b' to the mode for binary files.
Add a '+' to the mode to allow simultaneous reading and writing.
If the buffering argument is given, 0 means unbuffered, 1 means line
buffered, and larger numbers specify the buffer size.
- LookupError: ('IndexError', 'KeyError')
- Ellipsis: Ellipsis
- divmod:<built-in function divmod>
divmod(x, y) -> (div, mod)
2019-09-02 19:44:17 +00:00
Return the tuple ((x-x%y)/y, x%y). Invariant: div*y + mod == x.
- globals:<built-in function globals>
globals() -> dictionary
2019-09-02 19:44:17 +00:00
Return the dictionary containing the current scope's global variables.
- int:<built-in function int>
int(x) -> integer
2019-09-02 19:44:17 +00:00
Convert a string or number to an integer, if possible.
A floating point argument will be truncated towards zero.
- float:<built-in function float>
float(x) -> floating point number
2019-09-02 19:44:17 +00:00
Convert a string or number to a floating point number, if possible.
- SyntaxError: 'SyntaxError'
- pow:<built-in function pow>
pow(x, y[, z]) -> number
2019-09-02 19:44:17 +00:00
With two arguments, equivalent to x**y. With three arguments,
equivalent to (x**y) % z, but may be more efficient (e.g. for longs).
- s_write:<function p at 1d74c5b0>
- vars:<built-in function vars>
vars([object]) -> dictionary
2019-09-02 19:44:17 +00:00
Without arguments, equivalent to locals().
With an argument, equivalent to object.__dict__.
2019-09-02 19:44:17 +00:00
======== [ __main__ ] ========
- SVec:<module 'SVec' (built-in)>
- SFX:<module 'SFX' (built-in)>
- SSound:<module 'SSound' (built-in)>
- ConsoleErrorOutput:<class __main__.ConsoleErrorOutput at 135ae00c>
- dbg:<module 'dbg' from '.\lib\dbg.pyc'>
- SScorer:<module 'SScorer' (built-in)>
- SInput:<module 'SInput' (built-in)>
- Init:<module 'Init' from 'PACK: Init.pyc'>
- SWeap:<module 'SWeap' (built-in)>
- SNet:<module 'SNet' (built-in)>
- SAct:<module 'SAct' (built-in)>
- ConsoleOutput:<class __main__.ConsoleOutput at 135adfec>
- Scrap:<module 'Scrap' (built-in)>
- __builtins__:<module '__builtin__' (built-in)>
Built-in functions, exceptions, and other objects.
2019-09-02 19:44:17 +00:00
Noteworthy: None is the `nil' object; Ellipsis represents `...' in slices.
- sys:<module 'sys' (built-in)>
This module provides access to some objects used or maintained by the
interpreter and to functions that interact strongly with the interpreter.
Dynamic objects:
argv -- command line arguments; argv[0] is the script pathname if known
path -- module search path; path[0] is the script directory, else ''
modules -- dictionary of loaded modules
exitfunc -- you may set this to a function to be called when Python exits
stdin -- standard input file object; used by raw_input() and input()
stdout -- standard output file object; used by the print statement
stderr -- standard error object; used for error messages
By assigning another file object (or an object that behaves like a file)
to one of these, it is possible to redirect all of the interpreter's I/O.
last_type -- type of last uncaught exception
last_value -- value of last uncaught exception
last_traceback -- traceback of last uncaught exception
These three are only available in an interactive session after a
traceback has been printed.
exc_type -- type of exception currently being handled
exc_value -- value of exception currently being handled
exc_traceback -- traceback of exception currently being handled
The function exc_info() should be used instead of these three,
because it is thread-safe.
Static objects:
maxint -- the largest supported integer (the smallest is -maxint-1)
builtin_module_names -- tuple of module names built into this intepreter
version -- the version of this interpreter
copyright -- copyright notice pertaining to this interpreter
platform -- platform identifier
executable -- pathname of this Python interpreter
prefix -- prefix used to find the Python library
exec_prefix -- prefix used to find the machine-specific Python library
dllhandle -- [Windows only] integer handle of the Python DLL
winver -- [Windows only] version number of the Python DLL
__stdin__ -- the original stdin; don't use!
__stdout__ -- the original stdout; don't use!
__stderr__ -- the original stderr; don't use!
Functions:
exc_info() -- return thread-safe information about the current exception
exit() -- exit the interpreter by raising SystemExit
getrefcount() -- return the reference count for an object (plus one :-)
setcheckinterval() -- control how often the interpreter checks for events
setprofile() -- set the global profiling function
settrace() -- set the global debug tracing function
2019-09-02 19:44:17 +00:00
- SAI:<module 'SAI' (built-in)>
- SLogic:<module 'SLogic' (built-in)>
======== [ SAct ] ========
2019-09-02 19:44:17 +00:00
- CreateClass:<built-in function CreateClass>
CreateClass(classname) : Crea una clase de objeto animado
2019-09-02 19:44:17 +00:00
- CreateAction:<built-in function CreateAction>
CreateAction(varname) : Crea una accion en la clase actual.
2019-09-02 19:44:17 +00:00
- DelClass:<built-in function DelClass>
DelClass(classname) : Crea una clase de objeto animado
2019-09-02 19:44:17 +00:00
- SetCls:<built-in function SetCls>
SetCls(varname,value) : Modifica el valor de una variable de una clase objeto animado
2019-09-02 19:44:17 +00:00
- GetCls:<built-in function GetCls>
GetCls(varname) : Obtiene el valor de una variable de una clase objeto animado
2019-09-02 19:44:17 +00:00
- GetClass:<built-in function GetClass>
GetClass(classname) : Activa una clase de objeto animado
2019-09-02 19:44:17 +00:00
- SetAct:<built-in function SetAct>
SetAct(varname,value) : Modifica el valor de una variable de la accion de una clase objeto animado
2019-09-02 19:44:17 +00:00
- GetAct:<built-in function GetAct>
GetAct(varname) : Obtiene el valor de una variable de la accion de una clase objeto animado
2019-09-02 19:44:17 +00:00
- GetAction:<built-in function GetAction>
GetAction(varname) : Obtiene una accion de la clase actual.
======== [ Scrap ] ========
2019-09-02 19:44:17 +00:00
- DropDebris:<built-in function DropDebris>
DropDebris(name,size) : Lanza un objeto que cae y rebota hasta que desaparece
2019-09-02 19:44:17 +00:00
- ShowGVars:<built-in function ShowGVars>
ShowGVars() : Muestra una lista de todas las variables globales
2019-09-02 19:44:17 +00:00
- GetNewLevelPath:<built-in function GetNewLevelPath>
levelpath GetNewLevelPath() : Obtiene el path del pr<70>ximo nivel
2019-09-02 19:44:17 +00:00
- SetTime:<built-in function SetTime>
SetTime(Time) : Cambia el tiempo del mundo en segundos
2019-09-02 19:44:17 +00:00
- SetCam:<built-in function SetCam>
SetCam(i,name) : Activa una camara
2019-09-02 19:44:17 +00:00
- PreloadAnm:<built-in function PreloadAnm>
PreloadAnm(ObjFilename,AnmFilename) : Precarga una animacion
2019-09-02 19:44:17 +00:00
- GetCam:<built-in function GetCam>
name GetCam(i) : Obtiene el nombre de una entidad camara
2019-09-02 19:44:17 +00:00
- GetLockAlarm:<built-in function GetLockAlarm>
Scrap.GetLockAlarm() : verdadero si la alarma esta bloqueada
2019-09-02 19:44:17 +00:00
- AddItem:<built-in function AddItem>
Scrap.AddItem(Life, string name, int life) : Add Item Life.
Scrap.AddItem(Ammo, string name, int typeAmmo, int ammo) : Add Item Ammo.
2019-09-02 19:44:17 +00:00
- Verbose:<built-in function Verbose>
Verbose(string name) : Muestra un mensaje de parloteo por la consola
2019-09-02 19:44:17 +00:00
- StartDummySearch:<built-in function StartDummySearch>
StartDummySearch(name,usewildcards) : Inicia la busqueda de dummies en el mapa
2019-09-02 19:44:17 +00:00
- OpenPack:<built-in function OpenPack>
OpenPack(string PackPath) : Abre un archivo *.packed
2019-09-02 19:44:17 +00:00
- LaunchDashboard:<built-in function LaunchDashboard>
int Scrap.LaunchDashboard() : sale del juego y ejecuta el dashboard.
2019-09-02 19:44:17 +00:00
- SaveGameVars:<built-in function SaveGameVars>
Scrap.SaveGameVars(str, str) : Salva un juego en un archivo, con un nombre opcional
2019-09-02 19:44:17 +00:00
- SphereCall:<built-in function SphereCall>
Scrap.SphereCall(x,y,z,radius,<2C>strmask<73>,<2C>callback<63>,[IgnoreGeometry=1]) : testea una esfera y llama a <20>callback<63> por cada entidad que colisiona
2019-09-02 19:44:17 +00:00
- SetTimeSpeed:<built-in function SetTimeSpeed>
SetTimeSpeed(TimeSpeed) : Cambia la velocidad del tiempo del mundo.
2019-09-02 19:44:17 +00:00
- Preload3DObject:<built-in function Preload3DObject>
Preload3DObject(filename,scalex,scaley,scalez) : Precarga un objeto 3D
2019-09-02 19:44:17 +00:00
- TestLine:<built-in function TestLine>
((x,y,z),s) TestLine((x,y,z),(fz,fy,fz),'strmask') : testea una linea y devuelve el nombre de la entidad y punto de colision o '' si es el mapa o None
2019-09-02 19:44:17 +00:00
- GetFreeBlocks:<built-in function GetFreeBlocks>
int Scrap.GetFreeBlocks() : obtiene los bloques libres en el disco duro.
2019-09-02 19:44:17 +00:00
- IncSaveVar:<built-in function IncSaveVar>
int Scrap.IncSaveVar(str[,value]) : incrementa un contador de estadisticas
2019-09-02 19:44:17 +00:00
- DeselectProfile:<built-in function DeselectProfile>
Scrap.DeselectProfile() : deselecciona el profile actual.
2019-09-02 19:44:17 +00:00
- GetMoney:<built-in function GetMoney>
money Scrap.GetMoney() : Devuelve el liquido disponible.
2019-09-02 19:44:17 +00:00
- CreateElements:<built-in function CreateElements>
CreateElements() : Crea una lista de elementos estaticos que pertenecen al mapa.
2019-09-02 19:44:17 +00:00
- NextDummySearch:<built-in function NextDummySearch>
(s(ddd)(dd)i) NextDummySearch() : Obtiene el proximo dummy, sino None
2019-09-02 19:44:17 +00:00
- CreateEntity:<built-in function CreateEntity>
CreateEntity(name,x,y,z,type) : Crea una una entidad
2019-09-02 19:44:17 +00:00
- LoadLevel:<built-in function LoadLevel>
LoadLevel(string name) : Carga un nivel en el siguiente frame
2019-09-02 19:44:17 +00:00
- DebugInput:<built-in function DebugInput>
string DebugInput() : Detiene todo para iniciar la depuracion
2019-09-02 19:44:17 +00:00
- GetLangStr:<built-in function GetLangStr>
str Scrap.GetLangStr(Name) : Obtiene una cadena de lenguaje. '' si no existe.
2019-09-02 19:44:17 +00:00
- Get:<built-in function Get>
Get('GlobalVar') : Obtiene el valor de una variable global
2019-09-02 19:44:17 +00:00
- SetAlarmChar:<built-in function SetAlarmChar>
Scrap.SetAlarmChar(El_que_se_busca) : Modifica el personaje que se busca.
2019-09-02 19:44:17 +00:00
- GetEntity:<built-in function GetEntity>
GetEntity(string name) : Retorna una entidad
2019-09-02 19:44:17 +00:00
- GetLanguage:<built-in function GetLanguage>
lang Scrap.GetLanguage() : Obtiene la lengua actual. None si no fue inicializada.
2019-09-02 19:44:17 +00:00
- Print:<built-in function Print>
Print(string name) : Muestra un mensaje por la consola siempre
2019-09-02 19:44:17 +00:00
- SwitchMissionArrows:<built-in function SwitchMissionArrows>
SwitchMissionArrows(MainMissionFile,TargetMissionFile) : Cambia las flechas de mision primaria y secundaria (Modelos)
2019-09-02 19:44:17 +00:00
- GetFarestParked:<built-in function GetFarestParked>
Entity,Pos = Scrap.GetFarestParked([isparked[,fromPos]]) : Obtiene la nave aparcada mas lejana.
2019-09-02 19:44:17 +00:00
- CreateSaveProfile:<built-in function CreateSaveProfile>
int Scrap.CreateSaveProfile(str) : Crea un Save profile para X-Box y pone como actual.
2019-09-02 19:44:17 +00:00
- ExtractPack:<built-in function ExtractPack>
ExtractPack(string PackPath) : Extrae un archivo *.packed
2019-09-02 19:44:17 +00:00
- SetLockAlarm:<built-in function SetLockAlarm>
Scrap.SetLockAlarm(1/0) : Bloquea/desbloquea la alarma
2019-09-02 19:44:17 +00:00
- SetSaveVar:<built-in function SetSaveVar>
bool Scrap.SetSaveVar(Name,DefValue) : Modifica una variable (si puede)
2019-09-02 19:44:17 +00:00
- ListModels:<built-in function ListModels>
ListModels() : Muestra una lista de modelos y escenas
2019-09-02 19:44:17 +00:00
- ConsoleOut:<built-in function ConsoleOut>
ConsoleOut(string name) : Muestra un mensaje pyton por la consola
2019-09-02 19:44:17 +00:00
- ScreenShot:<built-in function ScreenShot>
ScreenShot(filename) : Screenshot of the current frame
2019-09-02 19:44:17 +00:00
- SetMoney:<built-in function SetMoney>
Scrap.SetMoney(money) : Determina el liquido disponible
2019-09-02 19:44:17 +00:00
- GetFirst:<built-in function GetFirst>
GetFirst() : Retorna la primera entuidad de la lista o none
2019-09-02 19:44:17 +00:00
- LoadGameVars:<built-in function LoadGameVars>
Scrap.LoadGameVars(str) : Carga un juego en un archivo
2019-09-02 19:44:17 +00:00
- GetTime:<built-in function GetTime>
GetTime() : Obtiene el tiempo del mundo en segundos
2019-09-02 19:44:17 +00:00
- GetAlarmChars:<built-in function GetAlarmChars>
(Actual, El_que_se_busca) Scrap.GetAlarmChars() : Obtiene los tipos de personaje que se buscan.
2019-09-02 19:44:17 +00:00
- SetVideoCurrentMode:<built-in function SetVideoCurrentMode>
SetVideoCurrentMode() : Set Video Current Mode Index
2019-09-02 19:44:17 +00:00
- AddScheduledFunc:<built-in function AddScheduledFunc>
AddScheduledFunc(time,func,params[,name]) : Ejecuta un codigo en python en un instante de tiempo.
2019-09-02 19:44:17 +00:00
- ClosePack:<built-in function ClosePack>
ClosePack() : Abre un archivo *.packed
2019-09-02 19:44:17 +00:00
- CreateEntityList:<built-in function CreateEntityList>
CreateEntityList(listName) : Crea una lista de entidades
2019-09-02 19:44:17 +00:00
- ProcessDVF:<built-in function ProcessDVF>
ProcessDVF(filename,command) : send a dvf command
2019-09-02 19:44:17 +00:00
- SetAlarm:<built-in function SetAlarm>
Scrap.SetAlarm(dialpos) : pone la alarma en una posicion (0 desactiva, 1 activa).
2019-09-02 19:44:17 +00:00
- GetNearestParked:<built-in function GetNearestParked>
Entity,Pos = Scrap.GetNearestParked([isparked[,fromPos]]) : Obtiene la nave aparcada mas cercana.
2019-09-02 19:44:17 +00:00
- Set:<built-in function Set>
Set('GlobalVar',val) : Modifica el valor de una variable global
2019-09-02 19:44:17 +00:00
- PythonCompileAll:<built-in function PythonCompileAll>
PythonCompileAll() : compila recursivamente los archivos .py
2019-09-02 19:44:17 +00:00
- Rand:<built-in function Rand>
Rand(min,max) : Obtiene un numero seudo-aleatorio entre (min,max)
2019-09-02 19:44:17 +00:00
- Def:<built-in function Def>
Def('GlobalVar') : Obtiene el valor por defecto de una variable global
2019-09-02 19:44:17 +00:00
- Round:<built-in function Round>
Round(num) : Redondea un numero real al entero m<>s cercano.
2019-09-02 19:44:17 +00:00
- ModelInfo:<built-in function ModelInfo>
ModelInfo(name) : Muestra informaci<63>n sobre la jerarqu<71>a de nodos del modelo
2019-09-02 19:44:17 +00:00
- UsrEntity:<built-in function UsrEntity>
UsrEntity(ictr) : Retorna una entidad controlada por usario (personaje o nave)
2019-09-02 19:44:17 +00:00
- GetAlarm:<built-in function GetAlarm>
(active,dialpos,growcode) Scrap.GetAlarm() : Obtiene informacion de la alarma.
2019-09-02 19:44:17 +00:00
- SetDebrisValue:<built-in function SetDebrisValue>
SetDebrisValue(id,x,y,z) : id = 0:Posicion, 1:Angulos, 2:Velocidad, 3:Velocidad de rotacion
2019-09-02 19:44:17 +00:00
- MusicPlayer:<built-in function MusicPlayer>
MusicPlayer(filename[,command,param1]) : play music file
2019-09-02 19:44:17 +00:00
- Des:<built-in function Des>
Des('GlobalVar') : Obtiene el descriptor de una variable global
2019-09-02 19:44:17 +00:00
- SetCallFunc:<built-in function SetCallFunc>
Scrap.SetCallFunc('!funcname') : Especifica la funcion callback (c++) a llamar. (1 si existe)
2019-09-02 19:44:17 +00:00
- SetDebrisSys:<built-in function SetDebrisSys>
SetDebrisSys(name,initialnumber,MaxDist,Friction,Scale,Grav,bounce) crea/modifica un sistema de debris
2019-09-02 19:44:17 +00:00
- Execute:<built-in function Execute>
Scrap.Execute() : Ejecuta una funcion callback (c++).
2019-09-02 19:44:17 +00:00
- AddParamf:<built-in function AddParamf>
Scrap.AddParamf(Float) : Incluye un parametro a una funcion callback (c++).
2019-09-02 19:44:17 +00:00
- PreloadLibrary:<built-in function PreloadLibrary>
PreloadLibrary(LibraryName,CompiledFile) : Precarga una libreria de un archivo empaquetado
2019-09-02 19:44:17 +00:00
- GetVideoCurrentMode:<built-in function GetVideoCurrentMode>
GetVideoCurrentMode() : Get Video Current Mode Index
2019-09-02 19:44:17 +00:00
- InitLoading:<built-in function InitLoading>
InitLoading() Inicia la pantalla de carga rapida.
2019-09-02 19:44:17 +00:00
- CallElements:<built-in function CallElements>
CallElements('Function') : llama una funcion Function(Name,x,y,z,angx,angy)
2019-09-02 19:44:17 +00:00
- GetTimeSpeed:<built-in function GetTimeSpeed>
GetTimeSpeed() : Obtiene la velocidad del tiempo del mundo.
2019-09-02 19:44:17 +00:00
- CreateSaveVar:<built-in function CreateSaveVar>
bool Scrap.CreateSaveVar(Name,DefValue) : Crea una nueva variable (si puede)
2019-09-02 19:44:17 +00:00
- EntityListGet:<built-in function EntityListGet>
(value)Scrap.EntityListGet(listName, varName) : Obtiene el valor de una variable de una lista de entidades
2019-09-02 19:44:17 +00:00
- DeleteProfile:<built-in function DeleteProfile>
int Scrap.DeleteProfile(str) : Borra un profile de X-Box.
2019-09-02 19:44:17 +00:00
- AddParami:<built-in function AddParami>
Scrap.AddParami(int) : Incluye un parametro a una funcion callback (c++).
2019-09-02 19:44:17 +00:00
- VideoPlayer:<built-in function VideoPlayer>
VideoPlayer(filename[,command]) : play video file
2019-09-02 19:44:17 +00:00
- SetLanguage:<built-in function SetLanguage>
res Scrap.SetLanguage(Name[,forcetoreload]) : Modifica la lengua actual. false si ya es la lengua la selecionada
2019-09-02 19:44:17 +00:00
- AddParams:<built-in function AddParams>
Scrap.AddParams(string) : Incluye un parametro a una funcion callback (c++).
2019-09-02 19:44:17 +00:00
- GetVideoModes:<built-in function GetVideoModes>
GetVideoModes(NumMode) : Get Video Mode Info
2019-09-02 19:44:17 +00:00
- GetSaveGamesList:<built-in function GetSaveGamesList>
[(fecha, slot)] Scrap.GetSaveGamesList() : Devuelve una lista de tuplas donde para cada tupla el primer elemento indica el nombre (fecha) del archivo y el segundo elemento indica el slot del que se leer<65> la partida. La lista est<73> ordenada por la fecha, de la m<>s reciente a la m<>s antigua.
2019-09-02 19:44:17 +00:00
- GetLevelPath:<built-in function GetLevelPath>
levelpath GetLevelPath() : Obtiene el path del nivel actual
2019-09-02 19:44:17 +00:00
- BuildFont:<built-in function BuildFont>
BuildFont(name,size) : Construye un archivo de fuente de letras a partir de un .TGA dado
2019-09-02 19:44:17 +00:00
- DeleteScheduledFuncs:<built-in function DeleteScheduledFuncs>
DeleteScheduledFuncs(name) : Borra las scheduled funcs creadas con un nombre dado.
2019-09-02 19:44:17 +00:00
- GetNetFlags:<built-in function GetNetFlags>
GetNetFlags() : Obtiene la tupla de flags : client, server, dedicated
2019-09-02 19:44:17 +00:00
- GetSaveVar:<built-in function GetSaveVar>
value Scrap.GetSaveVar(Name) : obtiene una variable o devuelve none
2019-09-02 19:44:17 +00:00
- GetLangEntries:<built-in function GetLangEntries>
[str] Scrap.GetLangEntries(Name) : Obtiene un subconjunto de entradas de la tabla de lenguaje que empiecen por 'Name'.
2019-09-02 19:44:17 +00:00
- FileExist:<built-in function FileExist>
FileExist() check for file existence.
2019-09-02 19:44:17 +00:00
- GetMinCamDist:<built-in function GetMinCamDist>
GetMinCamDist(x,y,z) : Obtiene la distancia de un punto a la camara
2019-09-02 19:44:17 +00:00
- EntityListSet:<built-in function EntityListSet>
EntityListSet(listName, varName, value) : Modifica el valor de una variable de una lista de entidades
2019-09-02 19:44:17 +00:00
- SetAlarmGrow:<built-in function SetAlarmGrow>
Scrap.SetAlarmGrow(growcode) : -1 baja, 0 se mantiene, 1 sube.
2019-09-02 19:44:17 +00:00
- Exit:<built-in function Exit>
Exit() sale del juego.
2019-09-02 19:44:17 +00:00
- DelSaveVars:<built-in function DelSaveVars>
Scrap.DelSaveVars(str) : Elimina las <str>* variables
2019-09-02 19:44:17 +00:00
- SaveConfig:<built-in function SaveConfig>
res Scrap.SaveConfig() : Guarda el fichero de configuraci<63>n
2019-09-02 19:44:17 +00:00
- SetSaveProfile:<built-in function SetSaveProfile>
int Scrap.SetSaveProfile(path,name) : Carga un profile de jugador.
2019-09-02 19:44:17 +00:00
- GetSavedProfilesList:<built-in function GetSavedProfilesList>
[(Directorio, nombre)] Scrap.GetSavedProfilesList() : Devuelve una lista de tuplas donde para cada tupla el primer elemento indica el directorio del profile y el segundo elemento indica el nombre del profile. La lista est<73> ordenada por el criterio de microsoft
2019-09-02 19:44:17 +00:00
- SetGrid:<built-in function SetGrid>
SetGrid(x,y,z) : Modifica las dimensiones del grid de colision
2019-09-02 19:44:17 +00:00
- TestSphere:<built-in function TestSphere>
Scrap.TestSphere(x,y,z,radius,<2C>strmask<73>) : testea una esfera y devuelve el nombre de la entidad o '' si es el mapa o None
2019-09-02 19:44:17 +00:00
- EndLoading:<built-in function EndLoading>
EndLoading() Inicia la pantalla de carga rapida.
2019-09-02 19:44:17 +00:00
- Ver:<built-in function Ver>
Ver() Obtiene la version del juego.
2019-09-02 19:44:17 +00:00
- ConsoleError:<built-in function ConsoleError>
ConsoleError(string name) : Muestra un mensaje de error por la consola
2019-09-02 19:44:17 +00:00
- GetFloor:<built-in function GetFloor>
i GetFloor(y) : Obtiene el numero de piso en el que esta.
2019-09-02 19:44:17 +00:00
- AddParkingZone:<built-in function AddParkingZone>
Scrap.AddParkingZone(occupied,pos,name) : Agrega un sitio de parking.