Post your scripting questions / solutions here
Moderator: Moderators
Barttje
Sergeant Major
Posts: 111 Joined: Sat Aug 20, 2005 8:52 pm
Post
by Barttje » Thu Sep 15, 2005 7:42 pm
hi all
how can set an hoorn on my radio like:
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 » Thu Sep 15, 2005 7:46 pm
Right click -> static -> microphone.
Barttje
Sergeant Major
Posts: 111 Joined: Sat Aug 20, 2005 8:52 pm
Post
by Barttje » Thu Sep 15, 2005 7:52 pm
i do it with notepad, so could you give me a script...
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 » Thu Sep 15, 2005 8:04 pm
Code: Select all
local.mike = spawn "models/static/microphone.tik" "origin" ( 0 0 0 ) angles ( 0 0 0 )
<EDIT>Mwahaha, been faster, Atomic!
</EDIT>
Last edited by
Rookie One.pl on Thu Sep 15, 2005 8:05 pm, edited 1 time in total.
At0miC
General
Posts: 1164 Joined: Fri Feb 27, 2004 11:29 pm
Location: The Netherlands
Post
by At0miC » Thu Sep 15, 2005 8:05 pm
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 » Thu Sep 15, 2005 8:08 pm
Kiko
Major
Posts: 303 Joined: Mon Aug 29, 2005 8:58 pm
Location: US
Contact:
Post
by Kiko » Thu Sep 15, 2005 10:32 pm
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 » Thu Sep 15, 2005 11:21 pm
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
Kiko
Major
Posts: 303 Joined: Mon Aug 29, 2005 8:58 pm
Location: US
Contact:
Post
by Kiko » Fri Sep 16, 2005 4:29 am
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 » Fri Sep 16, 2005 5:00 am
stand...or go to spectate and eye ball it
ViPER
General
Posts: 1058 Joined: Fri Jan 14, 2005 5:48 pm
Location: California
Contact:
Post
by ViPER » Fri Sep 16, 2005 5:49 am
coord - gets location at player foot.
viewpos - gets location from eyeball player or spectator