I was wondering-
Single player SC must have some form of text recognition because of cheats. The game realizes when you want the black sheep to make a wall, or to turn your power up to "overwhelming".
So are these cheats hardcoded into SC. or can you add "cheats" that will trigger certain actions?
would it be possible to add a condition:
Textentered("{text recognized in your particualr mod}")?
if so, AWESOMO!
no.
ive actually been looking for this.
I have found no data of it. It's just programming of starcraft that the programmers used. Modding cheats would be awesome but its just programmed.
You can change the text that appears when the cheat is activated (the "Cheat Enabled/Disabled"). But that's it. The effects are hardcoded.
Yeayeayea, we went over that phatdiddy, but he means does it recognize certain text. Like warcraft III. But... I dont think its possible.
QUOTE(warhammer40000 @ Jun 2 2005, 05:41 PM)
Yeayeayea, we went over that phatdiddy, but he means does it recognize certain text. Like warcraft III. But... I dont think its possible.
[right][snapback]224184[/snapback][/right]
sry then, no one said anything about changing the enabled/disabled text. I think the text that you put in is also hardcoded. So that would mean no.
The cheat codes in StarCraft are stored as hashes, so you won't find them in a normal search, but it is possible to change them. Adding new ones could be done by programming an MPQDraft plugin, since I have seen plugins that can recognise text, and I know that a MPQDraft plugin could definitely change around memory locations if it wanted to.
But in order to do that, how much work is needed? If it isn't that much I am totally going to add that into meh map...
If you've never programmed before, then, it would be far too difficult to do for just one map. Programming skill is essential if you're looking to create a program that interacts with StarCraft at the level of memory addresses and such.
However, if you do have a good amount of programming skill, it could be anywhere from quite easy to quite hard. I would expect it'd be somewhere in between. I honestly have no idea how a program would pickup text that has been typed in StarCraft, perhaps one of the more experience inter-process programmers would have a better idea. However, once you had a system to recognise text, writing triggers that would do things like set switches or change player death counters to certain values would be simple, given you have experience about finding memory locations and those sorts of things.
But this project would be something you'd have to figure out on your own, unless you could find someone who's created a program to read text from the game or something.
Someone should make another mod editor that can edit the cheats
Aha, and who's going to do that?
I hope someone does though.... It'd be soo cool if we brought SC to WC3 level =)
But making sure that SC stays SC and doesn't sell out and be as notrocious as WC3... If it did, I would kill myself. KILL MYSELF DEAD! -____-