The "Gabe-Mod" (v8.4.4)

Moderators: Order of Battle Moderators, The Artistocrats

Post Reply
GabeKnight
Lieutenant-General - Karl-Gerat 040
Lieutenant-General - Karl-Gerat 040
Posts: 3700
Joined: Mon Nov 27, 2017 10:24 pm

Re: The "Gabe-Mod" ;) and units.csv fixes (v5.2.9)

Post by GabeKnight »

terminator wrote:Do you use also the Japanese paratrooper's 3D models ?
Names = "Red Devils" ?
No, I kept the models as they were (UK_SAS). Why? Is there something wrong with their animation? Haven't bought them yet in Burma Road, just couldn't look at the empty pictures and names anymore... :oops: :lol:

But that's what testing's for, right? So I'm "testing" it right now and having fun with OoB at the same time. :D

EDIT: The 3D models look okay in the game, it' just the names and 2D pic missing IMO.
Brit_para.jpg
Brit_para.jpg (139.44 KiB) Viewed 4156 times
terminator
Field Marshal - Elefant
Field Marshal - Elefant
Posts: 5847
Joined: Mon Aug 15, 2011 12:48 pm
Location: the land of freedom

Re: The "Gabe-Mod" ;) and units.csv fixes (v5.2.9)

Post by terminator »

Would not the British parachutists be better with a US_Para_Grenade_42 instead of the UK_Grenade_41 :
British_Airborne(US_Para_Grenade_42).png
British_Airborne(US_Para_Grenade_42).png (563.4 KiB) Viewed 4148 times
The model of the helmet of the the UK_Grenade_41 is not the voucher for British parachutists :
british-paratrooper-helmet-ww2-1177h.jpg
british-paratrooper-helmet-ww2-1177h.jpg (27.67 KiB) Viewed 4148 times
An historical picture :
British_Paratroops_Arnhem.jpg
British_Paratroops_Arnhem.jpg (77.23 KiB) Viewed 4148 times
Igor1941
Master Sergeant - U-boat
Master Sergeant - U-boat
Posts: 540
Joined: Mon Jul 11, 2011 11:05 pm

Re: The "Gabe-Mod" ;) and units.csv fixes (v5.2.9)

Post by Igor1941 »

Parisians spit on prisoners of British paratroopers, whom the Germans lead around the city
Image
terminator
Field Marshal - Elefant
Field Marshal - Elefant
Posts: 5847
Joined: Mon Aug 15, 2011 12:48 pm
Location: the land of freedom

Re: The "Gabe-Mod" ;) and units.csv fixes (v5.2.9)

Post by terminator »

I can propose this image for the British paratrooper units :
British_Para_Units.png
British_Para_Units.png (72.19 KiB) Viewed 4145 times
Here is the image. To use it do "Save the image as":
British_Paratroopers_40.png
British_Paratroopers_40.png (15.72 KiB) Viewed 4145 times
GabeKnight
Lieutenant-General - Karl-Gerat 040
Lieutenant-General - Karl-Gerat 040
Posts: 3700
Joined: Mon Nov 27, 2017 10:24 pm

Re: The "Gabe-Mod" ;) and units.csv fixes (v5.2.9)

Post by GabeKnight »

@Terminator

Thanks for the pic, that I'm taking. As for the model change, I get your point, but that's not important to me. I'll let something like that for the devs to decide.
Screenshot 250.jpg
Screenshot 250.jpg (143.54 KiB) Viewed 4139 times
GabeKnight
Lieutenant-General - Karl-Gerat 040
Lieutenant-General - Karl-Gerat 040
Posts: 3700
Joined: Mon Nov 27, 2017 10:24 pm

Re: The "Gabe-Mod" ;) and units.csv fixes (v5.2.9)

Post by GabeKnight »

My next project are AT model variants of existing AA units.

First (experimental) attempt to modify official units. And please don't ask why I've chosen the "Sturer Emil" model for that, I don't know. It's just a test! :wink: :D
Emil.jpg
Emil.jpg (64.57 KiB) Viewed 4128 times
SchnelleMeyer
Private First Class - Wehrmacht Inf
Private First Class - Wehrmacht Inf
Posts: 9
Joined: Sat Mar 22, 2014 12:00 am

Re: The "Gabe-Mod" ;) and units.csv fixes (v5.2.9)

Post by SchnelleMeyer »

Good looking tank destroyer!
GabeKnight
Lieutenant-General - Karl-Gerat 040
Lieutenant-General - Karl-Gerat 040
Posts: 3700
Joined: Mon Nov 27, 2017 10:24 pm

Re: The "Gabe-Mod" ;) and units.csv fixes (v5.2.9)

Post by GabeKnight »

SchnelleMeyer wrote:Good looking tank destroyer!
But please bear in mind, that these are NOT my own models, but only a slightly modified version of the official "Sturer Emil" model of the Panzerkrieg DLC.

Honestly, I'd never have the patience to build something like this from scratch. At the most, I like to take things and change them for the better, so to say. :wink:
terminator
Field Marshal - Elefant
Field Marshal - Elefant
Posts: 5847
Joined: Mon Aug 15, 2011 12:48 pm
Location: the land of freedom

Re: The "Gabe-Mod" ;) and units.csv fixes (v5.2.9)

Post by terminator »

Hi GabeKnight,
It is possible to correct the models and animations for cavalry :
Cavalry.png
Cavalry.png (134.38 KiB) Viewed 4115 times
Could you change the color of the horse for example ?
GabeKnight
Lieutenant-General - Karl-Gerat 040
Lieutenant-General - Karl-Gerat 040
Posts: 3700
Joined: Mon Nov 27, 2017 10:24 pm

Re: The "Gabe-Mod" ;) and units.csv fixes (v5.2.9)

Post by GabeKnight »

terminator wrote:It is possible to correct the models and animations for cavalry :
I'll take a look into it, but I'm still just a rookie with the modelling software. There are still many things to work out, had my first real success of importing a "base structure" unit just yesterday! :D

EDIT: As far as I can see, the models for the cavalry riders and regular infantry are the same. There have to be some different animation mechanics at play (CavalryIdle, cavalrymove,...) to put them on the horses and place the rifles in their hands. I have no idea how to manipulate that, sorry.
terminator wrote:Could you change the color of the horse for example ?
But if you just want to change the appearance of an existing stock unit, that's no real problem. You just need to place the modified texture file in the \Units\Textures folder of your mod, rename it like its "model" in the units.csv file and it will automatically override the "official" one like I've done here for example.

It only becomes complicated, if you need a new unit name and thus a new model.

EDIT: e.g. a white horse :)
Last edited by GabeKnight on Thu Mar 29, 2018 5:44 pm, edited 2 times in total.
GabeKnight
Lieutenant-General - Karl-Gerat 040
Lieutenant-General - Karl-Gerat 040
Posts: 3700
Joined: Mon Nov 27, 2017 10:24 pm

Re: The "Gabe-Mod" ;) and units.csv fixes (v5.2.9)

Post by GabeKnight »

terminator wrote:Could you change the color of the horse for example ?
Interesting facts: There are already two colored horse models available ("transport_horse_B"=black and "transport_horse"=brown) and although all cavalry units should have a mixed coloured horse set (models-column of the units.csv), the game obviously only choses the first horse's color for the other as well.

Jap Cavalry = "transport_horse_B -0.12 0.05, transport_horse 0.12 -0.03" = black horsies
Chinese Cavalry = "transport_horse -0.12 0.05, transport_horse_B 0.12 -0.03" = brown horsies
Screenshot 255.jpg
Screenshot 255.jpg (136.4 KiB) Viewed 4096 times
The sequence in which the models are named in the models-column (0,1,2,...) is also used in the "effectSequences.txt" file to determine the order of animations.

...and if someone wondered, what the two numbers after each of the models meant, it's the individual model's location respective to hex-center (offset)
Screenshot 254.jpg
Screenshot 254.jpg (328.52 KiB) Viewed 4096 times
terminator
Field Marshal - Elefant
Field Marshal - Elefant
Posts: 5847
Joined: Mon Aug 15, 2011 12:48 pm
Location: the land of freedom

Re: The "Gabe-Mod" ;) and units.csv fixes (v5.2.9)

Post by terminator »

I arrive to change the texture only for the Units from Battle of Britain.
I do not know how to extract the original models (file.mdb) ? I do not find them.

Ex with the H59 Rescue :
Skin.png
Skin.png (181.11 KiB) Viewed 4082 times
terminator
Field Marshal - Elefant
Field Marshal - Elefant
Posts: 5847
Joined: Mon Aug 15, 2011 12:48 pm
Location: the land of freedom

Re: The "Gabe-Mod" ;) and units.csv fixes (v5.2.9)

Post by terminator »

Hi GabeKnight,
Do you manage to change the sounds ?
It seems easy but I do not arrive there :http://www.slitherine.com/forum/viewtop ... 88#p545682
GabeKnight
Lieutenant-General - Karl-Gerat 040
Lieutenant-General - Karl-Gerat 040
Posts: 3700
Joined: Mon Nov 27, 2017 10:24 pm

Re: The "Gabe-Mod" ;) and units.csv fixes (v5.2.9)

Post by GabeKnight »

terminator wrote:Do you manage to change the sounds ?
It seems easy but I do not arrive there :http://www.slitherine.com/forum/viewtop ... 88#p545682
Yeah, it's already done for the Cluster Bomb setting of my "Schienengeschütz" unit. You can look it up. But in short, it works like described in the post:

1.) Create folder \Sounds\ in your mod, I've put the new "ClusterBomb.wav" soundfile there
2.) In the \Data\effects.txt you add the new sound effect. I've modified the existing Mortar effect (1.0 -> 2.0 = larger shell animation). Then I've used the new sound file name with "sfx = ... " and turned up the volume a bit (1.0 -> 2.5)

Code: Select all

[Mortar_600mm_CL]
attached = CannonFlash 1.0
independent = MortarShellHuge 2.0
independent = CannonSmokeLarge 1.0
sfx = ClusterBomb 2.5
recoil
3.) in the \Data\effectSequences.txt you add the new (final) sequence for your unit. Here you can use the vanilla effects as well as your own and define how the combat/move/defend animations are going to look like in the game. I've modified an arty effect for that. Here you include the new effect you just created from "2.)". The first number seems to be the timer (in seconds) of the sequence and the last number's used for the 3D-models definitions (like turrets and barrels locations). And this is the name you use in the units.csv file in the "weaponEffect" column.

Code: Select all

[ART_16inch_CL]
0.0 ART_Shell 0
0.0 Mortar_600mm_CL 0
0.9 BarrelSmoke 0
1.3 hit
1.3 damage
That's all. I'm just not very creative when it comes to naming, so I've copied existing entires and added the "_CL" suffix to them :wink:
What are you planning to do?
terminator
Field Marshal - Elefant
Field Marshal - Elefant
Posts: 5847
Joined: Mon Aug 15, 2011 12:48 pm
Location: the land of freedom

Re: The "Gabe-Mod" ;) and units.csv fixes (v5.2.9)

Post by terminator »

Thank you for this interesting information but I do not still manage to modify movement sounds :
MoveSound.PNG
MoveSound.PNG (3.01 KiB) Viewed 3930 times
GabeKnight
Lieutenant-General - Karl-Gerat 040
Lieutenant-General - Karl-Gerat 040
Posts: 3700
Joined: Mon Nov 27, 2017 10:24 pm

Re: The "Gabe-Mod" ;) and units.csv fixes (v5.2.9)

Post by GabeKnight »

@terminator
Why not? Should work. In doubt, create a new entry with your sound file and keep the old one.

Just don't use the brackets "[" or "]" ! Because from what I've gathered, the entry

Code: Select all

 sfx = Infantry_[3] 1.0 
means, that there are THREE sound files representing infantry movement (Infantry_01.wav, Infantry_02.wav and Infantry_03.wav), and the game will choose one randomly. Haven't tested it, though.
terminator
Field Marshal - Elefant
Field Marshal - Elefant
Posts: 5847
Joined: Mon Aug 15, 2011 12:48 pm
Location: the land of freedom

Re: The "Gabe-Mod" ;) and units.csv fixes (v5.2.9)

Post by terminator »

GabeKnight wrote:@Horst, terminator, airbornemongo, Kondi and others

:!: First of all, THANK YOU gentlemen for all this valuable help and input so far. :!:
It's nice to see this thread's going where I was hoping it would.
Although I must confess, the amount of ideas and work involved are starting to outgrow my ambition a little... :wink:
But Rome wasn't built on one day either... :)

One question for the experts:

This I've figured out so far: if you want to add a new switch abilily (with a NEW BUTTON/ICON!) to a unit, one can use this setting in the "switch" column of the units.csv

weapon:<switch_unit_name> <icon_name> <cooldown>

and placing the new button's graphic in "Graphics\UI\Large" with the filename "ability_weapon_<icon_name>.png". This works so far as I've been using it on my railway gun. But with this method there's always the cool-down timer attached:
The attachment Screenshot 233.jpg is no longer available
Now the real question:

How do I use or create new switch modes not being of the "weapon:" class? I mean like "submerged" or "uparmour" with them having own graphics like button_submerge.png or button_uparmour.png respectively. For example a switch mode between tactical bomber and dogfighter mode. I won't use the stupid weapon-switch (with cooldown) or torpedo:/torpedo_switch graphics for that. I'd rather like to have an own button_ruestsatz_1280.png graphic. And there seems to be a number of unused button graphics files in the vanilla game's own library anyways. Like this:
The attachment button_supply_mode_1280.png is no longer available
How do I activate it? I've tried adding a switch ability "supply:" and "supply_mode:" but this didn't work. Any ideas?
:arrow: There's NOT always the cool-down timer attached with this method :
weapon(switch).png
weapon(switch).png (144.73 KiB) Viewed 3810 times
GabeKnight
Lieutenant-General - Karl-Gerat 040
Lieutenant-General - Karl-Gerat 040
Posts: 3700
Joined: Mon Nov 27, 2017 10:24 pm

Re: The "Gabe-Mod" ;) and units.csv fixes (v5.2.9)

Post by GabeKnight »

terminator wrote: :arrow: There's NOT always the cool-down timer attached with this method :[/attachment]
Okay, I actually didn't test a zero/null setting. :wink: :)

But what I meant was the whole "overlay" mechanic with the two arrows in the top corner. This template is used for all "weapon" switch modes:
button_weapon_switch_high_1280.png
button_weapon_switch_high_1280.png (10.22 KiB) Viewed 3797 times
Telematic
Corporal - 5 cm Pak 38
Corporal - 5 cm Pak 38
Posts: 31
Joined: Sat Apr 30, 2016 4:38 pm

Re: The "Gabe-Mod" ;) and units.csv fixes (v5.2.9)

Post by Telematic »

GabeKnight wrote: But if you just want to change the appearance of an existing stock unit, that's no real problem. You just need to place the modified texture file in the \Units\Textures folder of your mod, rename it like its "model" in the units.csv file and it will automatically override the "official" one like I've done here for example.
Ok I placed a .tga file in the texture directory with the name of the model and it works, but I'd like to know how to modify it (e.g. where is the bow of the ship or the wings of the plane in the .tga file).
GabeKnight wrote: But please bear in mind, that these are NOT my own models, but only a slightly modified version of the official "Sturer Emil" model of the Panzerkrieg DLC
How you get it?

Thanks
GabeKnight
Lieutenant-General - Karl-Gerat 040
Lieutenant-General - Karl-Gerat 040
Posts: 3700
Joined: Mon Nov 27, 2017 10:24 pm

Re: The "Gabe-Mod" ;) and units.csv fixes (v5.2.9)

Post by GabeKnight »

Telematic wrote: Ok I placed a .tga file in the texture directory with the name of the model and it works, but I'd like to know how to modify it (e.g. where is the bow of the ship or the wings of the plane in the .tga file).
As far as I know, you need to use a mapper software to arrange the texture from the 3D model and then colour it with a paint program. But I've never done it myself on a completely "bare" model. The most I've done was to test some colour changes on existing textures (most of the time you see what's what). Sorry, can't really help you there.
Post Reply

Return to “Order of Battle : World War II - Scenario Design”