home *** CD-ROM | disk | FTP | other *** search
/ PC PowerPlay 56 / CDPowerplay56Disc2.iso / demos / blade / data1.cab / Program_Executable_Files / Scripts / InputInit.py < prev    next >
Encoding:
Text File  |  2000-10-27  |  2.4 KB  |  84 lines

  1.     
  2.  
  3.  
  4.  
  5.  
  6. import BInput
  7.  
  8. InputManager=BInput.GetInputManager()
  9. InputManager.SetInputActionsSet("Default")  # Me aseguro de definir las acciones en el grupo correcto
  10.  
  11. import Reference
  12.  
  13.  
  14.  
  15. Bladex.AddInputAction("Forwards",1)
  16. Bladex.AddInputAction("Backwards",1)
  17. Bladex.AddInputAction("Turn Left",1)
  18. Bladex.AddInputAction("Turn Right",1)
  19. Bladex.AddInputAction("Jump",1)
  20. Bladex.AddInputAction("Attack",1)
  21. Bladex.AddInputAction("Attack Release",0)
  22. Bladex.AddInputAction("Block",1)
  23. Bladex.AddInputAction("Sneak",1)
  24. Bladex.AddInputAction("Run",1)
  25. Bladex.AddInputAction("Block Release",0)
  26. Bladex.AddInputAction("Throw Right",0)
  27. Bladex.AddInputAction("Throw Left",0)
  28. Bladex.AddInputAction("Throw",0)
  29. Bladex.AddInputAction("Throw Release",0)
  30. Bladex.AddInputAction("Use",0)
  31. Bladex.AddInputAction("Select Enemy",0)
  32. Bladex.AddInputAction("UnSelectEnemy",0)
  33. Bladex.AddInputAction("Screen Shot",0)
  34. Bladex.AddInputAction("Toggle Weapons",0)
  35.  
  36. Bladex.AddInputAction("SelectObj",0)
  37. Bladex.AddInputAction("UnSelectObj",0)
  38.  
  39. Bladex.AddInputAction("Look Up",1)
  40. Bladex.AddInputAction("Look Down",1)
  41.  
  42. Bladex.AddInputAction("Swim Up",1)
  43. Bladex.AddInputAction("Swim Down",1)
  44.  
  45. if Reference.DEMO_MODE==0:
  46.     Bladex.AddInputAction("ToggleStats",0)
  47.     Bladex.AddInputAction("ToggleSampling",0)
  48.     Bladex.AddInputAction("Camera Left",1)
  49.     Bladex.AddInputAction("Camera Right",1)
  50.     Bladex.AddInputAction("Toggle Sound",0)
  51.     Bladex.AddInputAction("Bigger FOV",0)
  52.     Bladex.AddInputAction("Smaller FOV",0)
  53.     Bladex.AddInputAction("Change Mov",0)
  54.     Bladex.AddInputAction("Toggle BB",0)
  55.     Bladex.AddInputAction("ToggleInvincibility",0)
  56.  
  57. Bladex.AddInputAction("Change Camera",0)
  58. Bladex.AddInputAction("Fixed Camera",0)
  59. Bladex.AddInputAction("Camera Dist",0)
  60.  
  61. Bladex.AddInputAction("Cycle Weapons",0)
  62. Bladex.AddInputAction("Cycle Shields",0)
  63. Bladex.AddInputAction("Cycle Objects",0)
  64. Bladex.AddInputAction("Free Look",1)
  65. Bladex.AddInputAction("Next View",0)
  66. Bladex.AddInputAction("Last View",0)
  67.  
  68. Bladex.AddInputAction("RotateX",0)
  69. Bladex.AddInputAction("RotateY",0)
  70.  
  71. Bladex.AddInputAction("FrwdDown",0)
  72. Bladex.AddInputAction("FrwdUp",0)
  73. Bladex.AddInputAction("BrwdDown",0)
  74. Bladex.AddInputAction("BrwdUp",0)
  75.  
  76.  
  77.  
  78. Bladex.AddInputAction("Show Scorer",0)
  79.  
  80. Bladex.AddInputAction("TurnInRelax",0)
  81.  
  82. Bladex.AddInputAction("ToggleProfiling",0)
  83.  
  84. Bladex.AddInputAction("LaunchTravel",0)