Nick.B
  • Nick.B
  • 50.25% (Neutral)
  • Private Topic Starter
11 years ago
Okay, I am trying to figure out how to place another command button in lazer generals warfactory again so I can build more units besides the ones already included. Some how When I click on the CommandButton "AdditionalCommands", I cannot get back to the original commands. It just shows nothing and the rally point flag does not show either.

I have asked about this kind of stuff in an earlier post, but I lost all of my work unfortunately, so I have to do it all over again.

Here is the LazerGeneral.ini Warfactory:

Behavior = CommandSetUpgrade ModuleTag_ComSet01
CommandSet = Lazr_AmericaWarFactoryCommmandSetAdditionalCommands
TriggeredBy = Upgrade_SwitchCommandSet
RemovesUpgrades = Upgrade_SwitchBackCommandSet
End
Behavior = CommandSetUpgrade ModuleTag_ComSet02
CommandSet = Lazr_AmericaWarFactoryCommandSet
TriggeredBy = Upgrade_SwitchBackCommandSet
RemovesUpgrades = Upgrade_SwitchCommandSet Upgrade_SwitchBackCommandSet
End



Command Set INI

CommandSet Lazr_AmericaWarFactoryCommandSet
1 = Lazr_Command_ConstructAmericaVehiclePitbull
3 = Lazr_Command_ConstructAmericaVehiclePitLas
5 = Lazr_Command_ConstructAmericaVehiclePitMis
7 = Lazr_Command_ConstructAmericaVehiclePitScout
9 = Lazr_Command_ConstructAmericaVehiclePitAven
2 = Lazr_Command_ConstructAmericaVehiclePredator
4 = Lazr_Command_ConstructAmericaVehiclePredator_Part
6 = Lazr_Command_ConstructAmericaVehiclePredator_Plas
8 = Lazr_Command_ConstructAmericaVehiclePredator_Micr
10 = Lazr_Command_ConstructAmericaVehiclePredator_AA
12 = Command_UpgradeAmericaAuxMissiles_UpgradeObject
13 = Command_SetRallyPoint
11 = Command_UpgradeUSABuildingDefense
14 = Command_UpgradeGLAWorkerFakeCommandSet
End

CommandSet Lazr_AmericaWarFactoryCommandSet_AdditionalCommands
14 = Command_UpgradeGLAWorkerRealCommandSet
13 = Command_SetRallyPoint
1 = Lazr_Command_ConstructAmericaVehicleHumvee
End



Is there anything wrong?
Sponsor
Gameanater
11 years ago
I haven't experimented much with this kind of work but I'll try and be useful.


11 = Command_UpgradeUSABuildingDefense
14 = Command_UpgradeGLAWorkerFakeCommandSet
End


Unless you've changed the FakeCommandSetButton to switch to the AdditionalCommands set of CommandButtons, I would think that it'd switch the War Factory to using the Worker's CommandSets.

Same thing for this:

CommandSet Lazr_AmericaWarFactoryCommandSet_AdditionalCommands
14 = Command_UpgradeGLAWorkerRealCommandSet
13 = Command_SetRallyPoint
1 = Lazr_Command_ConstructAmericaVehicleHumvee
End


If that happened, the buttons would probably be grayed out for building structures since the War Factory has no code for doing that.

But I don't really know why nothing is showing up... I would have expected the above to happen and not this... 😞


Also, try putting ["code=plain"] and ["/code] around your code when posting here. It prevents any spaces from being removed in the post. 😄


Hi
   There
       I
         Would
            Be
              Code

But be careful when putting more then one of these code boxes in a reply... For at least it tends to get quite messed up when I do that.
Any old friends still on here can add me on discord @jcdenton2187. I'm far more likely to respond there.
Nick.B
  • Nick.B
  • 50.25% (Neutral)
  • Private Topic Starter
11 years ago
Sorry about that. I will do that next time. I'm not sure how or why this happened. Maybe I'm overlooking something.
qqqqqqqqqp
11 years ago
Me and Klingon have done something I don't remember where but it was adding it to the dozer so it could build more buildings
9Q_1P at your service. Moddin help and mod maker ranges from paradrop planes, aircraftcarriers and yes snow men with death lazer eyes
Want a peek? Visit this page
Advanced warfare 
Gameanater
11 years ago
http://www.cnclabs.com/forums/cnc_postst13784_Trouble-Changing-Models.aspx 

So I can empathize. Modding can get quite frustrating!
Any old friends still on here can add me on discord @jcdenton2187. I'm far more likely to respond there.
qqqqqqqqqp
11 years ago
Here is the thread http://www.cnclabs.com/forums/cnc_postst13680_Help-with-Coding.aspx 
9Q_1P at your service. Moddin help and mod maker ranges from paradrop planes, aircraftcarriers and yes snow men with death lazer eyes
Want a peek? Visit this page
Advanced warfare 
Nick.B
  • Nick.B
  • 50.25% (Neutral)
  • Private Topic Starter
11 years ago
http://www.cnclabs.com/forums/cnc_postst12500_How-to-add-a-new-CommandButton.aspx 

I just can't remember how I got everything to work properly for it.
Nick.B
  • Nick.B
  • 50.25% (Neutral)
  • Private Topic Starter
11 years ago
Update:

I got the Lazr General War Factory Switch command button to show up on the war factory menu, but when I put my mouse over it, it says conflicting upgrade cannot be purchased. It is also not highlighted either. Any other ideas?

Thank you.
klingondragon
11 years ago
When you make the upgrade it has a line for conflicting upgrades
Make sure they don't conflict
qqqqqqqqqp
11 years ago
pardon me as i go dig my codes for this.... ill be back sometime
9Q_1P at your service. Moddin help and mod maker ranges from paradrop planes, aircraftcarriers and yes snow men with death lazer eyes
Want a peek? Visit this page
Advanced warfare 
Nick.B
  • Nick.B
  • 50.25% (Neutral)
  • Private Topic Starter
11 years ago
Okay now I am now able to click on the command button for additional commands, but when I do, it just shows nothing and the relay flag is missing when you set it. I can't even go back, so Lazr Generals war factory becomes useless after I click that button.
qqqqqqqqqp
11 years ago
ok I'll i can say look at the gla worker command set model yours after it and make shere it's spelled correct I'll add a more detailed list when i find my codes
9Q_1P at your service. Moddin help and mod maker ranges from paradrop planes, aircraftcarriers and yes snow men with death lazer eyes
Want a peek? Visit this page
Advanced warfare 
Nick.B
  • Nick.B
  • 50.25% (Neutral)
  • Private Topic Starter
11 years ago
Everything is spelled correctly. So there is no problem there.
Annihilationzh
11 years ago

Everything is spelled correctly. So there is no problem there.

Originally Posted by: Nick.B 


Are you using the same code as in the original post? If so, it's not spelled correctly.
If you need help, post in the forum. You'll get help a lot faster than if you send me a PM.

I reject all buddy requests. I don't think 'buddy' needs to be made official. It's not like you're marrying me.
Nick.B
  • Nick.B
  • 50.25% (Neutral)
  • Private Topic Starter
11 years ago
Yes I also checked that as well.