Hi, I am currently developing a custom mod, Half-Life 2 Beta Deathmatch, which adds the beta weapons and new HL2-Beta related maps to HL2 Deathmatch.
Is there a way to modify the Flare Gun, one of the unused Beta files, to make one that is compatible for the Orange Box Engine (Source 2007) and working for HL2 MP?
[QUOTE=Bitl;34306713]Hi, I am currently developing a custom mod, Half-Life 2 Beta Deathmatch, which adds the beta weapons and new HL2-Beta related maps to HL2 Deathmatch.
Is there a way to modify the Flare Gun, one of the unused Beta files, to make one that is compatible for the Orange Box Engine (Source 2007) and working for HL2 MP?[/QUOTE]
Maybe if you posted HOW it's not compatible and/or even some code, people would help?
Is this even in the right section?
[QUOTE=neutra;34306970]Is this even in the right section?[/QUOTE]
probably.
Not too familiar with Programming HL2 mods, but maybe a flaregun could work like this:
Primary fire should fire an entity in a slight bow. (look at the smg1 grenade code, how the calculation is done)
the entity it fires, has a dynamic light entity, and a particle effect (.pcf effect) attached to it.
the light entity should have a slight reddish color, and have a flicker effect.
After the entity lands on the ground, it should create the boxflare prop(no collision, and no physics) at the point, where it hit the ground, and it should create a small smoke trail (maybe use an env_smokestack)
if the entity hits a prop, wich material is made out of wood, then it should ignite the prop.
After x seconds, the Particle effect and the dynamic light should be removed, but the prop stays for another x seconds.
If you don't know how to do this you should probably take up GMod first, dudeski.
[QUOTE=Bitl;34306713]Hi, I am currently developing a custom mod, Half-Life 2 Beta Deathmatch, which adds the beta weapons and new HL2-Beta related maps to HL2 Deathmatch.
Is there a way to modify the Flare Gun, one of the unused Beta files, to make one that is compatible for the Orange Box Engine (Source 2007) and working for HL2 MP?[/QUOTE]
If you have to ask this question you are not the right man for the job.
Sorry, you need to Log In to post a reply to this thread.