Doom3-Plasmagun


(HarryWild) #1

If anyone ever ports that Doom3-Plasmagun into an ET-mod, please let me know :bump:


(P4nth3r) #2

could be done I think


(kamikazee) #3

If the D3 engine still uses the same format, you could move it.
However, D3 is a copyrighted game so you can’t directly use it’s models.

Allso note the plasmagun won’t be totally the same: as far as I know ET hasn’t got support for replacable text on shaders to show the ammo on the gun itself.


(jaybird) #4

It’d probably be a bit hard to produce the vapor effects as well.


(fretn) #5

remapshader and rendertotexture will do


(HarryWild) #6

Hmmm… since it’s copyrighted there won’t be a port. :frowning:
I for myself can’t do it, due to lack of knowledge.

But thanks for your insights!

Greets,
Harry


(jet Pilot) #7

I’m sure it (the effects anyway) wouldn’t be too hard even for you, if you don’t care about what the model looks like.

for example, you can replace the panzer :
look in the function fire_rocket in the file g_missile.c
change the line


bolt->splashRadius = 300;

and lower it to something smaller, say 32

look in the function GetWeaponDamage in the file g_weapon.c
find the line


case WP_PANZERFAUST:
case WP_MORTAR_SET: 

and change it to


case WP_PANZERFAUST:
        return 25;                    // or whatever
case WP_MORTAR_SET: 

look for


ammotable_t ammoTableMP

in bg_misc.c

scroll down and find the line for the panzer (5th one down, with MOD_PANZERFAUST at the end of the list)
change the start clip, max clip, max ammo, and next shot/fire delay values.( and heat/cool if you want) next shot and fire delay should be lower, like the smgs

it will look/sound like the panzer, but it should fire like the plasma gun.

next steps would be a new model (tough unless you have one already, or know what you’re doing), sounds (just make laser sounds with your mouth in your mic, :P)
and edit the explosion and wall mark shaders to match your vision.

It’s a quick and dirty hack, but it may be a step in the direction you want to go.


(dime1622) #8

actually, it does.