Author |
Message |
KnightD
Joined: Thu Nov 15, 2007 5:49 pm Posts: 98
|
Martyrdom?
Has anyone played Call of Duty 4? The idea of dropping a live grenade when you die is pretty awesome. I'm not sure how to make the clone gib so that he drops a live grenade. : [
|
Wed Dec 12, 2007 12:20 am |
|
|
Sixteen
Joined: Sun Nov 25, 2007 6:29 am Posts: 400
|
Re: Martyrdom?
Well... I don't really think you can, but I made it so that an actor gibbed a mega-map-wipe form shook's pack in B18 by inserting Code: AddGib = Gib GibParticle = TDExplosive CopyOf = Mega map Wipe Count = 1 Spread = 2.25 MaxVelocity = 10 MinVelocity = 1 into the code. You'll have to change that to make it the frag grenade, but I'm not sure it'll work.
|
Wed Dec 12, 2007 12:56 am |
|
|
TrouserDemon
Joined: Fri Dec 29, 2006 7:42 pm Posts: 1871 Location: UK
|
Re: Martyrdom?
Nope, gibbed TDExplosives won't detonate after their timer expires.
|
Wed Dec 12, 2007 1:04 am |
|
|
kamakazibob
Joined: Wed Jun 06, 2007 8:01 pm Posts: 159 Location: I have the power!
|
Re: Martyrdom?
Could you make them gib an impact explosive along the lines of an actor (or something) that explodes into mopixels
|
Wed Dec 12, 2007 1:23 am |
|
|
TrouserDemon
Joined: Fri Dec 29, 2006 7:42 pm Posts: 1871 Location: UK
|
Re: Martyrdom?
You could make it gib directly into an explosion, but that would explode instantly.
|
Wed Dec 12, 2007 1:24 am |
|
|
KnightD
Joined: Thu Nov 15, 2007 5:49 pm Posts: 98
|
Re: Martyrdom?
Ok. What would I change the gib too in order to make an explosion roughly the size of a grenade or C4?
|
Wed Dec 12, 2007 1:44 am |
|
|
TrouserDemon
Joined: Fri Dec 29, 2006 7:42 pm Posts: 1871 Location: UK
|
Re: Martyrdom?
Look at the grenade code, I'm not really sure myself, but I've seen it done.
|
Wed Dec 12, 2007 1:55 am |
|
|
KnightD
Joined: Thu Nov 15, 2007 5:49 pm Posts: 98
|
Re: Martyrdom?
I apologize for my ineptness.. I tried changing a gib to TDExplosive, like the particles in a grenade and I get an error..
|
Wed Dec 12, 2007 2:07 am |
|
|
Lord Tim
Joined: Fri Apr 27, 2007 4:55 pm Posts: 1178 Location: America!
|
Re: Martyrdom?
It won't be a live grenade. Gibbed grenades don't start their timers.
|
Wed Dec 12, 2007 2:38 am |
|
|
KnightD
Joined: Thu Nov 15, 2007 5:49 pm Posts: 98
|
Re: Martyrdom?
Ok, I understand that part. What would I change an actor's gib to so that it explodes instead of creating the gib?
|
Wed Dec 12, 2007 2:42 am |
|
|
TrouserDemon
Joined: Fri Dec 29, 2006 7:42 pm Posts: 1871 Location: UK
|
Re: Martyrdom?
Set the gib as the explosion itself, use the explosion code from the grenade.
|
Wed Dec 12, 2007 2:45 am |
|
|
KnightD
Joined: Thu Nov 15, 2007 5:49 pm Posts: 98
|
Re: Martyrdom?
What part of the grenade is the explosion? Code: AddDevice = TDExplosive InstanceName = Frag Grenade AddToGroup = Bombs Mass = 2 RestThreshold = -500 HitsMOs = 1 GetsHitByMOs = 0 SpriteFile = ContentFile FilePath = Base.rte/Devices/Explosives/FragGrenade.bmp FrameCount = 1 SpriteOffset = Vector X = -3 Y = -4 EntryWound = AEmitter CopyOf = Dent Metal ExitWound = AEmitter CopyOf = Dent Metal GoldValue = 5 AtomGroup = AtomGroup AutoGenerate = 1 Material = Material CopyOf = Military Stuff Resolution = 2 Depth = 0 DeepGroup = AtomGroup AutoGenerate = 1 Material = Material CopyOf = Military Stuff Resolution = 4 Depth = 10 DeepCheck = 1 JointStrength = 75 JointStiffness = 0.5 DrawAfterParent = 1 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 = Side Thruster Blast Ball 1 ParticleNumberToAdd = 20 AddParticles = MOPixel CopyOf = Grenade Fragment Gray ParticleNumberToAdd = 20 AddParticles = MOPixel CopyOf = Grenade Fragment Yellow ParticleNumberToAdd = 30 AddParticles = MOPixel CopyOf = Air Blast
|
Wed Dec 12, 2007 2:49 am |
|
|
TrouserDemon
Joined: Fri Dec 29, 2006 7:42 pm Posts: 1871 Location: UK
|
Re: Martyrdom?
Air Blast is the instance name for one of the explosive effects...
|
Wed Dec 12, 2007 2:50 am |
|
|
KnightD
Joined: Thu Nov 15, 2007 5:49 pm Posts: 98
|
Re: Martyrdom?
..So if I change the gib to Air Blast it should be set?
|
Wed Dec 12, 2007 3:01 am |
|
|
TrouserDemon
Joined: Fri Dec 29, 2006 7:42 pm Posts: 1871 Location: UK
|
Re: Martyrdom?
Try it, I'm not sure.
|
Wed Dec 12, 2007 3:03 am |
|
|
|