For uniform setting,
The First home territory always have 1 infinite Food source. I would like to add One infinite Wood resource to the list.
I also would like to know how to add infinite food source and Infinite Wood pile to other territories as well, similar to Gold and Stone.
I found some code from loew_ambient_pack_15_2_ee2x.ddf, but I can't do shit to it. Simply copying and pasting to resources.ddf won't cut it. I don't even fully know if that's where I need to put them. I can modify just a bit and move place from Point A to point B, but I'm not really a programmer yet. I don't know what changes I need to do.
I could possibly copy code from Gold in resources.ddf, but I notice there is some value difference when compared to others like Stone. I would like to be correct and to function properly.
Code: Select all
//---------------------------------------------------------------------------
// Woodresource
//---------------------------------------------------------------------------
UnitModel RES_woodresource
{
ScaleType = kScaleBuilding
DefaultModel = RES_woodresource.nif
DefaultState = Idle
States = [
{ StateName="Idle" }
]
ChildNames = [TreeShadow]
}
UnitType RES_woodresource
{
parent = ResourceNotTree
properties {
DisplayName = tx_res_woodresourcee
VerboseTooltip = vtt_res_woodresourcee
DisplayNameScenEdit = tx_res_ed_woodresourcee
}
abilities [
Resource { type = kResourceType_Wood; amount = 1000; maxNumOfWorkers = 6}
]
fullMapOverlay { sprite = spr_fullmap_tree scale = 2.0 ignoreOrientation = 1 }
}