Posted by: Tank Destroyer - Thursday, January 22, 2015 3:40:58 AM
So i made a custom Paladin Tank and Humvee with bigger health and high damage Laser weapons but they just appear gray colored in the Airforce general War Factory and can't be built,i've set the Prerequisites to AirF_AmericaWarFactory but its still unbuildable,how do i fix that?
Posted by: Annihilationzh - Thursday, January 22, 2015 6:27:00 AM
Lol. Your favourite general is so blatantly Laser general and not Airforce general. You add lasers to absolutely everything.
Sounds like a typo in one of the unit names.
Posted by: Tank Destroyer - Thursday, January 22, 2015 9:51:15 AM
[quote=Annihilationzh;135779]Lol. Your favourite general is so blatantly Laser general and not Airforce general. You add lasers to absolutely everything.
Sounds like a typo in one of the unit names.[/quote]
[disappointed] lol i like both of them even before i modded the King Raptors to have lasers the Air Force general is already my favorite i would have liked the Laser general but the Laser tanks shut down when u lose power -_- King Raptors point defense laser + lasers is total domination,I favor both of them Air Force general because of Air power and Laser General because,hey lasers are pretty cool.And also i renamed the Humvee to AmericaVehicleHumvee2 is it because of the re-naming thats why i can't build it in the War factory?
Posted by: Annihilationzh - Thursday, January 22, 2015 12:08:49 PM
[quote=Tank Destroyer;135780]lol i like both of them even before i modded the King Raptors to have lasers[/quote]
Once you got rid of the missile payload, it stopped being a King Raptor. It's a Laser Raptor, which again fits Laser General better than Airforce general.
[quote=Tank Destroyer;135780]And also i renamed the Humvee to AmericaVehicleHumvee2 is it because of the re-naming thats why i can't build it in the War factory?[/quote]
Did you add an appropriate command button for the Humvee2?
Posted by: Gameanater - Thursday, January 22, 2015 8:15:02 PM
[quote=Annihilationzh;135779]Lol. Your favourite general is so blatantly Laser general and not Airforce general. You add lasers to absolutely everything.[/quote]
[quote=Annihilationzh;135784]
Once you got rid of the missile payload, it stopped being a King Raptor. It's a Laser Raptor, which again fits Laser General better than Airforce general.[/quote]
Yep.
You'll love the Laser General in my mod, Generals: Domination. Practically everything will attack with lasers.
Laser-point defense for his aircraft, Laserfinders, Laser Defenders, etc... Heheheheheheheh...
Posted by: Tank Destroyer - Thursday, January 22, 2015 11:37:57 PM
[quote=Annihilationzh;135784][quote=Tank Destroyer;135780]lol i like both of them even before i modded the King Raptors to have lasers[/quote]
Once you got rid of the missile payload, it stopped being a King Raptor. It's a Laser Raptor, which again fits Laser General better than Airforce general.
[quote=Tank Destroyer;135780]And also i renamed the Humvee to AmericaVehicleHumvee2 is it because of the re-naming thats why i can't build it in the War factory?[/quote]
Did you add an appropriate command button for the Humvee2?[/quote]
Yea i did,but just to make sure.... is this correct commandbutton?
[code=cpp]CommandButton AirF_Command_ConstructAmericaVehicleHumvee2
Command = UNIT_BUILD
Object = AirF_AmericaVehicleHumvee2
TextLabel = CONTROLBAR:ConstructAmericaVehicleHumvee
ButtonImage = SAHummer
ButtonBorderType = BUILD ; Identifier for the User as to what kind of button this is
DescriptLabel = CONTROLBAR:ToolTipUSABuildHumvee
End[/code]
EDIT: Awwww i still cant build it in the War Factory [skull] [unamused]
EDIT2: And also i forgot to ask why is it when i add an custom weapon to an unit and then when i try it out then that unit still uses the default weapon wtf? like when i when i create and put a custom weapon to a Crusader Tank and test it but it still fires the normal bullet.
Posted by: CommieDog - Friday, January 23, 2015 10:43:18 AM
Try changing a unit's cost and see if that shows up in game.
Posted by: Tank Destroyer - Friday, January 23, 2015 10:49:00 AM
[quote=CommieDog;135815]Try changing a unit's cost and see if that shows up in game.[/quote]
Yep,i changed the cost and still nothing,i still cant be able to build it in the War Factory :(
Posted by: klingondragon - Friday, January 23, 2015 3:29:48 PM
I think you were meant to check that the price change shows up in game
Posted by: CommieDog - Friday, January 23, 2015 3:47:17 PM
To be more clear, try changing the cost of something that's already in the game and see if the change takes effect when you start the mod.
Posted by: Gameanater - Friday, January 23, 2015 8:18:09 PM
You're sure everything's in the right folder, right? The INI folder in your ZH Program Files directory? Can you post a couple screenshots to show?
Just a thought.
Posted by: Annihilationzh - Saturday, January 24, 2015 2:19:30 AM
You said you created AmericaVehicleHumvee2 in an earlier post, but your command button uses AirF_AmericaVehicleHumvee2. If this is true, then I've found your problem.
Posted by: Tank Destroyer - Saturday, January 24, 2015 4:43:36 AM
[quote=Annihilationzh;135825]You said you created AmericaVehicleHumvee2 in an earlier post, but your command button uses AirF_AmericaVehicleHumvee2. If this is true, then I've found your problem.[/quote]
I renamed it to AirF_AmericaVehicleHumvee2
[code=cpp]Object AirF_AmericaVehicleHumvee2
; *** ART Parameters ***
SelectPortrait = SAHummer_L
ButtonImage = SAHummer
UpgradeCameo1 = Upgrade_AmericaBattleDrone
UpgradeCameo2 = Upgrade_AmericaScoutDrone
UpgradeCameo3 = Upgrade_AmericaTOWMissile
UpgradeCameo4 = Upgrade_AmericaAdvancedTraining
UpgradeCameo5 = Upgrade_AmericaHellfireDrone
Draw = W3DTruckDraw ModuleTag_01
OkToChangeModelColor = Yes[/code]
And also Gameanater i will post pictures later.
Pics
http://i.imgur.com/WJo1Dcd.png - Heres the INI Folder
http://i.imgur.com/Ubj6OKL.png - I created another Folder which i named Objects and i put there all my custom units,the custom Humvee is in the ModUnits.ini.Though even if i put that directly into the INI folder its still the same,i still can't build it in the war factory.
Posted by: klingondragon - Saturday, January 24, 2015 4:50:07 AM
Its supposed to be calls object not objects
And America vehicle and faction building and any othe ini with objects in should be in that folder
Look at the original file path for each ini that should tell you where to put each of the original files you have modded
Posted by: Tank Destroyer - Saturday, January 24, 2015 7:43:56 AM
[quote=CommieDog;135818]To be more clear, try changing the cost of something that's already in the game and see if the change takes effect when you start the mod.[/quote]
I tried to change the cost of the Ranger(tried it in USA,AirforceGen,LaserGen) changed it to 500,1000 and i even changed it to 0,2000 and also 5000 but it doesn't show any difference it still cost the normal price even though i changed it.
EDIT: LOL i put all the necessary files in the Object folder and NOW it works [grin] [+1] Also now my custom units such as laser humvee,A10 Thunderbolt and my new General is now working perfectly(though i still have alot of work left to do with the new General) but anyways all my problems are solved [+1]
EDIT2: Though im wondering why does my custom general appears in the selection(where you select what side you are in skirmish) it apears **MISSING** in the start of the name,how do i remove that?
Posted by: klingondragon - Saturday, January 24, 2015 8:34:37 AM
Edit generals.csf
If you follow my tutorial it should explain everything
Posted by: Tank Destroyer - Saturday, January 24, 2015 10:28:10 AM
[quote=KlingonDragon;135833]Edit generals.csf
If you follow my tutorial it should explain everything[/quote]
Ok thx dude [+1]
Oh last question,is it possible to create new Armor Types and Attack Types?
Posted by: Gameanater - Saturday, January 24, 2015 12:17:10 PM
[quote=Tank Destroyer;135828]
And also Gameanater i will post pictures later.
Pics
http://i.imgur.com/WJo1Dcd.png - Heres the INI Folder
http://i.imgur.com/Ubj6OKL.png - I created another Folder which i named Objects and i put there all my custom units,the custom Humvee is in the ModUnits.ini.Though even if i put that directly into the INI folder its still the same,i still can't build it in the war factory.[/quote]
Well there's part of your problem, some of your .ini's are in the wrong folder.
AmericaVehicle, FactionBuilding, and AirforceGeneral .ini's are supposed to go in the "Objects" folder. Putting them in the wrong spot results in them doing nothing at all (or I thought a crash, but you haven't said that's happening to you).
Posted by: klingondragon - Saturday, January 24, 2015 12:18:00 PM
of corse
add your weapon to weapon.ini and your armour to armour.ini
Posted by: Gameanater - Saturday, January 24, 2015 12:21:09 PM
[quote=Tank Destroyer;135839]Oh last question,is it possible to create new Armor Types and Attack Types?[/quote]
Creating new Armor is easy enough, just take an existing armor, copy that, and change whatever you want.
An attack type? If you're referring to the things in all caps, like "POISON, RADIATION, LASER, BURNING, SMALL_ARMS" I wouldn't think so. Most of the stuff in all caps like that is hardcoded and not accessible through .ini coding.
However, i've never actually tried to create a new damage or attack type, so I'm not completely sure.
Posted by: Tank Destroyer - Sunday, January 25, 2015 1:58:16 AM
[quote=Gameanater;135847][quote=Tank Destroyer;135839]Oh last question,is it possible to create new Armor Types and Attack Types?[/quote]
Creating new Armor is easy enough, just take an existing armor, copy that, and change whatever you want.
An attack type? If you're referring to the things in all caps, like "POISON, RADIATION, LASER, BURNING, SMALL_ARMS" I wouldn't think so. Most of the stuff in all caps like that is hardcoded and not accessible through .ini coding.
However, i've never actually tried to create a new damage or attack type, so I'm not completely sure.[/quote]
AH ok thx [smile]
EDIT: so i made an upgrade for my custom unit called Raptor X its 2 upgrades the first one is Energy Armor(gives it an different kind of custom armor) and the other one is Plasma Weapons(higher damage) but even if i already bought the upgrades and its finished researching the Raptor X attack is still the same and the armor didnt changed,wtf?
EDIT2: Oh nervermind i found it out by my self
[code=cpp]Behavior = ArmorUpgrade ModuleTag_Armor25
TriggeredBy = Upgrade_AWATDEnergyArmor
End[/code]