Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
Offline TracyHugh  
#1 Posted : Tuesday, May 9, 2023 1:35:25 PM(UTC)
TracyHugh
Private
Joined: 5/9/2023(UTC)
Posts: 3

Hello bro!Smile
A few days ago, I saw a similar post. I find it very interesting.
I konw the HelixContain. It's only one slot for model.
If upgrade gattling, then it's useless to upgrade any others. Because the slot is occupied by gattling.

Actually, I thought of something else.
I make the gattling have a HelixContain too. And init the bunker in the gatting.
And so on, put tower into the bunker.

It does work, but unfortunately, the model binding skeleton is incorrect.
The Helix moving, rotation, but the bunker and tower follows gattling.
In short, half the battle.

So, I wonder if anyone can solve this problem.
I am also very open to other solutions that can be implemented.
Smile
Sponsor
Offline TracyHugh  
#2 Posted : Thursday, May 11, 2023 2:10:29 PM(UTC)
TracyHugh
Private
Joined: 5/9/2023(UTC)
Posts: 3

Hello~ Anybody here?
Offline UTD^Force  
#3 Posted : Friday, May 12, 2023 3:45:02 AM(UTC)
UTD^Force
Colonel
C&C Labs Staff: Labs Staff MemberMaps Staff: Maps Staff Member
Joined: 8/13/2013(UTC)
Posts: 817
Jordan
Location: Middle east

Thanks: 430 times
Was thanked: 184 time(s) in 168 post(s)
I have tried solving this, but the solution is far from perfect.
With this code you can build the three upgrades for the helix. I think you can probably solve how the helix looks like by editing the OCLs or something. Another bug is that you can evacuate the tower and gatling cannon...
Here's the code I tried, it might help as a start or be just a dead end.
Code:
;----------------------------------------------------------------------------------------------------------
Object ChinaVehicleHelix
 RemoveModule ModuleTag_22
 RemoveModule ModuleTag_26
 RemoveModule ModuleTag_23
 RemoveModule ModuleTag_27
 RemoveModule ModuleTag_24
 RemoveModule ModuleTag_28
  ;--------------------------
 AddModule
  Behavior = ObjectCreationUpgrade ModuleTag_22
    UpgradeObject = OCL_HelixGattlingCannon
    TriggeredBy   = Upgrade_ChinaHelixGattlingCannon
  End
 End

  ;--------------------------
 AddModule
  Behavior = ObjectCreationUpgrade ModuleTag_23
    UpgradeObject = OCL_HelixPropagandaTower
    TriggeredBy   = Upgrade_ChinaHelixPropagandaTower
  End
 End

  ;--------------------------
 AddModule
  Behavior = ObjectCreationUpgrade ModuleTag_24
    UpgradeObject = OCL_HelixBattleBunker
    TriggeredBy   = Upgrade_ChinaHelixBattleBunker
  End
 End
 RemoveModule ModuleTag_25
 AddModule
  Behavior = ProductionUpdate ModuleTag_25
    MaxQueueEntries = 7; So you can't build multiple upgrades in the same frame
  End
 End

End


Proud Muslim

UTD^Force

Moderator and former map reviewer
CnC Labs
Offline TracyHugh  
#4 Posted : Friday, May 12, 2023 7:37:37 AM(UTC)
TracyHugh
Private
Joined: 5/9/2023(UTC)
Posts: 3

Originally Posted by: UTD^Force Go to Quoted Post
I have tried solving this, but the solution is far from perfect.
With this code you can build the three upgrades for the helix. I think you can probably solve how the helix looks like by editing the OCLs or something. Another bug is that you can evacuate the tower and gatling cannon...
Here's the code I tried, it might help as a start or be just a dead end.
Code:
;----------------------------------------------------------------------------------------------------------
Object ChinaVehicleHelix
 RemoveModule ModuleTag_22
 RemoveModule ModuleTag_26
 RemoveModule ModuleTag_23
 RemoveModule ModuleTag_27
 RemoveModule ModuleTag_24
 RemoveModule ModuleTag_28
  ;--------------------------
 AddModule
  Behavior = ObjectCreationUpgrade ModuleTag_22
    UpgradeObject = OCL_HelixGattlingCannon
    TriggeredBy   = Upgrade_ChinaHelixGattlingCannon
  End
 End

  ;--------------------------
 AddModule
  Behavior = ObjectCreationUpgrade ModuleTag_23
    UpgradeObject = OCL_HelixPropagandaTower
    TriggeredBy   = Upgrade_ChinaHelixPropagandaTower
  End
 End

  ;--------------------------
 AddModule
  Behavior = ObjectCreationUpgrade ModuleTag_24
    UpgradeObject = OCL_HelixBattleBunker
    TriggeredBy   = Upgrade_ChinaHelixBattleBunker
  End
 End
 RemoveModule ModuleTag_25
 AddModule
  Behavior = ProductionUpdate ModuleTag_25
    MaxQueueEntries = 7; So you can't build multiple upgrades in the same frame
  End
 End

End




Thanks for your answer, bro
Unfortunately, I've used this way before.
HelixContain can only have one virtual slot( Maybe? It's my theory. By the way I named it by myself ).
The ohters slot is normal, like you konw, these load slots.
So, when we use OCL, and make the object in HelixContain. The first will in the virtual slot. But others will in the normal slot.
I think, maybe we can create one object, and make it have all upgrade. From a functional perspective, it is correct.( I'm using that now )
But the model is wrong. Because we have all upgrade, but we only have one like Gattling or Bunker...
But then again, I think it's not a good way, It went against our original intention.( we need the modular upgrade )
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.