Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

FPSC Classic Scripts / shooting out of a vehicle

Author
Message
epic commando dude
12
Years of Service
User Offline
Joined: 9th Jul 2012
Location: like you need to know
Posted: 9th Jul 2012 23:00
is there any possible way to enter a car on the passenger side, lean out of the window, and shoot outside of the car? (IS THERE EVEN A WAY TO ENTER A VEHICLE?)if there is a way please help me out.

AMERICA! F*** YEAH!!!
maho76
13
Years of Service
User Offline
Joined: 31st May 2011
Location: universe-hub, playing the flute
Posted: 10th Jul 2012 11:27
place a vehicle-model, jump on it, shoot out of it.^^

you can move the vehicle via script using waypoints, and you can stay on it while doing this with a propper model where the player is caged to not fall off. a buggy is good for this, for example.

epic commando dude
12
Years of Service
User Offline
Joined: 9th Jul 2012
Location: like you need to know
Posted: 10th Jul 2012 17:00
ITZ POSSIBLE??!?!?!?!?!?!?!?!?!? that is amazing. i can use that technical from that model pack that cosmic prophet made! one more question, where is the script to make the vehicle follow a wapoint?

AMERICA! F*** YEAH!!!
angusm3
15
Years of Service
User Offline
Joined: 6th Mar 2009
Location: Right behind you...
Posted: 11th Jul 2012 05:43
he was being sarcastic I think, what he meant was, you will have to devise your own way of doing it, I did this with an APC once, you place the player start inside and set the playerspeed to 0 and go from there

http://www.youtube.com/watch?v=AfFa6uPv_8o
I appear to have burst into flames...
maho76
13
Years of Service
User Offline
Joined: 31st May 2011
Location: universe-hub, playing the flute
Posted: 11th Jul 2012 10:25 Edited at: 11th Jul 2012 10:31
^^no, not that sarcastic... just a little bit.

if epic looks for a fully scripted cod-like scene... yes, possible, but loads of work in scripting, modelling and trying to always beat out the crappy physics.

if simply enter another nonstatic that follows waypoints when triggered > depends on the right model to "catch" the player in addition with some scripts to lock WASD and move the car. with v119 there is even more than 1 way to do it. you may bind the entity to the player and use plrmove/force whatever and script playermovement while the car.entity is bound to it. you can also use a propper model (as said a buggy without top but with roll cage seems best) and simply let fpsc physics catch the player, but thats a risky one because of the crappy physics (especially when "driving" on an uneven ground). i havent checked, maybe the player bounces on the nonstatic (also because of crappy physics), you have to test.
try a usefull entity and use people/follow and jump on it, maybe it works, then you just have to use the right model (caged).

the old fashioned way is a fakehud/model to "enter" the vehicle and drive, as you can see on the old chopper out of the tgc-store.
nowadays you can attach a model instead of only a hud.

you see there are different ways to handle this, but maybe you have to accept that it wont look, function and mainly feel as what you have in mind.

Teabone
Valued Member
18
Years of Service
User Offline
Joined: 8th Jun 2006
Location: Canada
Posted: 24th Jul 2012 22:42
That's a bit of an extremely hard situation to create in FPSC

epic commando dude
12
Years of Service
User Offline
Joined: 9th Jul 2012
Location: like you need to know
Posted: 2nd Aug 2012 16:57
then that is something i shouldnt do(because i dont know how to script)

AMERICA! F*** YEAH!!!

Login to post a reply

Server time is: 2024-11-23 22:04:19
Your offset time is: 2024-11-23 22:04:19