View unanswered posts | View active topics It is currently Sat Dec 28, 2024 3:26 pm



Reply to topic  [ 32 posts ]  Go to page 1, 2, 3  Next
 Martyrdom? 
Author Message

Joined: Thu Nov 15, 2007 5:49 pm
Posts: 98
Reply with quote
Post 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
Profile
User avatar

Joined: Sun Nov 25, 2007 6:29 am
Posts: 400
Reply with quote
Post 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
Profile
User avatar

Joined: Fri Dec 29, 2006 7:42 pm
Posts: 1871
Location: UK
Reply with quote
Post Re: Martyrdom?
Nope, gibbed TDExplosives won't detonate after their timer expires.


Wed Dec 12, 2007 1:04 am
Profile
User avatar

Joined: Wed Jun 06, 2007 8:01 pm
Posts: 159
Location: I have the power!
Reply with quote
Post 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
Profile
User avatar

Joined: Fri Dec 29, 2006 7:42 pm
Posts: 1871
Location: UK
Reply with quote
Post Re: Martyrdom?
You could make it gib directly into an explosion, but that would explode instantly.


Wed Dec 12, 2007 1:24 am
Profile

Joined: Thu Nov 15, 2007 5:49 pm
Posts: 98
Reply with quote
Post 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
Profile
User avatar

Joined: Fri Dec 29, 2006 7:42 pm
Posts: 1871
Location: UK
Reply with quote
Post 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
Profile

Joined: Thu Nov 15, 2007 5:49 pm
Posts: 98
Reply with quote
Post 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
Profile
User avatar

Joined: Fri Apr 27, 2007 4:55 pm
Posts: 1178
Location: America!
Reply with quote
Post Re: Martyrdom?
It won't be a live grenade. Gibbed grenades don't start their timers.


Wed Dec 12, 2007 2:38 am
Profile

Joined: Thu Nov 15, 2007 5:49 pm
Posts: 98
Reply with quote
Post 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
Profile
User avatar

Joined: Fri Dec 29, 2006 7:42 pm
Posts: 1871
Location: UK
Reply with quote
Post Re: Martyrdom?
Set the gib as the explosion itself, use the explosion code from the grenade.


Wed Dec 12, 2007 2:45 am
Profile

Joined: Thu Nov 15, 2007 5:49 pm
Posts: 98
Reply with quote
Post 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
Profile
User avatar

Joined: Fri Dec 29, 2006 7:42 pm
Posts: 1871
Location: UK
Reply with quote
Post Re: Martyrdom?
Air Blast is the instance name for one of the explosive effects...


Wed Dec 12, 2007 2:50 am
Profile

Joined: Thu Nov 15, 2007 5:49 pm
Posts: 98
Reply with quote
Post Re: Martyrdom?
..So if I change the gib to Air Blast it should be set?


Wed Dec 12, 2007 3:01 am
Profile
User avatar

Joined: Fri Dec 29, 2006 7:42 pm
Posts: 1871
Location: UK
Reply with quote
Post Re: Martyrdom?
Try it, I'm not sure.


Wed Dec 12, 2007 3:03 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 32 posts ]  Go to page 1, 2, 3  Next

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.027s | 14 Queries | GZIP : Off ]