Advertisement
Guest User

Untitled

a guest
Jun 25th, 2018
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 2.13 KB | None | 0 0
  1. BiPlane = {
  2.   Properties = {
  3.     object_Model = "objects/characters/13_vehicles/biplane/biplane.chr",
  4.     fBoostDistance = 1,
  5.     fBreakDistance = 1,
  6.     spline_initialSplineName = "",
  7.     spline_path2 = "",
  8.     spline_path3 = "",
  9.     spline_path4 = "",
  10.     spline_path5 = "",
  11.     Debug = {
  12.       bEnableDebug = 0,
  13.       bPrintSplineCount = 0,
  14.       bDrawSpline = 0,
  15.       bDrawSplineNumbers = 0,
  16.       bDrawCheckpoints = 0,
  17.       bDrawRestrictionSpace = 0,
  18.       bDrawTransform = 0,
  19.       fTValue = 0
  20.     },
  21.     CheckPoints = {
  22.       Point1 = {fPoint = -1, iSplineIdx = 0},
  23.       Point2 = {fPoint = -1, iSplineIdx = 0},
  24.       Point3 = {fPoint = -1, iSplineIdx = 0},
  25.       Point4 = {fPoint = -1, iSplineIdx = 0},
  26.       Point5 = {fPoint = -1, iSplineIdx = 0},
  27.       Point6 = {fPoint = -1, iSplineIdx = 0}
  28.     },
  29.     spaceRestriction = {x = 7, z = 5},
  30.     Speed = {
  31.       fSpeedAlongSpline = 9.5,
  32.       fHorizontal = 11.5,
  33.       fVertical = 10,
  34.       fBarrelRollSpeed = 9.5
  35.     },
  36.     Projectile = {
  37.       RailMagnum = {
  38.         fFireRate = 0.29,
  39.         fLifeTime = 1,
  40.         fSpeed = 100,
  41.         fDamageAmount = 10,
  42.         vector_offset = {
  43.           x = 0,
  44.           y = 10,
  45.           z = 0
  46.         }
  47.       },
  48.       MissileBay = {
  49.         fFireRate = 0.7,
  50.         fLifeTime = 1,
  51.         fSpeed = 90,
  52.         fDamageAmount = 50
  53.       },
  54.       WarpCannon = {
  55.         fFireRate = 0.75,
  56.         fLifeTime = 3,
  57.         fDamageAmount = 50,
  58.         fSpeed = 100
  59.       }
  60.     }
  61.   },
  62.   Editor = {Icon = "road.bmp"},
  63.   Client = {},
  64.   Server = {},
  65.   isDead = false
  66. }
  67. Net.Expose({
  68.   Class = BiPlane,
  69.   ClientMethods = {},
  70.   ServerMethods = {},
  71.   ServerProperties = {}
  72. })
  73. function BiPlane.OnReset(A0_0)
  74.   A0_0:ProcessBroadcastEvent("reset")
  75. end
  76. function BiPlane.OnSpawn(A0_1)
  77.   CryAction.CreateGameObjectForEntity(A0_1.id)
  78.   CryAction.BindGameObjectToNetwork(A0_1.id)
  79.   A0_1.isServer = CryAction.IsServer()
  80.   A0_1.isClient = CryAction.IsClient()
  81.   A0_1:OnReset()
  82. end
  83. function BiPlane.OnPropertyChange(A0_2)
  84.   A0_2:OnReset()
  85. end
  86. function BiPlane.IsPlayer(A0_3)
  87.   local L1_4
  88.   L1_4 = true
  89.   return L1_4
  90. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement