plane weapons
-
- 1000+ Posts
- Posts: 1280
- Joined: Fri Sep 03, 2010 8:51 pm
plane weapons
i tried making weapons for my airboat plane, and it didnt work. how do u make airboats shoot stuff?[ ant, it would be appreciated if u can tell me how u got ur plane to shoot flames.]
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: 1163
- Joined: Fri Apr 23, 2010 2:56 am
- Location: United Kingdom
Re: plane weapons
I very much doubt Ant showing you his script.
http://area51servers.game-vip.com/forum ... 3&start=10
Read it all.
We use the Wiki Developers Guide for a purpose, i know you can find what you require on it, because I remember reading it.
http://area51servers.game-vip.com/forum ... 3&start=10
Read it all.
We use the Wiki Developers Guide for a purpose, i know you can find what you require on it, because I remember reading it.
-
- Site Admin
- Posts: 4390
- Joined: Fri Apr 09, 2010 3:20 pm
- Location: United States
Re: plane weapons
i used env_shooter:
http://developer.valvesoftware.com/wiki/Env_shooter
http://developer.valvesoftware.com/wiki/Env_shooter
-
- Former Server Admin
- Posts: 265
- Joined: Fri Aug 06, 2010 2:08 pm
Re: plane weapons
yar simply bind the shoot-input, enter your plane and then phew phew phew
"Coming in peace is for simpletons and dullards! I come in AWESOME!" - The Duke
-
- 1000+ Posts
- Posts: 1280
- Joined: Fri Sep 03, 2010 8:51 pm
Re: plane weapons
ok, but how do u put a keyvalue[ like the shootmodel keyvalue for the env_shooter] in the env_shooter?
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
-
- Server Admin
- Posts: 2417
- Joined: Sun Apr 11, 2010 4:50 am
Re: plane weapons
Code: Select all
ent_fire yourgayshooter addoutput "keyvalue <value>"
Ingame: -[SaD]- Nico
-
- 1000+ Posts
- Posts: 1280
- Joined: Fri Sep 03, 2010 8:51 pm
Re: plane weapons
can u mabye give me an example of a true code's keyvalue?
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: plane weapons
ent_fire penis addoutput "size 10"
"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: plane weapons
ßlade wrote:ent_fire penis addoutput "size 10"
Noo
ent_fire bawls addoutput "size 15"
-
- Former Server Admin
- Posts: 265
- Joined: Fri Aug 06, 2010 2:08 pm
Re: plane weapons
No no no noJack wrote:ßlade wrote:ent_fire penis addoutput "size 10"
Noo
ent_fire bawls addoutput "size 15"
ent_fire bawls addoutput "material steel"
"Coming in peace is for simpletons and dullards! I come in AWESOME!" - The Duke
-
- Site Admin
- Posts: 4390
- Joined: Fri Apr 09, 2010 3:20 pm
- Location: United States
Re: plane weapons
LOL this has become ridiculous, but it does show how to use keyvalues amazingly.
-
- Former Server Admin
- Posts: 1251
- Joined: Fri Apr 09, 2010 4:01 pm
- Location: Norway, Oslo
Re: plane weapons
Amazing >_<
-
- Former Server Admin
- Posts: 265
- Joined: Fri Aug 06, 2010 2:08 pm
Re: plane weapons
In the 4 years of scripting, we distinguished 2 different typs of cmd's
(thats the way i learned)
Input's
Let the entity most of the time interact with it's environment.
e.g. start, stop, activate, turnon, shoot etc.
Used like this:
Ent_fire entity input => ent_fire bla start
Output's
Set's the entity's properties, like size, lenght, life etc.
e.g. size, material, color, coolness (tihihi jk) etc.
used like this:
ent_fire entity addoutput "output amount/value" => ent_fire bla addoutput "size 10"
Simple, isnt it
Feel free to check:
http://developer.valvesoftware.com/wiki/Env_smokestack
PS: Well this might sound a bit confusing but the Keyvalues are used the same way as Output's, Input's work the way i explained, and the cmd's below the "Output's"-section are for advanced function's
(thats the way i learned)
Input's
Let the entity most of the time interact with it's environment.
e.g. start, stop, activate, turnon, shoot etc.
Used like this:
Ent_fire entity input => ent_fire bla start
Output's
Set's the entity's properties, like size, lenght, life etc.
e.g. size, material, color, coolness (tihihi jk) etc.
used like this:
ent_fire entity addoutput "output amount/value" => ent_fire bla addoutput "size 10"
Simple, isnt it
Feel free to check:
http://developer.valvesoftware.com/wiki/Env_smokestack
PS: Well this might sound a bit confusing but the Keyvalues are used the same way as Output's, Input's work the way i explained, and the cmd's below the "Output's"-section are for advanced function's
"Coming in peace is for simpletons and dullards! I come in AWESOME!" - The Duke
-
- 1000+ Posts
- Posts: 1280
- Joined: Fri Sep 03, 2010 8:51 pm
Re: plane weapons
uhhh, i tried to get the env_shooter to launch a watermelon, and it just crashed.s it not supposed to use prop models?
[and before u ask, i tested it when nobody was around]
[and before u ask, i tested it when nobody was around]
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: 1163
- Joined: Fri Apr 23, 2010 2:56 am
- Location: United Kingdom
Re: plane weapons
I'm not a scripter, but use 'Create Server' if you want to test your scripts out.