Posted by: Ground Demon - Saturday, August 2, 2008 5:53:47 PM
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.[smile] my brother can probably do this any ways but he is making AirForce sub-Faction for Generals.

Posted by: Me Myself and Pi - Sunday, August 3, 2008 8:15:59 PM
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.

Posted by: krit - Sunday, August 3, 2008 8:25:38 PM
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.

Posted by: Ground Demon - Monday, August 4, 2008 9:55:09 AM
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.[smile] although i would like to make it myself but still[smile] Krit: You understand. Is it possible?i mean on world builder list is prison Camp fence, so?

Posted by: Me Myself and Pi - Monday, August 4, 2008 11:25:33 AM
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?

Posted by: Ground Demon - Monday, August 4, 2008 5:00:21 PM
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 [sad] 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?[question] 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)?[smile]

Posted by: Me Myself and Pi - Monday, August 4, 2008 5:29:22 PM
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.

Posted by: Ground Demon - Wednesday, August 6, 2008 4:47:40 AM
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 [quote]Technical Difficulties![/quote]

Posted by: Me Myself and Pi - Wednesday, August 6, 2008 8:12:59 AM
You'll also have to add the module to the Strategy Center's object code. So just add this in there: [code] Behavior = SpyVisionSpecialPower SpyTag_1 SpecialPowerTemplate = SuperweaponCIAIntelligence BaseDuration = 30000 ;in milliseconds BonusDurationPerCaptured = 10000 ;in milliseconds MaxDuration = 240000 ;in milliseconds End[/code]

Posted by: Ground Demon - Wednesday, August 6, 2008 12:21:30 PM
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?

Posted by: CommieDog - Thursday, August 7, 2008 8:47:52 AM
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.

Posted by: Me Myself and Pi - Thursday, August 7, 2008 11:46:03 AM
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 [b]*** ENGINEERING Parameters ***[/b]. I've posted the code from the detention camp so you know where it comes from. [code]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 ; End Behavior = DestroyDie ModuleTag_10 ; 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 ; 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[/code]

Posted by: Ground Demon - Friday, August 8, 2008 6:16:17 AM
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?

Posted by: Me Myself and Pi - Friday, August 8, 2008 6:29:30 AM
Nah, from what I've heard, the First Decade isn't any different. If you've added this code in the enginerring perremeters: [code] Behavior = SpyVisionSpecialPower ModuleTag_99 SpecialPowerTemplate = SuperweaponCIAIntelligence BaseDuration = 30000 ;in milliseconds BonusDurationPerCaptured = 10000 ;in milliseconds MaxDuration = 240000 ;in milliseconds End[/code] Then everything should work. If not, upload the FactionBuilding.ini file so I can check it out for myself.

Posted by: Ground Demon - Friday, August 8, 2008 6:33:19 AM
File Attached: [ATTACH]11[/Attach]

Posted by: Me Myself and Pi - Friday, August 8, 2008 7:14:07 AM
Odd, it's works for me. Does the command set for you look like this: [code]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[/code]

Posted by: Ground Demon - Friday, August 8, 2008 7:23:36 AM
No mine is, [code]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 [/code]

Posted by: CommieDog - Friday, August 8, 2008 8:04:39 AM
[quote=Ground Demon]but what do you mean by no proper Fencing tool?[/quote] 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.

Posted by: Ground Demon - Friday, August 8, 2008 9:50:35 AM
That is better than nothing[+1] so do you know how to put it onto your build list? NOTE: [u][b]I AM GOING ON HOLIDAY FOR A WEEK![/b][/U] So please dont send 20,0000 Questions over that week but just try and leave some with me[grin]

Posted by: Me Myself and Pi - Friday, August 8, 2008 10:50:57 AM
Well it looks like that should work. Could you upload your entire mod so I can thorley investigate it?

Posted by: Ground Demon - Friday, August 8, 2008 1:06:28 PM
KK me leaving 15:00 GMT tommorow wont be back in a week. [ATTACH]14[/Attach]

Posted by: Me Myself and Pi - Friday, August 8, 2008 2:06:51 PM
Okay, the problem is simple. In the .big file you have the FactionBuilding.ini file only in an [b]Object[/b] folder. That needs to be in the [b]INI[/b] folder which needs to be in the [b]Data[/b] folder. So rename it from, Object\FactionBuilding.ini to [b]Data\INI\Object\FactionBuilding.ini[/b]. Although since you have the original FactionBuilding.ini file in that .big file, you'll need to remove it before renaming the modified one.

Posted by: Ground Demon - Saturday, August 9, 2008 3:48:55 AM
It still doesn`t work,all it does is you click it then it goes bling and starts to recharge but it doesn`t reveal the map? y?

Posted by: Ground Demon - Friday, August 29, 2008 5:43:57 AM
Reply Please.

Posted by: Me Myself and Pi - Friday, August 29, 2008 12:29:02 PM
Over a long time, I think it's okay to post a new reply rather then to just edit your last post. Since the forum migration awhile ago, topics haven't been bumped to the top of the list just by editing a post. So if you want me to reply to a topic that hasn't been active in several weeks, you'll need to post a reply. Anyway, I'll need your mod file(s) again to find the problem.

Posted by: Ground Demon - Sunday, August 31, 2008 6:09:49 AM
i don`t know what the problem is but here you go. [ATTACH]41[/Attach]

Posted by: Me Myself and Pi - Monday, September 1, 2008 8:58:36 AM
Okay, I figured out how to fix it. You need to add: [code] Behavior = SpyVisionUpdate ModuleTag_099 ; End[/code] to it. Which is weird because it doesn't have any data. As for the shortcut command button, I found that you can't raise the limit in the PlayerTemplate.ini. The game doesn't crash, but the intelligence command button doesn't come up when it's in the 6th slot. So you'll need to sacrifice a shortcut.