GAME INFORMATION
These details are CRITICAL; DO NOT skip them or your issue may not be reviewed.
- GAME BUILD #: 101.102.61625
- GAME PLATFORM: Steam / Microsoft Store
- OPERATING SYSTEM: Windows 11
ISSUE EXPERIENCED
DESCRIBE THE ISSUE IN DETAIL (below). LIMIT TO ONE BUG PER THREAD.
Currently in XS scripting it is impossible to add a new cost to a tech or an unit,
For example the Place holder tech cost per default 100 food, you can increase the food cost but you can’t add a gold cost to it
void tech_cost() {
xsEffectAmount(cModifyTech, 968, cAttrSetFoodCost, 7500, -1);
xsEffectAmount(cModifyTech, 968, cAttrSetGoldCost, -1, -1);
xsEffectAmount(cModifyTech, 968, cAttrSetGoldCost, 7500, -1);
}
FREQUENCY OF ISSUE
How often does the issue occur? CHOSE ONE; DELETE THE REST!
- 100% of the time / matches I play (ALWAYS)
REPRODUCTION STEPS
List CLEAR and DETAILED STEPS we can take to reproduce the issue ourselves… Be descriptive!
Here’s the steps to reproduce the issue:
- Get a scenario an enable yourself the possibility to research the place holder tech
- Use the following script I provide or make it yourself if you want more detailled testing
- Notice that whatever you do you wont be able to add a gold cost to the tech unless you use the trigger effect change cost which actually allow you to do so but completely useless extra step
EXPECTED RESULT
What was SUPPOSED to happen if the bug you encountered were not present?
The result should be allowing us to change the cost from food to gold or whatever depending of the ID list available like this guide written by the community suggest too: Tricks - AoE2DE UGC Guide
IMAGE
ALWAYS attach a PICTURE (.jpg, .png, .gif) or VIDEO (.mp4, YouTube link) that highlights the problem.
GAME FILES (SAVE / RECORDING)
Attach a SAVE GAME (.aoe2spgame) or GAME RECORDING (.aoe2record) of the match where you encountered the issue. Link it below if using an external file service.