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

This Month's Specials

Air Assault Task Force- Save $8.00
World Supremacy- Save $10.00

   







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


Reply
 
Thread Tools Display Modes
  #11  
Old November 20th, 2011, 08:15 PM
Mobhack's Avatar

Mobhack Mobhack is online now
National Security Advisor
 
Join Date: Mar 2005
Location: Dundee
Posts: 5,973
Thanks: 473
Thanked 1,916 Times in 1,245 Posts
Mobhack is on a distinguished road
Default Re: Reassigning units

I wont be doing that - because it cant be done, as I have already said.

Andy
Reply With Quote
  #12  
Old November 20th, 2011, 09:30 PM

scJazz scJazz is offline
Sergeant
 
Join Date: Jun 2005
Posts: 312
Thanks: 5
Thanked 8 Times in 7 Posts
scJazz is on a distinguished road
Default Re: Reassigning units

OMFG! Out of curiosity I just popped open a save file with a hex editor. OK fine you are correct. While I'll never admit that some bit of code can't be done I'll freely admit that it isn't the simple piece of cake I had somehow assumed it would be

I'm not even sure from a quick look just how this thing is keeping track of which units are in which formation.
Reply With Quote
  #13  
Old November 21st, 2011, 01:00 AM

scJazz scJazz is offline
Sergeant
 
Join Date: Jun 2005
Posts: 312
Thanks: 5
Thanked 8 Times in 7 Posts
scJazz is on a distinguished road
Default Re: Reassigning units

Quote:
Originally Posted by scJazz View Post
OMFG! Out of curiosity I just popped open a save file with a hex editor. OK fine you are correct. While I'll never admit that some bit of code can't be done I'll freely admit that it isn't the simple piece of cake I had somehow assumed it would be

I'm not even sure from a quick look just how this thing is keeping track of which units are in which formation.
*Does dog with bone imitation*
OK so having peered into the HEX for the save file I just freaking had to do it I found various bits of unit data, Experience, Morale, INF Command, Arty Command, FORMATION ID and FORMATION UNIT.

So the data is there in identifiable spots. So why can't Re-assign to new HQ routine be fixed? The code already does it badly. Assigning a high formation unit to a low formation unit does name that unit correctly as the last in a formation.

Click button
Select formation
Walk through Unit data one time noting which FORMATION was chosen and read 2 bytes right for unit number
Name unit with not crazy formation unit number

It is not impossible and the code already does it poorly so it definitely is a bug.

You could just say no I am not going to do it and I'll drop it. But you can't say it is not doable
Reply With Quote
  #14  
Old November 21st, 2011, 02:31 PM

Griefbringer Griefbringer is offline
Sergeant
 
Join Date: Sep 2008
Posts: 385
Thanks: 1
Thanked 76 Times in 67 Posts
Griefbringer is on a distinguished road
Default Re: Reassigning units

I'll admit that this is slightly annoying feature. So far I have managed to work around it by trying to first purchase those units that might receive units from other platoons, and then those platoons that might act as donators.
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 09:37 AM.


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