Pierrot 0 Posted August 31, 2003 Hi there! I am now making new rifle addons and want to change bullet hit animation. Some sparks and must be generated when bullets hit armors. How can you change bullet hit animation? Is it easy? Share this post Link to post Share on other sites
blackdog~ 0 Posted August 31, 2003 It's probably possible but it would require advanced scripting... ... preferabley from "jacobaby tha drop masta" (just made that up.) Share this post Link to post Share on other sites
Pierrot 0 Posted August 31, 2003 It's probably possible but it would require advanced scripting... Hmmm.... To be sure, "Real explosion mod(?)" changes ammo hit animations. How does it do that? Besides, I want to add variety to bullet hit animation: a) Sparks are generated when bullets hit armors. b) Powder of stone splashes when bullets hit houses. c) Powder of dirt splashes when bullets hit the ground. d) Water splashes when bullets hit the water. Share this post Link to post Share on other sites
Pierrot 0 Posted September 2, 2003 It's probably possible but it would require advanced scripting... Where do you define such a script? In misson file, or in addon? I guess it would be possible if only you could know when the bullet hit a target (or when the bullet disappeared), where the bullet hit or disappeared (position = [x, y, z]), what the bullet hit (armor, house, dirt, water). If you could tell above information, you would be able to realize bullet hit animation. Share this post Link to post Share on other sites
SpecOp9 0 Posted September 2, 2003 I would ask Kegety. He did the Blood Effect and I'm sure there is a way for a Spark effect also. Share this post Link to post Share on other sites
Pierrot 0 Posted September 3, 2003 I would ask Kegety. I am not familiar with "Blood Addon", but can it display blood wherever an unit is shot? Let's think about an tank. If you shoot  left side of the tank with rifle, spark must be also generated at left side of the tank, if possible at exact point on which the bullet hits. For that purpose, you have to know exact position [x, y, z]. Is it possible ? Share this post Link to post Share on other sites
Harkonin 0 Posted September 5, 2003 addon would be in the cpp or Bin file, script not sure about having a similar problem myself. Share this post Link to post Share on other sites
Pierrot 0 Posted September 6, 2003 I see the config.cpp and scripts of "blood addon". It seems that it doesn't deal with position information. Only blood spray direction. So I guess even if you shoot hand or foot, blood always appears from the same place, let's say body. By the way, bullet hit animation of rifle bullet and 30mm cannon is completely different. Where is this defined? Can you edit its animation freely? Share this post Link to post Share on other sites