klingondragon
11 years ago
i have a problem with both parts of this code
i'm meant to be helping UTD Force but this just wont work

;
;terrorist locomotor
;
Locomotor FastHumanLocomotor
  Surfaces = GROUND RUBBLE WATER
  Speed = 25 ;30                ; in dist/sec
  SpeedDamaged = 15 ;30         ; in dist/sec
  TurnRate = 500            ; in degrees/sec
  TurnRateDamaged = 500     ; in degrees/sec
  Acceleration = 100        ; in dist/(sec^2)
  AccelerationDamaged = 50 ; in dist/(sec^2)
  Braking = 100             ; in dist/(sec^2)
  MinTurnSpeed = 0          ; in dist/sec
  ZAxisBehavior = NO_Z_MOTIVE_FORCE
  Appearance = TWO_LEGS
  StickToGround = Yes       ; walking guys aren't allowed to catch huge (or even small) air.
  GroupMovementPriority = MOVES_FRONT;   Moves in the front of a group, behind small arms, ahead of artillery
End
;
;the dozer command set switch
;
Object AmericaVehicleDozer
  CommandSet = AmericaDozerCommandSetAlpha
  AddModule
    Behavior = CommandSetUpgrade ModuleTag_14
      TriggeredBy = Upgrade_GLAWorkerFakeCommandSet
      RemovesUpgrades = Upgrade_GLAWorkerRealCommandSet
      CommandSet = AmericaDozerCommandSetBeta
    End
  End
  AddModule
    Behavior = CommandSetUpgrade ModuleTag_15
      TriggeredBy = Upgrade_GLAWorkerRealCommandSet
      RemovesUpgrades = Upgrade_GLAWorkerFakeCommandSet Upgrade_GLAWorkerRealCommandSet
      CommandSet = AmericaDozerCommandSetAlpha
    End
  End
End
CommandSet AmericaDozerCommandSetAlpha
  1  = Command_ConstructAmericaPowerPlant
  2  = Command_UpgradeGLAWorkerFakeCommandSet
  3  = Command_ConstructAmericaBarracks
  5  = Command_ConstructAmericaSupplyCenter
  7  = Command_ConstructAmericaPatriotBattery
  8  = Command_ConstructAmericaCommandCenter
  9  = Command_ConstructAmericaFireBase
  11 = Command_ConstructAmericaWarFactory
  13 = Command_ConstructAmericaAirfield
  14 = Command_DisarmMinesAtPosition
End
CommandSet AmericaDozerCommandSetBeta
  1  = Upgrade_GLAWorkerRealCommandSet
  2  = Command_ConstructAmericaStrategyCenter
  4  = Command_ConstructAmericaSupplyDropZone
  6  = Command_ConstructAmericaParticleCannonUplink
  8  = Command_ConstructAmericaCommandCenter
  14 = Command_DisarmMinesAtPosition
End
help please
for the dozer I've tried adding a production update module and tried renaming the modules 98 and 99 but nothing worked
the terrorist locomotor, i have no clue what could be wrong
Sponsor
qqqqqqqqqp
11 years ago
What is it supposed to be? A American dozer with a commandset switch ?
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 
klingondragon
11 years ago
Yes
Ive sorted out the terrorist now so ignore that
And I cant work out what's wrong with the dozer
qqqqqqqqqp
11 years ago
If I said I got it to work would u hate me 😛
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 
klingondragon
11 years ago
Not unless all you did was add one word
qqqqqqqqqp
11 years ago
Take off the add module
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 
klingondragon
11 years ago
Which one and how will it help

qqqqqqqqqp
11 years ago

i have a problem with both parts of this code
i'm meant to be helping UTD Force but this just wont work

AddModule[/h]
    Behavior = CommandSetUpgrade ModuleTag_14
      TriggeredBy = Upgrade_GLAWorkerFakeCommandSet
      RemovesUpgrades = Upgrade_GLAWorkerRealCommandSet
      CommandSet = AmericaDozerCommandSetBeta
    End
  End
  [h]AddModule[/h]
    Behavior = CommandSetUpgrade ModuleTag_15
      TriggeredBy = Upgrade_GLAWorkerRealCommandSet
      RemovesUpgrades = Upgrade_GLAWorkerFakeCommandSet Upgrade_GLAWorkerRealCommandSet
      CommandSet = AmericaDozerCommandSetAlpha
    End
  End
End

Originally Posted by: KlingonDragon 




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 
klingondragon
11 years ago
Why will that work
I thought if you were adding a module then you need the add module part
qqqqqqqqqp
11 years ago
I never used and it works fine
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 
klingondragon
11 years ago
Ok ill try it on Monday next time I'm on the computer
UTD^Force
11 years ago
I tried this code, but still crashes the game.

Object AmericaVehicleDozer
  CommandSet = AmericaDozerCommandSetAlpha
    Behavior = CommandSetUpgrade ModuleTag_14
      TriggeredBy = Upgrade_GLAWorkerFakeCommandSet
      RemovesUpgrades = Upgrade_GLAWorkerRealCommandSet
      CommandSet = AmericaDozerCommandSetBeta
    End
  End
    Behavior = CommandSetUpgrade ModuleTag_15
      TriggeredBy = Upgrade_GLAWorkerRealCommandSet
      RemovesUpgrades = Upgrade_GLAWorkerFakeCommandSet Upgrade_GLAWorkerRealCommandSet
      CommandSet = AmericaDozerCommandSetAlpha
    End
  End
End
CommandSet AmericaDozerCommandSetAlpha
  1  = Command_ConstructAmericaPowerPlant
  2  = Command_UpgradeGLAWorkerFakeCommandSet
  3  = Command_ConstructAmericaBarracks
  5  = Command_ConstructAmericaSupplyCenter
  7  = Command_ConstructAmericaPatriotBattery
  8  = Command_ConstructAmericaCommandCenter
  9  = Command_ConstructAmericaFireBase
  11 = Command_ConstructAmericaWarFactory
  13 = Command_ConstructAmericaAirfield
  14 = Command_DisarmMinesAtPosition
End
CommandSet AmericaDozerCommandSetBeta
  1  = Upgrade_GLAWorkerRealCommandSet
  2  = Command_ConstructAmericaStrategyCenter
  4  = Command_ConstructAmericaSupplyDropZone
  6  = Command_ConstructAmericaParticleCannonUplink
  8  = Command_ConstructAmericaCommandCenter
  14 = Command_DisarmMinesAtPosition
End

A Muslim, ask me anything about Islam if you want
UTD^Force
Moderator and former map reviewer
Big fan of C&C Labs
UTD^Force
11 years ago
After removing 'add module' of course.
A Muslim, ask me anything about Islam if you want
UTD^Force
Moderator and former map reviewer
Big fan of C&C Labs
klingondragon
11 years ago
You need to remove the end tags that went with Tha add module
UTD^Force
11 years ago

You need to remove the end tags that went with Tha add module

Originally Posted by: KlingonDragon 



You mean like this right?
Because I tried this:
Object AmericaVehicleDozer
  CommandSet = AmericaDozerCommandSetAlpha
    Behavior = CommandSetUpgrade ModuleTag_14
      TriggeredBy = Upgrade_GLAWorkerFakeCommandSet
      RemovesUpgrades = Upgrade_GLAWorkerRealCommandSet
      CommandSet = AmericaDozerCommandSetBeta
    End
    Behavior = CommandSetUpgrade ModuleTag_15
      TriggeredBy = Upgrade_GLAWorkerRealCommandSet
      RemovesUpgrades = Upgrade_GLAWorkerFakeCommandSet Upgrade_GLAWorkerRealCommandSet
      CommandSet = AmericaDozerCommandSetAlpha
    End
End
CommandSet AmericaDozerCommandSetAlpha
  1  = Command_ConstructAmericaPowerPlant
  2  = Command_UpgradeGLAWorkerFakeCommandSet
  3  = Command_ConstructAmericaBarracks
  5  = Command_ConstructAmericaSupplyCenter
  7  = Command_ConstructAmericaPatriotBattery
  8  = Command_ConstructAmericaCommandCenter
  9  = Command_ConstructAmericaFireBase
  11 = Command_ConstructAmericaWarFactory
  13 = Command_ConstructAmericaAirfield
  14 = Command_DisarmMinesAtPosition
End
CommandSet AmericaDozerCommandSetBeta
  1  = Upgrade_GLAWorkerRealCommandSet
  2  = Command_ConstructAmericaStrategyCenter
  4  = Command_ConstructAmericaSupplyDropZone
  6  = Command_ConstructAmericaParticleCannonUplink
  8  = Command_ConstructAmericaCommandCenter
  14 = Command_DisarmMinesAtPosition
End
And this (spaces):
Object AmericaVehicleDozer
 CommandSet = AmericaDozerCommandSetAlpha
  Behavior = CommandSetUpgrade ModuleTag_14
    TriggeredBy = Upgrade_GLAWorkerFakeCommandSet
    RemovesUpgrades = Upgrade_GLAWorkerRealCommandSet
    CommandSet = AmericaDozerCommandSetBeta
  End
  Behavior = CommandSetUpgrade ModuleTag_15
    TriggeredBy = Upgrade_GLAWorkerRealCommandSet
    RemovesUpgrades = Upgrade_GLAWorkerFakeCommandSet Upgrade_GLAWorkerRealCommandSet
    CommandSet = AmericaDozerCommandSetAlpha
  End
End
CommandSet AmericaDozerCommandSetAlpha
  1  = Command_ConstructAmericaPowerPlant
  2  = Command_UpgradeGLAWorkerFakeCommandSet
  3  = Command_ConstructAmericaBarracks
  5  = Command_ConstructAmericaSupplyCenter
  7  = Command_ConstructAmericaPatriotBattery
  8  = Command_ConstructAmericaCommandCenter
  9  = Command_ConstructAmericaFireBase
  11 = Command_ConstructAmericaWarFactory
  13 = Command_ConstructAmericaAirfield
  14 = Command_DisarmMinesAtPosition
End
CommandSet AmericaDozerCommandSetBeta
  1  = Upgrade_GLAWorkerRealCommandSet
  2  = Command_ConstructAmericaStrategyCenter
  4  = Command_ConstructAmericaSupplyDropZone
  6  = Command_ConstructAmericaParticleCannonUplink
  8  = Command_ConstructAmericaCommandCenter
  14 = Command_DisarmMinesAtPosition
End
And still crashes the game...💀 😞
A Muslim, ask me anything about Islam if you want
UTD^Force
Moderator and former map reviewer
Big fan of C&C Labs
klingondragon
11 years ago
The command set needs to be in line with behaviour
I'll sort it out tomorrow for you
precision_bomber
11 years ago
Guys... If you don't know what's wrong.

Try running either the game or worldbuilder.

See if you encounter an error and read up on ReleaseCrashInfo.txt(game) or wb_DebugLogFileI.txt(worldbuilder).
Death Label:
Reduced back to 3 main factions(and a couple of extras).
Each faction can choose a(or all of them) tech-tree via General's Powers.
Angel Wings: Jets and Anti-Air, Helicopters and Missiles, Hovercraft and Lasers
Red Skulls: Armor Division, Mecha Armada, Drone Swarm
Earth's Saviors: Air Raid, Homeworld Security, Stealth
klingondragon
11 years ago
Ive not tested it as i haven't been on a computer since Thursday but that's the first thing I was going to do tomorrow

klingondragon
11 years ago
It works now:

Object AmericaVehicleDozer
  CommandSet = AmericaDozerCommandSetAlpha
 AddModule
  Behavior = CommandSetUpgrade ModuleTag_14
    TriggeredBy = Upgrade_GLAWorkerFakeCommandSet
    RemovesUpgrades = Upgrade_GLAWorkerRealCommandSet
    CommandSet = AmericaDozerCommandSetBeta
  End
 End
 AddModule
  Behavior = CommandSetUpgrade ModuleTag_15
    TriggeredBy = Upgrade_GLAWorkerRealCommandSet
    RemovesUpgrades = Upgrade_GLAWorkerFakeCommandSet Upgrade_GLAWorkerRealCommandSet
    CommandSet = AmericaDozerCommandSetAlpha
  End
 End
 AddModule
  Behavior = ProductionUpdate ModuleTag_16
    MaxQueueEntries = 1; For the command set switching upgrade
  End
 End
End
CommandSet AmericaDozerCommandSetBeta
  1  = Command_UpgradeGLAWorkerRealCommandSet
  2  = Command_ConstructAmericaStrategyCenter
  4  = Command_ConstructAmericaSupplyDropZone
  6  = Command_ConstructAmericaParticleCannonUplink
  8  = Command_ConstructAmericaCommandCenter
End
CommandSet AmericaDozerCommandSetAlpha
  1  = Command_ConstructAmericaPowerPlant
  2  = Command_UpgradeGLAWorkerFakeCommandSet
  3  = Command_ConstructAmericaBarracks
  5  = Command_ConstructAmericaSupplyCenter
  7  = Command_ConstructAmericaPatriotBattery
  8  = Command_ConstructAmericaCommandCenter
  9  = Command_ConstructAmericaFireBase
  11 = Command_ConstructAmericaWarFactory
  13 = Command_ConstructAmericaAirfield
  14 = Command_DisarmMinesAtPosition
End

acidbrain
11 years ago
Just a little tip here, you only have to use the 'AddModule' once

Object AmericaVehicleDozer
  
 CommandSet = AmericaDozerCommandSetAlpha

 AddModule
  Behavior = CommandSetUpgrade ModuleTag_14
    TriggeredBy = Upgrade_GLAWorkerFakeCommandSet
    RemovesUpgrades = Upgrade_GLAWorkerRealCommandSet
    CommandSet = AmericaDozerCommandSetBeta
  End
  Behavior = CommandSetUpgrade ModuleTag_15
    TriggeredBy = Upgrade_GLAWorkerRealCommandSet
    RemovesUpgrades = Upgrade_GLAWorkerFakeCommandSet Upgrade_GLAWorkerRealCommandSet
    CommandSet = AmericaDozerCommandSetAlpha
  End
  Behavior = ProductionUpdate ModuleTag_16
    MaxQueueEntries = 1; For the command set switching upgrade
  End
 End  ; End AddModule
End

Greetz
Panem et kirkinses
Users browsing this topic