UTD^Force
  • UTD^Force
  • 71.25% (Friendly)
  • Colonel Topic Starter
11 years ago
Ok, now I'm working on a small mod, I need help with how to make the fire base spawn sentry drones in it when built.
I've been trying for... Ok, 20 minutes and I got bored of failing.
Here's what I've added:
  Behavior = SpawnPointProductionExitUpdate ModuleTag_123
    SpawnPointBoneName = Station
  End

  Behavior                = SpawnBehavior ModuleTag_321
    SpawnNumber           = 4
    SpawnReplaceDelay     = 30000 ;msec
    SpawnTemplateName     = AmericaVehicleSentryDrone
    CanReclaimOrphans     = No
    SpawnedRequireSpawner = Yes
    SlavesHaveFreeWill = No
  End
I've also removed these:

ExtraPublicBone = Station01
ExtraPublicBone = Station02
ExtraPublicBone = Station03
ExtraPublicBone = Station04


And the garrison contain behavior.


Any help will be appreciated 🙂
A Muslim, ask me anything about Islam if you want
UTD^Force
Moderator and former map reviewer
Big fan of C&C Labs
Sponsor
klingondragon
11 years ago
i would use this:

  Behavior = TransportContain ModuleTag_06
    Slots                 = 4
    InitialPayload        = AmericaVehicleSentryDrone 4
    ...
    ...
    ...
  End
from the china troop crawler
UTD^Force
  • UTD^Force
  • 71.25% (Friendly)
  • Colonel Topic Starter
11 years ago
Thanks for your help Klingon, but another failure.
I've also tried it without removing anything, but another failure.
Also, I've read the Tips and Tricks topic hoping to find a solution, but they wrote the same as I wrote, and another failure.


Any help? 😞
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
Well all I can do is suggest ideas as my dad has locked me out of generals and the internet and anything else I may want to use on the laptop so ive only got my phone
UTD^Force
  • UTD^Force
  • 71.25% (Friendly)
  • Colonel Topic Starter
11 years ago

Well all I can do is suggest ideas as my dad has locked me out of generals and the internet and anything else I may want to use on the laptop so ive only got my phone

Originally Posted by: KlingonDragon 



I said thank you, and I didn't mean to say you didn't help...
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
I was just informing you of my predicament
Gameanater
11 years ago

Well all I can do is suggest ideas as my dad has locked me out of generals and the internet and anything else I may want to use on the laptop so ive only got my phone

Originally Posted by: KlingonDragon 



Parents!

Seriously though, I feel bad for you. 😞
Any old friends still on here can add me on discord @jcdenton2187. I'm far more likely to respond there.
klingondragon
11 years ago
Give me a week to do all the homework that's late and I should be able to test my ideas before I share them and I can get back to making my maps and mods
Rrtaya_tsamsiyu
11 years ago
hmm. Did you add the production update using the code from the tips topic?
Also, could use stinger site logic, might have to edit the firebase bones though.
one soul at a time
menard
  • menard
  • 50.25% (Neutral)
  • Major
11 years ago
The firebase doesn't have Spawnbone sir maybe you need to add a bone Using RenX or the sentrydrone doesn't fit to firebase.I don't know but i guess you need to replace this code.

Behavior = SpawnBehavior ModuleTag_321
SpawnNumber = 4
SpawnReplaceDelay = 30000 ;msec
SpawnTemplateName = AmericaVehicleSentryDrone
CanReclaimOrphans = No
SpawnedRequireSpawner = Yes
SlavesHaveFreeWill = No
OneShot = No
End
precision_bomber
11 years ago


-snip-

  Behavior = SpawnPointProductionExitUpdate ModuleTag_123
    SpawnPointBoneName = Station
  End

  Behavior                = SpawnBehavior ModuleTag_321
    SpawnNumber           = 4
    SpawnReplaceDelay     = 30000 ;msec
    SpawnTemplateName     = AmericaVehicleSentryDrone
    CanReclaimOrphans     = No
    SpawnedRequireSpawner = Yes
    SlavesHaveFreeWill = No
  End

-snip-

Originally Posted by: UTD^Force 


this is okay.


I've also removed these:

ExtraPublicBone = Station01
ExtraPublicBone = Station02
ExtraPublicBone = Station03
ExtraPublicBone = Station04

Originally Posted by: UTD^Force 



Why? You don't have to.

Try removing GarrisonContain
But then again, I don't know the whole code for your firebase.

Also you might wanna make AmericaVehicleSentryDrone(or make a separate object) into infantry.
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
Gameanater
11 years ago


  Behavior = SpawnPointProductionExitUpdate ModuleTag_123
    SpawnPointBoneName = Station
  End

  Behavior                = SpawnBehavior ModuleTag_321
    SpawnNumber           = 4
    SpawnReplaceDelay     = 30000 ;msec
    SpawnTemplateName     = AmericaVehicleSentryDrone
    CanReclaimOrphans     = No
    SpawnedRequireSpawner = Yes
    SlavesHaveFreeWill = No
  End

Originally Posted by: UTD^Force 



That code looks fine to me, just don't remove the garrison behavior and don't remove the extra public bone thingies.

Like bomber said I'd probably make a duplicate of the Sentry Drone with the KindOf as INFANRTY and not VEHICLE to insure it works better.

Just give the Firebase the StopOnlyGenericCommandSet to prevent the player from being able to evacuate the Sentry Drones, and your problem should be solved.
Any old friends still on here can add me on discord @jcdenton2187. I'm far more likely to respond there.
UTD^Force
  • UTD^Force
  • 71.25% (Friendly)
  • Colonel Topic Starter
11 years ago



I've also removed these:

ExtraPublicBone = Station01
ExtraPublicBone = Station02
ExtraPublicBone = Station03
ExtraPublicBone = Station04

Originally Posted by: precision_bomber 


Originally Posted by: UTD^Force 


Why? You don't have to.

Try removing GarrisonContain
But then again, I don't know the whole code for your firebase.

Also you might wanna make AmericaVehicleSentryDrone(or make a separate object) into infantry.



I've already tried it without removing anything and it failed, I've also tried it with only removing GarrisonContain and it failed.

I will try again by making the separate sentry drone unit INFANTRY instead of VEHICLE.

Thanks for help.
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
  • UTD^Force
  • 71.25% (Friendly)
  • Colonel Topic Starter
11 years ago
I have just remembered, I also tried spawning infantry, but it failed.

@Rrtaya, yes the same code.
@bomber, can you send me back the fixed bones models that you sent to me two or four months ago?
A Muslim, ask me anything about Islam if you want
UTD^Force
Moderator and former map reviewer
Big fan of C&C Labs
acidbrain
11 years ago

Ok, now I'm working on a small mod, I need help with how to make the fire base spawn sentry drones in it when built.
I've been trying for... Ok, 20 minutes and I got bored of failing.
Here's what I've added:

  Behavior = SpawnPointProductionExitUpdate ModuleTag_123
    SpawnPointBoneName = Station
  End

  Behavior                = SpawnBehavior ModuleTag_321
    SpawnNumber           = 4
    SpawnReplaceDelay     = 30000 ;msec
    SpawnTemplateName     = AmericaVehicleSentryDrone
    CanReclaimOrphans     = No
    SpawnedRequireSpawner = Yes
    SlavesHaveFreeWill = No
  End
I've also removed these:

ExtraPublicBone = Station01
ExtraPublicBone = Station02
ExtraPublicBone = Station03
ExtraPublicBone = Station04

Originally Posted by: UTD^Force 


And the garrison contain behavior.


Any help will be appreciated :)



The code works fine, dont remove the ExtraPublicBone, remove GarrisonContain module.
Tested it in my mod so i used Tnk_AmericaVehicleSentryDrone.


  Behavior = SpawnPointProductionExitUpdate ModuleTag_123
    SpawnPointBoneName = Station
  End

  Behavior                = SpawnBehavior ModuleTag_08
    SpawnNumber           = 4
    SpawnReplaceDelay     = 30000 ;msec
    SpawnTemplateName     = Tnk_AmericaVehicleSentryDrone
    CanReclaimOrphans     = No
    SpawnedRequireSpawner = Yes
    SlavesHaveFreeWill = No
  End

;  Behavior = GarrisonContain ModuleTag_07
;    ContainMax                   = 4
;    EnterSound                   = GarrisonEnter
;    ExitSound                    = GarrisonExit
;    ImmuneToClearBuildingAttacks = Yes
;    DamagePercentToUnits         = 100%
;    IsEnclosingContainer         = No
;  End

Panem et kirkinses
UTD^Force
  • UTD^Force
  • 71.25% (Friendly)
  • Colonel Topic Starter
11 years ago
I've just tested it... Failed...

I'm doing exactly what you and bomber did, why is this happening?
A Muslim, ask me anything about Islam if you want
UTD^Force
Moderator and former map reviewer
Big fan of C&C Labs
Rrtaya_tsamsiyu
11 years ago
i'm guessing it's something else in your code that's causing this. Maybe some module that's incompatible with this, or your missing some module?
one soul at a time
UTD^Force
  • UTD^Force
  • 71.25% (Friendly)
  • Colonel Topic Starter
11 years ago
All I did was adding the spawn behavior and the spawn point. (in the last try). And without removing anything but the garrison contain behavior.

Can anyone *points his finger at precision bomber* send me his fire base's code that spawns sentry drones? *and the other finger at acidbrain*
A Muslim, ask me anything about Islam if you want
UTD^Force
Moderator and former map reviewer
Big fan of C&C Labs
precision_bomber
11 years ago
The 'badass' firebase from a few months ago.

Dropbox 

these are on .txts
you need to insert them into the .inis
I'm to laz to .big them right now.

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
UTD^Force
  • UTD^Force
  • 71.25% (Friendly)
  • Colonel Topic Starter
11 years ago
Thanks!
A Muslim, ask me anything about Islam if you want
UTD^Force
Moderator and former map reviewer
Big fan of C&C Labs