Site Navigation
QuakeOne News
» Latest News
» News Archives
» QuakeOne Movies

QuakeOne Help
» File Downloads
» Quake Help
» Quake Servers

QuakeOne Community
» Forums
» Chat *new*
» Poll Booth
» Memberlist
» Member Map

Site Info
» Community Rules
» Moderator List

» Buy Quake

Visit On Facebook!Visit QuakeOne
on Facebook

Log in
User Name:


Not a member yet?
Register Now!
Online Users: 345
5 members and 340 guests
Lucifex, mankrip, nahuel, talisa, Zop
Most users ever online was 2,542, 06-04-2016 at 12:58 AM.
Go Back Home > Forums > Quake Talk > Other Games > HEXEN II community work and discussion Search Forums

View Poll Results: What Engine is better to play Hexen II ?
Hammer of Thyrion 2 11.11%
FTEqw 5 27.78%
JSHexen2 8 44.44%
UQE 3 16.67%
Voters: 18. You may not vote on this poll

LinkBack Thread Tools
Unread 04-08-2017, 06:08 AM   #1381 (permalink)
Mathuzzz's Avatar
Posts: 179
+/-  Reputation: Mathuzzz is on a distinguished road
Join Date: Aug 2010
Currently: Offline
Bloodshot, about ambient sound effects. Do you use some custom sound entity or did you just used vanilla sound effects? Also do you know how one can change the volume or distance of individual sounds?
Reply With Quote
Unread 04-08-2017, 10:49 AM   #1382 (permalink)
Seven's Avatar
Posts: 3,147
+/-  Reputation: Seven is a jewel in the roughSeven is a jewel in the roughSeven is a jewel in the rough
Join Date: Oct 2007
Currently: Offline
Hello Mathuzzz,

Hexen gamecode follows very similar syntax like Quake gamecode.
You can use most features/mods which have been developed for Quake in Hexen2 as well with only minor adjustments. *hint*

You have a few different existing .hc compilers. Though, to be able to use most advanced features you should of course use fteqccgui.exe. It has a lot of options which also includes H2 adjustments.
When you are familiar with QuakeC you will feel home very quick with HexenC as well. Coding is almost identical.

Back to your question:
Just like in Quake you also have this sound function (look into .hc files to find lots examples):
void (entity e, float chan, string samp, float vol, float atten) sound
As you can see, float vol sets the volume. 0 ... 1

Different attentuations and distances can be used by these values:
float ATTN_NONE = 0;
float ATTN_NORM = 1;
float ATTN_IDLE = 2;
float ATTN_STATIC = 3;
float ATTN_LOOP = 4;
Different channels by these:
float CHAN_AUTO = 0;
float CHAN_WEAPON = 1;
float CHAN_VOICE = 2;
float CHAN_ITEM = 3;
float CHAN_BODY = 4;

You can use either original Hexen2 source or any Quake source (incl. mods) to see hundreds of examples of how these things are beeing used.

It is not difficult. I am sure you will be able to do what you are aiming for.

Best wishes,
Reply With Quote
Unread 04-20-2017, 01:07 PM   #1383 (permalink)
Skull Wizard
Bloodshot's Avatar
Posts: 570
+/-  Reputation: Bloodshot is on a distinguished road
Join Date: Sep 2010
Currently: Offline
@Mathuzzz, seven is correct, I had to edit gamecode. I actually added a "noise1" key to the existing ambient sound entity but if you want new sounds they need to be precached, so you have to edit code to precache them so you can use them in your levels.

Sorry it took so long to respond, a family member passed away and I haven't been doing much on my computer recently because of it

Otherwise though, I threw up a modDB page with more media today

Hexen II - Shadows of Chaos mod - Mod DB
Reply With Quote
Unread 04-21-2017, 07:20 AM   #1384 (permalink)
Axe Man
bgf0302's Avatar
Posts: 16
+/-  Reputation: bgf0302 is on a distinguished road
Join Date: Feb 2017
Currently: Offline
wow I completely forgot about hexen - first played it way back on the n64, great multiplayer!
Best FPS's of All-Time: Quake, Goldeneye, Half-Life
Reply With Quote
Unread 04-21-2017, 12:46 PM   #1385 (permalink)
Mathuzzz's Avatar
Posts: 179
+/-  Reputation: Mathuzzz is on a distinguished road
Join Date: Aug 2010
Currently: Offline
@Bloodshot Sorry to hear about that.
I already handled the sounds, though I would like to look into it in the future, still wondering whether it is possible to change music during the map, using global sounds.

Im looking forward to the demo version of your mod. I see you like to use hanged men/skeletons.
Reply With Quote


hexen, textures

Currently Active Users Viewing This Thread: 2 (0 members and 2 guests)
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
Trackbacks are On
Pingbacks are On
Refbacks are On

All times are GMT -6. The time now is 08:54 PM.

eXTReMe Tracker