Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Weapon Recoil
Weapon Recoil [message #118204] Sun, 03 October 2004 16:43 Go to next message
Everyone
Messages: 45
Registered: July 2004
Karma: 0
Recruit
I was browsing things in the ren editor when I saw that every weapon preset has recoil time and recoil scale. I tried modifying the values for the autorifle but it doesn't work. Has anyone gotten the weapon recoil to work?
Weapon Recoil [message #118205] Sun, 03 October 2004 16:46 Go to previous messageGo to next message
YSLMuffins is currently offline  YSLMuffins
Messages: 1144
Registered: February 2003
Location: Moved a long time ago (it...
Karma: 0
General (1 Star)
Moderator - Mod Forum
It only seems to work on vehicles, AFAIK. And even then, the barrel has to be attached to the muzzle bone in order for recoil to be applied.

-YSLMuffins
The goddess of all (bread products)
See me online as yslcheeze
Weapon Recoil [message #118206] Sun, 03 October 2004 16:48 Go to previous messageGo to next message
Everyone
Messages: 45
Registered: July 2004
Karma: 0
Recruit
So, if someone were to do this then the weapons would have recoil. Is that correct?
Weapon Recoil [message #118208] Sun, 03 October 2004 16:51 Go to previous messageGo to next message
Aircraftkiller is currently offline  Aircraftkiller
Messages: 8213
Registered: February 2003
Karma: 0
General (5 Stars)
Oh, it works. Change it on a soldier, you'll notice that their rifle goes from the little jittering effect of firing to flying back and forth faster than a gas piston... It only works in third person. Recoil animations are done through the firing animation but I seriously doubt that those can be made to make the camera shake.

But I do believe that if you made your weapon generate an explosion that shook the screen somewhat each time you fired, and make the explosion only register for your weapon and for yourself, you'd see recoil working in-game with first person view.
Weapon Recoil [message #118214] Sun, 03 October 2004 17:11 Go to previous messageGo to next message
Everyone
Messages: 45
Registered: July 2004
Karma: 0
Recruit
I don't think the explosion idea works because you can't create explosions that are on the weapon itself.
Weapon Recoil [message #118215] Sun, 03 October 2004 17:21 Go to previous messageGo to next message
Havoc 89 is currently offline  Havoc 89
Messages: 500
Registered: February 2003
Karma: 0
Colonel
Yeah, I acturally tried that a couple of months ago, and you cant attach an explosion when you fire. So that idea went down the drain. Maybe someone can make a script that attaches an explosion when you fire. That will have many advantages too. You wouldnt have to make an muzzle flash in renx. you can just attach one to when you fire.

http://img362.imageshack.us/img362/7112/renxbannercopywm9.jpg
Weapon Recoil [message #118227] Sun, 03 October 2004 17:43 Go to previous message
Everyone
Messages: 45
Registered: July 2004
Karma: 0
Recruit
I don't think you can attach scripts to weapons or could we?
Previous Topic: final list of stuff new to scripts.dll 2.0
Next Topic: Renegade Alert HUD Update: Radar
Goto Forum:
  


Current Time: Wed Dec 04 17:48:58 MST 2024

Total time taken to generate the page: 0.00637 seconds