Posted by: BacardiCoke - Thursday, October 5, 2017 3:46:33 PM
;###############################
; #### Start of OilDerrick ####
;###############################
Object TechOilDerrick
ReplaceModule ModuleTag_03
Body = ActiveBody ModuleTag_03_Override
MaxHealth = 1975.0 ; original = 2000.0
InitialHealth = 1975.0 ; original = 2000.0
End
End
ReplaceModule ModuleTag_04
Behavior = AutoDepositUpdate ModuleTag_04_Override
DepositTiming = 300
DepositAmount = 5
InitialCaptureBonus = 1000
End
End
End
;original deposit timing=12000 milliseconds, deposit amount=200, initial capture bonus=1000
; #### End of OilDerrick ####
;#############################
;####################################
; #### Start of "no moneymaker" ####
;####################################
Object AmericaSupplyDropZone
MaxSimultaneousOfType = 3
End
Object AirF_AmericaSupplyDropZone
MaxSimultaneousOfType = 3
End
Object Lazr_AmericaSupplyDropZone
MaxSimultaneousOfType = 3
End
Object SupW_AmericaSupplyDropZone
MaxSimultaneousOfType = 3
End
Object ChinaInfantryHacker
MaxSimultaneousOfType = 6
End
Object Infa_ChinaInfantryHacker
MaxSimultaneousOfType = 6
End
Object Nuke_ChinaInfantryHacker
MaxSimultaneousOfType = 6
End
Object Tank_ChinaInfantryHacker
MaxSimultaneousOfType = 6
End
Object GLABlackMarket
MaxSimultaneousOfType = 3
End
Object Demo_GLABlackMarket
MaxSimultaneousOfType = 3
End
Object Slth_GLABlackMarket
MaxSimultaneousOfType = 3
End
Object Chem_GLABlackMarket
MaxSimultaneousOfType = 3
End
; #### End of "no moneymaker" ####
;##################################
Posted by: SkyMix_RMT - Thursday, October 5, 2017 4:22:02 PM
You have to restart the game when you add a map.ini
Posted by: BacardiCoke - Thursday, October 5, 2017 4:38:41 PM
[quote=SkyMix_RMT;146412]You have to restart the game when you add a map.ini[/quote]
Yes, game was more times restarted
Posted by: SkyMix_RMT - Thursday, October 5, 2017 6:08:09 PM
I don't see what's wrong here, I'll have to see for myself.
Can you upload the map?
Posted by: BacardiCoke - Thursday, October 5, 2017 6:29:42 PM
[quote=SkyMix_RMT;146415]I don't see what's wrong here, I'll have to see for myself.
Can you upload the map?[/quote]
[url=http://filehorst.de/d/cvpaCGnu]load from filehorst.de: real survival 2v2_1 oil_no moneymaker - maybe not final version.7z[/url]
I think, I found the mistake... the filename is Map.ini.txt
I dont saw it because my settings was wrong...
After the change it works :)
Don't you have Problems with Hackers Construction and ORDER ?
Posted by: BacardiCoke - Friday, October 6, 2017 4:44:52 AM
[quote=Unknown Editor;146418]Don't you have Problems with Hackers Construction and ORDER ?[/quote]
What you meaning?
My english is not perfect and the translater can't traslate it for me that I understood.
It give a way that every one can build more than hackers or dz/bm, but I think that is not preventable.
And I think that 7 oder 6 hackers are good amount.
Posted by: Jundiyy - Friday, October 6, 2017 11:09:42 AM
I've got a question for you, is it still possible to make more hackers with your INI? Make sure you have enough money, save up your money then kill all your hackers, now make 2 or 3 barracks and fill them all up with hackers, can you make more than 6/7 at once?
If so, you need to have some sort of code which denies more hackers queuing up at once.
I can't remember it at the moment, maybe someone else can, but it's something to do with the queue limit.
Posted by: SkyMix_RMT - Friday, October 6, 2017 11:32:16 AM
[quote=Jundiyy;146423]If so, you need to have some sort of code which denies more hackers queuing up at once.
I can't remember it at the moment, maybe someone else can, but it's something to do with the queue limit
[/quote]
you mean this
[code=plain]
AddModule
Behavior = ProductionUpdate ModuleTag_??
MaxQueueEntries = 1; So you can't build multiple upgrades in the same frame
End
End
[/code]
Posted by: BacardiCoke - Friday, October 6, 2017 2:06:22 PM
[quote=Jundiyy;146423]I've got a question for you, is it still possible to make more hackers with your INI? Make sure you have enough money, save up your money then kill all your hackers, now make 2 or 3 barracks and fill them all up with hackers, can you make more than 6/7 at once?
If so, you need to have some sort of code which denies more hackers queuing up at once.
I can't remember it at the moment, maybe someone else can, but it's something to do with the queue limit.[/quote]
This is a way that I meaning.
[quote=SkyMix_RMT;146424]
[code=plain]
AddModule
Behavior = ProductionUpdate ModuleTag_??
MaxQueueEntries = 1; So you can't build multiple upgrades in the same frame
End
End
[/code]
[/quote]
Where I must write it in my ini?
Can you set it please?
Posted by: SkyMix_RMT - Friday, October 6, 2017 2:48:30 PM
In the barracks. But if you do it you will only be able to build 1 unit at a time.
Posted by: BacardiCoke - Friday, October 6, 2017 2:55:12 PM
Than I don't take it into, but appeal to the fairplay in a text ^^
Posted by: Unknown Editor - Saturday, October 7, 2017 7:24:23 AM
NOTE : Only Activated for CHINA Factions ...
[code=csharp]; ======================= Command Buttons =======================
CommandButton Boss_Command_ConstructChinaInfantryHacker
Command = SPECIAL_POWER_FROM_SHORTCUT
SpecialPower = SuperweaponCarpetBomb
Options = NEED_SPECIAL_POWER_SCIENCE NEED_TARGET_POS CONTEXTMODE_COMMAND
TextLabel = CONTROLBAR:HackerDrop
ButtonImage = SALeaflet
ButtonBorderType = ACTION
DescriptLabel = CONTROLBAR:TooltipHackerDrop
RadiusCursorType = PARADROP
InvalidCursorName = GenericInvalid
End
CommandButton Infa_Command_ConstructChinaInfantryHacker
Command = SPECIAL_POWER
SpecialPower = SuperweaponCrateDrop
Options = NEED_SPECIAL_POWER_SCIENCE NEED_TARGET_POS CONTEXTMODE_COMMAND
TextLabel = CONTROLBAR:HackerDrop
ButtonImage = SALeaflet
ButtonBorderType = ACTION
DescriptLabel = CONTROLBAR:TooltipHackerDrop
RadiusCursorType = PARADROP
InvalidCursorName = GenericInvalid
End
; ======================== Special Powers ========================
SpecialPower SuperweaponCarpetBomb
Enum = SPECIAL_CARPET_BOMB
ReloadTime = 240000
RequiredScience = SCIENCE_CHINA
PublicTimer = No
SharedSyncedTimer = Yes
RadiusCursorRadius = 50
ShortcutPower = Yes
AcademyClassify = ACT_SUPERPOWER
End
SpecialPower SuperweaponCrateDrop
Enum = SPECIAL_CRATE_DROP
ReloadTime = 240000
RequiredScience = SCIENCE_CHINA
PublicTimer = No
SharedSyncedTimer = Yes
RadiusCursorRadius = 50
ShortcutPower = Yes
AcademyClassify = ACT_SUPERPOWER
End
ObjectCreationList SPECIALPOWER_Hackerdrop
DeliverPayload
Transport = ChinaJetCargoPlane
StartAtPreferredHeight = Yes
StartAtMaxSpeed = Yes
MaxAttempts = 4
DropOffset = X:0 Y:0 Z:-10
DropDelay = 500
ParachuteDirectly = Yes
PutInContainer = AmericaParachute
Payload = ChinaInfantryHacker 3
DeliveryDistance = 0
PreOpenDistance = 300
DeliveryDecalRadius = 50
DeliveryDecal
OnlyVisibleToOwningPlayer = Yes
Texture = SCCParadrop_USA
Style = SHADOW_ALPHA_DECAL
OpacityMin = 25%
OpacityMax = 50%
OpacityThrobTime = 500
Color = R:227 G:229 B:22 A:255
End
End
End
ObjectCreationList SPECIALPOWER_Hackerdrop_Infa
DeliverPayload
Transport = ChinaJetCargoPlane
StartAtPreferredHeight = Yes
StartAtMaxSpeed = Yes
MaxAttempts = 4
DropOffset = X:0 Y:0 Z:-10
DropDelay = 500
ParachuteDirectly = Yes
PutInContainer = AmericaParachute
Payload = Infa_ChinaInfantryHacker 3
DeliveryDistance = 0
PreOpenDistance = 300
DeliveryDecalRadius = 50
DeliveryDecal
OnlyVisibleToOwningPlayer = Yes
Texture = SCCParadrop_USA
Style = SHADOW_ALPHA_DECAL
OpacityMin = 25%
OpacityMax = 50%
OpacityThrobTime = 500
Color = R:227 G:229 B:22 A:255
End
End
End
; ============================ Hacker Drop Activate Building ============================
CommandSet Boss_ChinaBarracksCommandSet
1 = Boss_Command_ConstructChinaInfantryHacker
3 = Infa_Command_ConstructChinaInfantryHacker
End
Object Boss_Barracks
KindOf = -FS_FACTORY -MP_COUNT_FOR_VICTORY -FS_BARRACKS
AddModule
Behavior = OCLSpecialPower ModuleTag_HD
SpecialPowerTemplate = SuperweaponCarpetBomb
OCL = SPECIALPOWER_Hackerdrop
CreateLocation = CREATE_AT_EDGE_NEAR_SOURCE
OCLAdjustPositionToPassable = Yes
End
Behavior = OCLSpecialPower ModuleTag_HD-Infa
SpecialPowerTemplate = SuperweaponCrateDrop
OCL = SPECIALPOWER_Hackerdrop_Infa
CreateLocation = CREATE_AT_EDGE_NEAR_SOURCE
OCLAdjustPositionToPassable = Yes
End ; The End of the Behavior
End ; The End of Add Module action
End ; The End of the Entire Unit
CommandSet SpecialPowerShortcutChina
9 = Boss_Command_ConstructChinaInfantryHacker
END
CommandSet Infa_SpecialPowerShortcutChina
9 = Infa_Command_ConstructChinaInfantryHacker
END
CommandSet Nuke_SpecialPowerShortcutChina
8 = Boss_Command_ConstructChinaInfantryHacker
END
CommandSet Tank_SpecialPowerShortcutChina
9 = Boss_Command_ConstructChinaInfantryHacker
End
; ====================== NO HACKERS ARE BUILD-ABLE ======================
CommandSet Infa_ChinaBarracksCommandSet
4 = Command_LaunchBaikonurRocket ; Hiding Hacker Drop Special Power
End
CommandSet Infa_ChinaBarracksCommandSetUpgrade
4 = Command_LaunchBaikonurRocket
End
Object ChinaInfantryHacker
Buildable = No
End
Object Infa_ChinaInfantryHacker
Buildable = No
End
Object Nuke_ChinaInfantryHacker
Buildable = No
End
Object Tank_ChinaInfantryHacker
Buildable = No
End[/code]
Here is also the STR :
[quote]CONTROLBAR:HackerDrop
"&Hacker Drop"
End
CONTROLBAR:TooltipHackerDrop
"Drops Hackers By Plane\n\n
Countdown Timer : 4:00"
End[/quote]
Posted by: BacardiCoke - Saturday, October 7, 2017 1:23:57 PM
[quote=Unknown Editor;146433]Well , I myself had the same Problem for my own Map :
1 Drop zone , 1 Black Market , 3 Hackers ...
It is Horrible ... You'll have much Work to Disable it : Both INI & Script
For Myself I just used a useless Structure and got it a Special power to Drop Hackers , Then a Script to Verify if there is a Hacker for the Player , Delete the Building ... and much more[/quote]
I'm looking forward to your result. ^^ :)
Posted by: Jundiyy - Saturday, October 7, 2017 4:36:31 PM
[quote=SkyMix_RMT;146424]
you mean this
[code=plain]
AddModule
Behavior = ProductionUpdate ModuleTag_??
MaxQueueEntries = 1; So you can't build multiple upgrades in the same frame
End
End
[/code]
[/quote]
Yes (I know this won't help here but what if you change it to 2/3/4/5? Will it not change?)
Or perhaps
1. (Not sure if possible but think so) make a barracks called barracks2, copy and paste the full code of the original barracks and add the above code to it OR
2. Edit the properganda centre/speaker tower and add a the hacker command button there and remove from the barracks, add in the above code.
Posted by: VTULCobra - Sunday, October 8, 2017 6:03:25 AM
I believe this is the line you're looking for;
[code]MaxSimultaneousOfType = 1[/code]
It is used for super weapons and every generals special unit (Burton/Lotus/Kell).
Posted by: Unknown Editor - Sunday, October 8, 2017 6:49:16 AM
[quote=vtulcobra;146444]I believe this is the line you're looking for;
[code]MaxSimultaneousOfType = 1[/code]
It is used for super weapons and every generals special unit (Burton/Lotus/Kell).[/quote]
Well , This is Exactly what the hell [size=2](Sorry for using BAD Words)[/size] no one knows the Cause ...
When you apply this into map.ini Works only when there is enough of unit :ashamed:
If it is a Structure under construction , Well there is a Structure ;
But when You ORDER a Unit , as there is still nothing , you can Order up to 9 [disappointed]
Even if using this :
[code=csharp] AddModule
Behavior = ProductionUpdate ModuleTag_??
MaxQueueEntries = 1; So you can't build multiple upgrades in the same frame
End
End[/code]
Still can construct many Barracks and 1 Hacker Per each Barracks ...
And that's What's keeping U.S from making Limits for Unit constructions [sad]
Now I'll say NO MORE [size=1](as there is nothing left to say [grin])[/size]
Posted by: VTULCobra - Sunday, October 8, 2017 7:36:59 AM
From Annihilationzh's thread "[url=http://www.cnclabs.com/forums/cnc_postst10478_Map-ini-basics.aspx]Map.ini basics[/url]".
"Unit limits also have a glitch. They will allow you to queue as many as you want to until you have actually reached the limit on the map. For example, if you add a limit of 1 to rangers, you will be able to queue 9 rangers per barracks until the first one is finished."
I'll play around with it for a while but don't expect to get it working.
Well , Yeah ... That's what I meant ...
But By the Way :
I think there is a Way to do it Perfectly ; I mean the Hacker Drop Special Power ...
Just Requires an Upgrade like Battle Drone (which is Used for American Tanks , you know) .
And a Huge Logic to get it to Work JUST FINE .
For example : You Pay 1875$ for it in Barracks , After you made the Upgrade , You can Order a Hacker Drop then and after using the Special Power , You'll need to get the rid of Hackers to be able to make the Upgrade again !
Yeah , I know ... It is going to take me like how much my Nuke Truck Project did [sad]