Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
Offline costarica1  
#1 Posted : Friday, May 25, 2018 6:07:02 PM(UTC)
costarica1
Private
Joined: 5/25/2018(UTC)
Posts: 23
Italy

Thanks: 5 times
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
Offline renaissance  
#2 Posted : Friday, May 25, 2018 6:37:15 PM(UTC)
renaissance
Moderator
C&C Labs Staff: Labs Staff MemberThe Forgotten Staff: The Forgotten StaffAll Stars Staff: All Stars Staff
Joined: 7/6/2004(UTC)
Posts: 944
Canada
Location: Canada

Thanks: 15 times
Was thanked: 10 time(s) in 7 post(s)
Unit.ini > under Burton find the "Hero unit" variable, copy paste.

Edited by user Friday, May 25, 2018 6:38:24 PM(UTC)  | Reason: Not specified

UserPostedImage
Offline costarica1  
#3 Posted : Saturday, May 26, 2018 4:05:01 AM(UTC)
costarica1
Private
Joined: 5/25/2018(UTC)
Posts: 23
Italy

Thanks: 5 times
Originally Posted by: renaissance Go to Quoted Post
Unit.ini > under Burton find the "Hero unit" variable, copy paste.

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

Offline rey  
#4 Posted : Saturday, May 26, 2018 4:37:45 AM(UTC)
rey
Major
Joined: 11/6/2015(UTC)
Posts: 152

Thanks: 8 times
Was thanked: 4 time(s) in 4 post(s)
MaxSimultaneousOfType = 1
search and think.
thanks 1 user thanked rey for this useful post.
costarica1 on 5/28/2018(UTC)
Offline Unknown Editor  
#5 Posted : Saturday, May 26, 2018 7:25:56 AM(UTC)
Unknown Editor
Major
Joined: 3/22/2017(UTC)
Posts: 278
Location: Some where on Earth

Thanks: 123 times
Was thanked: 69 time(s) in 59 post(s)
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%
thanks 1 user thanked Unknown Editor for this useful post.
acidbrain on 5/26/2018(UTC)
Offline acidbrain  
#6 Posted : Saturday, May 26, 2018 7:30:58 AM(UTC)
acidbrain
General
Joined: 12/30/2011(UTC)
Posts: 982

Thanks: 95 times
Was thanked: 574 time(s) in 364 post(s)
Originally Posted by: Unknown Editor Go to Quoted Post
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 !

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

Panem et kirkinses
Offline SkyMix_RMT  
#7 Posted : Saturday, May 26, 2018 8:47:44 AM(UTC)
SkyMix_RMT
Major
Joined: 2/21/2015(UTC)
Posts: 386
Portugal

Thanks: 80 times
Was thanked: 132 time(s) in 96 post(s)
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
Offline costarica1  
#8 Posted : Saturday, May 26, 2018 12:29:35 PM(UTC)
costarica1
Private
Joined: 5/25/2018(UTC)
Posts: 23
Italy

Thanks: 5 times
Originally Posted by: Unknown Editor Go to Quoted Post
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 !


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

Offline Unknown Editor  
#9 Posted : Saturday, May 26, 2018 8:46:12 PM(UTC)
Unknown Editor
Major
Joined: 3/22/2017(UTC)
Posts: 278
Location: Some where on Earth

Thanks: 123 times
Was thanked: 69 time(s) in 59 post(s)
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) ... ... ...

Edited by user Saturday, May 26, 2018 8:54:00 PM(UTC)  | Reason: Specified

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%
Offline renaissance  
#10 Posted : Saturday, May 26, 2018 9:24:34 PM(UTC)
renaissance
Moderator
C&C Labs Staff: Labs Staff MemberThe Forgotten Staff: The Forgotten StaffAll Stars Staff: All Stars Staff
Joined: 7/6/2004(UTC)
Posts: 944
Canada
Location: Canada

Thanks: 15 times
Was thanked: 10 time(s) in 7 post(s)
Originally Posted by: costarica1 Go to Quoted Post
Originally Posted by: renaissance Go to Quoted Post
Unit.ini > under Burton find the "Hero unit" variable, copy paste.

there`s no unit.ini file in extracted data folder.
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
Offline Zatsupachi  
#11 Posted : Monday, May 28, 2018 12:17:19 AM(UTC)
Zatsupachi
Major
Joined: 3/27/2015(UTC)
Posts: 490

Thanks: 5 times
Was thanked: 213 time(s) in 155 post(s)
Originally Posted by: rey Go to Quoted Post
MaxSimultaneousOfType = 1


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/mod...oads/death-label-ver-099

Next Episode:
precision_bomber's Zero Hour SCIENCE!
thanks 1 user thanked Zatsupachi for this useful post.
costarica1 on 5/28/2018(UTC)
Offline costarica1  
#12 Posted : Monday, May 28, 2018 5:07:36 AM(UTC)
costarica1
Private
Joined: 5/25/2018(UTC)
Posts: 23
Italy

Thanks: 5 times
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
Offline Zatsupachi  
#13 Posted : Monday, May 28, 2018 6:03:20 AM(UTC)
Zatsupachi
Major
Joined: 3/27/2015(UTC)
Posts: 490

Thanks: 5 times
Was thanked: 213 time(s) in 155 post(s)
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.

Edited by user Monday, May 28, 2018 6:06:12 AM(UTC)  | Reason: Not specified

"It's precision_bomber."

Death Label HAS BEEN RELEASED(go get v0.99):
http://www.moddb.com/mod...oads/death-label-ver-099

Next Episode:
precision_bomber's Zero Hour SCIENCE!
thanks 1 user thanked Zatsupachi for this useful post.
costarica1 on 5/28/2018(UTC)
Offline costarica1  
#14 Posted : Monday, May 28, 2018 7:47:08 AM(UTC)
costarica1
Private
Joined: 5/25/2018(UTC)
Posts: 23
Italy

Thanks: 5 times
ok, done, I just didn`t find yesterday upgrade.ini file. I was looking for it in object folder instead.Mischievous

you can check the result if want, only 0.5mb video file. watch with pause. thanks. that`s all.
https://ufile.io/qbx7z
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.