Elevator still doesnt work

KriZion
1+ Posts
1+ Posts
Posts: 6
Joined: Sun Sep 04, 2011 4:15 pm

Elevator still doesnt work

Post by KriZion »

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
KriZion
1+ Posts
1+ Posts
Posts: 6
Joined: Sun Sep 04, 2011 4:15 pm

Re: Elevator still doesnt work

Post by KriZion »

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
Nicdel
Server Admin
Posts: 2417
Joined: Sun Apr 11, 2010 4:50 am

Re: Elevator still doesnt work

Post by Nicdel »

Learn how to script, then try and make elevators. Please.
Ingame: -[SaD]- Nico

Image
Ryan
Former Server Admin
Posts: 1163
Joined: Fri Apr 23, 2010 2:56 am
Location: United Kingdom

Re: Elevator still doesnt work

Post by Ryan »

KriZion wrote:wait 5;prop_dynamic_create props_lab/blastdoor001c
wait 5;ent_setname floor
wait 5;ent_fire prop_dynamic addoutput "classname Elevator"
Wut.
addoutput "origin -13376.011718 8889.335937 0"
Loop use! BANABANBANABANABANBANASBANSBAMBANANANANAANABANBAANBA.
User avatar
ant_8490
Site Admin
Posts: 4390
Joined: Fri Apr 09, 2010 3:20 pm
Location: United States

Re: Elevator still doesnt work

Post by ant_8490 »

Nicdel wrote:Learn how to script, then try and make elevators. Please.
... not helping...

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.
[GR]Ant_8490{A}
Area 51 Servers - Owner
Image
Image
Image
Image

MSI GE76 Raider
i9-11980HK 2.6GHz 8-Core Processor
32GB 3200Mhz DDR4 RAM
NVIDIA GeForce RTX 3080 Laptop GPU 16GB
2TB Samsung 980 Pro SSD
Windows 10
Nicdel
Server Admin
Posts: 2417
Joined: Sun Apr 11, 2010 4:50 am

Re: Elevator still doesnt work

Post by Nicdel »

I know that I'm not helping. But copying scripts want help him to learn scripting :/
Ingame: -[SaD]- Nico

Image
Jack
Former Server Admin
Posts: 1251
Joined: Fri Apr 09, 2010 4:01 pm
Location: Norway, Oslo

Re: Elevator still doesnt work

Post by Jack »

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)
User avatar
shadowslayer
1000+ Posts
1000+ Posts
Posts: 1280
Joined: Fri Sep 03, 2010 8:51 pm

Re: Elevator still doesnt work

Post by shadowslayer »

Nicdel wrote:I know that I'm not helping. But copying scripts want help him to learn scripting :/
some people actually do learn by looking at other scripts, ur only thinking of the noobs who just spam them unedited.
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
Imagethe only reason you shouldnt mess with me
User avatar
ßlade
Former Server Admin
Posts: 265
Joined: Fri Aug 06, 2010 2:08 pm

Re: Elevator still doesnt work

Post by ßlade »

shadowslayer wrote: ur only thinking of the noobs who just spam them unedited.
Yes and we also think about how fast they get banned. ;)
"Coming in peace is for simpletons and dullards! I come in AWESOME!" - The Duke
Ryan
Former Server Admin
Posts: 1163
Joined: Fri Apr 23, 2010 2:56 am
Location: United Kingdom

Re: Elevator still doesnt work

Post by Ryan »

ßlade wrote:
shadowslayer wrote: ur only thinking of the noobs who just spam them unedited.
Yes and we also think about how fast they get banned. ;)
I started on FPSBanana. Never got banned ;D
User avatar
ßlade
Former Server Admin
Posts: 265
Joined: Fri Aug 06, 2010 2:08 pm

Re: Elevator still doesnt work

Post by ßlade »

Ryan wrote:
ßlade wrote:
shadowslayer wrote: ur only thinking of the noobs who just spam them unedited.
Yes and we also think about how fast they get banned. ;)
I started on FPSBanana. Never got banned ;D
So youre saying that you used fps scripts on sapphire once without getting banned ?
"Coming in peace is for simpletons and dullards! I come in AWESOME!" - The Duke
Jack
Former Server Admin
Posts: 1251
Joined: Fri Apr 09, 2010 4:01 pm
Location: Norway, Oslo

Re: Elevator still doesnt work

Post by Jack »

Ryan wrote:
ßlade wrote:
shadowslayer wrote: ur only thinking of the noobs who just spam them unedited.
Yes and we also think about how fast they get banned. ;)
I started on FPSBanana. Never got banned ;D
u r still on FPSBanana.

ßlade wrote:So youre saying that you used fps scripts on sapphire once without getting banned ?
banbanbanbanbanban
STEAM_0:1:31044974
BAN EM!!
Ryan
Former Server Admin
Posts: 1163
Joined: Fri Apr 23, 2010 2:56 am
Location: United Kingdom

Re: Elevator still doesnt work

Post by Ryan »

ßlade wrote:
Ryan wrote:
ßlade wrote: Yes and we also think about how fast they get banned. ;)
I started on FPSBanana. Never got banned ;D
So youre saying that you used fps scripts on sapphire once without getting banned ?
OFC I made an attempt to edit it before I used it. Improvement from then on :D
Nicdel
Server Admin
Posts: 2417
Joined: Sun Apr 11, 2010 4:50 am

Re: Elevator still doesnt work

Post by Nicdel »

Ryan wrote:
ßlade wrote:
shadowslayer wrote: ur only thinking of the noobs who just spam them unedited.
Yes and we also think about how fast they get banned. ;)
I started on FPSBanana. Never got banned ;D
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.
Ingame: -[SaD]- Nico

Image
Ryan
Former Server Admin
Posts: 1163
Joined: Fri Apr 23, 2010 2:56 am
Location: United Kingdom

Re: Elevator still doesnt work

Post by Ryan »

Nicdel wrote:
Ryan wrote:
ßlade wrote: Yes and we also think about how fast they get banned. ;)
I started on FPSBanana. Never got banned ;D
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.
I'm also good with English language. :>