how do i, teleports [message #373112] |
Sun, 22 February 2009 22:41 |
|
Distrbd21
Messages: 743 Registered: September 2008
Karma: 0
|
Colonel |
|
|
how do i make it so.
say on canyon the tunnels how do i make it so you can only go into the tunnel with a sniper and if you don't have one you tele back to the spwaners?
Also is there away where i can make it so lets say nod can't shoot at gdi players while they are inside there base?
and also can anyone make me some Renegade commands like !refill to where the highest ranking play on gdi or nod can only use it, and so it only refills ammo?
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: how do i, teleports [message #373113 is a reply to message #373112] |
Sun, 22 February 2009 22:48 |
_SSnipe_
Messages: 4121 Registered: May 2007 Location: Riverside Southern Califo...
Karma: 0
|
General (4 Stars) |
|
|
Vendetta wrote on Sun, 22 February 2009 21:41 | how do i make it so.
say on canyon the tunnels how do i make it so you can only go into the tunnel with a sniper and if you don't have one you tele back to the spwaners?
Also is there away where i can make it so lets say nod can't shoot at gdi players while they are inside there base?
and also can anyone make me some Renegade commands like !refill to where the highest ranking play on gdi or nod can only use it, and so it only refills ammo?
|
Well teleports are easy..I guess you can find someone to edit it so only xxx preset can get it to work
and build lot of walls in front of base? only way i can think off
|
|
|
Re: how do i, teleports [message #373114 is a reply to message #373112] |
Sun, 22 February 2009 22:53 |
|
reborn
Messages: 3231 Registered: September 2004 Location: uk - london
Karma: 0
|
General (3 Stars) |
|
|
I don't know if the script already exists, but it could be done with a script zone, and attach a script that on the ::Entered event checks the preset name of the object entering it. If it isn't a preset name that you want to be useing the tunnels, then teleport it to defined locations.
Maybe something like this:
void Vendetta_sniper_tele_zone::Entered(GameObject *obj,GameObject *enter){
if(((strcmp(Commands->Get_Preset_Name(enter),"sniper_preset_name1"))== 0) || ((strcmp(Commands->Get_Preset_Name(enter),"sniper_preset_name2"))== 0)){
//do nothing because they are a allowed sniper preset
}
else{
//they are not allowed to be there, so teleport them
Vector3 NewPosition;
//Have the new location as a user input param
NewPosition = Get_Vector3_Parameter("Location");
Commands->Set_Position(enter,NewPosition);
}
}
|
|
|
Re: how do i, teleports [message #373117 is a reply to message #373114] |
Sun, 22 February 2009 23:11 |
|
Distrbd21
Messages: 743 Registered: September 2008
Karma: 0
|
Colonel |
|
|
reborn wrote on Sun, 22 February 2009 23:53 | I don't know if the script already exists, but it could be done with a script zone, and attach a script that on the ::Entered event checks the preset name of the object entering it. If it isn't a preset name that you want to be useing the tunnels, then teleport it to defined locations.
Maybe something like this:
void Vendetta_sniper_tele_zone::Entered(GameObject *obj,GameObject *enter){
if(((strcmp(Commands->Get_Preset_Name(enter),"sniper_preset_name1"))== 0) || ((strcmp(Commands->Get_Preset_Name(enter),"sniper_preset_name2"))== 0)){
//do nothing because they are a allowed sniper preset
}
else{
//they are not allowed to be there, so teleport them
Vector3 NewPosition;
//Have the new location as a user input param
NewPosition = Get_Vector3_Parameter("Location");
Commands->Set_Position(enter,NewPosition);
}
}
|
how do i make scripts? i'm only good at modding..
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: how do i, teleports [message #373118 is a reply to message #373117] |
Sun, 22 February 2009 23:37 |
_SSnipe_
Messages: 4121 Registered: May 2007 Location: Riverside Southern Califo...
Karma: 0
|
General (4 Stars) |
|
|
Vendetta wrote on Sun, 22 February 2009 22:11 |
reborn wrote on Sun, 22 February 2009 23:53 | I don't know if the script already exists, but it could be done with a script zone, and attach a script that on the ::Entered event checks the preset name of the object entering it. If it isn't a preset name that you want to be useing the tunnels, then teleport it to defined locations.
Maybe something like this:
void Vendetta_sniper_tele_zone::Entered(GameObject *obj,GameObject *enter){
if(((strcmp(Commands->Get_Preset_Name(enter),"sniper_preset_name1"))== 0) || ((strcmp(Commands->Get_Preset_Name(enter),"sniper_preset_name2"))== 0)){
//do nothing because they are a allowed sniper preset
}
else{
//they are not allowed to be there, so teleport them
Vector3 NewPosition;
//Have the new location as a user input param
NewPosition = Get_Vector3_Parameter("Location");
Commands->Set_Position(enter,NewPosition);
}
}
|
how do i make scripts? i'm only good at modding..
|
Scripts are all C++ unless you know c++ dont even try, if you do then
http://www.renegadeforums.com/index.php?t=msg&th=26642&start=0&rid=2 2699
|
|
|
Re: how do i, teleports [message #373121 is a reply to message #373112] |
Sun, 22 February 2009 23:59 |
|
Distrbd21
Messages: 743 Registered: September 2008
Karma: 0
|
Colonel |
|
|
i no good with programing
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: how do i, teleports [message #373155 is a reply to message #373122] |
Mon, 23 February 2009 07:38 |
|
Distrbd21
Messages: 743 Registered: September 2008
Karma: 0
|
Colonel |
|
|
reborn wrote on Mon, 23 February 2009 01:32 | Sorry, I thought from this topic that you could program.
I'm not sure how you would do it in level edit alone.
|
i don't know c++ i know a little VB
and what does that txt file have to say?
and hope you guy's can help me with this.
How would i go about making a tech weapon like in a ctf server how the techs have 1 shot kill.
Also how do i make it so when you load a map you spawn as lets say a eng?
I tried temp the gdi and nod spawn's and putting that in but when i joined in game i was a minigunner if i can't do that than i will just edit the minigunner.
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: how do i, teleports [message #373161 is a reply to message #373156] |
Mon, 23 February 2009 08:07 |
|
Distrbd21
Messages: 743 Registered: September 2008
Karma: 0
|
Colonel |
|
|
ErroR wrote on Mon, 23 February 2009 08:40 | the txt must contain the script, altho i think only cinematic scripts will work. Try looking on renhelp
|
i have been looking at renhelp.net i go there befor i go here lol.
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: how do i, teleports [message #373166 is a reply to message #373112] |
Mon, 23 February 2009 08:50 |
|
futura83
Messages: 1285 Registered: July 2006 Location: England
Karma: 0
|
General (1 Star) Viva la Resistance! |
|
|
Instead of teleporting them if they don't have a sniper, do it so that they are automatically transformed into a sniper when they walk into the tunnels.
I think there is already scripts that can do this.
This is a signature. Reading this is wasting your time.
|
|
|
Re: how do i, teleports [message #373168 is a reply to message #373166] |
Mon, 23 February 2009 09:10 |
|
Distrbd21
Messages: 743 Registered: September 2008
Karma: 0
|
Colonel |
|
|
insert_name_here wrote on Mon, 23 February 2009 09:50 | Instead of teleporting them if they don't have a sniper, do it so that they are automatically transformed into a sniper when they walk into the tunnels.
I think there is already scripts that can do this.
|
edut: ok i have that part done, when you enter the tunnel you buy a logan for free.
LOL i made the same scripted tmep the eng i wanted, covered the spawners with it now when u spawn your a eng lol that is cool and if you go in tunnels your a logan..
Thank you everyone i might have some more things to ask as i go
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: Mon, 23 February 2009 09:57] Report message to a moderator
|
|
|