T&C (OBSOLETE)
#1
(OBSOLETE) Cuberite has explosions build in now
T&C
is a plugin that makes TNT and creepers (kinda) work again.

Info
you sadly don't get any particles or sounds when the TNT or creeper explodes.
also an explosion doesn't trigger other TNT blocks.
you can get damaged however and i even got it to work that the further you go from the explosion the less damage you get but it doesn't matter if you have amore on or not you still get the same amount of damage.


Attached Files
.zip   T&C.zip (Size: 1.17 KB / Downloads: 347)
Reply
Thanks given by:
#2
UPDATE:
other people can now also get damaged by the explosions.
Reply
Thanks given by:
#3
(04-09-2013, 04:40 AM)STR_Warrior Wrote: UPDATE:
other people can now also get damaged by the explosions.
The plugin don't work, When I turn on TNT with flint and steel, TNT don't do anything.
Reply
Thanks given by:
#4
no you have to break the TNT to let it explode Wink
Reply
Thanks given by: tonibm19
#5
Can I use the code you wrote for my BetterMobs plugin?
I want to make creepers and ghasts explode Smile
Reply
Thanks given by:
#6
Sure use all the code you want from my plugins Smile
Reply
Thanks given by:
#7
Why do you need separate plugin code for what can already be done by the server? cWorld has a DoExplosionAt function:
/** Does an explosion with the specified strength at the specified coordinate
a_SourceData exact type depends on the a_Source:
| esOther | void * |
| esPrimedTNT | cTNTEntity * |
| esCreeper | cCreeper * |
| esBed | cVector3i * |
| esEnderCrystal | Vector3i * |
| esGhastFireball | TBD |
| esWitherSkullBlack | TBD |
| esWitherSkullBlue | TBD |
| esWitherBirth | TBD |
| esPlugin | void * |
*/
void DoExplosiontAt(double a_ExplosionSize, double a_BlockX, double a_BlockY, double a_BlockZ, bool a_CanCauseFire, eExplosionSource a_Source, void * a_SourceData);

Oh, right, I forgot to export it to the API. Now it's there.
Reply
Thanks given by: NiLSPACE




Users browsing this thread: 1 Guest(s)