While creating tokens for an GenericAbility it happened often that i got the following error showing up on switching from Other or Enum to Link, also happened on clicking Link again.
its easier to change keyboard layot (eg. <left alt> + <shift> for EN) than make localized hotkeys i would say
this is true as the only data you could get from Key presses are integer values used by blizzard themselves (-1 to 98), so you are unable to use Scancodes or read the registery entries of your OS for your used Keyboard-layout
the only way you could "do" it would to ask what layout you use ... and this would start annoy ppl using standard QWERTY/Z layouts :/
But still would be nice to be able to make a 'default' localization data for all languages :)
or some kind of pointer, refering your SC2Localization to MapLocalization
to avoid stuff like that
All the localization stuff currently is causing problems - if you have texts/explainations on your map and all that stuff - and ppl with different clients just can't see your fancy text :(
Here is a simple way to prevent this and make your text 'generic' to any localization
If you create a new Text for Tips,Descriptions,Dialogs, etc. they tend to use 'value', those are then stored into the variables used by the game to adjust the text in the game - this will require you to do a lot of localization
to prevent this you can easily swap to Custom script using
(StringToText("TextYouWant")+Rest)
where Rest can either be IntToText, FixedToText etc.(additional text) or nothing
this way the text will be visible in all localizations rather then just the one your actually sc2beta is.
in (#.2) the "Score: " will be looked up into your actual LocalizationData (enUS.SC2Data, enGB.SC2Data) etc.
until blizzard implements something to point at these localization datas should should use this way to localize your things and prevent ending up like this:
(game: http://www.sc2mapster.com/maps/brand-new-scv/ , no offense to the author :) still a funny game)
Short version:
Do not use value for Text Use CustomScript with XToText() instead
An updated version that does not utilize raw XML editing and is in the GalaxyEditor can be found here.
I wrote up a pdf, with attached files required for the Uberlisk if any questions are following after reading it / rebuild, construct reverse-engi etc. write here or irc
the files include not up-to-date datas so use them via extra folder
in the pdf it is explained how to create a Uberlisk (not directly step-by-step but should give you the right way) with 1 spinecrawler
Attachment Requirements:
To read the "made-of" a pdf-reader
You can build them, if you do create the code for it
Let other units spawn them on effects/behaviors
maybe more is possible but that's what comes up to my mind atm
there seems to be something weird with the Ability-id, some are valid, some aren't so the training might fail and your hero has all abilities from the start/beginning if you have multiple heroes there seems one way to ensure that your Ability-id is valid, use HeroSkillsUnitname ie. HeroSkillsGuy
For the most part, I got WC3 Hero emulation working. It must be noted some things were pretty much duplicated from the aforementioned chinese mod. Some things, like level requirements for skills havent been finished yet. I will get to fix it once I study said mod further. No documentation within yet either.
It requires a launcher like Zoxc's which allows to pick a mod. Player Race must be protoss, and computer race I recommend zerg, for I have given them a few extra zerglings for testing purposes.
http://dl.dropbox.com/u/1047844/HeroMod.rar
OH MY SCREENSSS:
to get the level-reqs working you "only" need the following things
A CBehaviorBuff with a RemoveValidatorArray
A Validator looking like this:
The tooltip attribute prevents something like RequirementNode/Tooltip/NotLv6 in the requirements or null - so it just shows the Requirement
make sure you have added your RequirementNodeData.xml to add.mpq2k and having a blank RequirementNodeData.xml in your patch.S2Archive in your "...\Starcraft II Beta\Versions\Base10000"
0
While creating tokens for an GenericAbility it happened often that i got the following error showing up on switching from Other or Enum to Link, also happened on clicking Link again.
solved
0
this is true as the only data you could get from Key presses are integer values used by blizzard themselves (-1 to 98), so you are unable to use Scancodes or read the registery entries of your OS for your used Keyboard-layout
the only way you could "do" it would to ask what layout you use ... and this would start annoy ppl using standard QWERTY/Z layouts :/
0
It used to crash a bit at the beginning - but atm it didn't crashed for a while :x
0
I might update this soon - if no one else writes one - if i get another actor related thing working
0
Did another How-to, to 'fix' it currently for Text and stuff (another way than Fiskers)
http://forums.sc2mapster.com/development/tutorials/611-misc-how-to-prevent-localization-errors/
But still would be nice to be able to make a 'default' localization data for all languages :)
or some kind of pointer, refering your SC2Localization to MapLocalization
to avoid stuff like that
0
All the localization stuff currently is causing problems - if you have texts/explainations on your map and all that stuff - and ppl with different clients just can't see your fancy text :(
Here is a simple way to prevent this and make your text 'generic' to any localization
If you create a new Text for Tips,Descriptions,Dialogs, etc. they tend to use 'value', those are then stored into the variables used by the game to adjust the text in the game - this will require you to do a lot of localization
to prevent this you can easily swap to Custom script using
where Rest can either be IntToText, FixedToText etc.(additional text) or nothing
this way the text will be visible in all localizations rather then just the one your actually sc2beta is.
example:
(#.1) instead of
(#.2)
in (#.2) the "Score: " will be looked up into your actual LocalizationData (enUS.SC2Data, enGB.SC2Data) etc. until blizzard implements something to point at these localization datas should should use this way to localize your things and prevent ending up like this: (game: http://www.sc2mapster.com/maps/brand-new-scv/ , no offense to the author :) still a funny game)
Short version: Do not use value for Text
Use CustomScript with XToText() instead
0
You forgot to post this too agweber
anyway would someone like to do this after GE comes out and it's officially supported?
0
Fist of Zen
http://www.youtube.com/results?search_query=Fist+of+Zen+mtv&aq=f
bunch of stuff
just as hint ... sometimes outdoor is even quiter than any lib
0
An updated version that does not utilize raw XML editing and is in the GalaxyEditor can be found here.
I wrote up a pdf, with attached files required for the Uberlisk if any questions are following after reading it / rebuild, construct reverse-engi etc. write here or irc
the files include not up-to-date datas so use them via extra folder
in the pdf it is explained how to create a Uberlisk (not directly step-by-step but should give you the right way) with 1 spinecrawler
Attachment Requirements: To read the "made-of" a pdf-reader
0
WeaponDisableArray - Did NOT get this one to work, one thing is for sure, it doesnt work if the weapon is attached in UnitData.xml
it does work fine o.O - in my Enable Marauder weapon for marine thingy
0
You can build them, if you do create the code for it Let other units spawn them on effects/behaviors maybe more is possible but that's what comes up to my mind atm
0
they are not named 'SupplyDepot' - they are named SupplyDepotLowered if i got it right if they are lowered :)
0
there seems to be something weird with the Ability-id, some are valid, some aren't so the training might fail and your hero has all abilities from the start/beginning if you have multiple heroes there seems one way to ensure that your Ability-id is valid, use HeroSkills
Unitname
ie. HeroSkillsGuy0
to get the level-reqs working you "only" need the following things A CBehaviorBuff with a RemoveValidatorArray A Validator looking like this:
RemoveValidator for Behaviors remove the buff if the case isn't matched any longer
Next you need a RequirementData (for this kind of Requirement) you need a Node ( RequirementData.xml
)
in the RequirementNodeData.xml you will now need the following
The tooltip attribute prevents something like RequirementNode/Tooltip/NotLv6 in the requirements or null - so it just shows the Requirement make sure you have added your RequirementNodeData.xml to add.mpq2k and having a blank RequirementNodeData.xml in your patch.S2Archive in your "...\Starcraft II Beta\Versions\Base10000"