Data Realms Fan Forums http://45.55.195.193/ |
|
Lure help http://45.55.195.193/viewtopic.php?f=1&t=8217 |
Page 1 of 1 |
Author: | Tealord [ Wed Oct 17, 2007 1:29 am ] |
Post subject: | Lure help |
Im trying to make a grenade, which would lure computers actors so that they're interested to attack it. So if someone could please help me. |
Author: | TrouserDemon [ Wed Oct 17, 2007 1:31 am ] |
Post subject: | Re: Lure help |
Make it an actor with explosive gibs. |
Author: | Falcon X [ Wed Oct 17, 2007 1:35 am ] |
Post subject: | Re: Lure help |
Or just have the grenade spawn an actor, it's that simple. it needs to be near the enemies so they will target it though. |
Author: | ToastMaster M [ Wed Oct 17, 2007 1:41 am ] |
Post subject: | Re: Lure help |
Why not paste some Motherbrain script into it? |
Author: | Tealord [ Wed Oct 17, 2007 1:45 am ] |
Post subject: | Re: Lure help |
I have tried to make it an actor, but it hasnt worked. Im not really good at this, so I dont know really how to do those things, which you told me -.- I have even tried that motherbrain script thing, but I guess I have done something wrong. |
Author: | Falcon X [ Wed Oct 17, 2007 1:47 am ] |
Post subject: | Re: Lure help |
...because it will act as motherbrain, and it's just an overly complicated and fail way to go. |
Author: | ToastMaster M [ Wed Oct 17, 2007 1:48 am ] |
Post subject: | Re: Lure help |
Well, I'm the last person you'd want to ask for scripting advice, but seeing as all the enemies ALWAYS go for the motherbrain, I'd isolate the code that causes that and insert it into the grenade. |
Author: | Tealord [ Wed Oct 17, 2007 1:55 am ] |
Post subject: | Re: Lure help |
So if I made it an actor, how would I make it explode? |
Author: | TrouserDemon [ Wed Oct 17, 2007 1:56 am ] |
Post subject: | Re: Lure help |
Set the gib as a TDexplosive (I think) |
Author: | Tealord [ Wed Oct 17, 2007 10:43 am ] |
Post subject: | Re: Lure help |
And how do I do that? If someone could explain me what kind of things I need to do, im a rookie doing these things and this is what I have done so far for this... Code: AddActor = AHuman InstanceName = Brain bomb AddToGroup = Bombs RestThreshold = -500 Mass = 0.1 Position = Vector X = 0 Y = 0 Velocity = Vector X = 0 Y = 10 HitsMOs = 1 GetsHitByMOs = 1 SpriteFile = ContentFile FilePath = Brain bomb.rte/Images/Grenade.bmp FrameCount = 1 SpriteOffset = Vector X = -3 Y = -4 EntryWound = AEmitter CopyOf = Dent Metal ExitWound = AEmitter CopyOf = Dent Metal GoldCost = 20 AtomGroup = AtomGroup AutoGenerate = 1 Material = Material CopyOf = Military Tech Resolution = 2 Depth = 0 DeepGroup = AtomGroup AutoGenerate = 1 Material = Material CopyOf = Military Tech Resolution = 4 Depth = 10 DeepCheck = 1 BodyHitSound = Sound CopyOf = Metal Body Blunt Hit Status = 0 Health = 1 ImpulseDamageThreshold = 3000 Team = 0 AimAngle = 0 AimDistance = 30 CharHeight = 150 HolsterOffset = Vector X = 0 Y = 0 AddActor = Attachable InstanceName = Brain explonation Mass = 0.1 HitsMOs = 1 GetsHitByMOs = 1 SpriteFile = ContentFile FilePath = Brain bomb.rte/Images/Grenade.bmp FrameCount = 1 SpriteOffset = Vector X = -3 Y = -4 EntryWound = AEmitter CopyOf = Wound Flesh Entry ExitWound = AEmitter CopyOf = Wound Flesh Exit AtomGroup = AtomGroup AutoGenerate = 1 Material = Material InstanceName = Brain explonation StructuralIntegrity = 30 Resolution = 2 Depth = 0 DeepGroup = AtomGroup AutoGenerate = 1 Material = Material InstanceName = Brain explonation StructuralIntegrity = 30 Resolution = 4 Depth = 10 DeepCheck = 1 JointStrength = 75 JointStiffness = 0.5 DrawAfterParent = 1 AddGib = Gib GibParticle = MOSRotating CopyOf = Brain bomb Gib Count = 1 Spread = 2.25 MaxVelocity = 10 MinVelocity = 1 GibImpulseLimit = 125 GibWoundLimit = 4 DetonationSound = Sound AddSample = ContentFile Path = Base.rte/Sounds/Explode2.wav StanceOffset = Vector X = -12 Y = -5 StartThrowOffset = Vector X = -12 Y = -5 EndThrowOffset = Vector X = -12 Y = -5 TriggerDelay = 2500 ParticleNumberToAdd = 10 AddParticles = MOSParticle CopyOf = Brain Bomb Blast Ball ParticleNumberToAdd = 300 AddParticles = MOPixel CopyOf = Brain Bomb Fragment Gray ParticleNumberToAdd = 20 AddParticles = MOPixel CopyOf = Brain Bomb Fragment Yellow ParticleNumberToAdd = 300 AddParticles = MOPixel CopyOf = Brain Bomb Air Blast I have done separate gib file too Code: AddEffect = MOSRotating InstanceName = Brain bomb Gib Mass = 0.1 Sharpness = 0.1 HitsMOs = 1 GetsHitByMOs = 1 SpriteFile = ContentFile FilePath = Brain bomb.rte/Images/Grenade.bmp FrameCount = 1 SpriteOffset = Vector X = -3 Y = -4 AngularVel = 60 EntryWound = AEmitter CopyOf = Dent Metal ExitWound = AEmitter CopyOf = Dent Metal AtomGroup = AtomGroup AutoGenerate = 1 Material = Material CopyOf = Military Tech Resolution = 2 Depth = 0 DeepGroup = AtomGroup AutoGenerate = 1 Material = Material CopyOf = Military Tech Resolution = 4 Depth = 1 DeepCheck = 0 Now when CC tries to read it when starting, it just crashes without any error message |
Page 1 of 1 | All times are UTC [ DST ] |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |