Shield? Script

Furry Hell
100+ Posts
100+ Posts
Posts: 212
Joined: Sun Nov 21, 2010 4:56 am
Location: Approximately OVER 9000 Light Years away

Shield? Script

Post by Furry Hell »

This is a shield that has not been tested LOL beware

Code: Select all

say ahh its the untested shield;wait 10;say hmm looks is any thing bad?
say !combinefence1a
say !break
ent_setname tubey
ent_fire tubey addoutput "solid 1"
ent_fire tubey addoutput "sethealth 9999999999999999999999999999999999"
ent_fire tubey setparent !self
;wait 10;say !combinefence1b
say !combinefence1b
say !break
ent_setname tubey2
ent_fire tubey2 addoutput "solid 1"
ent_fire tubey2 addoutput "sethealth 999999999999999999999999999999999"
ent_fire tubey2 setparent !self
echo Shield Activated;wait 10;"thirdperson"
Last edited by Furry Hell on Thu Dec 09, 2010 2:29 am, edited 1 time in total.
Anonymous

Re: Shield? Script

Post by Anonymous »

Hmmmm think it would work but hmmm doesnt look very professional...
Nicdel
Server Admin
Posts: 2417
Joined: Sun Apr 11, 2010 4:50 am

Re: Shield? Script

Post by Nicdel »

Wont work.
Ingame: -[SaD]- Nico

Image
Anonymous

Re: Shield? Script

Post by Anonymous »

I thought it would work, but didn't test it xD
Im a school so that is impossible
Nicdel
Server Admin
Posts: 2417
Joined: Sun Apr 11, 2010 4:50 am

Re: Shield? Script

Post by Nicdel »

You can see that it doesnt. I see 3 fails at once.
Ingame: -[SaD]- Nico

Image
Anonymous

Re: Shield? Script

Post by Anonymous »

The waits fail.
It should be look like this:
wait 1;
wait 1;
wait 2;
wait 3;

Now its going to spawn everything after wait 10...
And !blabla would work on Area51
Nicdel
Server Admin
Posts: 2417
Joined: Sun Apr 11, 2010 4:50 am

Re: Shield? Script

Post by Nicdel »

Code: Select all

ent_fire tubey addoutput "sethealth 9999999999999999999999999999999999"
Fails. Sethealth is an input, the keyvalue is called health. This line is unnecessary.

Code: Select all

ent_fire tubey setparent !self;wait 10;say !combinefence1b
Fails. Setparent doesnt accept !self, cause that would parent the tubey to itself. Use !activator instead.

And ofc the waits.
Ingame: -[SaD]- Nico

Image
User avatar
Motherfat
100+ Posts
100+ Posts
Posts: 127
Joined: Thu Jul 22, 2010 2:29 pm
Location: Ontario, Canada

Re: Shield? Script

Post by Motherfat »

well you could make the fences then stacked prop_dynamic blastdoors with renderfx 6
Cabal Shall Rise Again
Image
Image
Furry Hell
100+ Posts
100+ Posts
Posts: 212
Joined: Sun Nov 21, 2010 4:56 am
Location: Approximately OVER 9000 Light Years away

Re: Shield? Script

Post by Furry Hell »

:P im not a pro but i thought it work it was like in 1 mins LOL
Furry Hell
100+ Posts
100+ Posts
Posts: 212
Joined: Sun Nov 21, 2010 4:56 am
Location: Approximately OVER 9000 Light Years away

Re: Shield? Script

Post by Furry Hell »

new code for freinds it applys on freinds only

Code: Select all

ent_setname boby
say ahh its the untested shield
wait 10
say hmm looks is any thing bad?
say !combinefence1a
say !break
ent_setname tubey
ent_fire tubey addoutput "solid 1"
ent_fire tubey addoutput "sethealth 9999999999999999999999999999999999"
 ent_fire tubey setparent tubey2
wait 10
say !combinefence1b
say !break
ent_setname tubey2
ent_fire tubey2 addoutput "solid 1"
ent_fire tubey2 addoutput "sethealth 999999999999999999999999999999999"
ent_fire tubey2 setparent boby
echo Shield Activated
wait 10
thirdperson
User avatar
ant_8490
Site Admin
Posts: 4390
Joined: Fri Apr 09, 2010 3:20 pm
Location: United States

Re: Shield? Script

Post by ant_8490 »

Furry Hell wrote:new code for freinds it applys on freinds only

Code: Select all

ent_setname boby
say ahh its the untested shield
wait 10
say hmm looks is any thing bad?
say !combinefence1a
say !break
ent_setname tubey
ent_fire tubey addoutput "solid 1"
ent_fire tubey addoutput "sethealth 9999999999999999999999999999999999"
 ent_fire tubey setparent tubey2
wait 10
say !combinefence1b
say !break
ent_setname tubey2
ent_fire tubey2 addoutput "solid 1"
ent_fire tubey2 addoutput "sethealth 999999999999999999999999999999999"
ent_fire tubey2 setparent boby
echo Shield Activated
wait 10
thirdperson
Stop posting scripts that dont make sense. This area of the forum is for asking questions out PARTS of scripts, not just dumping an entire script here or to request scripts.
[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