Page 1 of 1

[Solved] Wrong custom weapon in replay

Posted: 22 Jul 2014, 17:18
by fleo
Hey, I wanted to create a video about my titlepack elite alternative but I encountered some difficulties.

In this mode the attacker has the laser and a grenade, which work fine in the replay editor. However the defenders have the rockets and a shotgun and I don't know why when I'm editing a replay the defenders have the rockets and a grenade (instead of a shotgun). :(

I made 4 video records to be sure you understand well:
- An attacker action: http://youtu.be/G-YDSz2VLMA
- A replay of the attacker action: http://youtu.be/ATOd5Buyt90
- A defender action: http://youtu.be/Ql7hJwqlc1U
- A replay of the defender action: http://youtu.be/JSDHuZTPVD4 (problem in this one)

As you can see, the weapons used in the two last ones are different but this is the same action :?

And there are the replays used (atk and def), I put keys at the fire instants.

I'm guessing that's a glitch, but it may come from my script. So I tried to record a new ghost in the replay editor with an old version of the shotgun (because the one currently used cannot work outside of my mode) and it does the exact same result, so I don't think my script is the problem.

Any suggestion?

Re: Wrong custom weapon in replay

Posted: 22 Jul 2014, 17:54
by djhubertus
I have similar problem when Player get more than 1 weapon on the same slot.

Re: Wrong custom weapon in replay

Posted: 22 Jul 2014, 18:22
by fleo
In my mode the grenade is in the slotA and the shotgun in the slotB...

And I discovered than the shotgun isn't really replaced by the grenade because its projectile doesn't bounce on wall. So I guess it's just the visual & sound effects (explosion, ...) that are mixed up between custom weapons but not the behaviour...quite weird...

Also the crosshair is not the good one, it takes the one of the grenade instead of the one of the shotgun.

Here is a video of a recorded ghost in the replay editor: http://youtu.be/Vl8B3Jg24c0

Re: Wrong custom weapon in replay

Posted: 24 Jul 2014, 18:27
by Teardrop
Hum I think we use the weapon/bullet name to link each weapon to its graphical representation.

Can you try to edit all your actions, and give each projectile a different name? Don't forget to edit the script if you're using customized actions.

If that's the problem, I might have to give it a look.
Thanks for the report :thumbsup:

Re: Wrong custom weapon in replay

Posted: 24 Jul 2014, 18:36
by fleo
Oh yeah all my projectiles have the same name! I'll try to modify it and I'll let you know. Thanks anyway :thumbsup:

Re: Wrong custom weapon in replay

Posted: 24 Jul 2014, 19:28
by fleo
Tested and approved :1010 The projectiles and the crosshairs are now the good ones.
Now getting back all the old replays using wrong weapons is another story :roflol: