Data Realms Fan Forums
http://45.55.195.193/

Actors as Gibs?
http://45.55.195.193/viewtopic.php?f=1&t=21731
Page 1 of 2

Author:  Jackal [ Wed Mar 09, 2011 2:46 am ]
Post subject:  Actors as Gibs?

Well, here is the rundown. I am trying to make Zalo's mini dummy gib into two of itself, but I am having some trouble doing so. I added a gib to the head, and it looks like this:

Quote:
AddGib = Gib
GibParticle = AHuman
CopyOf = Mini Dummy
Offset = Vector
X = 0
Y = 0
Count = 2
Spread = 5
MinVelocity = 0
MaxVelocity = 0
GibImpulseLimit = 100
GibWoundLimit = 3
GibSound = Sound
CopyOf = BoneCrack


Basically, I can't figure out what to set AddGib and GibParticle equal to. Please help, because I want a wave of lag to crush my enemies as soon as possible.

EDIT: I also want to mention that the lines are properly indented in the actual ini file, but I can't get them to show up right on the forums.

Author:  Asklar [ Wed Mar 09, 2011 3:11 am ]
Post subject:  Re: Actors as Gibs?

I think those are fine, did you try running it?
Maybe the problem is in another thing. Did you define the mini-dummy before?
Because if you are inserting it the first time you define it it won't work.

Author:  Jackal [ Wed Mar 09, 2011 3:16 am ]
Post subject:  Re: Actors as Gibs?

I tried running it, and it refuses to comply. I don't I have defined the mini dummy yet, though. How does one do that?

Author:  Asklar [ Wed Mar 09, 2011 3:27 am ]
Post subject:  Re: Actors as Gibs?

Well, simply define it. Like defining the actor, you know.
Defining every of it's parts (arms, head, legs, other attachables), then AddActor = AHuman and all that things.

After you define it, you can make a CopyOf of it and in the end add AddGib = Gib and all the thing about the MiniDummy you defined first.

So, it would be something like this:

Code:
Definition of Arms
Definition of Legs
Definition of Head

AddActor = AHuman
   PresetName = Mini Dummy "Gib"
...

AddActor = AHuman
   CopyOf = Mini Dummy "Gib"
   PresetName = Mini Dummy
   AddGib = Gib
      GibParticle = AHuman
      CopyOf = Mini Dummy "Gib"
...

Author:  Major [ Wed Mar 09, 2011 4:12 am ]
Post subject:  Re: Actors as Gibs?

Is recursive gibbing even possible? I didn't think that you could have an object gib into itself.

Author:  411570N3 [ Wed Mar 09, 2011 5:16 am ]
Post subject:  Re: Actors as Gibs?

You have to completely redefine the actor a second time, this time using itself as a gib. It is fully possible and isn't that hard once you get the hang of it.

Author:  Commodore111 [ Wed Mar 09, 2011 6:31 am ]
Post subject:  Re: Actors as Gibs?

Is it not possible to use lua to create an instance of itself as well?

Author:  411570N3 [ Wed Mar 09, 2011 7:53 am ]
Post subject:  Re: Actors as Gibs?

The .ini method works just as well and is probably less laggy.

Author:  Jackal [ Wed Mar 09, 2011 1:41 pm ]
Post subject:  Re: Actors as Gibs?

Ok, thank you guys. Huge help! I hadn't defined a new AHuman to use as a gib (ie. mini dummy "gib"). I was just trying to make the gib a copy of the normal "mini dummy". Thanks again!

Author:  Jackal [ Wed Mar 09, 2011 9:50 pm ]
Post subject:  Re: Actors as Gibs?

I got it working, so now I need to work on the spread and count. I need to get that "wave" effect.

Author:  Asklar [ Wed Mar 09, 2011 10:21 pm ]
Post subject:  Re: Actors as Gibs?

And if you make it gib into an AEmitter that emits Mini Dummies at different speeds?
That can make it look wavy.

Author:  Jackal [ Wed Mar 09, 2011 11:03 pm ]
Post subject:  Re: Actors as Gibs?

I meant getting the mass of becoming a wave, but that sounds like it would work better. I am now wrestling with the problem of the mini dummies that gib from the original, because they don't gib into their own mini dummies. I got the "second generation" to gib into more, but the "third generation" didn't gib into more. It seems that, unless I utilize AEmitters, I would have to add a separate gib into each generation of gibs.

Author:  Asklar [ Wed Mar 09, 2011 11:08 pm ]
Post subject:  Re: Actors as Gibs?

You have to define them a lot of times and repeat the process you did the first time to make more "generations" gib.

Author:  carriontrooper [ Thu Mar 10, 2011 2:40 am ]
Post subject:  Re: Actors as Gibs?

Or you could use luamajiggers to do the thingamajigger.

Author:  Jackal [ Thu Mar 10, 2011 2:50 am ]
Post subject:  Re: Actors as Gibs?

I can't use these "lua" incantations you speak of. Their magic level is beyond my grasp.

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