Forgotten Hope Public Forum

Forgotten Hope 2 => Modding => Topic started by: DeFly on 24-11-2016, 17:11:20

Title: Italian anti-personnel mine
Post by: DeFly on 24-11-2016, 17:11:20
Hello, I would like to lend a hand to the mod, I'm working on some Italian weapons to finish the arsenal of the Royal Italian Army, here the B4 Italian anti-personnel mine with textures, you might be interested? excuse me if It's the wrong section, but I did not know where to put the topic.

Source: http://cesimmunizioni.eu/forum/ecra/La%20mina%20antiuomo%20B4.pdf (http://cesimmunizioni.eu/forum/ecra/La%20mina%20antiuomo%20B4.pdf)
            https://it.wikipedia.org/wiki/Mina_B4 (https://it.wikipedia.org/wiki/Mina_B4)
I'm also working on the anti-tank mine and the smoke grenade
Title: Re: Italian anti-personnel mine
Post by: Matthew_Baker on 24-11-2016, 18:11:21
Nice looking mine. :D I made the same one a long time ago, but the poly count and UV sheet wasn't optimized as best it could be.

What did you use to create it? afaik BF2 has some strict rules about needing to have the models in 3DsMax9 so it can be exported properly.

Can you post the triangle count, and texture sheets, sizes? etc...
Title: Re: Italian anti-personnel mine
Post by: DeFly on 24-11-2016, 18:11:32
Nice looking mine. :D I made the same one a long time ago, but the poly count and UV sheet wasn't optimized as best it could be.

What did you use to create it? afaik BF2 has some strict rules about needing to have the models in 3DsMax9 so it can be exported properly.

Can you post the triangle count, and texture sheets, sizes? etc...

i used 3d max 2016, the texture have been made using substance painter, i havent exported the texture yet because i dont know the parameter of battlefield 2 for exporting, the mine rendered in substance painter is the low poly model with a normal map applied to it from a high poly model
Title: Re: Italian anti-personnel mine
Post by: Matthew_Baker on 25-11-2016, 02:11:28
Looks cool. I don't know if 61,000 tris will be able to go into FH2 tho. Usually mines like that are around 2,000-3,000 I think?

Also, texture sheets are saved as .dds files. Dxt5 for the diffuse (with alpha map as specular) and dxt1 for normal map.
Title: Re: Italian anti-personnel mine
Post by: Remdul on 25-11-2016, 21:11:52
Looks good! :)

Yes, the polygon count seems indeed a bit steep for FH2. But there's plenty opportunity to optimize, I would suggest to copy the model, and optimize it by removing unnecessary edge loops (merging neighboring co-planar polygons). Then use projection bake (in 3dsmax) to bake the high poly textured model to the low poly (optimized) mesh. That way you keep the nice rounded edges (bevel). That detail will bake nicely into the tangent space normal map. This also allows you to pick a good final texture resolution (my guess, 1024x1024).

Keep us posted on your progress! We're always looking for new artists. 8)
Title: Re: Italian anti-personnel mine
Post by: DeFly on 26-11-2016, 13:11:33
Ok i'll tweak a litle bit removing polygons to stay in the max of 2000-3000, since i'm working on other italian weapons can i know the polycout in general of all the weapon of fh2 please? In the specific i'm working on the smoke grenade, anti-tank mine, binoculars, mortar and anti-tank rifle
Title: Re: Italian anti-personnel mine
Post by: MajorMajor on 26-11-2016, 14:11:28
In the specific i'm working on the smoke grenade, anti-tank mine, binoculars, mortar and anti-tank rifle

Are you doing the Brixia light mortar and the Wz. 35? That be really, really cool.
Title: Re: Italian anti-personnel mine
Post by: Seth_Soldier on 26-11-2016, 15:11:26
here the topic i've created some years ago :
it will give you all the information you need :

http://fhpubforum.warumdarum.de/index.php?topic=281.0

About polygon count think about :
- does the player see the detail i'm modelling ? if not stay very low poly, even a texture can do the trick
- which angle does he see it ? if you have a cylinder horizontal 90°, a 8 polies is the same as 32. But with an horizontal 180° you clearly see the polies.
- remove the useless subdivision
- try using 12 round cylinder, for small details it sould be enough. And for torus, the  ( ? outer) ring should have 4 edges.



Title: Re: Italian anti-personnel mine
Post by: jan_kurator on 26-11-2016, 15:11:18
Are you doing the Brixia light mortar and the Wz. 35? That be really, really cool.
Wz. 35 would be really cool indeed. It could be used instead of a the italian nuke grenades on some maps I guess.
Title: Re: Italian anti-personnel mine
Post by: DeFly on 26-11-2016, 15:11:44
In the specific i'm working on the smoke grenade, anti-tank mine, binoculars, mortar and anti-tank rifle

Are you doing the Brixia light mortar and the Wz. 35? That be really, really cool.

im doing the heavy one, the 81mm Mortaio da 81 (https://en.wikipedia.org/wiki/Mortaio_da_81/14_Modello_35) also the Wz. 35 was a polish made anti-tank rifle and was gifted to italy after the surrender of poland by germany, the official anti-tank rifle of Royal italian italian army is this one Solothurn S-18/1000 (https://https://en.wikipedia.org/wiki/Solothurn_S-18/1000), regarding the Brixia i will make it, since i think the coding for the weapon can be copy pasted from the japanese ligth mortar of comunity map pack
Title: Re: Italian anti-personnel mine
Post by: Ivancic1941 on 26-11-2016, 19:11:27
Bellissima DeFly!
Any more pics?
Title: Re: Italian anti-personnel mine
Post by: DeFly on 27-11-2016, 21:11:59
i have reduced the number of polygons of the mine, now fh2 engine can handle it? also i have finished modeling the low poly wersion of the italian grenade SRCM mod 35, from which it derives the smoke grenade which differs from the original for the yellow coloration and various holes on the body bomb.
Title: Re: Italian anti-personnel mine
Post by: Ivancic1941 on 27-11-2016, 23:11:38
Im not some expert but ..for fh2 you can go up to 10 000 polygons i think.
And for rounded parts,now when you reduced number of polygons, use smoothing modifier.
Title: Re: Italian anti-personnel mine
Post by: DeFly on 28-11-2016, 19:11:04
2500 poly for both the models is ok? So i can proced to make textures
Title: Re: Italian anti-personnel mine
Post by: Matthew_Baker on 29-11-2016, 03:11:08
Good work man. I still think you can optimize some of the loop elements if you really want be efficient with your polygons. You in the ballpark tho.

As a rule of thumb, just look at the geom_0, lod_0 of other similar FH2 weapons to see what kinda polygons you should be shooting for.

(http://i.imgur.com/uQ5GNKw.jpg)

However, I don't know if you're gonna be able to export the mine/ grenade into an older version of 3DsMax to eventually get it in-game. It needs to be in 3DsMax9 for someone to export it to BF2 editor afaik.

Remdul and other devs can keep you posted. :)
Title: Re: Italian anti-personnel mine
Post by: DeFly on 29-11-2016, 20:11:26
Ok i'll tweak another bit, also i have downloaded an installed 3d max 2009
Title: Re: Italian anti-personnel mine
Post by: DeFly on 16-12-2016, 23:12:23
hello, sorry for the delay but i was in exam period at my university, i tweaked the mine a litle bit, now it has 1500 poly, similar to the american one, i think it's ok now. Also i updated the texture adding extra detail with the normal map. I think it's ready for export
Title: Re: Italian anti-personnel mine
Post by: jan_kurator on 18-12-2016, 14:12:11
I'm not a modeller, so I have no clue about the technical part of this, but it looks gorgeous and I want to see it in game  ;D
Title: Re: Italian anti-personnel mine
Post by: Roughbeak on 18-12-2016, 15:12:56
Hey, what is the texture's resolution of that ap mine? To me it looks a little blurred. Dunno if it's the resolution of the image making it looked blurred or? Other than that, it looks fine to me. Matt said what needed to be said... Perhaps the cylinder part going from the base of the mine into the middle looks tiled? But anyway, good work!

If you need any help exporting and that kind of stuff, please post here. We should be able to use the existing Smine animations, so we're not too far off getting it ingame! :)


Best regards,
Roughbeak
Title: Re: Italian anti-personnel mine
Post by: SgtAlex on 05-06-2020, 14:06:31
Finally in game !! :)
Title: Re: Italian anti-personnel mine
Post by: Matthew_Baker on 05-06-2020, 14:06:13
(https://media.giphy.com/media/FjeGBljESVAzu/giphy.gif)

It's actually this baby (http://fhpubforum.warumdarum.de/index.php?topic=18646.0) from way back in 2012. But I'm glad we finally got it in :)