Hi,
I have two questions about 1p weapons animation code :
1) How can I modify the effect that makes the weapons moving a bit slower than the view's speed ? For example : when you look quickly to the right, the weapons goes slightly to the left of the screen, and then goes back to its main position with a bit of delay once the view is steady.
Since some weapons react differently I guess it's possible to modify it and make the weapon more or less locked to the view.
2) The command ObjectTemplate.delayToUse in the tweak file won't set the right time that unallows the player to shoot before the reload animation is finished. I've written the EXACT same time than what I have in the inc file for the animation duration, but despite that I can STILL start firing before the end of the animation. The weird thing is that I don't have this problem for the deploy animation... This got fixed.
Thanks for help
[Coding for animations] 1p weapons
Making or wanting help making your own asset? Check in here
Return to “PR:BF2 Community Modding”
Jump to
- Announcements
- ↳ Announcements & Highlights
- ↳ Development Blogs
- ↳ Changelogs
- ↳ Events
- PR:BF2 Mod Forums
- ↳ PR:BF2 General Discussion
- ↳ PR:BF2 Suggestions
- ↳ PR:BF2 Feedback
- ↳ Maps
- ↳ Vehicles
- ↳ Infantry
- ↳ Coop & Singleplayer
- ↳ PR:BF2 Bugs
- ↳ PR:BF2 Tales from the Front
- ↳ Tactics & Strategies
- ↳ Map Strategies
- ↳ Infantry Tactics
- ↳ Squad Leader Tactics
- ↳ Commander Tactics
- ↳ Armor Tactics
- ↳ Aircraft Tactics
- ↳ PR:BF2 Clans
- ↳ Clan Wars
- ↳ Clan Recruitment
- ↳ PR:BF2 Community Factions
- ↳ Mapping
- ↳ Objects
- ↳ Coding
- ↳ Modelling&Animations
- ↳ Texturing
- ↳ Chilean Forces 1978
- ↳ Indonesian Forces
- ↳ Faction Archives
- ↳ African Resistance Fighters
- ↳ Australian Forces
- ↳ Dutch Forces
- ↳ Finnish Defense Forces
- ↳ New Zealand Def. Force
- ↳ Norwegian Forces
- ↳ Polish Forces
- ↳ Czech Forces
- ↳ Brazilian/FARC Forces
- ↳ PR:WWII General Discussion
- ↳ PR:WWII Suggestions
- ↳ PR:Falklands General Discussion
- ↳ PR:F Suggestions
- ↳ PR:Vietnam General Discussion
- ↳ PR:V Suggestions
- ↳ PR:BF2 Community Modding
- ↳ Modding Tutorials
- ↳ Community Maps
- ↳ Community Tasks
- PR Server Forums
- ↳ PR:BF2 Server Feedback
- Project Reality Support
- ↳ PR:BF2 Support
- ↳ General Technical Support
- ↳ Hardware
- ↳ Software
- ↳ OverClocking & Networking
- ↳ PR Dev Blogs
- ↳ Official PR Tournament News
- ↳ Tournament Website
- ↳ PR Dev Journal Archives
- ↳ 2009
- ↳ 2008
- ↳ 2007
