Special Aircraft Service

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1] 2   Go Down

Author Topic: Battlefront! v2.0 (Moving Infantry from HSFX Simplified)  (Read 1097 times)

PO_MAK_249RIP and 1 Guest are viewing this topic.

whistler

  • Modder
  • member
  • Offline Offline
  • Posts: 1761
Battlefront! v2.0 (Moving Infantry from HSFX Simplified)
« on: November 30, 2019, 09:16:35 AM »

BATTLEFRONT! v2.0



- Credits: Idea and sources borrowed from HSFX therefore credits go to the HSFX Team.
- Compatibility: Mod created with 4.12.2 sources and tested in B.A.T.



What's new in v2.0

- Gun tracers removed (unrealistic)
- Marching sound removed (pointless)
- Two different gun sounds for best battle feeling (in exchange of the Marching sound)
- Max firing range is 400m for all actors
- Java changes here and there for better compatibility with other infantry mods



For long time I wanted to create a battlefront feeling in FMB but I don't have the patience to add dozens and dozens of objects. The scope of this little project is precisely that: to allow the creation of large battle grounds in a couple of minutes and as easy as one-two-three:




Functionality and simplicity is what you get with this mod:

1) Standalone: in order to avoid dependencies and/or conflicts with other mods I created brand new java classfiles.

2) Allies vs Axis, that's all. HSFX comes with many armies but honestly, all look the same to me from the air. Friendly vs Hostile suffices for any scenario. Keep it simple.

3) Low-res models. No need for fancy 3D or detailed textures. You will (should) never get too close to notice anything anyway. Nevertheless, all objects come with Summer, Winter and Desert variants ready for any map.

4) Firing infantry only: all other (nice but useless) models from HSFX have been removed. The only extra object/actor I kept are the trenches that can serve to mark the boundaries of the battle arena.

These are the actors included in the mod:

- Moving infantry
- Static infantry
- Static trenches

The guys explode upon death. I don't know if this was intentional or I am missing something but: this is precisely what I wanted to achieve! Just place a few guys here and there and the battlefront comes to live: cross-fire, explosions, smoke, death... Welcome to the Battlefront!





The mod will create a few warnings in your log, just ignore them:

Tank com.maddox.il2.objects.vehicles.tanks.Infantry$AxisInfantryStand: hook SmokeHead not found
Tank com.maddox.il2.objects.vehicles.tanks.Infantry$AxisInfantryStand: hook SmokeEngine not found


The mod will also generate a few errors in your log when static units die. Something I don't understand (3D stuff) is wrong somewhere, but you should not worry about it either. The game will just carry on normally:

com.maddox.il2.engine.ActorException: Hook: Gun not found



Downloads

Here is the standalone version:

Battlefront_v2.0.zip


I also offer as a proof of concept a jsgme-ready download for B.A.T. v.3.7.2 - The Golden Age module. If your Golden Age v3.7.2 module is clean and pristine, just download and activate:

Battlefront_v2.0_for_BAT-TGA.zip

I won't provide support for any other B.A.T. module. Proceed at your own risk.



Manual Installation

You must know what you are doing

STD\i18n\technics.properties

Code: [Select]
# --- Categories ---
AIR                          Aircraft
Armor                        Armor
Infantry                     Infantry         
Vehicles                     Vehicles
Trains                       Trains
Ships                        Ships
Artillery                    Artillery
StationaryArmor              Stationary Armor
StationaryInfantry           Stationary Infantry
StationaryObjects            Stationary Objects
StationaryPlanes             Stationary Aircraft
StationaryShips              Stationary Ships

Code: [Select]
# --- [Infantry] ---
AxisInfantry1       1x Axis Infantry
AxisInfantry2       2x Axis Infantry
AxisInfantry4       4x Axis Infantry
AxisInfantry8       8x Axis Infantry
AlliesInfantry1     1x Allies Infantry
AlliesInfantry2     2x Allies Infantry
AlliesInfantry4     4x Allies Infantry
AlliesInfantry8     8x Allies Infantry

Code: [Select]
# --- [StationaryInfantry] ---
AxisInfantryStand        Axis Infantry Standing
AxisInfantryTrench       Axis Infantry Entrenched
AlliesInfantryStand      Allies Infantry Standing
AlliesInfantryTrench     Allies Infantry Entrenched


STD\com\maddox\il2\objects\chief.ini

Code: [Select]
[Infantry]
 moveType TROOPER

 AxisInfantry1       ai.ground.ChiefGround 2 icons/Infantry.mat
 AxisInfantry2       ai.ground.ChiefGround 2 icons/Infantry.mat
 AxisInfantry4       ai.ground.ChiefGround 2 icons/Infantry.mat
 AxisInfantry8       ai.ground.ChiefGround 2 icons/Infantry.mat

 AlliesInfantry1     ai.ground.ChiefGround 1 icons/Infantry.mat
 AlliesInfantry2     ai.ground.ChiefGround 1 icons/Infantry.mat
 AlliesInfantry4     ai.ground.ChiefGround 1 icons/Infantry.mat
 AlliesInfantry8     ai.ground.ChiefGround 1 icons/Infantry.mat

Code: [Select]
;----  Infantry

[Infantry.AxisInfantry1]
 com.maddox.il2.objects.vehicles.tanks.Infantry$AxisInfantryStand
[Infantry.AxisInfantry2]
 com.maddox.il2.objects.vehicles.tanks.Infantry$AxisInfantryStand
 com.maddox.il2.objects.vehicles.tanks.Infantry$AxisInfantryStand
[Infantry.AxisInfantry4]
 com.maddox.il2.objects.vehicles.tanks.Infantry$AxisInfantryStand
 com.maddox.il2.objects.vehicles.tanks.Infantry$AxisInfantryStand
 com.maddox.il2.objects.vehicles.tanks.Infantry$AxisInfantryStand
 com.maddox.il2.objects.vehicles.tanks.Infantry$AxisInfantryStand
[Infantry.AxisInfantry8]
 com.maddox.il2.objects.vehicles.tanks.Infantry$AxisInfantryStand
 com.maddox.il2.objects.vehicles.tanks.Infantry$AxisInfantryStand
 com.maddox.il2.objects.vehicles.tanks.Infantry$AxisInfantryStand
 com.maddox.il2.objects.vehicles.tanks.Infantry$AxisInfantryStand
 com.maddox.il2.objects.vehicles.tanks.Infantry$AxisInfantryStand
 com.maddox.il2.objects.vehicles.tanks.Infantry$AxisInfantryStand
 com.maddox.il2.objects.vehicles.tanks.Infantry$AxisInfantryStand
 com.maddox.il2.objects.vehicles.tanks.Infantry$AxisInfantryStand

[Infantry.AlliesInfantry1]
 com.maddox.il2.objects.vehicles.tanks.Infantry$AlliesInfantryStand
[Infantry.AlliesInfantry2]
 com.maddox.il2.objects.vehicles.tanks.Infantry$AlliesInfantryStand
 com.maddox.il2.objects.vehicles.tanks.Infantry$AlliesInfantryStand
[Infantry.AlliesInfantry4]
 com.maddox.il2.objects.vehicles.tanks.Infantry$AlliesInfantryStand
 com.maddox.il2.objects.vehicles.tanks.Infantry$AlliesInfantryStand
 com.maddox.il2.objects.vehicles.tanks.Infantry$AlliesInfantryStand
 com.maddox.il2.objects.vehicles.tanks.Infantry$AlliesInfantryStand
[Infantry.AlliesInfantry8]
 com.maddox.il2.objects.vehicles.tanks.Infantry$AlliesInfantryStand
 com.maddox.il2.objects.vehicles.tanks.Infantry$AlliesInfantryStand
 com.maddox.il2.objects.vehicles.tanks.Infantry$AlliesInfantryStand
 com.maddox.il2.objects.vehicles.tanks.Infantry$AlliesInfantryStand
 com.maddox.il2.objects.vehicles.tanks.Infantry$AlliesInfantryStand
 com.maddox.il2.objects.vehicles.tanks.Infantry$AlliesInfantryStand
 com.maddox.il2.objects.vehicles.tanks.Infantry$AlliesInfantryStand
 com.maddox.il2.objects.vehicles.tanks.Infantry$AlliesInfantryStand

;============================================================


STD\com\maddox\il2\objects\stationary.ini

Code: [Select]
[StationaryInfantry]
AxisInfantryStand        vehicles.artillery.Infantry$AxisInfantryStand        2
AxisInfantryTrench       vehicles.artillery.Infantry$AxisInfantryTrench       2
AlliesInfantryStand      vehicles.artillery.Infantry$AlliesInfantryStand      1
AlliesInfantryTrench     vehicles.artillery.Infantry$AlliesInfantryTrench     1


STD\com\maddox\il2\objects\technics.ini

Code: [Select]
//======================================================================
//
// Infantry
//
//======================================================================

[Infantry]

[AxisInfantryStand]
Description  Infantry Test Unit
Icon         fieldgun       // used for 'stacionar' tank only

// Models
MeshSummer        3do/Infantry/AxisInfantryStand/Summer/hier.him
MeshSummerDamage  3do/Infantry/AxisInfantryStand/Summer_DMG/hier.him
MeshWinter        3do/Infantry/AxisInfantryStand/Winter/hier.him
MeshWinterDamage  3do/Infantry/AxisInfantryStand/Winter_DMG/hier.him
MeshDesert        3do/Infantry/AxisInfantryStand/Desert/hier.him
MeshDesertDamage  3do/Infantry/AxisInfantryStand/Desert_DMG/hier.him

// Panzer
PanzerType       Car
PanzerSubtype    1
PanzerBodyFront  0.002

// Weapon
Gun                   Infantry
NumShells             320
AttackMaxDistance     400.0
AttackMaxRadius       400.0
AttackMaxHeight       200.0
HeadYawHalfRange      180.0
GunMinPitch           -15.0      // ??
GunStdPitch             0.0
GunMaxPitch           +25.0      // ??
HeadMaxYawSpeed        54.5      // ??
GunMaxPitchSpeed       30.0      // ??
DelayAfterShoot         4.0
ChainfireTime           0.0
FastTargetsAngleError  14.0

// Moving
StayWhenFire        0
SpeedAverage        4.0
SpeedMax            8.0
SpeedBack           1.0
RotSpeedMax         80.0         // ??
RotInvisAng         36.0
BestSpace           12.0
AfterCollisionDist  5.1
CommandInterval     1.6
StayInterval        1.5

[AxisInfantryTrench]
Description  Infantry Test Unit
Icon         fieldgun       // used for 'stacionar' tank only

// Models
MeshSummer        3do/Infantry/AxisInfantryTrench/Summer/live.him
MeshSummerDamage  3do/Infantry/AxisInfantryTrench/Summer/dead.sim
MeshWinter        3do/Infantry/AxisInfantryTrench/Winter/live.him
MeshWinterDamage  3do/Infantry/AxisInfantryTrench/Winter/dead.sim
MeshDesert        3do/Infantry/AxisInfantryTrench/Desert/live.him
MeshDesertDamage  3do/Infantry/AxisInfantryTrench/Desert/dead.sim

// Panzer
PanzerType       Artillery
PanzerSubtype    1
PanzerBodyFront  0.001

// Weapon
Gun                   Infantry
AttackMaxDistance     400.0
AttackMaxRadius       400.0
AttackMaxHeight       200.0
HeadYawHalfRange      180.0
GunMinPitch           -10.0      // ??
GunStdPitch             0.0
GunMaxPitch           +20.0      // ??
HeadMaxYawSpeed        54.5      // ??
GunMaxPitchSpeed       30.0      // ??
DelayAfterShoot         4.0
ChainfireTime           0.0
FastTargetsAngleError  14.0

[AlliesInfantryStand]
Description  Infantry Test Unit
Icon         fieldgun       // used for 'stacionar' tank only

// Models
MeshSummer        3do/Infantry/AlliesInfantryStand/Summer/hier.him
MeshSummerDamage  3do/Infantry/AlliesInfantryStand/Summer_DMG/hier.him
MeshWinter        3do/Infantry/AlliesInfantryStand/Winter/hier.him
MeshWinterDamage  3do/Infantry/AlliesInfantryStand/Winter_DMG/hier.him
MeshDesert        3do/Infantry/AlliesInfantryStand/Desert/hier.him
MeshDesertDamage  3do/Infantry/AlliesInfantryStand/Desert_DMG/hier.him

// Panzer
PanzerType       Car
PanzerSubtype    1
PanzerBodyFront  0.002

// Weapon
Gun                   Infantry
NumShells             320
AttackMaxDistance     400.0
AttackMaxRadius       400.0
AttackMaxHeight       200.0
HeadYawHalfRange      180.0
GunMinPitch           -15.0      // ??
GunStdPitch             0.0
GunMaxPitch           +25.0      // ??
HeadMaxYawSpeed        54.5      // ??
GunMaxPitchSpeed       30.0      // ??
DelayAfterShoot         4.0
ChainfireTime           0.0
FastTargetsAngleError  14.0

// Moving
StayWhenFire        0
SpeedAverage        4.0
SpeedMax            8.0
SpeedBack           1.0
RotSpeedMax        80.0           // ??
RotInvisAng        36.0
BestSpace          12.0
AfterCollisionDist  5.1
CommandInterval     1.6
StayInterval        1.5

[AlliesInfantryTrench]
Description  Infantry Test Unit
Icon         fieldgun       // used for 'stacionar' tank only

// Models
MeshSummer        3do/Infantry/AlliesInfantryTrench/Summer/live.him
MeshSummerDamage  3do/Infantry/AlliesInfantryTrench/Summer/dead.sim
MeshWinter        3do/Infantry/AlliesInfantryTrench/Winter/live.him
MeshWinterDamage  3do/Infantry/AlliesInfantryTrench/Winter/dead.sim
MeshDesert        3do/Infantry/AlliesInfantryTrench/Desert/live.him
MeshDesertDamage  3do/Infantry/AlliesInfantryTrench/Desert/dead.sim

// Panzer
PanzerType       Artillery
PanzerSubtype    1
PanzerBodyFront  0.001

// Weapon
Gun                   Infantry
AttackMaxDistance     400.0
AttackMaxRadius       400.0
AttackMaxHeight       200.0
HeadYawHalfRange      180.0
GunMinPitch           -10.0      // ??
GunStdPitch             0.0
GunMaxPitch           +20.0      // ??
HeadMaxYawSpeed        54.5      // ??
GunMaxPitchSpeed       30.0      // ??
DelayAfterShoot         4.0
ChainfireTime           0.0
FastTargetsAngleError  14.0


Good luck in the Battlefront! 8)
Logged
NG-HUD v3.5 | NG-MAP v3.1 | NG-CAM v1.6: https://www.sas1946.com/main/index.php/board,93.0.html

SpongeBob

  • member
  • Offline Offline
  • Posts: 217
Re: Battlefront! v1.0 (Moving Infantry from HSFX Simplified)
« Reply #1 on: November 30, 2019, 11:05:14 AM »

Wow Whistler,
your mods are always welcome, but this one was really needed. I've just downloaded and I will try it as soon as I can.
Nice to see it in TGA, it can be very useful in Spanish Civil War missions.
Is it unfit to be used in the other modules? I don't mind to skip it in WAW and TJA, but I think it could be great to use it in DOF.

Thanks!
Logged

whistler

  • Modder
  • member
  • Offline Offline
  • Posts: 1761
Re: Battlefront! v1.0 (Moving Infantry from HSFX Simplified)
« Reply #2 on: November 30, 2019, 11:32:46 AM »

Hey Bob,

Don't use the BAT-TGA download in other modules. You will screw up your game. Installing Battlefront! in DOF, WAW and/or JTW must be done manually, editing one file a time, as per the instructions.

This little mod fits best in no man's land, I know! I opted for TGA on purpose, because it is likely the module less modded by players. I don't want to screw anyone's game, if you know what I mean. Besides, TGA needs some love :P

You can try installing it yourself in other modules. You fail? Just re-run the v3.7 installer + patches.

Cheers!
Logged
NG-HUD v3.5 | NG-MAP v3.1 | NG-CAM v1.6: https://www.sas1946.com/main/index.php/board,93.0.html

whistler

  • Modder
  • member
  • Offline Offline
  • Posts: 1761
Re: Battlefront! v1.0 (Moving Infantry from HSFX Simplified)
« Reply #3 on: December 01, 2019, 09:25:20 AM »

stationary.ini entries were missing in the documentation (the mod is fine). First post and downloads (readme) updated.
Logged
NG-HUD v3.5 | NG-MAP v3.1 | NG-CAM v1.6: https://www.sas1946.com/main/index.php/board,93.0.html

edc1

  • member
  • Offline Offline
  • Posts: 173
Re: Battlefront! v1.0 (Moving Infantry from HSFX Simplified)
« Reply #4 on: December 01, 2019, 10:44:15 AM »

Hi Whistler
Be good if it can be tested by bat team (if they have the time)
and then included in a BAT update
Bat needs moving infantry
Good job
Cheers edc1(stan)
Logged

Gaston

  • Modder
  • member
  • Offline Offline
  • Posts: 2594
Re: Battlefront! v1.0 (Moving Infantry from HSFX Simplified)
« Reply #5 on: December 01, 2019, 01:06:53 PM »

Agree with edc1 !!!
Logged

enry711

  • member
  • Offline Offline
  • Posts: 267
Re: Battlefront! v1.0 (Moving Infantry from HSFX Simplified)
« Reply #6 on: December 01, 2019, 03:48:11 PM »

A must have for BAT 8) Great idea!
Could i suggest a modification? When the units die/get destroyed it generates a fire. I know that this behavuour is supposed to happen but it's hurting my fps and i already create my battlefields without counting on troop behaviour. Would it be possible to make a 2nd version with a less visible effect when destroyed? I was thinking of the little smoke that pops out when a tree line is destroyed. For the works i'm doing in FMB, a small "puff" of smoke whenever a infantry unit is killed would be nice rather than a big fire, simulating dust, sand, ground, chops of woods/jungle flying around after a strafe run for example.
Logged

whistler

  • Modder
  • member
  • Offline Offline
  • Posts: 1761
Re: Battlefront! v1.0 (Moving Infantry from HSFX Simplified)
« Reply #7 on: December 02, 2019, 02:57:55 AM »

Hi enry,

I am not sure how to do that. I ventured in an area I never worked on before. "Vehicles in disguise" is what the mod really is. The mod is standalone and we can easily add new/different units.

We need tank/ship experts to fine-tune the technics.ini values
We need 3D experts to improve the models and solve 3D errors
We need artists to improve the textures

Modders, take this one to your labs!

Something I would definitively like to get rid of are tracers. At least two-thirds of tracers. It's just too much from the air.
Logged
NG-HUD v3.5 | NG-MAP v3.1 | NG-CAM v1.6: https://www.sas1946.com/main/index.php/board,93.0.html

enry711

  • member
  • Offline Offline
  • Posts: 267
Re: Battlefront! v1.0 (Moving Infantry from HSFX Simplified)
« Reply #8 on: December 02, 2019, 10:33:37 AM »

Oh yes absolutely. I totally agree with you, a bit less tracers would be nice ;)
Nevertheless your mod is a very welcome addition as it is now and my suggestion was mainly based around the concept of infantry hidden in tree lines/trenches so that a plane strafing the area would see debris/small smoke rather than a fire. I already use FMB static soldiers to create fires and explosions around a battlefield, and they work really good (especially with napalm strikes).
I use them to simulate big fires in the jungle after a load of Napalm has been dropped.  :)
Logged

vpmedia

  • Modder
  • member
  • Offline Offline
  • Posts: 6339
  • www.vpmedia.hu/il2
    • VPMEDIA SKINS
Re: Battlefront! v1.0 (Moving Infantry from HSFX Simplified)
« Reply #9 on: December 02, 2019, 04:21:29 PM »

iirc CY6's Vietnam infantry mod has all the improvements you need https://ulozto.net/file/oCsRjXLIriM4/cy6-infantry-7z

edc1

  • member
  • Offline Offline
  • Posts: 173
Re: Battlefront! v1.0 (Moving Infantry from HSFX Simplified)
« Reply #10 on: December 03, 2019, 07:56:50 AM »

Hi all,
Has anybody tried CY6's Vietnam infanfantry in BAT ?
I'll try it tonight and see what happens
Will post results later
edc1(stan)
Logged

enry711

  • member
  • Offline Offline
  • Posts: 267
Re: Battlefront! v1.0 (Moving Infantry from HSFX Simplified)
« Reply #11 on: December 03, 2019, 05:12:32 PM »

I downloaded it (thank you very much vpmedia) but unfortunately i haven't got time to install it
I'll try it too this week.
Nevertheless whisper great mod! Thank you for this nice addition :)
Logged
Pages: [1] 2   Go Up
 

Page created in 0.016 seconds with 27 queries.