Need help on first script

User avatar
Brotherhood Of Nod
Former Server Admin
Posts: 1273
Joined: Fri Aug 20, 2010 8:37 pm
Location: Temple of Prime, outside of Cairo.

Need help on first script

Post by Brotherhood Of Nod »

I may have dun goof'd but...

Code: Select all

give env_smokestack
ent_fire env_smokestack addoutput "Name george"
ent_fire george addoutput "speed 500"
ent_fire george addoutput "emissionRate 20"
ent_fire george addoutput "windSpeed 5000"
ent_fire george addoutput "particleMaterial vgui/resource/icon_vac" 
ent_fire george addoutput "baseColor 255 255 255"
This is supposed to be my Red Vac script but appearently, nothing is showing up. I may have misread some of the stuff or fucked it up entirely. Not sure...
Image
Spoiler
Show
Image
Oh look...
Spoiler
Show
Image
I made dis.
User avatar
ant_8490
Site Admin
Posts: 4390
Joined: Fri Apr 09, 2010 3:20 pm
Location: United States

Re: Need help on first script

Post by ant_8490 »

Code: Select all

give env_smokestack
ent_fire env_smokestack addoutput "targetname george"
ent_fire george addoutput "speed 500"
ent_fire george addoutput "rate 20"
ent_fire george addoutput "smokematerial vgui/resource/icon_vac" 
ent_fire george addoutput "rendercolor 255 255 255"
Then you have to turn it on: ent_fire george turnon

But... here's most of the options you should need:

ent_create env_smokestack
ent_fire env_smokestack addoutput "targetname vac"
ent_fire vac addoutput "classname vac"
ent_fire vac addoutput "StartSize #"
ent_fire vac addoutput "EndSize #"
ent_fire vac addoutput "BaseSpread #"
ent_fire vac addoutput "JetLength #"
ent_fire vac addoutput "SpreadSpeed #"
ent_fire vac addoutput "Speed #"
ent_fire vac addoutput "Rate #"
ent_fire vac addoutput "rendercolor # # #"
ent_fire vac addoutput "smokematerial vgui\resource\icon_vac"
ent_fire vac addoutput "twist #"
ent_fire vac turnon
[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
User avatar
fire1000678
750+ Posts
750+ Posts
Posts: 930
Joined: Fri Feb 03, 2012 8:10 pm

Re: Need help on first script

Post by fire1000678 »

I'm confused on one thing: where do you find a list d materials, be it smokestacks, sprites, or whatever. Ty woops, after list not d, of. Lol.
上手ですか?

Image

"Just as the tree and the earth need each other for life, so is the body and the soul, for without the other, one is nothing."

Ingame Name: [GR]人生Positively Shinobi{A}
User avatar
Brotherhood Of Nod
Former Server Admin
Posts: 1273
Joined: Fri Aug 20, 2010 8:37 pm
Location: Temple of Prime, outside of Cairo.

Re: Need help on first script

Post by Brotherhood Of Nod »

If you mean the pretty-ass-hell effects, just go to Hammer, go to Texture and type in resource. Then copy anything that is small and copy that into the Smoke Material

and thanks Ant
Image
Spoiler
Show
Image
Oh look...
Spoiler
Show
Image
I made dis.
User avatar
ant_8490
Site Admin
Posts: 4390
Joined: Fri Apr 09, 2010 3:20 pm
Location: United States

Re: Need help on first script

Post by ant_8490 »

fire1000678 wrote:I'm confused on one thing: where do you find a list d materials, be it smokestacks, sprites, or whatever. Ty woops, after list not d, of. Lol.
In hammer you can just copy the path to the materials from the texture list on the side.
[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
User avatar
fire1000678
750+ Posts
750+ Posts
Posts: 930
Joined: Fri Feb 03, 2012 8:10 pm

Re: Need help on first script

Post by fire1000678 »

Ah okay, I see. Thank you :D
上手ですか?

Image

"Just as the tree and the earth need each other for life, so is the body and the soul, for without the other, one is nothing."

Ingame Name: [GR]人生Positively Shinobi{A}