Data Realms Fan Forums http://45.55.195.193/ |
|
Making devices disappear http://45.55.195.193/viewtopic.php?f=1&t=8827 |
Page 1 of 1 |
Author: | Darlos9D [ Fri Dec 07, 2007 8:50 am ] |
Post subject: | Making devices disappear |
Alright, so I did some searching about this. I know this issue has been gone over, but I didn't find a direct answer to my problem. When an actor drops a device, such as a weapon, how do you set it so it can't be picked up? This "weapon" I'm dealing with has no sprite, but even so, when the actor holding it gibs, there's still the red arrows and the name of the "weapon" in midair for a bit. How do I avoid this? I need a solution, as the actor is supposed to gib, and it'd look dumb to have the arrows and weapon name appear every time. |
Author: | Djinn [ Fri Dec 07, 2007 9:22 am ] |
Post subject: | Re: Making devices disappear |
Darlos9D wrote: Alright, so I did some searching about this. I know this issue has been gone over, but I didn't find a direct answer to my problem. When an actor drops a device, such as a weapon, how do you set it so it can't be picked up? This "weapon" I'm dealing with has no sprite, but even so, when the actor holding it gibs, there's still the red arrows and the name of the "weapon" in midair for a bit. How do I avoid this? I need a solution, as the actor is supposed to gib, and it'd look dumb to have the arrows and weapon name appear every time. Well this is tough to answer without knowing specifically what you're doing, but it may be easiest to make it at least one pixel in size and then make the actor gib into incredibly shortlived very sharp particles as well. When your actor gibs, it'll gib the weapon too. That work? |
Author: | Darlos9D [ Fri Dec 07, 2007 9:47 am ] |
Post subject: | Re: Making devices disappear |
Well, specifically, whats going on is this: I have an exploding projectile thats actually an actor. The actor normally gibs upon impact, but it also has a "weapon" that it fires at anything it gets close to. The GibImpulseLimit on the actor is really low, so when it fires that "weapon" it instantly gibs from the recoil. In this manner I've made a proximity-bomb of sorts. Of course, when the actor actually explodes, the "weapon" goes flying away too. Now, the weapon is in fact a one-pixel transparent thing with a really low GibImpulseLimit as well, but it still seems to survive a lot of the time, so you get the name of the weapon with red arrows pointing down below it flying through the air. Isn't there some kind of variable you can set so an weapon can't be picked up? I know you can do Buyable=0 to keep things out of the buy meny, but is there something similar for whether or not a weapon can be picked up in-game? |
Author: | The Mushroom Man [ Fri Dec 07, 2007 10:16 am ] |
Post subject: | Re: Making devices disappear |
Copy the code out of the zombie mod. Those weapons disappear after the zombies die. |
Author: | Seraph [ Fri Dec 07, 2007 11:32 am ] |
Post subject: | Re: Making devices disappear |
I know if you set GetshitbyMOS=0, it can't be destroyed, but it can't be picked up either. Mind you, my modding skills (Such as they are) are rusty. |
Author: | numgun [ Fri Dec 07, 2007 12:18 pm ] |
Post subject: | Re: Making devices disappear |
This ones easy: Just set the AutoGenerate to 0 on the HDFireArm part so it will dissappear on contact with ground. Also make it GetsHitByMOs = 0 just to make sure no scum can pick it up. Not necesary though. |
Author: | blipflip [ Fri Dec 07, 2007 10:47 pm ] |
Post subject: | Re: Making devices disappear |
Ooh I didn't know about autogenerate. |
Author: | Darlos9D [ Sat Dec 08, 2007 1:17 am ] |
Post subject: | Re: Making devices disappear |
numgun wrote: This ones easy: Just set the AutoGenerate to 0 on the HDFireArm part so it will dissappear on contact with ground. Also make it GetsHitByMOs = 0 just to make sure no scum can pick it up. Not necesary though. Alright, if thats the best there is, I'll do that. So... I put in the line "AutoGenerate = 0"? It doesn't seem to recognize the command |
Author: | HSWASA [ Sat Dec 08, 2007 2:00 am ] |
Post subject: | Re: Making devices disappear |
numgun was wrong???? TIS TEH APOCALYPSE!!!!!! |
Author: | war_man333 [ Sat Dec 08, 2007 10:05 am ] |
Post subject: | Re: Making devices disappear |
HSWASA wrote: numgun was wrong???? TIS TEH APOCALYPSE!!!!!! BLASPHEMY! HE CANNOT BE WRONG |
Author: | Grif [ Sat Dec 08, 2007 10:21 am ] |
Post subject: | Re: Making devices disappear |
Darlos9D wrote: numgun wrote: This ones easy: Just set the AutoGenerate to 0 on the HDFireArm part so it will dissappear on contact with ground. Also make it GetsHitByMOs = 0 just to make sure no scum can pick it up. Not necesary though. Alright, if thats the best there is, I'll do that. So... I put in the line "AutoGenerate = 0"? It doesn't seem to recognize the command It's in the DeepGroup sections. |
Page 1 of 1 | All times are UTC [ DST ] |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |