
Maniac1000
-Helpful Poster-
Joined: Feb 24, 2007
|
Posted: Aug 28, 2009 12:37 AM
Msg. 1 of 10
Is it possible with a script to make a vehicle go double speed for a certain length of time when they enter a trigger volume? Thats the way im thinking it should be done but if there is a different way please let me know.
|
|
|

UnevenElefant5
Joined: May 3, 2008
its been fun yall, i'll never forget this site :')
|
Posted: Aug 28, 2009 10:18 AM
Msg. 2 of 10
For the double speed, you could probably attach a damage effect to the rear marker of the vehicle, but that wouldn't work so well. You could eject the player, destroy his vehicle, create a new vehicle (which goes 2x as fast) and then stick him in there, of course, this is all happening very fast.
|
|
|

Maniac1000
-Helpful Poster-
Joined: Feb 24, 2007
|
Posted: Aug 28, 2009 10:29 PM
Msg. 3 of 10
im thinking of like a mariokart style race with boosts. Your suggestion will work im sure but will it cause lag? :) also is someone willing to make a quick script for me to do what Unevenelefant said?
idea, race map, with powerups which change a civi hog which has a driver and passenger into a rockethog and the passenger would be switched to gunner, for a set time then swich back.
Edited by Maniac1000 on Aug 28, 2009 at 10:49 PM
|
|
|

Me KS
Joined: Feb 2, 2008
Desire is Reality. Xfire: jetmaster23
|
Posted: Aug 28, 2009 11:13 PM
Msg. 4 of 10
Quote: --- Original message by: UnevenElefant5 For the double speed, you could probably attach a damage effect to the rear marker of the vehicle, but that wouldn't work so well. You could eject the player, destroy his vehicle, create a new vehicle (which goes 2x as fast) and then stick him in there, of course, this is all happening very fast. The second option would be the best one. Something similar was done in DMT-air to switch from the true hoverboard with ghost physics to the flying hoverboard with banshee physics. Unfortunately, it will not work in MP because either (unit_enter_vehicle) or (vehicle_load_magic) are needed to load the player in the new vehicle and they both don't sync. So, the first option is the only one that could work. However, it will probably be too unstable to be useful, considering the boost is pushing a vehicle with hog physics. But, it's not impossible. It would just take a lot of testing and tweaking with the damage force. I would suggest adding two new markers equally apart from the x-axis slightly above and behind the vehicle. The distance apart on the x-axis should be somewhat far from the sides of the vehicle. As for the z-axis, it should only be slightly above the vehicle. For the y-axis, it should be decently behind the vehicle. This will hopefully balance out any swerving that results from having one marker perfectly centered behind the vehicle, since equal force is coming from both sides. It will also push the vehicle slightly into the ground, which will keep it on the ground and maintain traction while it's getting pushed forward. Quote: --- Original message by: Maniac1000 idea, race map, with powerups which change a civi hog which has a driver and passenger into a rockethog and the passenger would be switched to gunner, for a set time then swich back.
That could only be done with UnevenElefant's second option, which won't sync.
|
|
|

Maniac1000
-Helpful Poster-
Joined: Feb 24, 2007
|
Posted: Aug 28, 2009 11:18 PM
Msg. 5 of 10
well darn, thanks for making that all clear man.
|
|
|

Me KS
Joined: Feb 2, 2008
Desire is Reality. Xfire: jetmaster23
|
Posted: Aug 28, 2009 11:30 PM
Msg. 6 of 10
No problem. I would have a solid solution but I don't think there's anything other than the damage effect boost that could work and sync.
|
|
|

Maniac1000
-Helpful Poster-
Joined: Feb 24, 2007
|
Posted: Aug 29, 2009 07:03 PM
Msg. 7 of 10
would it be possible to make a dammage effect boost with an inverse value (or direction) and attatch it to the front of a hog, therefore pulling it? That, imo should make it more stable, or would it end up being the same? Edited by Maniac1000 on Aug 29, 2009 at 07:04 PM
|
|
|

Me KS
Joined: Feb 2, 2008
Desire is Reality. Xfire: jetmaster23
|
Posted: Aug 29, 2009 08:30 PM
Msg. 8 of 10
Good idea, never thought of it that way. It definitely would be more stable, and I'm sure negative values for the force could be used to pull. I've tested negative force with AR bullet impacts. Whenever I shot weapons on the ground, they'd go flying right towards me instead of away.
In that case, all that's needed is a perfectly centered marker in front of the vehicle. Edited by Me KS on Aug 29, 2009 at 08:31 PM
|
|
|

Maniac1000
-Helpful Poster-
Joined: Feb 24, 2007
|
Posted: Aug 29, 2009 08:36 PM
Msg. 9 of 10
Excelent. With the powerups thing, is it possible to have ammunition pickups for vehicles? Edited by Maniac1000 on Aug 29, 2009 at 08:39 PM
|
|
|

thellt
Joined: Feb 14, 2009
chiperdilly the great 1999-2017
|
Posted: Aug 29, 2009 09:17 PM
Msg. 10 of 10
this is quite off topic... whereve u been on xfire maniac? havent seen u in foreva. if you got a new user mind sending me a pm?
|
|
|