Notices

Point_tesla sound?  Thread Tools Reply
Old 02-20-2012, 09:53 AM   #1
SV_CHEATS 1
L1: Registered
 
SV_CHEATS 1 is offline
Posts: 13
Thanks given: 1
Thanks received: 0

Default Point_tesla sound?


Hey I was wondering about the point_tesla entity. I put in all the code in correctly, and when I execute the "dospark" input I hear no sound.
Here is what I did:
ent_create point_tesla
ent_fire point_tesla addoutput "targetname tesla"
ent_fire tesla addoutput "classname tesla"

ent_fire tesla addoutput "m_soundname music\HL1_song25_REMIX3.mp3"
ent_fire tesla addoutput "m_color 0 0 0"
ent_fire tesla addoutput "m_flradius 0"
ent_fire tesla addoutput "beamcount_min 0
ent_fire tesla addoutput "beamcount_max 0
ent_fire tesla addoutput "thick_min 0
ent_fire tesla addoutput "thick_max 0
ent_fire tesla addoutput "lifetime_min 1
ent_fire tesla addoutput "lifetime_max 1
ent_fire tesla dospark

and there is no sound.
Is there a certain spawnflag, variable, or other console command that disables and enables the sound?
and if not, what other ways can I play music/sounds with basic entities?
 
Reply With Quote
Advertisement
 
Advertisement
Advertisement Sponsored links

Old 02-20-2012, 10:25 AM   #2
Jeremy
Veteran Member
 
Jeremy's Avatar
 
Jeremy is offline
Posts: 799
Thanks given: 221
Thanks received: 247

Default Point_tesla sound?


You could try using ambient_generic and have the point_tesla fire an output that plays music from it (I'm assuming it's music, judging by the "music\HL1_song25_REMIX3.mp3"). Just set the latter so sounds can be heard everywhere (it's a flag).


Nice name, by the way.

__________________
gray text
 
Reply With Quote
Old 02-20-2012, 11:48 AM   #3
SV_CHEATS 1
L1: Registered
 
SV_CHEATS 1 is offline
Posts: 13
Thanks given: 1
Thanks received: 0

Default Point_tesla sound?


Quote:
Originally Posted by Sir Raffi View Post
You could try using ambient_generic and have the point_tesla fire an output that plays music from it (I'm assuming it's music, judging by the "music\HL1_song25_REMIX3.mp3"). Just set the latter so sounds can be heard everywhere (it's a flag).


Nice name, by the way.
OK thank you I'll try that
 
Reply With Quote
Advertisement
 
Advertisement
Advertisement Sponsored links

Reply

Tags
music, point entity, point_tesla, sound, tesla

Previous Thread Next Thread
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT -5. The time now is 02:25 AM.