Tags in all Halo games

Discussion about modding Halo 3.
Post Reply
Domnio





Posts: 199
Joined: Sun Jul 16, 2006 3:44 pm
Location: Earth
Contact:

Tags in all Halo games

Post by Domnio »

Hey, I'm kinda new at programming, and I was wondering if the tags in the Halo games are structures, for example:

Code: Select all

	struct bipd
	{
	};

	struct mach
	{
	};

	struct weap
	{
	};
RaVNzCRoFT removed my signature because it contained too many lines of text. I'll read the rules next time.
User avatar
kornman00




ONI New Age

Posts: 146
Joined: Fri Dec 12, 2003 6:30 pm
Contact:

Re: Tags in all Halo games

Post by kornman00 »

Yeah, they're just made up of many, many C\C++ structs and classes, but are not named like that ^.
Domnio





Posts: 199
Joined: Sun Jul 16, 2006 3:44 pm
Location: Earth
Contact:

Re: Tags in all Halo games

Post by Domnio »

o ok, thnx for answering I appreciate it, I was reading my C++ book and it mentioned that structures were also called tags and I was like "hmmm I wonder..."
RaVNzCRoFT removed my signature because it contained too many lines of text. I'll read the rules next time.
User avatar
grimdoomer




System Engineer

Posts: 1440
Joined: Mon Oct 09, 2006 4:36 pm

Re: Tags in all Halo games

Post by grimdoomer »

Here are some examples from the Halo source code.

Code: Select all

typedef float real;


struct sound_environment 
{ 
     real room_intensity_db; 
     real room_intensity_hf_db; 
     real room_rolloff_factor; 
     real decay_time; 
     real decay_hf_ratio; 
     real reflections_intensity_db; 
     real reflections_delay; 
     real reverb_intensity_db; 
     real reverb_delay; 
     real diffusion; 
     real density; 
     real hf_reference; 
}; 

const unsigned long SOUND_ENVIRONMENT_TAG= 'snde'; 

TAG_GROUP( 
sound_environment, 
SOUND_ENVIRONMENT_TAG, 
sizeof(sound_environment)) 
{ 
     {_field_real, "room intensity"}, 
     {_field_real, "room intensity hf"}, 
     {_field_real, "room rolloff (0 to 10)"}, 
     {_field_real, "decay time (.1 to 20)" }, 
     {_field_real, "decay hf ratio (.1 to 2)"}, 
     {_field_real, "reflections intensity:dB[-100,10]"}, 
     {_field_real, "reflections delay (0 to .3):seconds" }, 
     {_field_real, "reverb intensity:dB[-100,20]"}, 
     {_field_real, "reverb delay (0 to .1):seconds"}, 
     {_field_real, "diffusion"}, 
     {_field_real, "density"}, 
     {_field_real, "hf reference(20 to 20,000)}, 
}; 
Image
AI Zones in MP | Ambiance | Gravemind Beta v1.1
Aumaan Anubis wrote:Grimdoomer. The first person ever to mod Halo 2 Vista.
ImpactPro





Posts: 152
Joined: Sun Sep 28, 2008 12:26 pm
Location: In ur IP Stealing ur Info

Re: Tags in all Halo games

Post by ImpactPro »

But not to be confused, those structs are not the actual "tags" in the map file.
Image
Domnio





Posts: 199
Joined: Sun Jul 16, 2006 3:44 pm
Location: Earth
Contact:

Re: Tags in all Halo games

Post by Domnio »

ah, okay. Thank you for your information. Is there anything else to it? I recognize most of that stuff, however I'm still learning programming. Right now I'm just getting into structures, that's why I was asking >.<
RaVNzCRoFT removed my signature because it contained too many lines of text. I'll read the rules next time.
Post Reply