Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - robbob42

Pages: [1] 2
1
I fire up the FH2 launcher, then click on PLAY. The screen goes black for around 30-40 seconds before the SELECT ACCOUNT screen appears. After that, the game runs fine. It always went black before, but only for a few seconds, not 30-40. During the time it's black, there's a couple of faint flickers, as if the  monitor backlight is going on and off, but the screen is basically black the entire time.

This has started happening on all 3 PCs I run the game on, and there doesn't seem to be a logical reason why it suddenly started - other than it SEEMS to have started after a Windows 10 update a number of months ago. Coincidence?

It's not critical - just annoying. I'm on FH2 3.7.606 (according to the launcher), and haven't done any FH2 updates prior to this starting. Any ideas?

UPDATE (5/1/2022)
It appears to be related to ForgottenHope2.exe in the main Battlefield2 folder. When I double-click on it I get the same result - a black screen for 30-40 seconds, then the account selection screen.

Thanks!
RobBob

2
FH2 Help / Support / Re: What version do I have??
« on: 14-02-2021, 20:02:45 »
Thanks. The reason I ask is that I've customized a number of things for our style of play, and every time I update I have to put them back in. Not a small endeavor. So I don't do every update that comes out - depends what the enhancements are. We play coop exclusively, and it seems a lot of what gets updated doesn't pertain to coop. :-\

I just thought there'd be a relatively easy way to tell (that I had overlooked). Most software products let you click on an "About" (or similar) to see it, but "About" in the launcher doesn't seem to jive with the release version number. Since I do every update, I frequently forget what version I'm on.

RobBob

3
FH2 Help / Support / What version do I have??
« on: 08-02-2021, 20:02:49 »
Trying to load some additional maps, and at one point their instructions say I need version 2.57. Where do you look to see what version you have? The only thing I can find is clicking on "About" in the FH2 launcher, which says version 3.4.666 (which isn't even close), with the installer being 1.24.0.0.

4
This is a reply to an old post, but I just had to say, "Figaro, dude, freakin' awesome!" ;D
Worked like a charm on Carentan - can't wait to try it on others.

I only recently came across this map pack and was disappointed the 1st two I tried (Bloody Gulch & Carentan) did the CTD within 3 minutes of gameplay. Having done some VERY miniscule modding (adding a couple new weapons), I tried to find the cause (off & on) for 3 days - including comparing files with maps that did work (Argentan), etc - but no luck.

Given the differences between even various tmp.con files, and not knowing enough about how the code all works (everything I "know" is self-taught), I was at a loss. So I started searching forums and just now came across this post. Many many thanks, Figaro, for taking the time to post this! You just never know when someone might need some valuable info like this down the line.

I also want to include a huge, HUUUGE thank you to Darman and all the others who've contributed so much to making this mod the best! Can't tell you how many (thousands?) of hours of fun we've had playing it! ;D

5
Well, after a year+ hiatus I revisited this and eventually figured it out. Tho it's an old topic, I'm posting the solution here in case someone needs this info in the future.

The difference with this kit was that I had ADDED the rifle to BW_Antitank_Limited.inc, as opposed to replacing the rifle in the other kits (since there was no rifle in that AT kit to replace). Given the Piat seems to be the rifle-equivalent weapon in it's various kits, it's tweak file isn't set up for it be shown as a secondary/alternate weapon. So when I added the new rifle, it's graphic "overrode" the Piat's.

Bottom line, what controls how items are displayed in each kit's selection box is the
ObjectTemplate.weaponHud.weaponIcon Ingame\Weapons\Icons\Hud\xxx.dds (or \xxx.tga)
line in the weapon's tweak file. When an item is the primary weapon (displayed on the left), it looks something like:
ObjectTemplate.weaponHud.weaponIcon Ingame\Weapons\Icons\Hud\PIAT.dds
where PIAT.dds would be the graphic used in the kit selection box.

To make the Piat be the secondary/alternate weapon I changed this line to:
ObjectTemplate.weaponHud.weaponIcon Ingame\Weapons\Icons\Hud\placeholder.tga
That keeps it from being displayed as the primary weapon in the selection box, while the placeholder.tga reserves that spot for the new rifle I'm adding.
Then I added a new line:
ObjectTemplate.weaponHud.specialAbilityIcon Ingame\Weapons\Icons\Hud\Ability\PIAT.dds
which then causes the Piat to be displayed as the secondary weapon.

I also had to copy the PIAT.dds file from
menu_client.zip\HUD\Texture\Ingame\Weapons\Icons\Hud
to the
menu_client.zip\HUD\Texture\Ingame\Weapons\Icons\Hud\Ability folder so the game wouldn't crash trying to find the newly-added PIAT.dds path.

So now it all works, other than the Piat is shown tiny (as apparently all secondary weapons are in the kit selection box). The caveat is that if there are other kits using the Piat as the primary weapon, it'll show up as the secondary with a "blank" spot for the primary - since the above changes now define the Piat as a secondary weapon (i.e. for display purposes). For me that doesn't matter.

A bit long-winded, but hope it helps someone down the road...
RobBob

6
OK, from prior post I have my newly-imported rifle up & running for coop play, and have added it the British Antitank Limited kit (BW_Antitank_Limited.inc). When I fire up the Lebisey map (which uses that kit), the Piat graphic that used to be there on the HUD in the ANTI TANK LIMITED kit selection "box" (on the spawnpoint selection screen) has been replaced with the new rifle graphic I created for it. Both weapons are there when I enter the game, but only the rifle shows up in the HUD on the spawnpoint screen.

Previously, I'd done virtually the identical same thing for the US - added an imported rifle to the US Antitank Assault Limited kit (UW_AntitankAssault_Limited.inc), and both the rifle & bazooka display in the kit selection box on all the maps that use that kit. How do I get both my "new" rifle and the Piat to display the same way for the British Antitank kit?

Most of the other kits on that map show two of the items in the kit. I guess the real question is: What controls how many and/or what items are displayed in each kit's selection box? Comparing the US vs British .inc kit files hasn't given me a clue.

Thanks in advance!

7
Modding / Re: How can I alter iron sight animation?
« on: 22-07-2018, 05:07:07 »
OK, I seemed to have figured it out. In the weapon's animationsystem1p.inc file, there is a line near the top called:
animationSystem.cameraSpring.amplitude which had values of 0.03/0.02/0.03.

It appears the 1st number controls how much the weapon swings to the side (and how far the iron sights drift out of alignment) when it's moved laterally.
The 2nd number controls how much the weapon swings up or down (and sights drift) when it's moved vertically.
Haven't figured out what the 3rd number does.

I dropped the values to:
animationSystem.cameraSpring.amplitude 0.001/0.001/0.02
and now the iron sights stay almost perfectly aligned when you swing the rifle around. If you know to look you can see them drift just a tiny fraction. I imagine even smaller values will virtually lock it in place, but this is sufficient for me.
I did drop the 3rd number a bit to see if there was any effect, but didn't see any difference. Might have been too small a change to notice anything.

Curiously, the Colt 1911's amplitude numbers are quite a bit higher at 0.1/0.035/0.2, yet its irons sights remain rock steady as you swing it around. Perhaps because it's a smaller/lighter weapon?

So, that's apparently what cameraSpring.amplitude does....


8
Modding / How can I alter iron sight animation?
« on: 21-07-2018, 04:07:41 »
I'm far from an experienced modder - pretty much just modifying .tweak, .inc files, etc. I've managed to import a rifle weapon from another BF2 mod for our coop play, and all is working fine but for one annoyance: when you rotate right, left, up, or down, the rifle's aim point drifts off center. When you stop rotating, it takes like 3-4 seconds for the aim point to drift back to where it should. It's particularly noticeable using iron sights where it takes 3-4 seconds for the front & rear sights to re-align themselves (once you stop moving the rifle).

This seems abnormally long - especially given that when you first bring the iron sights up it only takes a second for them to align. Why would it take 4x as long to re-align the sights when you already have them up to your eye? I'd like to drop that timespan to 1 second or less.

It seems to be something in that weapon's animation, as none of the other original weapons do this. I've looked thru various animation files, hoping to find an animationManager.length I could tweak, and even tried removing various zoom animations in the animationsystem1p.inc & animationsystem3p.inc files, but nothing seems to have any effect. What kind of animation is this (i.e. what would it be called)? There's 'turnLeft', 'turnRight', etc, but it also happens looking up or down - almost as if it's tied to the mouse look function.

I don't have access to animation software to create my own, so I'm hoping there's a setting for this somewhere that obviously eludes me. If someone could point me in the right direction that would be great!  Thanks!

9
CORRECTION: Didn't word it correctly. I'd like to incorporate the ability to use permanent enemy weapons placements (machine gun nests, etc), and tanks. Is there a tweak/way to accomplish this?

Thanks!
Robbob42

10
Modding / Re: Pointe du Hoc crashes 10 secs into gameplay
« on: 03-05-2018, 05:05:48 »
Well, problem solved I guess - tho I have no idea what the initial cause was.

I restored my pre-G3 backup, tested the map, then systematically re-installed all the G3-related files I had pulled together, one at a time, re-testing the map after each one. After I installed the final file everything ran fine (???).

Can only assume I inadvertently changed something else, but have no idea what.

11
Modding / Re: Pointe du Hoc crashes 10 secs into gameplay
« on: 26-04-2018, 18:04:51 »
Thanks Jan,
The pattern of events seemed to fit the hypothesis, but guess I'll have to look elsewhere. It's seems to be something that happens in-game, but I can't think of any other game event that would fit what's happening. And why only this map/level. There's gotta be something unique about it. Frustrating.... it's one of our more favorite maps.

12
Modding / Re: Pointe du Hoc crashes 10 secs into gameplay
« on: 25-04-2018, 20:04:36 »
Curiously, when I set the bot count as low as it will go (1), all the bots become US except one. Then it ran for over 5 min and never crashed.

I didn't (consciously) change anything on the Axis side. All I did was temporarily use the STG44 dds as the HUD and Selection icons for my G3. Could it be that a German pickup kit is corrupt and the game crashes when it's picked up? That could randomly happen fairly quickly with many German bots in the game, but with only one it would take a lot longer for him to find/grab the alleged offending kit(?).

This is all based on circumstantial evidence, but it's all I got right now. Still searching....

13
Modding / Pointe du Hoc crashes 10 secs into gameplay
« on: 25-04-2018, 05:04:25 »
I've successfully(?) imported a G3 into the game as part of the US Antitank class. I've run thru a half dozen US levels with no apparent problems. However, Pointe du Hoc crashes to desktop anywhere from 5-15 seconds after spawning in. I'm running in windowed mode and there are no msgs. It's just gone. Doesn't seem to matter what I do or don't do. I've even taken my hands off of everything - just let my player spawn in and just stand there. Seconds later - CRASH.

This is in coop play.

It didn't do this before the G3, but I can't imagine what I would have done to cause this - especially since all the other levels play fine. I've run thru weapons, kits, init.con, tmp.con - who knows what else - until I'm numb. Initially there was one itemIndex conflict that crashed the load 20% into it. But that was resolved early on. There are a couple of grappling-hook-specific pickup kits that aren't in the other levels, but I can't find anything odd about them.

What would cause it to crash AFTER the level starts? Any help would be greatly appreciated!

14
I believe you're spot on, Mayhemic. The "4" in particular (in other weapon labels - such as the STG44) is quite distinctive, along with the lower-case "L" with the slight curl at the bottom, and DIN1451 seems to match both. Will give it a try. Thanks!

15
OK, probably the long way around (sorry, didn't see the Gimp suggestion until too late), but I got a working G3 dds icon:
1. Found a transparent PNG image of a G3A3.
2. Used FastStone Viewer to resize/crop it to 150x46. I suspect IrfanView, etc, would do the same as long as it preserves transparency.
3. Uploaded that to https://pixlr.com/editor (pixlr's online editor). Pixlr preserves transparency. Slid weapon image to the right edge if its transparent "frame", then added "G3 iron sight" label (in white) to lower-left. Saved.
4. Uploaded that to https://online-converting.com/image/convert2dds. This one has options to set 8,8,8,8 argb32 (or "A8R8G8B8 (32 bits)" as they call it), and no mipmaps. Clicked "Convert file".
5. Copied resulting dds to menu_client.zip\HUD\Texture\Ingame\Weapons\Icons\Hud\Selection.

Presto! A working icon with no crashes! I was not able to figure out the exact font used for other FH2 weapon labels, but 11pt regular Bahnshrift SemiBold came pretty close.

Pages: [1] 2