View unanswered posts | View active topics It is currently Thu Dec 26, 2024 7:29 pm



Reply to topic  [ 13 posts ] 
 Theoretical way to make a brain clone. 
Author Message

Joined: Mon Dec 04, 2006 3:34 am
Posts: 2378
Reply with quote
Post 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


Fri Aug 03, 2007 7:40 pm
Profile
User avatar

Joined: Tue Jul 03, 2007 1:26 am
Posts: 165
Reply with quote
Post Re: Theoretical way to make a brain clone.
Please excuse my ignorance, but what exactly does this do ? Make a brain ... into a clone ?


Fri Aug 03, 2007 7:48 pm
Profile

Joined: Sat Feb 03, 2007 7:11 pm
Posts: 1496
Reply with quote
Post 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".


Fri Aug 03, 2007 7:52 pm
Profile WWW

Joined: Mon Dec 04, 2006 3:34 am
Posts: 2378
Reply with quote
Post 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.


Fri Aug 03, 2007 7:54 pm
Profile
User avatar

Joined: Tue Jul 03, 2007 1:26 am
Posts: 165
Reply with quote
Post 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.


Fri Aug 03, 2007 8:12 pm
Profile

Joined: Mon Dec 04, 2006 3:34 am
Posts: 2378
Reply with quote
Post Re: Theoretical way to make a brain clone.
The idea was to NOT overwrite Brain Case.


Fri Aug 03, 2007 8:18 pm
Profile
User avatar

Joined: Fri Apr 27, 2007 4:55 pm
Posts: 1178
Location: America!
Reply with quote
Post 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.


Fri Aug 03, 2007 8:51 pm
Profile

Joined: Mon Dec 04, 2006 3:34 am
Posts: 2378
Reply with quote
Post Re: Theoretical way to make a brain clone.
Nope, it's becase it doesn''t have an AHuman called Brain Case.


Fri Aug 03, 2007 9:02 pm
Profile
User avatar

Joined: Fri Jun 15, 2007 7:19 am
Posts: 94
Reply with quote
Post 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.


Fri Aug 03, 2007 9:58 pm
Profile WWW

Joined: Mon Dec 04, 2006 3:34 am
Posts: 2378
Reply with quote
Post Re: Theoretical way to make a brain clone.
Becuse that makes it get the hardcode that makes the brain vital to the game.


Fri Aug 03, 2007 10:41 pm
Profile
User avatar

Joined: Sat Jun 30, 2007 12:10 pm
Posts: 93
Location: Here
Reply with quote
Post 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


Sat Aug 04, 2007 10:04 am
Profile

Joined: Mon Dec 04, 2006 3:34 am
Posts: 2378
Reply with quote
Post Re: Theoretical way to make a brain clone.
Elpolo used hexediting and might have just overwritten the original brain.


Sat Aug 04, 2007 10:26 am
Profile

Joined: Sat Dec 23, 2006 12:37 pm
Posts: 406
Reply with quote
Post 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


Sat Aug 04, 2007 2:08 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 13 posts ] 

Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.471s | 15 Queries | GZIP : Off ]