Vehicle Poke Help [message #445681] |
Mon, 11 April 2011 19:16 |
|
cpjok
Messages: 425 Registered: September 2007
Karma: 0
|
Commander |
|
|
maybe a weird question
ok what script do i use to make a vehicle spawn in secific are facing a specific way
when you poke a generetic switch
i tried
JWF_Preset_Buy_Poke
but you can only set location not facing of the vehicle so it dont create it in a wall or something
|
|
|
Re: Vehicle Poke Help [message #445691 is a reply to message #445681] |
Tue, 12 April 2011 09:10 |
|
Distrbd21
Messages: 743 Registered: September 2008
Karma: 0
|
Colonel |
|
|
This is how you set that script up, it is the right one btw.
Preset_Name: the veh you want it to buy like mine is CnC_GDI_MRLS1
Cost: the amount of money you want it to take from the player that buys one.
location: put a daves arrow on your map face it the way you want it, and copy the x,y,z and put it in the script.
Player_Type: 1 for gdi 0 for nod and i think it's 2 for un teamed not for sure...
If your still having problems let me know and i will help you more.
and far warning if you set the cost to 0 it can be spammed and there could be like 30-40 vehs there in secs so be careful...
And for everyone else that may come on here and say no use the veh buy script that one does not work the way he wants it to.
Live Your Life Not Some one Else's.| Sharing Is Caring
Cookie Jar<glome> Who stole the cookie from the cookie jar?!
<content> glome stole the cookie from the cookie jar!
<glome> Who me?!
<content> Yes you!
<glome> Couldn't be!
<content> Then WHO?!!
<glome> Woody stole the cookie from the cookie jar!
*** glome has been kicked by DrWoody (fuck you i didn't touch the motherfucking cookie, bitch
Suicide<TB> I was depressed last night so I called the Suicide Life Line.
<TB> I reached a call center in Pakistan.
<TB> I told them I was suicidal.
<TB> They got all excited and asked if I could drive a truck
|
|
|
|
Re: Vehicle Poke Help [message #445699 is a reply to message #445681] |
Tue, 12 April 2011 11:21 |
|
Altzan
Messages: 1586 Registered: September 2008 Location: Tennessee
Karma: 0
|
General (1 Star) |
|
|
You can't have it spawn directly at an object's location using its ID? I don't remember, its been awhile.
I cannot imagine how the clockwork of the universe can exist without a clockmaker. ~Voltaire
|
|
|
|
Re: Vehicle Poke Help [message #445704 is a reply to message #445681] |
Tue, 12 April 2011 14:27 |
|
Distrbd21
Messages: 743 Registered: September 2008
Karma: 0
|
Colonel |
|
|
I will get some pics of how i got mine set up.
With the daves arrow you face it the way you want it and the x,y,z i will make a video of my map that i have it working in.
Live Your Life Not Some one Else's.| Sharing Is Caring
Cookie Jar<glome> Who stole the cookie from the cookie jar?!
<content> glome stole the cookie from the cookie jar!
<glome> Who me?!
<content> Yes you!
<glome> Couldn't be!
<content> Then WHO?!!
<glome> Woody stole the cookie from the cookie jar!
*** glome has been kicked by DrWoody (fuck you i didn't touch the motherfucking cookie, bitch
Suicide<TB> I was depressed last night so I called the Suicide Life Line.
<TB> I reached a call center in Pakistan.
<TB> I told them I was suicidal.
<TB> They got all excited and asked if I could drive a truck
|
|
|
Re: Vehicle Poke Help [message #445705 is a reply to message #445704] |
Tue, 12 April 2011 14:40 |
|
danpaul88
Messages: 5795 Registered: June 2004 Location: England
Karma: 0
|
General (5 Stars) |
|
|
Distrbd21 wrote on Tue, 12 April 2011 22:27 | I will get some pics of how i got mine set up.
With the daves arrow you face it the way you want it and the x,y,z i will make a video of my map that i have it working in.
|
The X,Y,Z does NOT set the FACING, it only sets the LOCATION. You can rotate something through a full 360 degrees and it's X,Y,Z will remain exactly the same because they have NO RELATION AT ALL to the FACING.
He is not asking how to position the vehicles, he is asking how to ROTATE them. Which that script CANNOT do.
|
|
|
Re: Vehicle Poke Help [message #445706 is a reply to message #445681] |
Tue, 12 April 2011 14:44 |
|
Distrbd21
Messages: 743 Registered: September 2008
Karma: 0
|
Colonel |
|
|
1. you need to calm your ass down and i will show you that you can with a daves arrow.
2. don't get pissed at me because every time someone needs help with a script y'all just give them some fucked up way of doing it so they give up.
3. I'm uploading a video proving that it does work.
I will finish the video l8r here is a part of it.
http://www.youtube.com/watch?v=ssxYVgarGXw
-
Attachment: 1.JPG
(Size: 134.12KB, Downloaded 144 times)
-
Attachment: 2.JPG
(Size: 153.08KB, Downloaded 132 times)
-
Attachment: 3.JPG
(Size: 132.47KB, Downloaded 141 times)
Live Your Life Not Some one Else's.| Sharing Is Caring
Cookie Jar<glome> Who stole the cookie from the cookie jar?!
<content> glome stole the cookie from the cookie jar!
<glome> Who me?!
<content> Yes you!
<glome> Couldn't be!
<content> Then WHO?!!
<glome> Woody stole the cookie from the cookie jar!
*** glome has been kicked by DrWoody (fuck you i didn't touch the motherfucking cookie, bitch
Suicide<TB> I was depressed last night so I called the Suicide Life Line.
<TB> I reached a call center in Pakistan.
<TB> I told them I was suicidal.
<TB> They got all excited and asked if I could drive a truck
[Updated on: Tue, 12 April 2011 14:49] Report message to a moderator
|
|
|
Re: Vehicle Poke Help [message #445710 is a reply to message #445706] |
Tue, 12 April 2011 16:10 |
|
saberhawk
Messages: 1068 Registered: January 2006 Location: ::1
Karma: 0
|
General (1 Star) |
|
|
Distrbd21 wrote on Tue, 12 April 2011 17:44 | 1. you need to calm your ass down and i will show you that you can with a daves arrow.
2. don't get pissed at me because every time someone needs help with a script y'all just give them some fucked up way of doing it so they give up.
3. I'm uploading a video proving that it does work.
I will finish the video l8r here is a part of it.
http://www.youtube.com/watch?v=ssxYVgarGXw
|
You need to understand that the orientation (or "facing") of an object has nothing to do with it's position. JFW_Preset_Buy_Poke has no code for changing an object's orientation and as such should not be used for spawning large objects such as vehicles.
|
|
|
Re: Vehicle Poke Help [message #445715 is a reply to message #445681] |
Tue, 12 April 2011 17:10 |
|
cAmpa
Messages: 597 Registered: March 2006
Karma: 0
|
Colonel |
|
|
No idea what you all are talking about but http://campa.ren-com.de/scripts.rar should do it. (Haven't tested it so please report if it does run.)
Script CaMpA_Preset_Buy_Poke
Parameters are:
Preset_Name
Cost
location
facing
Player_Type
Bückstabü!
|
|
|
Re: Vehicle Poke Help [message #445724 is a reply to message #445706] |
Tue, 12 April 2011 22:20 |
|
danpaul88
Messages: 5795 Registered: June 2004 Location: England
Karma: 0
|
General (5 Stars) |
|
|
Distrbd21 wrote on Tue, 12 April 2011 22:44 | 1. you need to calm your ass down and i will show you that you can with a daves arrow.
2. don't get pissed at me because every time someone needs help with a script y'all just give them some fucked up way of doing it so they give up.
3. I'm uploading a video proving that it does work.
I will finish the video l8r here is a part of it.
http://www.youtube.com/watch?v=ssxYVgarGXw
|
Yep, that shows him how to set LOCATION. So, when are you going to show him how to set the ROTATION, which is what he wants?
As we keep telling you, LOCATION IS NOT THE SAME AS ROTATION. Stop giving him useless advice which doesn't work.
Anyway, cAmpa has posted a script which will do what you want, but since it appears to be using a custom scripts.dll you won't be able to actually have other players use it unfortunately.
[Updated on: Tue, 12 April 2011 22:21] Report message to a moderator
|
|
|
|
|