Catapult problem

Catapult problem

Postby StGinger » Tue Jan 17, 2012 5:33 pm

Hey, I have a problem with my catapults, Im starting to wonder if I do not understand them at all.

This is my situation: I have a catapult, with a white plate (128x128) about 300 inches above it. And then I have a white spot on the floor beside the catapult. The thing is that you have to shoot a portal above the catapult and beside it, so that you will be thrown straight up in the air, from the posision of the white floor.

I want the player to be thrown about 1400 inches up in the air. But if I set the "player speed" too high on the catapult the player will not even manage to pass through the first portal.

So what I need to do is to place another catapult (which can only throw the player if he passes through under it) over the white floor. But that catapult does not seem to be able to throw the player 1400 inches at all.

I have tried an info_target, but the catapult can not throw the player all the way up to it. For me it seems like It is impossible for a catapult (which only throws you if you come flying from a specific angle) to throw me as high as without the "specific angle". The max lenght seems to be when I set the "player speed" around 2000, or maybe even lower.

I have tried any kinds of threshholds (but I guess between 0 and 1 is the only nesserary if you just want to test if it works at all).

A strange thing was when I came up with the idéa to set the "help catapult" higher, so that it would throw you as high as before, but from a higher spot so you would reach the top. But it acually made mefly lower than before, and I know the catapult worked at some point becouse I did not loose any height when I tested to fly up and down through 2 white spots on the floor.

What am I missing here? can anyone tell me? The only time I can get to the top is if I set the "player speed" to around 700 and place many catapults on the way up. But that is not a solution I want to use in the final map. Bacouse you can see that something is not right when the player gains velocity at random places in the air^^
StGinger
Defective Turret
 
Posts: 49
Joined: Oct 15, 2011

Registered users don't see ads! Register now!
 

Re: Catapult problem

Postby ChickenMobile » Tue Jan 17, 2012 7:48 pm

I would say that you do not have a good idea about catapults whatsoever.
For one: a threshold only activates the catapult if the minimum speed is met, and will only do this if Use Threshold Check is set to yes.

Here is the solution to your answer: Make the catapult point towards a target which it will launch to (an info_target). Move the target 1400 units straight above your catapult. If it is in the wall or outside your map, make sure to put a box round it so it doesn't leak.

This will make the catapult launch 1400 units in the air every time, even if you do go through portals.
                             Image
User avatar
ChickenMobile
Senior Stalemate Associate
 
Posts: 2,400
Joined: May 9, 2011
Location: Canberra, Australia

Re: Catapult problem

Postby StGinger » Thu Jan 19, 2012 3:59 pm

chickenmobile wrote:
I would say that you do not have a good idea about catapults whatsoever.
For one: a threshold only activates the catapult if the minimum speed is met, and will only do this if Use Threshold Check is set to yes.

Here is the solution to your answer: Make the catapult point towards a target which it will launch to (an info_target). Move the target 1400 units straight above your catapult. If it is in the wall or outside your map, make sure to put a box round it so it doesn't leak.

This will make the catapult launch 1400 units in the air every time, even if you do go through portals.


I hope that you are right in that, it would probably be easier to solve the problem that way.

But yes I know what a threshold does, and why I mentioned it was becouse I did not want people to say: "are you sure that your speed matched the speed allowed by the threshold?"

It did not work, no matter how high I place the target the catapult wont throw me any higher than about 900 inches after i've gone through the portal on the floor. And I do not have "use exact velocity" on either, which would prevent the added velocity to reach the target.

But thank you for the reply!
StGinger
Defective Turret
 
Posts: 49
Joined: Oct 15, 2011

Re: Catapult problem

Postby StGinger » Sat Jan 21, 2012 6:10 am

I have now been testing the shit out of my catapults, and what I did realize is that as long as I have "use threshold check" set to "yes" the catapult can for some reason only throw me with the top sped 619 up in the air. If I set the speed to 620 it stops working. I have set the lower threshold to 0 and the upper threshold to 1, so it cant be becouse the player does not matches any minimum speed when reaching the catapult can it?

To set the "use theshold check" to "yes" is nessesary for the reason it starts catapult me on the way down if I turn it off, when it should only help the players speed on the way up. Its not in any way logical in my head, and I guess that prooves that I do not have a good idéa about catapults.

So please explain to me what I am missing!
StGinger
Defective Turret
 
Posts: 49
Joined: Oct 15, 2011


Return to Hammer and Modding



Who is online

Users browsing this forum: No registered users and 7 guests