Launching Straight Up

Avatar
Lostprophetpunk
409 Posts
Posted Jul 07, 2011
Heya there,

I have been working on my first map. However, when trying to get my second ariel faith plate to work in the correct manner, I have encountered some problems.

Part of the puzzle involves a cube flying across the map, and on landing hitting a second ariel faith plate. This plate is supposed to launch said cube straight up. I have placed the info_target straigh above the faith plate, but it makes it fly past.

Any ideas?

Advertisement
Registered users don’t see ads! Register now!
Avatar
Marlovious
111 Posts
Posted Jul 07, 2011
Replied 1 hour later

Lostprophetpunk wrote:
Heya there,
I have been working on my first map. However, when trying to get my second ariel faith plate to work in the correct manner, I have encountered some problems.
Part of the puzzle involves a cube flying across the map, and on landing hitting a second ariel faith plate. This plate is supposed to launch said cube straight up. I have placed the info_target straigh above the faith plate, but it makes it fly past.
Any ideas?

Make sure the name of the info_target has a unique name and is spelled correctly in the trigger properties.

Avatar
Lostprophetpunk
409 Posts
Posted Jul 07, 2011
Replied 36 minutes later

Marlovious wrote:
Make sure the name of the info_target has a unique name and is spelled correctly in the trigger properties.

It is already.

I always check and re-check spelling of names before testing.

Avatar
Marise
249 Posts
Posted Jul 07, 2011
Replied 5 minutes later
So the cube is launching straight up but going past the info_target? Or is it flying at an angle?
Avatar
Random
171 Posts
Posted Jul 07, 2011
Replied 5 minutes later
Can you test what happens if you drop the cube straight on the second plate, ignoring the first? Or just make a smaller test map including only one that launches straight up so you can see if it works or tweak the settings if it doesn't?
Also, yeah, knowing how far it flies past would be helpful to know.
Avatar
Lostprophetpunk
409 Posts
Posted Jul 07, 2011
Replied 12 minutes later

Marise wrote:
So the cube is launching straight up but going past the info_target? Or is it flying at an angle?

It flies at an angle, rather than straight up and towards the info_target.

Random wrote:
Can you test what happens if you drop the cube straight on the second plate, ignoring the first? Or just make a smaller test map including only one that launches straight up so you can see if it works or tweak the settings if it doesn't?
Also, yeah, knowing how far it flies past would be helpful to know.

I did that whilst testing. It flies at an angle in the opposite direction. =/

Avatar
Skotty
671 Posts
Posted Jul 07, 2011
Replied 26 minutes later
Sometimes the physic speed of the trigger_catapult is not big enough to get the cube to the target. Just try to increase your speed value. If you look in the console, there should be a red error if the force is not big enough.
Avatar
Lostprophetpunk
409 Posts
Posted Jul 07, 2011
Replied 1 hour later

Skotty wrote:
Sometimes the physic speed of the trigger_catapult is not big enough to get the cube to the target. Just try to increase your speed value. If you look in the console, there should be a red error if the force is not big enough.

The physics speed is enough. I had it set to 750, but tried it at 1000, same thing happened.

No error in the console by the way.

Avatar
Marise
249 Posts
Posted Jul 07, 2011
Replied 1 hour later
I believe that in the values of your trigger_catapult there is a setting to change the angle. Maybe making that 90 would work. Sorry I can't think of the name of the value right now.
Avatar
Skotty
671 Posts
Posted Jul 07, 2011
Replied 18 minutes later
If you set a target the angle is obsolete (I think).
Avatar
WinstonSmith
940 Posts
Posted Jul 07, 2011
Replied 2 hours later
I don't think so, I'm reasonably sure you need to both specify the target and the angle/launch direction. Try changing the Launch Direction of the trigger_catapult to up (there's a dropdown box just below it with Down and Up), see if that works.
Avatar
Marlovious
111 Posts
Posted Jul 07, 2011
Replied 1 hour later

WinstonSmith wrote:
I don't think so, I'm reasonably sure you need to both specify the target and the angle/launch direction. Try changing the Launch Direction of the trigger_catapult to up (there's a dropdown box just below it with Down and Up), see if that works.

This is incorrect. I found while making the map in my signature that what ever is catapulted will always hit the info target. I was able to change the height of travel via the "launch speed". IE, if you set launch speed to 100, the arch will be very high, and if set to 900 it will be an almost direct path.

Lostprophetpunk wrote:
I have placed the info_target straigh above the faith plate, but it makes it fly past.

How high above the catapult is the target? What size is the trigger_catapult? I have found that a 32x32 catapult will get the best results in terms of consistency.

Avatar
WinstonSmith
940 Posts
Posted Jul 07, 2011
Replied 1 hour later

Marlovious wrote:
WinstonSmith wrote:

I don't think so, I'm reasonably sure you need to both specify the target and the angle/launch direction. Try changing the Launch Direction of the trigger_catapult to up (there's a dropdown box just below it with Down and Up), see if that works.

This is incorrect. I found while making the map in my signature that what ever is catapulted will always hit the info target. I was able to change the height of travel via the "launch speed". IE, if you set launch speed to 100, the arch will be very high, and if set to 900 it will be an almost direct path.

I stand corrected, thanks for the info.

Avatar
Lostprophetpunk
409 Posts
Posted Jul 09, 2011
Replied 1 day later
I have played around with numerous settings on the trigger, set the direction of launch to 'up', set the speed to 950.

However, it still launches past the info_target. As what I am looking for is to have the cube bounce straight up, rather than than carry on.

Avatar
Marlovious
111 Posts
Posted Jul 09, 2011
Replied 3 hours later
I'm not sure what you are doing wrong but I've included a .vmf example with it working correctly.
Attachments
btest.vmf
0.02 MB 34 downloads
Avatar
Lostprophetpunk
409 Posts
Posted Jul 09, 2011
Replied 34 minutes later

Marlovious wrote:
I'm not sure what you are doing wrong but I've included a .vmf example with it working correctly.

Thanks for the example. I have taken a look at it and tested it. But the problem is that I need that cube (after it has been launched straight up) to continue to bounce up and down on that faith plate. Meaning that it doesn't move horizontally but only vertically bouncing up and down.

Avatar
Marlovious
111 Posts
Posted Jul 09, 2011
Replied 8 minutes later
Ah. Make the second catapult larger then. The problem with physics objects is that their path has an random angle added to their trajectory. Change "Apply angular impulse" to off in the trigger properties.
Avatar
Lostprophetpunk
409 Posts
Posted Jul 09, 2011
Replied 14 minutes later

Marlovious wrote:
Ah. Make the second catapult larger then. The problem with physics objects is that their path has an random angle added to their trajectory. Change "Apply angular impulse" to off in the trigger properties.

I have already set that to 'No'. I have attached a pic of my settings. I am getting so confused now. =[

pic.png
Images 1
Post image 1
Avatar
Marlovious
111 Posts
Posted Jul 09, 2011
Replied 6 minutes later
Move the target higher and try making the catapult smaller. Unfortunately, the closer the target is, the less accurate the fling. IE, if the cube hits the front edge of the catapult, it will have a slight angle going towards the center of the target.
Advertisement
Registered users don’t see ads! Register now!
Avatar
MasterLagger
1,695 Posts
Posted Jul 09, 2011
Replied 9 minutes later
Does your cube come out of a vent? I'm trying to remember how I did it (which did work).