SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help > Discussion

Reply
 
Thread Tools Display Modes
Old 30/09/2009, 03:37 PM   #1
Y_Less
Beta Tester
 
Y_Less's Avatar
 
Join Date: Jun 2008
Location: 629 - git.io/Y
Posts: 18,151
Reputation: 2540
Default Rollercoaster THEORY

This is just something I thought of last night which I don't have time to develop but thought someone else may be interested in taking it further. I've outlined a few problems and possible solutions, but I don't know wether they'll work at all. Basically, I theorised that you could record a bot path in a plane taking the course of a rollercoaser (or other similar system) and then model the coaster using objects and go round it. To go round you would have to be driven in a car, but there are a few solutions I can see. First - use the flowerpot, this is the solution I'm least sure about but anyway - using this would minimise the viewability of the car, you could attach objects to the player to build what you wanted the carriage to look like, to get round the problem of seeing the driver you could try change their VW, but not the car's (I don't know if this will work at all I'm afraid). The second option is to just use a car that looks a bit like a rollercoaster carriage (you could theme the coaster to aid the effect) and pretend the bot is another rider, not actually the driver.

As I said, it's an early stage idea based on the fact that bots driving on plane paths ignore the vehicle type.

The other problem is recording the path acurately enough to look like a real rollercoaster, but I'm sure some good pilots can deal with that.
Y_Less is offline   Reply With Quote
Old 30/09/2009, 03:42 PM   #2
Lewwy
High-roller
 
Lewwy's Avatar
 
Join Date: Nov 2007
Location: Scotland
Posts: 1,582
Reputation: 5
Default Re: Rollercoaster THEORY

This is actually a really good idea, nice thinking Alex.
So are we talking about a first person view for the rider(s) when riding the roller coaster? If so that'd be even more cool, I know it's possible and would be very effective for visual effects and the experience.
Lewwy is offline   Reply With Quote
Old 30/09/2009, 03:52 PM   #3
Y_Less
Beta Tester
 
Y_Less's Avatar
 
Join Date: Jun 2008
Location: 629 - git.io/Y
Posts: 18,151
Reputation: 2540
Default Re: Rollercoaster THEORY

You could spectate the bot I suppose, that could be a good solution too (is that what you meant)? If you meant constantly updating the player's camera the idea of this is that it would be pretty smooth (or should be anyway), that would loose some of the effect.
Y_Less is offline   Reply With Quote
Old 30/09/2009, 03:54 PM   #4
V1ceC1ty
High-roller
 
V1ceC1ty's Avatar
 
Join Date: Oct 2008
Location: West Australia
Posts: 1,996
Reputation: 250
Default Re: Rollercoaster THEORY

omg i was think exactly this but in a slightly different way :P
__________________

A wild project-samp has re-appeared!


www.project-samp.net
V1ceC1ty is offline   Reply With Quote
Old 30/09/2009, 04:11 PM   #5
Lewwy
High-roller
 
Lewwy's Avatar
 
Join Date: Nov 2007
Location: Scotland
Posts: 1,582
Reputation: 5
Default Re: Rollercoaster THEORY

Quote:
Originally Posted by Y_Leѕѕ
You could spectate the bot I suppose, that could be a good solution too (is that what you meant)? If you meant constantly updating the player's camera the idea of this is that it would be pretty smooth (or should be anyway), that would loose some of the effect.
I meant constantly updating the player's camera, and I thought of it being extremely smooth, but maybe you're right about loosing some of the effect after all..
However I never thought of spectating the bot, that could work I guess?
Lewwy is offline   Reply With Quote
Old 30/09/2009, 04:23 PM   #6
Joe Staff
High-roller
 
Joe Staff's Avatar
 
Join Date: Aug 2007
Posts: 2,811
Reputation: 330
Default Re: Rollercoaster THEORY

I've done some research before about how spectating a bot would look while he/she is in a vehicle, and it works marvelously when the vehicle isn't tilted too much. It gives a perfect First Person View of the bot no matter what seat it's in. So you could just fill the vehicle with bots, and a different person could spectate a different bot, but the bots will have to be in an animation that moves them outside of the vehicle (crack animation worked for me) so that they don't see the bots head.

Honestly this would work better for a train/taxi system, simply because going upside down won't cause the camera to go upside down, therefore, they see the bottom of the car.
__________________
Evil triumphs when good men do nothing.
Joe Staff is offline   Reply With Quote
Old 30/09/2009, 04:25 PM   #7
Lewwy
High-roller
 
Lewwy's Avatar
 
Join Date: Nov 2007
Location: Scotland
Posts: 1,582
Reputation: 5
Default Re: Rollercoaster THEORY

In that case, spectating a bot would be the best thing to do.
Lewwy is offline   Reply With Quote
Old 30/09/2009, 04:28 PM   #8
Joe Staff
High-roller
 
Joe Staff's Avatar
 
Join Date: Aug 2007
Posts: 2,811
Reputation: 330
Default Re: Rollercoaster THEORY

Constantly updating the player's camera is a bad idea, causes shakes that is reminiscent of a seizure case with astygmatism.
__________________
Evil triumphs when good men do nothing.
Joe Staff is offline   Reply With Quote
Old 30/09/2009, 04:33 PM   #9
Lewwy
High-roller
 
Lewwy's Avatar
 
Join Date: Nov 2007
Location: Scotland
Posts: 1,582
Reputation: 5
Default Re: Rollercoaster THEORY

I've never actually tried constant updating myself, but I can see something like that happening and not being smooth now. at all. |:
Lewwy is offline   Reply With Quote
Old 30/09/2009, 04:34 PM   #10
Guedes747
High-roller
 
Guedes747's Avatar
 
Join Date: Apr 2009
Location: Portugal
Posts: 2,623
Reputation: 11
Default Re: Rollercoaster THEORY

For what ive read, this could be fun lol.
__________________
TXD Mods - GUI Mods - Maps - Videos
http://guedestudios.weebly.com/

Latest release: [MAP]Hillside Raceway
Guedes747 is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Map] [MAP] Rollercoaster gtagangsta22 Maps 101 23/01/2012 10:54 PM
[FilterScript] [FS]RollerCoaster By Ben! ben4uka Filterscripts 14 09/04/2010 06:21 PM


All times are GMT. The time now is 01:26 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.