Ok my first question in a long time.
I can code just about anything I want, but haven't figured this out. I am working on a conversion mod that brings BFHeroes to BF1942. If you played BFheroes, you would notice that handweapons reload without having to have them active.
I want to do the same here. I want to beable to reload a grenade or gun and be able to switch to another weapon while it reloads. Normally the game won't let me do this as I would have to keep it selected for the reload to occur.
Any ideas on a way around that? The only thing that reloads without being activated is the medkit. But making guns with the medkit mag type doesn't turn out well.
Also note that firearms on PCOs don't have to be active to reload. You can even exit the PCO and come back and it will be reloaded.
I'm hoping there is some trick to do this. I have a feeling that if I my self haven't found a way of doing it, then it may be impossible in this game engine.
Reload handweapon without being active...
- Apache Thunder
- Posts: 1210
- Joined: Mon Oct 19, 2009 2:48 am
- Location: Levelland Texas, USA
- Contact:
Reload handweapon without being active...
I have cameras in your head!
Re: Reload handweapon without being active...
Ego much? , Just teasing but thats a neat idea for sure , would be a nice code if its possibleApache Thunder wrote:I have a feeling that if I my self haven't found a way of doing it, then it may be impossible in this game engine.
Nodbrother- "getting whiped every single game by some over-active 9 year old kid with too much spare time and a reaction time that is a third of yours."
- Apache Thunder
- Posts: 1210
- Joined: Mon Oct 19, 2009 2:48 am
- Location: Levelland Texas, USA
- Contact:
Re: Reload handweapon without being active...
lol. Not an ego if it's justified.
I kid, I kid!
I kid, I kid!
I have cameras in your head!
Re: Reload handweapon without being active...
Haha , well said lol. Well I do hope that there is a solution to what you want to do because nothing worst than running into a enemy and firing your zook and bunny hopping six ways to sunday firing your beretta wishing your zook would reload meanwhile lol
Nodbrother- "getting whiped every single game by some over-active 9 year old kid with too much spare time and a reaction time that is a third of yours."
Re: Reload handweapon without being active...
Well, that's the only way to do it. Changing the magtype.
ObjectTemplate.magType 1 would do the trick, but you say that causes other glitches on handweapons (did never try this myself). IIRC magtypes themselves are hardcoded and cannot be changed or new ones be created, so I fear you're stuck indeed.
ObjectTemplate.magType 1 would do the trick, but you say that causes other glitches on handweapons (did never try this myself). IIRC magtypes themselves are hardcoded and cannot be changed or new ones be created, so I fear you're stuck indeed.