Elevator still doesnt work
-
- 1+ Posts
- Posts: 6
- Joined: Sun Sep 04, 2011 4:15 pm
Elevator still doesnt work
I remade my script did some change ups and now it wont work or itll work but crashes the server
ent_fire Elevator kill
wait 35;prop_dynamic_create props_combine/combinebutton.mdl
wait 35;ent_setname button
wait 37;ent_fire button addoutput "classname 7"
wait 37;ent_fire button addoutput "targetname 7"
wait 37;ent_fire 7 addoutput "spawnflags 256"
wait 37;ent_fire 7 addoutput "origin -13380.011730 8891.335937 50"
wait 37:ent_fire 7 addoutput "angles 0 90 0"
wait 36;prop_dynamic_create props_combine/combinebutton.mdl
wait 36;ent_setname button
wait 37;ent_fire button addoutput "classname 8"
wait 37;ent_fire button addoutput "targetname 8"
wait 37;ent_fire 8 addoutput "spawnflags 256"
wait 37;ent_fire 8 addoutput "origin -13380.011730 8891.335937 60"
wait 37;ent_fire 8 addoutput "angles 0 90 0"
wait 5;prop_dynamic_create props_lab/blastdoor001c
wait 5;ent_setname floor
wait 5;ent_fire prop_dynamic addoutput "classname Elevator"
wait 5;ent_fire floor addoutput "origin -13376.011718 8889.335937 0"
wait 5;ent_fire floor addoutput "angles 90 0 0"
wait 15;ent_create path_corner
wait 15;ent_fire path_corner addoutput "targetname Pathtrack1"
wait 15;ent_fire Pathtrack1 addoutput "classname Elevator"
wait 15;ent_fire 7 addoutput "onplayeruse train,stop,0.0"
wait 15;ent_fire 7 addoutput "onplayeruse train,target pathtrack1,,0.1"
wait 15;ent_fire 7 addoutput "onplayeruse train,start,0.2"
wait 15;ent_fire pathtrack1 addoutput "origin -13376.011718 8889.335937 0"
wait 25;ent_create path_corner
wait 25;ent_fire path_corner addoutput "targetname pathtrack2"
wait 25;ent_fire pathtrack2 addoutput "classname Elevator"
wait 25;ent_fire 8 addoutput "onplayeruse train,stop,0.0"
wait 25;ent_fire 8 addoutput "onplayeruse train,target pathtrack2,,0.1"
wait 25;ent_fire 8 addoutput "onplayeruse train,start,0.2"
wait 25;ent_fire pathtrack2 addoutput "origin -13376.011718 8889.335937 106"
wait 35;ent_create func_train
wait 35;ent_fire func_train addoutput "targetname train"
wait 35;ent_fire train addoutput "classname Elevator"
wait 35;ent_fire train addoutput "origin -13376.011718 8889.335937 0"
wait 35;ent_fire train addoutput "speed 60"
wait 35;ent_fire train addoutput "target pathtrack2"
wait 35;ent_fire floor setparent train
wait 36;ent_fire 7 setparent train
wait 36;ent_fire 8 setparent train
ent_fire Elevator kill
wait 35;prop_dynamic_create props_combine/combinebutton.mdl
wait 35;ent_setname button
wait 37;ent_fire button addoutput "classname 7"
wait 37;ent_fire button addoutput "targetname 7"
wait 37;ent_fire 7 addoutput "spawnflags 256"
wait 37;ent_fire 7 addoutput "origin -13380.011730 8891.335937 50"
wait 37:ent_fire 7 addoutput "angles 0 90 0"
wait 36;prop_dynamic_create props_combine/combinebutton.mdl
wait 36;ent_setname button
wait 37;ent_fire button addoutput "classname 8"
wait 37;ent_fire button addoutput "targetname 8"
wait 37;ent_fire 8 addoutput "spawnflags 256"
wait 37;ent_fire 8 addoutput "origin -13380.011730 8891.335937 60"
wait 37;ent_fire 8 addoutput "angles 0 90 0"
wait 5;prop_dynamic_create props_lab/blastdoor001c
wait 5;ent_setname floor
wait 5;ent_fire prop_dynamic addoutput "classname Elevator"
wait 5;ent_fire floor addoutput "origin -13376.011718 8889.335937 0"
wait 5;ent_fire floor addoutput "angles 90 0 0"
wait 15;ent_create path_corner
wait 15;ent_fire path_corner addoutput "targetname Pathtrack1"
wait 15;ent_fire Pathtrack1 addoutput "classname Elevator"
wait 15;ent_fire 7 addoutput "onplayeruse train,stop,0.0"
wait 15;ent_fire 7 addoutput "onplayeruse train,target pathtrack1,,0.1"
wait 15;ent_fire 7 addoutput "onplayeruse train,start,0.2"
wait 15;ent_fire pathtrack1 addoutput "origin -13376.011718 8889.335937 0"
wait 25;ent_create path_corner
wait 25;ent_fire path_corner addoutput "targetname pathtrack2"
wait 25;ent_fire pathtrack2 addoutput "classname Elevator"
wait 25;ent_fire 8 addoutput "onplayeruse train,stop,0.0"
wait 25;ent_fire 8 addoutput "onplayeruse train,target pathtrack2,,0.1"
wait 25;ent_fire 8 addoutput "onplayeruse train,start,0.2"
wait 25;ent_fire pathtrack2 addoutput "origin -13376.011718 8889.335937 106"
wait 35;ent_create func_train
wait 35;ent_fire func_train addoutput "targetname train"
wait 35;ent_fire train addoutput "classname Elevator"
wait 35;ent_fire train addoutput "origin -13376.011718 8889.335937 0"
wait 35;ent_fire train addoutput "speed 60"
wait 35;ent_fire train addoutput "target pathtrack2"
wait 35;ent_fire floor setparent train
wait 36;ent_fire 7 setparent train
wait 36;ent_fire 8 setparent train
-
- 1+ Posts
- Posts: 6
- Joined: Sun Sep 04, 2011 4:15 pm
Re: Elevator still doesnt work
I changed it in the past few minutes
ent_fire lift_example kill
wait 35;prop_physics_create props_junk/metal_paintcan001a.mdl
wait 35;ent_setname button
wait 37;ent_fire button addoutput "classname lift_example"
wait 37;ent_fire button addoutput "targetname 7"
wait 37;ent_fire 7 addoutput "spawnflags 256"
wait 37;ent_fire 7 addoutput "origin -13380.011730 8891.335937 50"
wait 37:ent_fire 7 addoutput "angles 0 90 0"
wait 36;prop_physics_create props_junk/metal_paintcan001a.mdl
wait 36;ent_setname button
wait 37;ent_fire button addoutput "classname lift_example"
wait 37;ent_fire button addoutput "targetname 8"
wait 37;ent_fire 8 addoutput "spawnflags 256"
wait 37;ent_fire 8 addoutput "origin -13380.011730 8891.335937 60"
wait 37;ent_fire 8 addoutput "angles 0 90 0"
wait 5;prop_dynamic_create props_lab/blastdoor001c
wait 5;ent_setname floor
wait 5;ent_fire floor addoutput "classname lift_example"
wait 5;ent_fire floor addoutput "origin -13376.011718 8889.335937 0"
wait 5;ent_fire floor addoutput "angles 90 0 0"
wait 15;ent_create path_corner
wait 15;ent_fire path_corner addoutput "targetname Pathtrack1"
wait 15;ent_fire Pathtrack1 addoutput "classname lift_example"
wait 15;ent_fire 7 addoutput "onplayeruse train,stop,0.0"
wait 15;ent_fire 7 addoutput "onplayeruse train,target pathtrack1,,0.1"
wait 15;ent_fire 7 addoutput "onplayeruse train,start,0.2"
wait 15;ent_fire pathtrack1 addoutput "origin -13376.011718 8889.335937 0"
wait 25;ent_create path_corner
wait 25;ent_fire path_corner addoutput "targetname pathtrack2"
wait 25;ent_fire pathtrack2 addoutput "classname lift_example"
wait 25;ent_fire 8 addoutput "onplayeruse lift_example,stop,0.0"
wait 25;ent_fire 8 addoutput "onplayeruse lift_example,target pathtrack2,,0.1"
wait 25;ent_fire 8 addoutput "onplayeruse lift_example,start,0.2"
wait 25;ent_fire pathtrack2 addoutput "origin -13376.011718 8889.335937 106"
wait 35;ent_create func_train
wait 35;ent_fire func_train addoutput "targetname train"
wait 35;ent_fire train addoutput "classname lift_example"
wait 35;ent_fire train addoutput "origin -13376.011718 8889.335937 0"
wait 35;ent_fire train addoutput "speed 60"
wait 35;ent_fire train addoutput "target pathtrack2"
wait 35;ent_fire floor setparent train
wait 36;ent_fire 7 setparent train
wait 36;ent_fire 8 setparent train
wait 45;ent_fire train toggle
wait 45;ent_fire train start
ent_fire lift_example kill
wait 35;prop_physics_create props_junk/metal_paintcan001a.mdl
wait 35;ent_setname button
wait 37;ent_fire button addoutput "classname lift_example"
wait 37;ent_fire button addoutput "targetname 7"
wait 37;ent_fire 7 addoutput "spawnflags 256"
wait 37;ent_fire 7 addoutput "origin -13380.011730 8891.335937 50"
wait 37:ent_fire 7 addoutput "angles 0 90 0"
wait 36;prop_physics_create props_junk/metal_paintcan001a.mdl
wait 36;ent_setname button
wait 37;ent_fire button addoutput "classname lift_example"
wait 37;ent_fire button addoutput "targetname 8"
wait 37;ent_fire 8 addoutput "spawnflags 256"
wait 37;ent_fire 8 addoutput "origin -13380.011730 8891.335937 60"
wait 37;ent_fire 8 addoutput "angles 0 90 0"
wait 5;prop_dynamic_create props_lab/blastdoor001c
wait 5;ent_setname floor
wait 5;ent_fire floor addoutput "classname lift_example"
wait 5;ent_fire floor addoutput "origin -13376.011718 8889.335937 0"
wait 5;ent_fire floor addoutput "angles 90 0 0"
wait 15;ent_create path_corner
wait 15;ent_fire path_corner addoutput "targetname Pathtrack1"
wait 15;ent_fire Pathtrack1 addoutput "classname lift_example"
wait 15;ent_fire 7 addoutput "onplayeruse train,stop,0.0"
wait 15;ent_fire 7 addoutput "onplayeruse train,target pathtrack1,,0.1"
wait 15;ent_fire 7 addoutput "onplayeruse train,start,0.2"
wait 15;ent_fire pathtrack1 addoutput "origin -13376.011718 8889.335937 0"
wait 25;ent_create path_corner
wait 25;ent_fire path_corner addoutput "targetname pathtrack2"
wait 25;ent_fire pathtrack2 addoutput "classname lift_example"
wait 25;ent_fire 8 addoutput "onplayeruse lift_example,stop,0.0"
wait 25;ent_fire 8 addoutput "onplayeruse lift_example,target pathtrack2,,0.1"
wait 25;ent_fire 8 addoutput "onplayeruse lift_example,start,0.2"
wait 25;ent_fire pathtrack2 addoutput "origin -13376.011718 8889.335937 106"
wait 35;ent_create func_train
wait 35;ent_fire func_train addoutput "targetname train"
wait 35;ent_fire train addoutput "classname lift_example"
wait 35;ent_fire train addoutput "origin -13376.011718 8889.335937 0"
wait 35;ent_fire train addoutput "speed 60"
wait 35;ent_fire train addoutput "target pathtrack2"
wait 35;ent_fire floor setparent train
wait 36;ent_fire 7 setparent train
wait 36;ent_fire 8 setparent train
wait 45;ent_fire train toggle
wait 45;ent_fire train start
-
- Server Admin
- Posts: 2417
- Joined: Sun Apr 11, 2010 4:50 am
Re: Elevator still doesnt work
Learn how to script, then try and make elevators. Please.
Ingame: -[SaD]- Nico
-
- Former Server Admin
- Posts: 1163
- Joined: Fri Apr 23, 2010 2:56 am
- Location: United Kingdom
Re: Elevator still doesnt work
Wut.KriZion wrote:wait 5;prop_dynamic_create props_lab/blastdoor001c
wait 5;ent_setname floor
wait 5;ent_fire prop_dynamic addoutput "classname Elevator"
Loop use! BANABANBANABANABANBANASBANSBAMBANANANANAANABANBAANBA.addoutput "origin -13376.011718 8889.335937 0"
-
- Site Admin
- Posts: 4390
- Joined: Fri Apr 09, 2010 3:20 pm
- Location: United States
Re: Elevator still doesnt work
... not helping...Nicdel wrote:Learn how to script, then try and make elevators. Please.
Anyway, first off, the wait #'s are all screwed up. Think of them as setting up a timeline of events. They run in increasing order. Based on what you have, the paintcans are both going to spawn at the same time, and the floor of the elevator is going to spawn before that.
Also, running just origin/angles on the physics paintcans probably isnt gonna work out right, but for now just concentrate on getting the functions for work, and position them later.
-
- Server Admin
- Posts: 2417
- Joined: Sun Apr 11, 2010 4:50 am
Re: Elevator still doesnt work
I know that I'm not helping. But copying scripts want help him to learn scripting :/
Ingame: -[SaD]- Nico
-
- Former Server Admin
- Posts: 1251
- Joined: Fri Apr 09, 2010 4:01 pm
- Location: Norway, Oslo
Re: Elevator still doesnt work
Nicdel wrote:I know that I'm not helping. But copying scripts want help him to learn scripting :/
Can I please copy all scripts from fpsbanana and spam them in your steam chat?!? (a)
-
- 1000+ Posts
- Posts: 1280
- Joined: Fri Sep 03, 2010 8:51 pm
Re: Elevator still doesnt work
some people actually do learn by looking at other scripts, ur only thinking of the noobs who just spam them unedited.Nicdel wrote:I know that I'm not helping. But copying scripts want help him to learn scripting :/
Spoiler
Show
Saying "Your lucky i'm peaceful" is pretty much like saying "when i grow up i wanna be an arms race!"-HL2shadowslayer, Area 51 Minecraft
-
- Former Server Admin
- Posts: 265
- Joined: Fri Aug 06, 2010 2:08 pm
Re: Elevator still doesnt work
Yes and we also think about how fast they get banned.shadowslayer wrote: ur only thinking of the noobs who just spam them unedited.
"Coming in peace is for simpletons and dullards! I come in AWESOME!" - The Duke
-
- Former Server Admin
- Posts: 1163
- Joined: Fri Apr 23, 2010 2:56 am
- Location: United Kingdom
Re: Elevator still doesnt work
I started on FPSBanana. Never got banned ;Dßlade wrote:Yes and we also think about how fast they get banned.shadowslayer wrote: ur only thinking of the noobs who just spam them unedited.
-
- Former Server Admin
- Posts: 265
- Joined: Fri Aug 06, 2010 2:08 pm
Re: Elevator still doesnt work
So youre saying that you used fps scripts on sapphire once without getting banned ?Ryan wrote:I started on FPSBanana. Never got banned ;Dßlade wrote:Yes and we also think about how fast they get banned.shadowslayer wrote: ur only thinking of the noobs who just spam them unedited.
"Coming in peace is for simpletons and dullards! I come in AWESOME!" - The Duke
-
- Former Server Admin
- Posts: 1251
- Joined: Fri Apr 09, 2010 4:01 pm
- Location: Norway, Oslo
Re: Elevator still doesnt work
u r still on FPSBanana.Ryan wrote:I started on FPSBanana. Never got banned ;Dßlade wrote:Yes and we also think about how fast they get banned.shadowslayer wrote: ur only thinking of the noobs who just spam them unedited.
banbanbanbanbanbanßlade wrote:So youre saying that you used fps scripts on sapphire once without getting banned ?
STEAM_0:1:31044974
BAN EM!!
-
- Former Server Admin
- Posts: 1163
- Joined: Fri Apr 23, 2010 2:56 am
- Location: United Kingdom
Re: Elevator still doesnt work
OFC I made an attempt to edit it before I used it. Improvement from then onßlade wrote:So youre saying that you used fps scripts on sapphire once without getting banned ?Ryan wrote:I started on FPSBanana. Never got banned ;Dßlade wrote: Yes and we also think about how fast they get banned.
-
- Server Admin
- Posts: 2417
- Joined: Sun Apr 11, 2010 4:50 am
Re: Elevator still doesnt work
Yea, you see. You started from FPSBanana and youre a normal scripter now. I started from Stefan/Blade and im a good scripter, thats my point.Ryan wrote:I started on FPSBanana. Never got banned ;Dßlade wrote:Yes and we also think about how fast they get banned.shadowslayer wrote: ur only thinking of the noobs who just spam them unedited.
Ingame: -[SaD]- Nico
-
- Former Server Admin
- Posts: 1163
- Joined: Fri Apr 23, 2010 2:56 am
- Location: United Kingdom
Re: Elevator still doesnt work
I'm also good with English language. :>Nicdel wrote:Yea, you see. You started from FPSBanana and youre a normal scripter now. I started from Stefan/Blade and im a good scripter, thats my point.Ryan wrote:I started on FPSBanana. Never got banned ;Dßlade wrote: Yes and we also think about how fast they get banned.