Hey all, iv been away a while but decided to come back to modding to make a wacky / fun mod that my brother and his friends wanted me to make.
Just a quick question, is there a global setting somewhere, where i can make things instantly build without having to alter every build time? Perhaps make everything free?
I would have thought EA maybe would have tested these games with something like this, but i cant find them.
Id rather spend 5 minutes asking here than a hour altering costs and times hehe
Jay
Instant Build Times?
Started by Theo, Feb 07 2009 08:28 PM
2 replies to this topic
#1
Posted 07 February 2009 - 08:28 PM
#2
Posted 07 February 2009 - 11:14 PM
No you would need to edit each structure and such seperately...
Edited by Ridder Geel, 07 February 2009 - 11:15 PM.
Ridder Geel
#3
Posted 07 February 2009 - 11:42 PM
Actually, it's quite easy. In playertemplate, you can set beginning units (2 porters are standard), but you can add any object you like. Let one of the objects be a custom object like this:
Object CheatProvider_Custom
Draw = W3DScriptedModelDraw ModuleTag_Draw
DefaultModelConditionState
Model = None
End
End
EditorSorting = MISC_MAN_MADE
DisplayName = OBJECT:TheOneRing
Side = Civilian
KindOf = NO_COLLIDE IMMOBILE IGNORE_FOR_VICTORY IGNORE_FOR_EVA_SPEECH_POSITION NOT_AUTOACQUIRABLE UNATTACKABLE
ThreatLevel = 0.0
Body = HighlanderBody ModuleTag_Body ;Can take damage, but won't die. Can only die from ::kill() or other unresistable damage
MaxHealth = 1.0
End
Behavior = AttributeModifierAuraUpdate ModuleTag_Leadership
StartsActive = Yes ;If no, requires upgrade to turn on.
BonusName = GLOBAL_FastGamePlay_Custom
TriggeredBy = Upgrade_MenFaction Upgrade_ElfFaction Upgrade_DwarfFaction Upgrade_IsengardFaction Upgrade_MordorFaction Upgrade_WildFaction
RefreshDelay = 2000
Range = 999999999
; ; AntiCategory = BUFF
ObjectFilter = ANY +STRUCTURE ALLIES ;+HERO +DOZER +INFANTRY +CAVALRY +MONSTER +BASE_FOUNDATION +IMMOBILE
End
Behavior = UnpauseSpecialPowerUpgrade ModuleTag_TheodenLeadership
SpecialPowerTemplate = SpecialAbilityFakeLeadership
TriggeredBy = Upgrade_MenFaction Upgrade_ElfFaction Upgrade_DwarfFaction Upgrade_IsengardFaction Upgrade_MordorFaction Upgrade_WildFaction
End
Behavior = SpecialPowerModule ModuleTag_TheodenLeadershipUpdate
SpecialPowerTemplate = SpecialAbilityFakeLeadership
UpdateModuleStartsAttack = No
StartsPaused = Yes
End
Behavior = DestroyDie ModuleTag_Die
End
End
CODE
Draw = W3DScriptedModelDraw ModuleTag_Draw
DefaultModelConditionState
Model = None
End
End
EditorSorting = MISC_MAN_MADE
DisplayName = OBJECT:TheOneRing
Side = Civilian
KindOf = NO_COLLIDE IMMOBILE IGNORE_FOR_VICTORY IGNORE_FOR_EVA_SPEECH_POSITION NOT_AUTOACQUIRABLE UNATTACKABLE
ThreatLevel = 0.0
Body = HighlanderBody ModuleTag_Body ;Can take damage, but won't die. Can only die from ::kill() or other unresistable damage
MaxHealth = 1.0
End
Behavior = AttributeModifierAuraUpdate ModuleTag_Leadership
StartsActive = Yes ;If no, requires upgrade to turn on.
BonusName = GLOBAL_FastGamePlay_Custom
TriggeredBy = Upgrade_MenFaction Upgrade_ElfFaction Upgrade_DwarfFaction Upgrade_IsengardFaction Upgrade_MordorFaction Upgrade_WildFaction
RefreshDelay = 2000
Range = 999999999
; ; AntiCategory = BUFF
ObjectFilter = ANY +STRUCTURE ALLIES ;+HERO +DOZER +INFANTRY +CAVALRY +MONSTER +BASE_FOUNDATION +IMMOBILE
End
Behavior = UnpauseSpecialPowerUpgrade ModuleTag_TheodenLeadership
SpecialPowerTemplate = SpecialAbilityFakeLeadership
TriggeredBy = Upgrade_MenFaction Upgrade_ElfFaction Upgrade_DwarfFaction Upgrade_IsengardFaction Upgrade_MordorFaction Upgrade_WildFaction
End
Behavior = SpecialPowerModule ModuleTag_TheodenLeadershipUpdate
SpecialPowerTemplate = SpecialAbilityFakeLeadership
UpdateModuleStartsAttack = No
StartsPaused = Yes
End
Behavior = DestroyDie ModuleTag_Die
End
End
Then add this attributemodifier to the list of attribute modifiers:
//----------CHEAT BONUS----------------- ModifierList GLOBAL_FastGamePlay_Custom Modifier = SPEED 5000% ; Modifier = EXPERIENCE 300%;or what you want ; Modifier = PRODUCTION 1000% //Handled by hard coded value now (so building construction will work). ; Modifier = RECHARGE_TIME 10% Duration = 3000;don't worry, works always since the refresh delay is 2000 End
A speed modifier is what you want, but you can set anything, just as you can extend this attributemodifier to objects other than STRUCTURE type.
Axed Head and A.I. Coder for S.E.E. and ... stuff
".. coding is basically boring. What's fun is finding out how things work, take them apart and then put them together in ways that were not intended nor even conceived."