.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $6.00

   







Go Back   .com.unity Forums > The Camo Workshop > WinSPMBT > Mods
Notices


Reply
 
Thread Tools Display Modes
  #1  
Old April 20th, 2021, 10:40 PM

Karagin Karagin is offline
BANNED USER
 
Join Date: Apr 2020
Location: Killeen, TX
Posts: 473
Thanks: 432
Thanked 139 Times in 93 Posts
Karagin is on a distinguished road
Default MOBHack question

In MOBHACK in the bar below the File and Help line there is the Features button to do the things in MOBHACK, on the far side of that there is a button that say you can Search and Replace a word/names.

It doesn't work, or it doesn't do anything. I checked the help file it tells me to type in the name I want to replace with what I want but when I got to it and type say Team to Section for example, nothing happens.

Window opens it says Search and Replace and has two section for Replace (Area to type word)
With (Area to type word)

The OK and Cancel boxes to the right of that and below all of that is (Case Insensitive).

Now the Help File shows a check box in place of that but no check box is to be found.

Not sure which or what is right, so I am asking.
Attached Thumbnails
Click image for larger version

Name:	MobHack 1.jpg
Views:	353
Size:	60.3 KB
ID:	16395   Click image for larger version

Name:	MobHack 2.jpg
Views:	351
Size:	16.2 KB
ID:	16396  
Reply With Quote
  #2  
Old April 20th, 2021, 11:46 PM
Mobhack's Avatar

Mobhack Mobhack is offline
National Security Advisor
 
Join Date: Mar 2005
Location: Dundee
Posts: 5,956
Thanks: 465
Thanked 1,899 Times in 1,237 Posts
Mobhack is on a distinguished road
Default Re: MOBHack question

Well - there's something I havent used in over a decade or more - in fact I had completely forgotten that there was such a function!

Which shows how much use it gets.

Each name is of course a string, so to replace all "Squad" with "Section" - check the sub-string checkbox since in "Rifle Squad" Squad is but a portion of the name string.

Otherwise it will be looking for complete strings of "Squad" - of which there won't be many...
Reply With Quote
  #3  
Old April 21st, 2021, 06:44 AM
DRG's Avatar

DRG DRG is offline
Shrapnel Fanatic
 
Join Date: Mar 2005
Location: GWN
Posts: 12,493
Thanks: 3,965
Thanked 5,702 Times in 2,814 Posts
DRG will become famous soon enough
Exclamation Re: MOBHack question

The function was useful during early OOB creation and would be again if someone decided they wanted to convert the Hungarian OOB unit names (for example ) to English








It works exactly as it was designed to BUT.....there are slight differences between the WW2 MOBHack which does have the sub-screen check box and the MBT MOBHack which does not. You have to change the entire name in MBT whereas WW2 will allow you to change part of it.

In the WW2 Hungarian example, you could change all "Lovasz Raj" to "Rifle Raj" by using the substrings control to change Lovasz to Rifle but in MBT it would have to be a full Lovasz Raj => Rifle Raj and IIRC the substring control was left out of MBT because it wasn't really being used in WW2

But if you wanted to rename all units named Rifle Squad in an MBT OOB to Rifle Section it will do it but it has to be the full name to the full name.... no partials in MBT.

That section of the MBT MOBHack Help file is a copy of the WW2 because, as Andy said, it's been so long since we used it we forgot they were different.

That said, it's nice to know somebody reads the help files and I will be correcting the MBT version of that section to reflect it's reality
Attached Thumbnails
Click image for larger version

Name:	name changer.png
Views:	616
Size:	4.5 KB
ID:	16397   Click image for larger version

Name:	Image6.png
Views:	618
Size:	4.1 KB
ID:	16398  
__________________


"You are never to old to rock and roll if you are too young to die".--- What do you expect to be doing when you are 80?


https://www.youtube.com/watch?v=8kWt8ELuDOc

Last edited by DRG; April 21st, 2021 at 08:09 AM..
Reply With Quote
The Following 3 Users Say Thank You to DRG For This Useful Post:
  #4  
Old April 21st, 2021, 09:16 AM
troopie's Avatar

troopie troopie is offline
Sergeant
 
Join Date: Jun 2005
Location: Die Operasionale Gebied
Posts: 373
Thanks: 103
Thanked 86 Times in 56 Posts
troopie is on a distinguished road
Default Re: MOBHack question

I think I've used it once or twice, but not in at least five years.

troopie
__________________
Pamwe Chete
Reply With Quote
  #5  
Old April 21st, 2021, 09:30 AM
DRG's Avatar

DRG DRG is offline
Shrapnel Fanatic
 
Join Date: Mar 2005
Location: GWN
Posts: 12,493
Thanks: 3,965
Thanked 5,702 Times in 2,814 Posts
DRG will become famous soon enough
Default Re: MOBHack question

It's only something that even when maintaining 129 OOBs it gets used very, very rarely but it's really handy on the rare occasion when it is needed. I think the last time I used it was when the Formation names were changed in the WW2 Hungarian OOB and that was about a dozen years ago
__________________


"You are never to old to rock and roll if you are too young to die".--- What do you expect to be doing when you are 80?


https://www.youtube.com/watch?v=8kWt8ELuDOc
Reply With Quote
  #6  
Old April 21st, 2021, 10:02 AM

Karagin Karagin is offline
BANNED USER
 
Join Date: Apr 2020
Location: Killeen, TX
Posts: 473
Thanks: 432
Thanked 139 Times in 93 Posts
Karagin is on a distinguished road
Default Re: MOBHack question

I am trying to use it to give the NON-English countries their correct names for things as much as the game allows with the space limits and such.
Reply With Quote
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 02:53 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2024, Shrapnel Games, Inc. - All Rights Reserved.