Blockland Forums > Modification Help

Standard player properties

Pages: (1/3) > >>

YourBuddyBill:

I'm making a playertype, but I don't know all the properties I'll need to change, and I'm not sure some of the playertypes I have on hand have all the playertype properties, is there any cohesive list of playertype properties?

Sorry for the confusing wording, i mean stuff like JumpSound   and jetEmitter and all those properties that you find in playertypes.

Nasoa:

I think some of the ones that don't use the default player have all them, like Atlas.

YourBuddyBill:


--- Quote from: Nasoa on February 14, 2012, 08:01:32 PM ---I think some of the ones that don't use the default player have all them, like Atlas.

--- End quote ---
You sure about that? This playertype needs EVERYTHING, including sounds for entering and leaving water (for example) (it's a sort of a stealth playertype, making no sound except pain and death, and i'm trying to give it some sort of cloaking) and I think most (if not all) playertypes inherit that from the standard parent.

Nexus:


--- Code: ---==>serverconnection.getcontrolobject().getdatablock().dump();
Member Fields:
  airControl = "0.1"
  boundingBox = "5 5 10.6"
  bubbleEmitTime = "0.1"
  cameraHorizontalOffset = "0"
  cameraMaxDist = "8"
  cameraMinDist = "0"
  cameraTilt = "0.261"
  cameraVerticalOffset = "0.75"
  canJet = "1"
  canRide = "1"
  className = "PlayerData"
  crouchBoundingBox = "5 5 4"
  decalOffset = "0.25"
  density = "0.7"
  destroyedLevel = "1"
  disabledLevel = "1"
  drag = "0.1"
  emap = "1"
  exitSplashSoundVelocity = "5"
  firstPersonOnly = "0"
  footPuffNumParts = "10"
  footPuffRadius = "0.25"
  footstepSplashHeight = "0.35"
  groundImpactMinSpeed = "10"
  groundImpactShakeAmp = "1 1 1"
  groundImpactShakeDuration = "0.8"
  groundImpactShakeFalloff = "10"
  groundImpactShakeFreq = "4 4 4"
  hardSplashSoundVelocity = "20"
  horizMaxSpeed = "68"
  horizResistFactor = "0.35"
  horizResistSpeed = "33"
  inheritEnergyFromMount = "0"
  isInvincible = "0"
  jetEnergyDrain = "0"
  jetGroundDistance = "3.98827"
  jumpDelay = "3"
  jumpEnergyDrain = "0"
  jumpForce = "1080"
  jumpSurfaceAngle = "80"
  mass = "90"
  maxBackwardCrouchSpeed = "2"
  maxBackwardSpeed = "4"
  maxDamage = "1"
  maxEnergy = "100"
  maxForwardCrouchSpeed = "3"
  maxForwardSpeed = "7"
  maxFreelookAngle = "3"
  maxJumpSpeed = "30"
  maxLookAngle = "1.5708"
  maxSideCrouchSpeed = "2"
  maxSideSpeed = "6"
  maxStepHeight = "1"
  maxTimeScale = "1.5"
  maxUnderwaterBackwardSpeed = "7.8"
  maxUnderwaterForwardSpeed = "8.4"
  maxUnderwaterSideSpeed = "7.8"
  mediumSplashSoundVelocity = "10"
  minImpactSpeed = "30"
  minJetEnergy = "0"
  minJumpEnergy = "0"
  minJumpSpeed = "20"
  minLookAngle = "-1.5708"
  minRunEnergy = "0"
  observeThroughObject = "0"
  pickupRadius = "1.25"
  rechargeRate = "0.8"
  renderFirstPerson = "0"
  renderWhenDestroyed = "1"
  repairRate = "0.0033"
  rideable = "0"
  runEnergyDrain = "0"
  runForce = "4320"
  runSurfaceAngle = "70"
  shapeFile = "base/data/shapes/player/m.dts"
  splashAngle = "67"
  splashFreqMod = "300"
  splashVelEpsilon = "0.6"
  splashVelocity = "4"
  thirdPersonOnly = "0"
  uiName = "Standard Player"
  upMaxSpeed = "80"
  upResistFactor = "0.3"
  upResistSpeed = "25"
  useEyePoint = "0"
Tagged Fields:
Methods:
  checkDeployPos() - (Transform xform)
  delete() - obj.delete()
  dump() - obj.dump()
  getClassName() - obj.getClassName()
  getDeployTransform() - (Point3F pos, Point3F normal)
  getGroup() - obj.getGroup()
  getId() - obj.getId()
  getName() - obj.getName()
  getTaggedField() - obj.getTaggedFieldCount(int idx)
  getType() - obj.getType()
  save() - obj.save(fileName, <selectedOnly>)
  schedule() - object.schedule(time, command, <arg1...argN>);
  setName() - obj.setName(newName)
--- End code ---


YourBuddyBill:

Thanks up to a point, but I don't see the jetemitter or jumpsound things I mentioned in there :/

Pages: (1/3) > >>

Go to full version