Posted by: AdrianeMapMaker - Monday, October 3, 2016 6:04:28 AM
Did you have any [b]Carpet Bomber INI here can you post it here[/b] and [b]what script should i do[/b] to use this thing?
Posted by: Annihilationzh - Monday, October 3, 2016 7:57:59 AM
[quote=adrianemapmaker;141193]Did you have any [b]Carpet Bomber INI here can you post it here[/b] and [b]what script should i do[/b] to use this thing? [/quote]
I'm guessing you're trying to add the carpet bomber to vanilla generals? This is the map.ini code used in the China mission that provides a carpet bomb:
[code=plain]CommandSet ChinaAirfieldCommandSet
1 = Command_ConstructChinaJetMIG
2 = Command_UpgradeChinaAircraftArmor
9 = Command_CarpetBomb
10 = Command_UpgradeChinaMines
12 = Command_Sell
End
Object ChinaAirfield
AddModule
Behavior = OCLSpecialPower ModuleTag_Override01
SpecialPowerTemplate = SuperweaponCarpetBomb
OCL = SUPERWEAPON_CarpetBomb
CreateLocation = CREATE_AT_EDGE_NEAR_SOURCE
End
End
End[/code]
Posted by: AdrianeMapMaker - Tuesday, October 4, 2016 5:28:53 AM
[quote][b]vanilla generals[[/b]/quote]
-what is that?
but first thanks bro, can you change this to an [b]CommandCenter of Usa[/b] then also available at [b]Usa airfield[/b]? or just on a CommandCenter look like this can do a large mess on my map?
-[b]do we need a script to click this new ability?[/b]
Posted by: CommieDog - Tuesday, October 4, 2016 10:57:30 AM
[quote=adrianemapmaker;141201][quote][b]vanilla generals[[/b]/quote]
-what is that?[/quote]
"Vanilla Generals" refers to the game as originally released plus patches, as opposed to Generals with the Zero Hour expansion pack.
Posted by: klingondragon - Tuesday, October 4, 2016 11:23:27 AM
It can also mean zh with no mods. It depends who uses the phrase.
Posted by: AdrianeMapMaker - Tuesday, October 4, 2016 11:48:08 PM
thanks all of you guys!! i have now a new Carpet Bomber
but another question can you change it to [b]Usa CommandCenter[/b] just like this?
is this correct?
{i dont know the usa commandcenter ini eh[joy] }
[code=csharp]CommandSet UsaCommandCenterCommandSet
1 = Command_ConstructUsaVehicleDozer
9 = Command_CarpetBomb
10 = Command_RallyPoint
12 = Command_Sell
End
Object UsaCommandCenter
AddModule
Behavior = OCLSpecialPower ModuleTag_Override01
SpecialPowerTemplate = SuperweaponCarpetBomb
OCL = SUPERWEAPON_CarpetBomb
CreateLocation = CREATE_AT_EDGE_NEAR_SOURCE
End
End
End[/code]
this is my first time so dont judge me haha[joy]
and now im curious about ini's hehe ,look like i wanna go for some more [b]"this game is big a sandbox"[/b]
[b]note:[/b] i cant use my finalbig program look like its destroyed or something
Posted by: Annihilationzh - Wednesday, October 5, 2016 8:42:04 AM
This should work. I might have missed something though.
[code=csharp]CommandSet AmericaCommandCenterCommandSet
1 = Command_ConstructAmericaDozer
9 = Command_CarpetBomb
10 = Command_RallyPoint
12 = Command_Sell
End
Object AmericaCommandCenter
AddModule
Behavior = OCLSpecialPower ModuleTag_Override01
SpecialPowerTemplate = SuperweaponCarpetBomb
OCL = SUPERWEAPON_CarpetBomb
CreateLocation = CREATE_AT_EDGE_NEAR_SOURCE
End
End
End[/code]
FYI, it won't appear as a sidebar shortcut.
[quote]this is my first time so dont judge me haha[/quote]
That was a great first attempt.
[quote]and now im curious about ini's hehe ,look like i wanna go for some more [b]"this game is big a sandbox"[/b][/quote]
Map.ini code is unbelievably glitchy. So modding is much easier to start off with.
[quote][b]note:[/b] i cant use my finalbig program look like its destroyed or something[/quote]
You'll likely have to reinstall it then.
Posted by: AdrianeMapMaker - Thursday, October 6, 2016 5:23:10 AM
[quote=Annihilationzh;141214]
FYI, it won't appear as a sidebar shortcut.
[/quote]
what do you mean by that ...
and wait sir..question if we erase kind of command button in ini , it will be also disappear in the game ?
Posted by: Annihilationzh - Thursday, October 6, 2016 7:18:34 AM
[quote=adrianemapmaker;141219]what do you mean by that ...[/quote]
The buttons on the right of the screen that allow you to launch super powers without clicking on the command center, scud storm, etc
[quote=adrianemapmaker;141219]and wait sir..question if we erase kind of command button in ini , it will be also disappear in the game ?[/quote]
Yes when modding. No with Map.ini.
Posted by: AdrianeMapMaker - Friday, October 7, 2016 5:49:54 AM
[quote=Annihilationzh;141220]what do you mean by that ...
The buttons on the right of the screen that allow you to launch super powers without clicking on the command center, scud storm, etc [/quote]
ohh , Yah ive seen that in the new expansion pack
[quote=Annihilationzh;141220]
Yes when modding. No with Map.ini.[/quote]
i just noticed ive forgot to put the command_SpySatellite (if its the ini command spelling)
[b]is it ok[/b]??
Posted by: AdrianeMapMaker - Saturday, October 8, 2016 4:32:50 AM
any one ?
Posted by: AdrianeMapMaker - Wednesday, November 23, 2016 5:13:20 AM
[code=cpp]SpecialPower SuperweaponCarpetBomb
Enum = SPECIAL_CARPET_BOMB
ReloadTime = 600000 ; in milliseconds
RequiredScience = SCIENCE_CarpetBomb
PublicTimer = Yes
ViewObjectDuration = 30000
ViewObjectRange = 250
RadiusCursorRadius = 100
End[/code]
Is this all i need in a map for my Ai to fire a Command_Carpet bomb need more code that will help
Need any Help right now