costarica1
  • costarica1
  • 50.25% (Neutral)
  • Private Topic Starter
7 years ago
ANy help, how to make for example Helix china helicopter available to buy only 1 time, and then not being available to buy it until the first helicopter dies.
Sponsor
renaissance
7 years ago
Unit.ini > under Burton find the "Hero unit" variable, copy paste.
UserPostedImage
costarica1
  • costarica1
  • 50.25% (Neutral)
  • Private Topic Starter
7 years ago

Unit.ini > under Burton find the "Hero unit" variable, copy paste.

Originally Posted by: renaissance 


there`s no unit.ini file in extracted data folder.

rey
  • rey
  • 52.5% (Neutral)
  • Major
7 years ago
MaxSimultaneousOfType = 1
search and think.
Unknown Editor
7 years ago
But this usually works a little buggy (at least with map.ini)
You can order 9 with each producer and when 1 is built , then it will be Locked .
So , 8 others will also be built !
Asking is Not a Problem , Problem is Not to Know Something .
Operation : Dark Angel
Static : Launch Delayed
Reason : Uncool Terrain - Old Logic in use - Lack of Performance
Status : Applying new Terrain - Applying new Logic - Increasing Performance by 300%
acidbrain
7 years ago

But this usually works a little buggy (at least with map.ini)
You can order 9 with each producer and when 1 is built , then it will be Locked .
So , 8 others will also be built !

Originally Posted by: Unknown Editor 


It seems like rey didnt think it through...:P


Panem et kirkinses
SkyMix_RMT
7 years ago
You can limit how many things you can queue in a production building to avoid this.
Check out:
My Music  (Techno/House/Experimental)
My Website  (GeneralsCentral)
My Youtube Channel  (Inactive)
World Builder Community Discord 
costarica1
  • costarica1
  • 50.25% (Neutral)
  • Private Topic Starter
7 years ago

But this usually works a little buggy (at least with map.ini)
You can order 9 with each producer and when 1 is built , then it will be Locked .
So , 8 others will also be built !

Originally Posted by: Unknown Editor 



so, in what file is that? it is about vehicle or unit, but not building.

Unknown Editor
7 years ago
About the main File , It's called "INI" OR "INIZH" .
Now if you have them extracted or if you are looking in them using "Dragon Unpacker" The file you are looking for
In C&C Generals is : Data\INI\Object\FactionUnit.ini
In C&C Generals ZH : Data\INI\Object\AmericaInfantry.ini
You can also open INI files with Notepad and then look for "Object AmericaInfantryColonelBurton"

How about an upgrade , Like American Drons : When one dies you can actually build another one .
But also , If you have more than 1 producer , it can be a trouble .

Loading more (if there is) ... ... ...
Asking is Not a Problem , Problem is Not to Know Something .
Operation : Dark Angel
Static : Launch Delayed
Reason : Uncool Terrain - Old Logic in use - Lack of Performance
Status : Applying new Terrain - Applying new Logic - Increasing Performance by 300%
renaissance
7 years ago

Unit.ini > under Burton find the "Hero unit" variable, copy paste.

Originally Posted by: costarica1 


there`s no unit.ini file in extracted data folder.

Originally Posted by: renaissance 

Sorry about that. I was thinking of the wrong game. It's been to long. This is why I abstain from helping these days.
UserPostedImage
Zatsupachi
7 years ago

MaxSimultaneousOfType = 1

Originally Posted by: rey 



Just slap this on your object code and be done with it, nothing complicated about it.
"It's precision_bomber."
Death Label HAS BEEN RELEASED(go get v0.99):
http://www.moddb.com/mods/death-label/downloads/death-label-ver-099 
Next Episode:
precision_bomber's Zero Hour SCIENCE!
costarica1
  • costarica1
  • 50.25% (Neutral)
  • Private Topic Starter
7 years ago
ok, done, it`s working with any unit. thanks.

anyone can tell if it is possible, using glabuilding.ini file. I wanted to add button for additional energy in command center, added buttons from americabuilding.ini and it is working and is seen. but the build cost of this energy is 1$, i need to indicate this like 50000. and this energy upgrade builds in 2 seconds, too fast for me. any help?

; ***DESIGN parameters ***
DisplayName = OBJECT:CommandCenter
Side = GLA
EditorSorting = STRUCTURE
BuildCost = 2000
BuildTime = 45.0
EnergyProduction = 3;5;0
EnergyBonus = 50 I edited this like bonus energy which works and adds me 50 additional en.
CommandSet = GLACommandCenterCommandSet
VisionRange = 300.0
ShroudClearingRange = 300
ArmorSet
Conditions = None
Armor = StructureArmorTough
DamageFX = StructureDamageFXNoShake
End
ArmorSet
Conditions = PLAYER_UPGRADE
Armor = GLAUpgradedStructureArmorTough
DamageFX = StructureDamageFXNoShake
End

ExperienceValue = 200 200 200 200
MaxSimultaneousOfType = DeterminedBySuperweaponRestriction
MaxSimultaneousLinkKey = Superweapon

; *** AUDIO Parameters ***
VoiceSelect = CommandCenterGLASelect
SoundOnDamaged = BuildingDamagedStateLight
SoundOnReallyDamaged = BuildingDestroy

UnitSpecificSounds
UnderConstruction = UnderConstructionLoop
End


; *** ENGINEERING Parameters ***
RadarPriority = STRUCTURE
KindOf = EMP_HARDENED PRELOAD STRUCTURE SELECTABLE IMMOBILE COMMANDCENTER CAPTURABLE FS_FACTORY AUTO_RALLYPOINT MP_COUNT_FOR_VICTORY SCORE_CREATE FS_TECHNOLOGY FS_SUPERWEAPON NO_HEAL_ICON NO_HEAL_ICON
Body = StructureBody ModuleTag_04
MaxHealth = 5000.0
InitialHealth = 5000.0

SubdualDamageCap = 5200
SubdualDamageHealRate = 500
SubdualDamageHealAmount = 100
End

This I also added to the file below.

Behavior = PowerPlantUpgrade ModuleTag_07
TriggeredBy = Upgrade_PowerEx
End
Behavior = BaseRegenerateUpdate ModuleTag_08
;No data
End
Behavior = PowerPlantUpdate ModuleTag_09
RodsExtendTime = 600
End
Zatsupachi
7 years ago
Very unclear. What do you mean by: "Indicate"?

a)Indicate the price in tooltips when purchasing the upgrade?
-->Go look the upgrade entry in upgrade.ini

b)Indicate the change in power/cost through a text popup?
-->Sorry, no dice here mate.

c)Indicate the upgrade taking effect on the command center.
-->Do you have a custom model that you can assign the ConditionState "POWER_PLANT_UPGRADED"?
-->What change on the building do you want to see?

You can once more, look at the upgrade entry in upgrade.ini for the properties of said upgrade.
"It's precision_bomber."
Death Label HAS BEEN RELEASED(go get v0.99):
http://www.moddb.com/mods/death-label/downloads/death-label-ver-099 
Next Episode:
precision_bomber's Zero Hour SCIENCE!
costarica1
  • costarica1
  • 50.25% (Neutral)
  • Private Topic Starter
7 years ago
ok, done, I just didn`t find yesterday upgrade.ini file. I was looking for it in object folder instead.:mischiev:

you can check the result if want, only 0.5mb video file. watch with pause. thanks. that`s all.
https://ufile.io/qbx7z