Data Realms Fan Forums http://45.55.195.193/ |
|
Healing http://45.55.195.193/viewtopic.php?f=73&t=25555 |
Page 1 of 1 |
Author: | ShadowStorm [ Sat Sep 17, 2011 9:52 pm ] |
Post subject: | Healing |
Since the pie scripted buttons work now could someone make a script which does: create button in pie menu [tab]if button is pressed [tab][tab]heals user for 25 hp (or something) [tab][tab]gib helddevice [tab]else [tab]end end something like that but in Lua of course |
Author: | Asklar [ Sun Sep 18, 2011 12:23 am ] |
Post subject: | Re: Healing |
Do you mean creating a gun or a TDExplosive or any held device, make it have a pie slice that when selected gibs the held device and heals the user? If I learn a bit on pie slices, I can make it for you, but only with a placeholder sprite =P |
Author: | ShadowStorm [ Sun Sep 18, 2011 1:43 am ] |
Post subject: | Re: Healing |
A TDExplosive is what I had in mind (Throwing stimpacks at people is fun!). I can make my own sprite so if you want you can use null and yes, when the pie slice is selected it heals the user and destroys the TDExplosive. If you do end up making it then I thank you for taking the time to learn how to make the "pie slices". |
Author: | Asklar [ Sun Sep 18, 2011 1:52 am ] |
Post subject: | Re: Healing |
I want to learn it anyway, you can never learn enough lua. And it's a good training, so, I'm in. |
Author: | ShadowStorm [ Sun Sep 18, 2011 2:41 am ] |
Post subject: | Re: Healing |
Hmm I wonder, I might make a magazine version of this using the ammo replenish script that was in the T52 focus rifle that CC made... |
Author: | Asklar [ Sun Sep 18, 2011 8:09 am ] |
Post subject: | Re: Healing |
Ok, so, I almost did it. And Abdul told my I was doing it wrong, so he made a fix. I need to learn more lua. Still, here you go! You can use my icon for the pie menu slice, but you'll have to credit me for it, since it's my best sprite. Attachment: EDIT: Hey, now that I think, you can give it higher throwing speeds, reduce it's mass and increase the GibImpulseLimit to make a throwable MedKit. In that way you can reach the guys you need to heal faster, or just toss it around while inventing some dialogs and a backstory: "Dimitri, are you okay? You just recieved a bullet in your head!" "No, Dafred, I'm starting to see everything blurry... Oh, and everything is so cold!" "Here, take this!" (Dafred throws MedKit to Dimitri) "What's this?" "Quickly, open your pie menu and use the AddHealth function!" (Dimitri does what he is said to) "Dafred, I feel much better now!" (Dimitri stands up with his Kar98, aims at a Coalition heavy but gets crashed with a Drop Crate) "Oh well." |
Author: | ShadowStorm [ Sun Sep 18, 2011 6:30 pm ] |
Post subject: | Re: Healing |
Hehe nice story you made there, thanks for making this! |
Page 1 of 1 | All times are UTC [ DST ] |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |