Data Realms Fan Forums
http://45.55.195.193/

Theoretical way to make a brain clone.
http://45.55.195.193/viewtopic.php?f=1&t=6842
Page 1 of 1

Author:  Alenth Eneil [ Fri Aug 03, 2007 7:40 pm ]
Post subject:  Theoretical way to make a brain clone.

Should work, untested, needs format, blah.

Code:
AddActor = AHuman
CopyOf = Brain Case
InstanceName = Brain Clone
SpriteFile = ContentFile
      FilePath = Base.rte/Actors/Clones/Blue/PlayerBody.bmp
   FrameCount = 1
   SpriteOffset = Vector
      X = -6
      Y = -10
   EntryWound = AEmitter
      CopyOf = Wound Flesh Entry
   ExitWound = AEmitter
      CopyOf = Wound Flesh Exit
   GoldValue = 70
   AtomGroup = AtomGroup
      AutoGenerate = 1
      Material = Material
         CopyOf = Flesh
      Resolution = 4
      Depth = 0
   DeepGroup = AtomGroup
      AutoGenerate = 1
      Material = Material
         CopyOf = Flesh
      Resolution = 6
      Depth = 6
   DeepCheck = 1
   BodyHitSound = Sound
      CopyOf = Flesh Body Blunt Hit
   PainSound = Sound
      CopyOf = Human Pain
   DeathSound = Sound
      CopyOf = Human Death
   DeviceSwitchSound = Sound
      CopyOf = Device Switch
   Status = 0
   Health = 100
   Team = 0
   AimAngle = 0
   AimDistance = 30
   CharHeight = 85
HolsterOffset = Vector
      X = -6
      Y = -4
   Head = Attachable
      CopyOf = Blue Clone Head
      ParentOffset = Vector
         X = -1
         Y = -9
   Jetpack = AEmitter
      CopyOf = Jetpack Nozzle
      ParentOffset = Vector
         X = -3
         Y = -3
   JumpTime = 4 // Secs
   FGArm = Arm
      CopyOf = Blue Clone FG Arm
      ParentOffset = Vector
         X = -4
         Y = -6
   BGArm = Arm
      CopyOf = Blue Clone BG Arm
      ParentOffset = Vector
         X = 4
         Y = -7
   FGLeg = Leg
      CopyOf = Blue Clone Leg
      ParentOffset = Vector
         X = -1
         Y = 1
   BGLeg = Leg
      CopyOf = Blue Clone Leg
      ParentOffset = Vector
         X = 2
         Y = 1
   Hand = AtomGroup
      CopyOf = Hand
   FGFootGroup = AtomGroup
      CopyOf = Foot
   BGFootGroup = AtomGroup
      CopyOf = Foot
   IdleLimbPath = LimbPath
      CopyOf = Clone Idle Path
   WalkLimbPath = LimbPath
      CopyOf = Clone Walk Path
   CrouchLimbPath = LimbPath
      CopyOf = Clone Crouch Path
   CrawlLimbPath = LimbPath
      CopyOf = Clone Crawl Path
   ClimbLimbPath = LimbPath
      CopyOf = Clone Climb Path
   JumpLimbPath = LimbPath
      CopyOf = Clone Jump Path
   DislodgeLimbPath = LimbPath
      CopyOf = Clone Dislodge Path
   AddGib = Gib
      GibParticle = MOPixel
         CopyOf = Drop Blood
      Count = 100
      Spread = 2.25
      MaxVelocity = 20
      MinVelocity = 8
   AddGib = Gib
      GibParticle = MOSParticle
         CopyOf = Shard Flesh Micro
      Count = 17
      Spread = 2.25
      MaxVelocity = 15
      MinVelocity = 5
   AddGib = Gib
      GibParticle = MOSParticle
         CopyOf = Shard Bone Micro
      Count = 7
      Spread = 2.25
      MaxVelocity = 15
      MinVelocity = 5
   AddGib = Gib
      GibParticle = MOSParticle
         CopyOf = Shard Metal Rust Micro
      Count = 5
      Spread = 2.25
      MaxVelocity = 15
      MinVelocity = 5
   AddGib = Gib
      GibParticle = MOSRotating
         CopyOf = Gib Flesh Small A
      Count = 1
      Spread = 2.25
      MaxVelocity = 10
      MinVelocity = 1
   AddGib = Gib
      GibParticle = MOSRotating
         CopyOf = Gib Flesh Small B
      Count = 1
      Spread = 2.25
      MaxVelocity = 10
      MinVelocity = 1
   AddGib = Gib
      GibParticle = MOSRotating
         CopyOf = Gib Flesh Small C
      Count = 1
      Spread = 2.25
      MaxVelocity = 10
      MinVelocity = 1
   GibImpulseLimit = 1800
   GibWoundLimit = 8

Author:  Raithah [ Fri Aug 03, 2007 7:48 pm ]
Post subject:  Re: Theoretical way to make a brain clone.

Please excuse my ignorance, but what exactly does this do ? Make a brain ... into a clone ?

Author:  zalo [ Fri Aug 03, 2007 7:52 pm ]
Post subject:  Re: Theoretical way to make a brain clone.

It's supposed to but it doesn't work.

It's trying to copy data from an Actor into an AHuman.

and it brings up error saying something like "Cannot find instance "Brain Case".

Author:  Alenth Eneil [ Fri Aug 03, 2007 7:54 pm ]
Post subject:  Re: Theoretical way to make a brain clone.

Silly data making CopyOf think it needs identical templates. Prevents modders from making stupid mistakes, but this would work it if just took what it could.

Author:  Raithah [ Fri Aug 03, 2007 8:12 pm ]
Post subject:  Re: Theoretical way to make a brain clone.

Couldn't you do this exact same thing by renaming a Green Clone and putting it into the Brains catagory ? But I guess that'd be permanent, so it wouldn't be the perfect solution. It'd work for a faux single player, though.

Author:  Alenth Eneil [ Fri Aug 03, 2007 8:18 pm ]
Post subject:  Re: Theoretical way to make a brain clone.

The idea was to NOT overwrite Brain Case.

Author:  Lord Tim [ Fri Aug 03, 2007 8:51 pm ]
Post subject:  Re: Theoretical way to make a brain clone.

I know why this doesn't work, though.

If it says "and it brings up error saying something like "Cannot find instance "Brain Case"."

That just means that Brain Case hasn't been made yet. You have to put this code after the Brain Case code somewhere. It would at least fix that problem.

Author:  Alenth Eneil [ Fri Aug 03, 2007 9:02 pm ]
Post subject:  Re: Theoretical way to make a brain clone.

Nope, it's becase it doesn''t have an AHuman called Brain Case.

Author:  Demented [ Fri Aug 03, 2007 9:58 pm ]
Post subject:  Re: Theoretical way to make a brain clone.

In any case, why the emphasis on CopyOf for the Brain Case?
Somehow I doubt the game will copy over anything that you couldn't have typed out manually.

Author:  Alenth Eneil [ Fri Aug 03, 2007 10:41 pm ]
Post subject:  Re: Theoretical way to make a brain clone.

Becuse that makes it get the hardcode that makes the brain vital to the game.

Author:  lololn00b [ Sat Aug 04, 2007 10:04 am ]
Post subject:  Re: Theoretical way to make a brain clone.

Elpolodiablo made a clone that works as the brain in his CCDM TC
You should have downloaded it

Author:  Alenth Eneil [ Sat Aug 04, 2007 10:26 am ]
Post subject:  Re: Theoretical way to make a brain clone.

Elpolo used hexediting and might have just overwritten the original brain.

Author:  Elpolodiablo [ Sat Aug 04, 2007 2:08 pm ]
Post subject:  Re: Theoretical way to make a brain clone.

Nope i used scripting for that mod.

I just made a dood called Mother brain and made sure that that player had no other brains

Page 1 of 1 All times are UTC [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/