Radio

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
Barttje
Sergeant Major
Posts: 111
Joined: Sat Aug 20, 2005 8:52 pm

Radio

Post by Barttje »

hi all

how can set an hoorn on my radio like:


Image

please help
Rookie One.pl
Site Admin
Posts: 2752
Joined: Fri Jan 31, 2003 7:49 pm
Location: Nowa Wies Tworoska, Poland
Contact:

Post by Rookie One.pl »

Right click -> static -> microphone.
Admin
Image
Image
Honour guide me.

here's my stuff - inequation.org | here's where I work - thefarm51.com
Barttje
Sergeant Major
Posts: 111
Joined: Sat Aug 20, 2005 8:52 pm

Post by Barttje »

i do it with notepad, so could you give me a script... :D
Rookie One.pl
Site Admin
Posts: 2752
Joined: Fri Jan 31, 2003 7:49 pm
Location: Nowa Wies Tworoska, Poland
Contact:

Post by Rookie One.pl »

Code: Select all

local.mike = spawn "models/static/microphone.tik" "origin" ( 0 0 0 ) angles ( 0 0 0 )
<EDIT>Mwahaha, been faster, Atomic! :P</EDIT>
Last edited by Rookie One.pl on Thu Sep 15, 2005 8:05 pm, edited 1 time in total.
Admin
Image
Image
Honour guide me.

here's my stuff - inequation.org | here's where I work - thefarm51.com
User avatar
At0miC
General
Posts: 1164
Joined: Fri Feb 27, 2004 11:29 pm
Location: The Netherlands

Post by At0miC »

Code: Select all

local.microphone = spawn models/static/microphone.tik origin ( xxxx yyyy zzzz ) angles ( 0 0 90 )
You need to give it a coordinate (type 'coord' in console) and you might change the angles as well.

<EDIT>Damn bastard! I'll beat you next time rookie</EDIT>
Last edited by At0miC on Thu Sep 15, 2005 8:10 pm, edited 1 time in total.
Barttje
Sergeant Major
Posts: 111
Joined: Sat Aug 20, 2005 8:52 pm

Post by Barttje »

ok tnx all! :D :D :D :shock:
Kiko
Major
Posts: 303
Joined: Mon Aug 29, 2005 8:58 pm
Location: US
Contact:

Post by Kiko »

I dont really understand coords though... like if I wanna know the coords of the mic on v2... ?!?!?!

(\_/)
(O.o)
This is Bunny. Copy Bunny
(> <)
to help him achieve world domination.
Master-Of-Fungus-Foo-D
Muffin Man
Posts: 1544
Joined: Tue Jan 27, 2004 12:33 am
Location: cali, United States

Post by Master-Of-Fungus-Foo-D »

to get coords, load up a map, go to wherever in that map, open console, and type into it "coord".. youll get angles and origin.. the origin is your XYZ (X and Y are the North South East and West and Z is your height) postion
Image
The Fungus Theme song!!!

Code: Select all

while (local.player istouching self)
Kiko
Major
Posts: 303
Joined: Mon Aug 29, 2005 8:58 pm
Location: US
Contact:

Post by Kiko »

do I stand on teh table where the mic should be??? or do I face it? what!!!

(\_/)
(O.o)
This is Bunny. Copy Bunny
(> <)
to help him achieve world domination.
LiquorKraZy
Captain
Posts: 267
Joined: Tue Aug 10, 2004 5:38 am
Location: CA
Contact:

Post by LiquorKraZy »

stand...or go to spectate and eye ball it
User avatar
ViPER
General
Posts: 1058
Joined: Fri Jan 14, 2005 5:48 pm
Location: California
Contact:

Post by ViPER »

coord - gets location at player foot.

viewpos - gets location from eyeball player or spectator
Post Reply