Ground Demon
17 years ago
hmm,i was wondering if it would be possible to add the prison camp fence,which is on the worlbuilder list and add it to the build list of the the Prison camp which gives you intelligence,
so what i am asking is if someone can put the prison camp fence next to Inteligence and so you can build the fence where you want as long as it is connected to the prison camp,so it costs 100-200$ to build it.

+ i will get my bro Sky Demon to add a shortcut to list down side of screen so you dont have to select Intelligence+Spy sat by clicking on the building to make them do availible.πŸ˜„

my brother can probably do this any ways but he is making AirForce sub-Faction for Generals.


Specialize in Modding.

Online Name:Ground_Demon
Sponsor
Me Myself and Pi
17 years ago
I'm confused on what you want to do here. Are you referring the Detention Camp in Generals? That has a fence already on it as part of the object.
krit
  • krit
  • 100% (Exalted)
  • Commander in Chief
17 years ago
Summerizing:
> He wants to give the Detention Camp a special ability to be able to construct chainlink fences.
> He wants to add the ZH style shortcut tabs down the right side of the screen.
UserPostedImage 
Ground Demon
17 years ago
Me Myself And pi:
Yes i mean the Detention Camp,
but i do not know as much as my brother (Sky Demon) on this stuff,
as you know he is making Sub-Faction.πŸ˜„
although i would like to make it myself but stillπŸ˜„

Krit:
You understand.



Is it possible?i mean on world builder list is prison Camp fence, so?

Specialize in Modding.

Online Name:Ground_Demon
Me Myself and Pi
17 years ago
I don't have any experience modifying the 3D objects. So I won't be able to help you there. As for just the special ability, that can be done. So would you like me or someone else to do it, or do you just need to know how? Also how to do you want the whole setup? Do you just want the camp to just have a command button that you click to purchase the intelligence ability?
Ground Demon
17 years ago
There is already a ready made Fence it just a matter of making it buildible,
i would like to do it on my own but i do not know how 😞
Do you know how when you purchase the A-10 or Fuel air bomb it gives you a tab at the side of the screen that is what i want for Spy Sat&Inteligence so when the Detention camp gets built it will show the inteligence at the side of the screen,
I want a command button that makes it so you can build a chainlink fence or another fence from the Detention Camp?❓

This may be asking to much of but is there a FAQ or Something to help me with the Shortcuts at the side of the screen (Spy Sat&Inteligence)?πŸ˜„



Specialize in Modding.

Online Name:Ground_Demon
Me Myself and Pi
17 years ago
In Generals, there's a limit of 5 shortcut command buttons. Currently, the Spy Drone, Emergency Repair, Paratroopers, A10's, & the Fuel Air Bomb take them up. So you'd need to sacrifice one of those if you want the Intelligence to come up. (They can still be choosen from the command center.) Creating the button is just a matter of copying the original command button & making a few changes for it being a shortcut command button. Then all you need to do is choose in the CommandSet.ini. I can give a more detailed explanation if you want.
Ground Demon
17 years ago
Sky Demon,
told me that the maximum amount is 6 if you change the playertemplate.ini,

It would be good if i or someone here could change the Intelligence tab thing on the detention camp and put it on the strategy Center because no one ever builds the Detention Camp.


lol,
I have managed to do that with help of Sky Demon,
so i answered my own Question,lol,

But when I Click on The Strategy center it is ther like i wanted but when i click on it it doesn`t actually do anything,
How Can i get It to work?

Do you have to have the command button on the command center for it to actualy create a shortcut at side of the screen?

Me and Sky Demon can`t get it to work everytime when we go to load the game it comes up with

Technical Difficulties!



Specialize in Modding.

Online Name:Ground_Demon
Me Myself and Pi
17 years ago
You'll also have to add the module to the Strategy Center's object code. So just add this in there:
  Behavior                   = SpyVisionSpecialPower SpyTag_1
    SpecialPowerTemplate     = SuperweaponCIAIntelligence   
    BaseDuration             =  30000 ;in milliseconds
    BonusDurationPerCaptured =  10000 ;in milliseconds
    MaxDuration              = 240000 ;in milliseconds    
  End
Ground Demon
17 years ago
PI:thanks for that..
but where is that ss it please so i get bearings on what to do cause it comeing up with Technical difficulties now.

Anyone actually able to put the prison fence buildable yet?

Specialize in Modding.

Online Name:Ground_Demon
CommieDog
17 years ago
I'm surprised that no one has mentioned this yet, but Generals doesn't have a real wall-building system. If you really want to be able to build walls of any sort, you'll have to build them one segment at a time. Also, there is no way to force a wall to be attached to another structure, such as a Detention Center or another wall segment.

As for your errors, try running WorldBuilder and see if that crashes as well.
UserPostedImage 
CommieDog: Because someone has to do your dirty work for you
Me Myself and Pi
17 years ago
CommieDog, I think he wants the fence to come up from an upgrade. Like the chinees radar.

That code I posted is from the Zero Hour strategy center. It's very similar to the dention camps code. But I don't think using either should make a difference. It goes under the *** ENGINEERING Parameters ***. I've posted the code from the detention camp so you know where it comes from.

Object AmericaDetentionCamp

  PlacementViewAngle = -45

  ; ***DESIGN parameters ***
  DisplayName         = OBJECT:DetentionCamp
  Side                = America
  EditorSorting       = STRUCTURE
  Prerequisites
    Object            = AmericaStrategyCenter 
  End
  BuildCost           = 1000
  BuildTime           = 30.0           ; in seconds
  EnergyProduction    = 0
  VisionRange         = 200.0           ; Shroud clearing distance
  ShroudClearingRange = 200
  ArmorSet
    Conditions        = None
    Armor             = StructureArmor
    DamageFX          = StructureDamageFXNoShake
  End
  CommandSet          = AmericaDetentionCampCommandSet
  ExperienceValue     = 100 100 100 100  ; Experience point value at each level

  ; *** AUDIO Parameters ***
  VoiceSelect         = DetentionCampSelect
  SoundDie              = BuildingDie
  SoundOnDamaged        = BuildingDamagedStateLight
  SoundOnReallyDamaged  = BuildingDestroy

  UnitSpecificSounds
    UnderConstruction     = UnderConstructionLoop
  End

  ; *** ENGINEERING Parameters ***
  RadarPriority       = STRUCTURE
  KindOf              = PRELOAD STRUCTURE SELECTABLE IMMOBILE SCORE CAPTURABLE FS_TECHNOLOGY MP_COUNT_FOR_VICTORY
  Body                = StructureBody ModuleTag_05
    MaxHealth         = 2000.0
    InitialHealth     = 2000.0
  End

  Behavior            = BaseRegenerateUpdate ModuleTag_08
    ;<NO DATA>
  End 
  Behavior            = DestroyDie ModuleTag_10
    ;<NO DATA>
  End
  Behavior            = CreateObjectDie ModuleTag_12
    CreationList      = OCL_ABPowerPlantExplode
  End

  Behavior            = CreateObjectDie ModuleTag_13
    CreationList      = OCL_AmericanRangerDebris08
    ExemptStatus      = UNDER_CONSTRUCTION
  End
  Behavior            = FXListDie ModuleTag_14
    DeathFX           = FX_StructureMediumDeath
  End

-------------------------------------------------------------------

  Behavior                   = SpyVisionSpecialPower ModuleTag_15 <-- Note, this number should be changed to somthing like 99.
    SpecialPowerTemplate     = SuperweaponCIAIntelligence   
    BaseDuration             =  30000 ;in milliseconds
    BonusDurationPerCaptured =  10000 ;in milliseconds
    MaxDuration              = 240000 ;in milliseconds    
  End

-------------------------------------------------------------------

  Behavior            = SpyVisionUpdate ModuleTag_16
    ;<NO DATA>
  End
   
  Behavior             = FlammableUpdate ModuleTag_18
    AflameDuration     = 5000         ; If I catch fire, I'll burn for this long...
    AflameDamageAmount = 5       ; taking this much damage...
    AflameDamageDelay  = 500       ; this often.
  End

  Behavior = TransitionDamageFX ModuleTag_19
    ;-------------DESIGNED FOR MEDIUM SIZED FACTION BUILDING TRANSITIONS-------------------
    DamagedParticleSystem1       = Bone:None RandomBone:No PSys:StructureTransitionMediumSmoke
    ;---------------------------------------------------------------------------------------
    ReallyDamagedParticleSystem1 = Bone:None RandomBone:No PSys:StructureTransitionMediumSmoke
    ReallyDamagedParticleSystem2 = Bone:None RandomBone:No PSys:StructureTransitionMediumExplosion
    ReallyDamagedParticleSystem3 = Bone:None RandomBone:No PSys:StructureTransitionMediumShockwave
  End

  Geometry            = BOX
  GeometryMajorRadius = 49.0
  GeometryMinorRadius = 63.0
  GeometryHeight      = 35.0
  GeometryIsSmall     = No
  Shadow              = SHADOW_VOLUME
  BuildCompletion     = PLACED_BY_PLAYER

End
Ground Demon
17 years ago
CommieDog:
My worldbuilder works.>but what do you mean by no proper Fencing tool?

PI:
I have used your code.everything loads alright but when i build the strategy center, Intelligence is there but i click on it but nothing happens could it be cause i have First Decade pack?or is to do with the ZH Code?

Specialize in Modding.

Online Name:Ground_Demon
Me Myself and Pi
17 years ago
Nah, from what I've heard, the First Decade isn't any different.

If you've added this code in the enginerring perremeters:
  Behavior                   = SpyVisionSpecialPower ModuleTag_99
    SpecialPowerTemplate     = SuperweaponCIAIntelligence   
    BaseDuration             =  30000 ;in milliseconds
    BonusDurationPerCaptured =  10000 ;in milliseconds
    MaxDuration              = 240000 ;in milliseconds    
  End
Then everything should work. If not, upload the FactionBuilding.ini file so I can check it out for myself.
Ground Demon
17 years ago
File Attached:   Faction Building.zip (90kb) downloaded 8 time(s).

Specialize in Modding.

Online Name:Ground_Demon
Me Myself and Pi
17 years ago
Odd, it's works for me. Does the command set for you look like this:
CommandSet AmericaStrategyCenterCommandSet
  1 = Command_InitiateBattlePlanBombardment
  2 = Command_CIAIntelligence
  3 = Command_InitiateBattlePlanHoldTheLine
  5 = Command_InitiateBattlePlanSearchAndDestroy
  8 = Command_UpgradeAmericaCompositeArmor
  9 = Command_UpgradeAmericaAdvancedTraining
 10 = Command_UpgradeAmericaDroneArmor
 11 = Command_StrategyCenter_Stop
 12 = Command_Sell   
End
Ground Demon
17 years ago
No mine is,
CommandSet AmericaStrategyCenterCommandSet
  1 = Command_InitiateBattlePlanBombardment
  3 = Command_InitiateBattlePlanHoldTheLine
  5 = Command_InitiateBattlePlanSearchAndDestroy
  4 = Command_CIAIntelligence
  8 = Command_UpgradeAmericaCompositeArmor
  9 = Command_UpgradeAmericaAdvancedTraining
 10 = Command_UpgradeAmericaDroneArmor
 11 = Command_StrategyCenter_Stop
 12 = Command_Sell   
End


Specialize in Modding.

Online Name:Ground_Demon
CommieDog
17 years ago

but what do you mean by no proper Fencing tool?

Ground Demon wrote:


I mean that you can't build walls effectively like you could in TS and RA2. If you really want fencing or walls, then you'll have to settle for building them one segment at a time.
UserPostedImage 
CommieDog: Because someone has to do your dirty work for you
Ground Demon
17 years ago
That is better than nothingπŸ‘ so do you know how to put it onto your build list?





NOTE:
I AM GOING ON HOLIDAY FOR A WEEK!

So please dont send 20,0000 Questions over that week but just try and leave some with me😁


Specialize in Modding.

Online Name:Ground_Demon
Me Myself and Pi
17 years ago
Well it looks like that should work. Could you upload your entire mod so I can thorley investigate it?