Author Topic: Pong bullets that hurt you?  (Read 840 times)

I was wondering if someone could edit the pong script and make it damage you.  Or if someone could tell me how.  Sorry, but I am too much of a newb at Torque to figure it out on my own.

just use the "portal type player" player type, when the pong hits the player it kills them

Yeah but what if the portal-style player doesn't seem to work on my computer?

Yeah but what if the portal-style player doesn't seem to work on my computer?
Then I suppose you have a problem on your hands, don't you?

It's a player type. Player types shouldn't break unless you've seriously messed up your Blockland install.

Console log.

Oops I found that someone has forgeted around with the script it works now, but what if I want to have jets when the pong bullets hurt you?

i think he wants the normal player, but can be hurt by pong bullets

i think he wants the normal player, but can be hurt by pong bullets
Just add this to the normal player type..somewhere...I think..
Code: [Select]
AddDamageType("Pong",   '<bitmap:add-ons/PLAYERTYPENAME/CI_pong> %1', '%2 <bitmap:add-ons/Player_Portal/CI_pong> %1',0.2,1);

function pongProjectile::onCollision(%this,%obj,%col,%pos,%normal,%fade)
{
 Parent::onCollision(%this,%obj,%col,%pos,%normal,%fade);
« Last Edit: December 29, 2008, 04:42:56 PM by Sankuro »

Yeah but what if the portal-style player doesn't seem to work on my computer?

Then most add-ons shouldnt work on your computer

Bump because I'm impatient and I don't know how to copy the pong script, add the lines, then save it in a zipped file.

Bump because I'm impatient and I don't know how to copy the pong script, add the lines, then save it in a zipped file.
Your name seems to fit.

POrtal style player it was in the add-ons a while back

If the Portal-Style Player won't work on your computer, clearly an edited version to allow for jets and whatever won't work either.