Page 1 of 1
Can these 2 things be made?
Posted: Sat Jun 14, 2003 8:19 am
by nuuskamuikkunen
Hi! I'm new to mapping but I have a few questions before I start my project (well, no use starting if these can't be made).
So, is it possible to make
1) for example a ball that bounces/moves when you run to it and bounces/moves/flies when you shoot it (knockback)
2) an object (doesn't really matter what it is) that would explode when the ball hits it?
I have a hunch that those are impossible. Or am I wrong? I hope so
Thanks for any help!
Posted: Sat Jun 14, 2003 8:33 am
by jv_map
Yes I think it's possible. Use a projectile (something like a grenade). It would have to be entirely scripted.
Posted: Sat Jun 14, 2003 8:46 am
by nuuskamuikkunen
jv_map wrote:Yes I think it's possible. Use a projectile (something like a grenade). It would have to be entirely scripted.
Even a grenade itself would do the trick but it doesn't move when you shoot it or "kick" it.
So I would need to do some scripthing outside map editor?
Posted: Sat Jun 14, 2003 9:01 am
by Alcoholic
i think theres an entity like "func_fallingrock" that has alot of things like, "bounce" which is sent to the entity when its touched. mess around with that and i think it could work.
Posted: Sun Jun 15, 2003 6:29 am
by nuuskamuikkunen
Alcoholic wrote:i think theres an entity like "func_fallingrock" that has alot of things like, "bounce" which is sent to the entity when its touched. mess around with that and i think it could work.
Thanks for the info! I think the biggest problem is to make the ball move (knockback) when you shoot it. Dunno how that could be done.
Trigger_push
Posted: Sun Jun 15, 2003 6:45 am
by tltrude
There is a func_pushobject that will probably work.
Posted: Mon Jun 16, 2003 8:45 am
by Sideways
But how would you get push_object to react to gunfire? I think it would be possible to script the 'ball' in such a way that it bounces when it hits a player, but I don't even think it's possible to have it react to gunfire.
Posted: Mon Jun 16, 2003 11:57 am
by _Snake_
Well, I thought about this and I must say it's possible but it would probably be kinda weird. You would have to make triggers all around the ball. Then bind the triggers to the ball. Whenever a trigger is shot the ball rotates however far it should BUT the triggers must rotate the exact same just in a negative value. You would have to do this so that the triggers don't spin the ball over and start shooting a trigger that was meant to make the ball go another way.
Umm, if you don't get this I can try my hand at it when I get home.