I made use of the Custom Resource on my map and the problem is that when the custom resource runs out, the game displays an "e_cmdNotEnoughCustom" error when you try to take an action which demands that custom resource. This message replaces the classic "Not enough minerals/vespene" that you get when you try to create a building and you don't have the needed raw materials. I want it to say "Not enough credits." instead of that error but I can't figure out where this message is handled.
Originally I've looked under the text editor thinking that it might be there, but I couldn't find it there, so I'm thinking that maybe there's some sort of event that can be intercepted using triggers in order to display whatever text I want!? Any help would be greatly appreciated.
Sorry I didnt read it through, but its there, you have to look for what is actually displayed since its name will probably be param/ hex number or smt like that.
I listed All text entries in All categories for All dependencies, sorted the list by the text displayed and went to the e's. There were only 3 e_* entries and none are e_cmdNotEnoughCustom.
"e_cmdNotEnoughCustom" is what's displayed In Game, I don't see why looking for what Should be displayed will help, but I'll check it out if I get home first.
These alerts are found under the 'Alerts' tab in the data editor (in the advanced section of the dropdown). You'll need to create a new one for your custom resource and set the desired text, icon (and sound). Under the behaviour tab, find the behaviour you're using for the resource nodes (the default ones are 'Minerals (mineral field)' etc. and set the 'UI - Exhausted Alert' to your alert.
Sounds good, can't wait to try it. If you have the time before I try it and post my results, a little better explanation wouldn't hurt since I've never looked into that stuff before. Thanks again!@Helral: Go
Edit: I don't see any sort of "key" setting for Alerts. When I created my new alert, the Peripheral setting looked interesting since it had a "e_*" value, but it seems you can only select certain settings from a dropdown for it? When I tried to edit the raw value and put in e_cmdNotEnoughCustom it just switched to SelfBaseUnderAttack.
I made use of the Custom Resource on my map and the problem is that when the custom resource runs out, the game displays an "e_cmdNotEnoughCustom" error when you try to take an action which demands that custom resource. This message replaces the classic "Not enough minerals/vespene" that you get when you try to create a building and you don't have the needed raw materials. I want it to say "Not enough credits." instead of that error but I can't figure out where this message is handled.
Originally I've looked under the text editor thinking that it might be there, but I couldn't find it there, so I'm thinking that maybe there's some sort of event that can be intercepted using triggers in order to display whatever text I want!? Any help would be greatly appreciated.
bump
I don't see where to set it either. But you could try making a text string by the name e_cmdnotenoughcustom and setting it to the value you want.
Mega-bump. Has anyone figured this out?
Open the text editor and look for that particular phrase and change it
In this case:
e_cmdNotEnoughCustom
@progammer: Go
As the OP states its not there :(
@pqpoiuyqwert: Go
it is actually there, but you need to search for the Text that is displayed instead of the reference to the text that is displayed.
@pqpoiuyqwert: Go
Sorry I didnt read it through, but its there, you have to look for what is actually displayed since its name will probably be param/ hex number or smt like that.
@Helral: Go @progammer: Go
I listed All text entries in All categories for All dependencies, sorted the list by the text displayed and went to the e's. There were only 3 e_* entries and none are e_cmdNotEnoughCustom.
@pqpoiuyqwert: Go
I'll take a look at home. and the text I'll look for will be something like: "Not Enough Custom Resources" and not e_.... stuff.
@Helral: Go
"e_cmdNotEnoughCustom" is what's displayed In Game, I don't see why looking for what Should be displayed will help, but I'll check it out if I get home first.
Don't worry - this is easy to miss.
These alerts are found under the 'Alerts' tab in the data editor (in the advanced section of the dropdown). You'll need to create a new one for your custom resource and set the desired text, icon (and sound). Under the behaviour tab, find the behaviour you're using for the resource nodes (the default ones are 'Minerals (mineral field)' etc. and set the 'UI - Exhausted Alert' to your alert.
Good luck with the map.
@alejrb: Go
the "e_cmdNotEnoughCustom" is from spending while having not enough.
taking a look now, doesn't seem to be there in the text bit.
Ah, misunderstood. Good luck with finding it! :D
@Helral: Go
you can create a custom alert, and set the Text value there to whatever text you want. (adjust the key of that Alert Text to that e_cmd thing)
if you want some better explenation, I can give it friday (currently tired like hell, and don't think I'll have time to do anything tomorrow.)
@Helral: Go
Sounds good, can't wait to try it. If you have the time before I try it and post my results, a little better explanation wouldn't hurt since I've never looked into that stuff before. Thanks again!@Helral: Go
Edit: I don't see any sort of "key" setting for Alerts. When I created my new alert, the Peripheral setting looked interesting since it had a "e_*" value, but it seems you can only select certain settings from a dropdown for it? When I tried to edit the raw value and put in e_cmdNotEnoughCustom it just switched to SelfBaseUnderAttack.
when editing the Text value of the Alert, you get something that looks like this:
(Ascii image, so might look a bit odd)
_____________________________________
| _________________________ |
| key |________________________| |
| |
| _________________________________ |
| | Text Input | |
| | Area | |
| | | |
| | | |
| |________________________________| |
|____________________________________|
that bit behind key can be changed to another value. so you can forexample change it to e_cmdNotEnoughCustom, to create that Text Value.
@Helral: Go
Ah, I didn't think to check under the text field for the key field heh. Thanks, i'll check it out.
Edit: Thanks, works like a charm.