portal for grenades 
25 comments basicly a grenade come in a blue or orange portal and it comes out by the 2nd portal
now you can throw grenade through the whole map
now you can throw grenade through the whole map


Comments
25 commentsLog in!
You need to log in to be able to write comments!Log in
@Mora_rus
yes I did my best with the math part of the lua, but that's still not correct, so like in the video grenades can go out of a portal and get in the same portal with a specific throw distance & angle - also for the same reason sometimes even if you throw your grenade correclty it doesn't work.
I'll maybe comment and clean my code, since many showed interrest on it

I'll maybe comment and clean my code, since many showed interrest on it
@
Seekay: that would probably be too heavy to calculate...


Reminds me of
Holzchopf's Portal Gun in Carnage Contest. If bullets would go through the portals too, that would be great.


I'm quite surprised that this hasn't been done so far. DC should consider making this a feature in CS2D itself.
thanks everyone
@
Pagyra: if the portal were on walls it would makes sense to come out grenades in the opposite dirrection (like in portal the game). but on the ground it's more like start trek warmhole - same sens - same dirrection - same strength
@
VADemon: thanks for your offer! ok let's improve this script

@

@



Awesome idea, poorly chosen name, description is OK.
Pagyra no, it's actually right. The portals are on the floor and this could be considered a basic reflection.
@
tontonEd: since the idea is so good, I offer you help whereby we'll improve this script together and I'll teach you stuff

@

edited 1×, last 21.07.15 07:09:53 pm