View unanswered posts | View active topics It is currently Wed Dec 25, 2024 5:31 pm



Reply to topic  [ 2 posts ] 
 Changing SupportOffset with LUA? 
Author Message

Joined: Thu Feb 16, 2012 4:05 am
Posts: 37
Reply with quote
Post Changing SupportOffset with LUA?
Is it possible to change the support hand position on a gun through LUA? I'm trying to make a shotgun with a pump animation, and while I managed to get the pump itself to animate with some hacky timer / attachment shenanigans, it looks a bit lame if the support hand doesn't move with it.


Fri Jun 10, 2016 3:13 pm
Profile
User avatar

Joined: Mon Oct 11, 2010 1:15 pm
Posts: 594
Location: Finlandia
Reply with quote
Post Re: Changing SupportOffset with LUA?
Support offsets are read-only, at least according to the wiki.

However, I've managed to come up with a neat way to achieve such animation, which involves changing the RotAngle of the weapon.

Take a look at my modified Ronin faction, feel free to use the script I made for the pump shotgun, just include proper credit if you publish your mod.


Fri Jun 10, 2016 4:05 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 2 posts ] 

Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.053s | 13 Queries | GZIP : Off ]