target_cdaudio (Half-Life)
Last edited 16 years ago2008-04-26 14:57:16 UTC
- Wiki
- View Page
-
You are viewing an older revision of this wiki page. The current revision may be more detailed and up-to-date.
Click here to see the current revision of this page.
This article was converted from a previous version of TWHL and may need to be reviewed
- The formatting may be incorrect due to differences in the WikiCode processing engine, it needs to be revised and reformatted
- Some information may be out of date
- After the article is re-formatted and updated, remove this notice and the Review Required category.
- Some older articles are no longer useful, or they duplicate information from other pages. In this case, delete the page after merging any relevant information into other pages. Contact an admin to delete a page.
Point EntityThe target_cdaudio entity allows you to play a CD track when the player passes within the specified radius around the entity.
Attributes
- Name (targetname) - Property used to identify entities.
- Track # (health) - Track to play (1-30). -1 to stop.
- Player Radius (radius) - Player must come within this radius for the track to start playing.
Flags
Inputs
Outputs
*
4 Comments
You must log in to post a comment.
You can login or register a new account.
They can be a bit buggy tho--at least for me--, so here are some problems/fixes regarding custom target_cdaudio mp3s:
Problem:i'm trying to replace the mp3s with my own for target_cdaudio entity, but half-life overwrites them when i play the game, and plays the originals and not mine own.
fix: After you copy/rename--(half-life01, half-life02, etc) your own mp3 to the half-life media directory, make them read-only, and they should not be overwritten by the originals from the gcf file.
***
Problem: I've renamed my own mp3 track to the proper filename--"half-life03.mp3" or whatev--, and i've made it a read-only file as well, but when i try to trigger it, STILL, some other song comes on?!
fix: fsr, at least for me, half-life renames your tracks in that, when you call on your file, say "half-life03", you would actually have to call up "half-life022" to make your custom song play.
The only way i know of to figure what HL has renamed your file to, is to create a test map of all 30 possible target_cdaudio sounds, with buttons, and go around clicking until you find your right file. THEN, you can enter the proper filename and your song will play.
Good news is it's static, once you figure out what it is, it should never change unless you delete it.
***
Problem: You've done all of the above, but none of the buttons activate your custom track?!
fix: check the button targets and track numbers for your cdaudio "test file" and make sure everything is correct. (I have a test map and will upload it shortly, if anyone ever needs it)
***
Problem: custom target_cdaudio: custom mp3s aren't playing, even though every other conceivable thing looks correct.
Fix: Try restarting steam. Sometimes, track changes will not execute unless you restart.
***
)
I suppose you could place your own audio CD and it would still play. starts playing HL with Barry White soundtrack
starts playing.