|
FAQ
• Search • Login
|
|
Page 1 of 1
|
[ 3 posts ] |
|
Author |
Message |
David Rodrigov
Joined: Mon Jan 25, 2010 11:35 pm Posts: 675
|
Magazine Help.
I'm coding a double barreled shotgun, and I don't want it to emit the shells until it reloads.
The way I'm doing this is making the rounds have no shells, and making the magazine have the sprite of two shotgun shells side by side. It is drawn behind the gun, so you cant see it until it is ejected out. It gibs two shotgun shells, to give the effect of two shells being ejected.
The problem is, how can I make the magazine gib whenever it hits the ground?
|
Tue Jul 24, 2012 12:08 am |
|
|
xenoargh
Joined: Fri Dec 30, 2011 3:33 am Posts: 276
|
Re: Magazine Help.
If you want it to be "near, but not yet on", then you need to use Lua to detect the ground pixels directly below the falling magazine, and if < X, gib. But probably the easiest way is to give it a negative RestThreshold, so that it gibs immediately.
|
Tue Jul 24, 2012 12:13 am |
|
|
Roast Veg
Data Realms Elite
Joined: Tue May 25, 2010 8:27 pm Posts: 4521 Location: Constant motion
|
Re: Magazine Help.
Give it very weak properties in the .ini I guess, make the impulse damage extremely low.
|
Tue Jul 24, 2012 12:17 am |
|
|
|
|
Page 1 of 1
|
[ 3 posts ] |
|
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
|
|