New Weapon type.

For the grenade rocket it would be.

PHP:
	<AddEffectElu name="rocket_effect" name_sort="1">
		<AddBaseModel name="rocketfire_effect" filename="ef_grenade01.elu" />
		<AddAnimation name="play" filename="ef_grenade01.elu.ani" motion_type="0" motion_loop_type="lastframe" />
	</AddEffectElu>

and

PHP:
	<!--
	<AddEffectElu name="rocket_smoke_effect" name_sort="1">
		<AddBaseModel name="rocketsmoke_effect" filename="ef_grenade01.elu" />
		<AddAnimation name="play" filename="ef_grenade01.elu.ani" motion_type="0" motion_loop_type="lastframe" />
	</AddEffectElu>
	-->

But nothing changed ;).
 
For the grenade rocket it would be.

PHP:
	<AddEffectElu name="rocket_effect" name_sort="1">
		<AddBaseModel name="rocketfire_effect" filename="ef_grenade01.elu" />
		<AddAnimation name="play" filename="ef_grenade01.elu.ani" motion_type="0" motion_loop_type="lastframe" />
	</AddEffectElu>

and

PHP:
	<!--
	<AddEffectElu name="rocket_smoke_effect" name_sort="1">
		<AddBaseModel name="rocketsmoke_effect" filename="ef_grenade01.elu" />
		<AddAnimation name="play" filename="ef_grenade01.elu.ani" motion_type="0" motion_loop_type="lastframe" />
	</AddEffectElu>
	-->

But nothing changed ;).

That would suck so much :laugh:
 
I had been wondering for a while on how one would be able to change the effects of certain weapon types so that various weapons in the same weapon type had different shooting effects.

I've seen this before on Dark GunZ I believe. They have grenades for high levels like "ice grenade", "fire grenade", etc, and each of those grenades have a different effect when they blow up. Ice blows up ice, etc. I was just wondering how you would do that.

I'm guessing that you'd probably have to create a duplicate of the original weapon type, and have it read a different sfx effect. And I'm assuming this would have to be done through coding of some sort, as I haven't seen an XML file where weapon types are defined. If it is possible through XMLs however, it'd be nice if someone could point out how to do it. Or at least point out the XML file to be looking in, cuz I've checked as many of them as I can think of, and have come up with no results. But yeah, w/e :o
 
@ManyBlackPpl , in a few days I think i might know how to do it, if so i'll Make a Tutorial on how to.
 
I've seen this before on Dark GunZ I believe. They have grenades for high levels like "ice grenade", "fire grenade", etc, and each of those grenades have a different effect when they blow up. Ice blows up ice, etc. I was just wondering how you would do that.
Phail and I think Sulfin made those first for LG GunZ's resurrection. I believe there was a bug in it that showed it using some rocket launcher attributes.
 
effect_list.xml inside sfx.mrs.

Just swap animations and meshes around. Quick example:

PHP:
    <AddEffectElu name="ef_berserker">
        <AddBaseModel name="ef_berserker" filename="ef_berserker.elu" />
        <AddAnimation name="play" filename="ef_berserker.elu.ani" motion_type="0" motion_loop_type="loop" />
    </AddEffectElu>

To:
PHP:
    <AddEffectElu name="ef_berserker">
        <AddBaseModel name="ef_berserker" filename="ef_event_ongame_jjang.elu" />
        <AddAnimation name="play" filename="ef_event_ongame_jjang.elu.ani" motion_type="0" motion_loop_type="loop" />
    </AddEffectElu>

Makes the berserker use the jjang instead of the aura around the body :p. I've messed around with it before, it's amusing for a while.

thanks! works like a charm haha
 
Omg so fucking beast. Release that **** now.

/facepalm

@ OP - Combining Rocket weapon and Grenade animation?

Then your just going to be throwing little rocket launchers around which blow up like a nade. NOT A GRENADE LAUNCHER.
 
Revolution, can you give me/release your rocket launcher and healing effect files? They're awesome.

Just decompile the quest or sfx files and use the 'lich blow up' (or whatever that **** is called) instead of the normal rocket launcher fire

Same with the healing effect, except you use amereons (or whatever he's called, I don't play gunz dammit)
 
Revolution, can you give me/release your rocket launcher and healing effect files? They're awesome.

There is nothing to release mate, Just some XML edits, i showed how to do it, i have no idea why Military says it's not working.

Here it is again:

Step #1:

Decompile SFX.mrs.

Step #2:

Inside the SFX Floder you will Find an XML File calld "effect_list" Open it in Notepad.

Step #3:

Hit "CTRL+F"

Step #4:

In the Search Bar Type "Heal" Then it'll Give you a few results, The First one will be "ef_heal" This code:

PHP:
	<AddEffectElu name="ef_heal">
		<AddBaseModel name="ef_heal" filename="ef_heal.elu" />
		<AddAnimation name="play" filename="ef_heal.elu.ani" motion_type="0" motion_loop_type="lastframe" />
	</AddEffectElu>

Step #5:

Once you found that Code, Hit "CTRL+F" Once more, Search for "Light" , It'll Give you a few results , Scroll down (One line) and you will Find this Code:

PHP:
	<AddEffectElu name="ef_lighteningball">
		<AddBaseModel name="ef_lighteningball" filename="ef_lighteningball.elu" />
		<AddAnimation name="play" filename="ef_lighteningball.elu.ani" motion_type="0" motion_loop_type="loop" />
	</AddEffectElu>

Step #6:

Copy "ef_lighteningball.elu" and Replace it with "ef_heal.elu" Located in the "ef_heal" Code, Then Replace "ef_lighteningball.elu.ani" With "ef_heal.elu.ani" Also located in the "ef_heal" Code.

This "Mini-Tut" explains how to Get that lightening ball Effect when Using Meds or Heal Spawns, This can be done with every other Code you want, For the Rocket Launcher Effect Do this:


Swap this Code:

PHP:
	<AddEffectElu name="rocket_effect" name_sort="1">
		<AddBaseModel name="rocketfire_effect" filename="ef_rocket_fire.elu" />
		<AddAnimation name="play" filename="ef_rocket_fire.elu.ani" motion_type="0" motion_loop_type="lastframe" />
	</AddEffectElu>

With this One:

PHP:
	<AddEffectElu name="rocket_effect" name_sort="1">
		<AddBaseModel name="rocketfire_effect" filename="ef_fireball.elu" />
		<AddAnimation name="play" filename="ef_fireball.elu.ani" motion_type="0" motion_loop_type="lastframe" />
	</AddEffectElu>

Done, go test it in-game. :laugh:
 
Back