[skip all navigation]

Create unit tags misfunction *FIXED*, Doesn't show resource/ supply costs

Creator: Spatharas
Time: Jul 10 2012, 7:11 pm

Post #1     Spatharas Jul 10 2012, 7:11 pm

[Avatar]
offlinecontact
Rank: Member
There are two kinds of problems I am facing, one is where a string such as "Create Devourer" comes up as "eate Devourer". The other is that the part that shows the mineral, gas, and supply cost is not shown. I attached my mod if it helps find the problem.

Also, if you run it, and the custom tags aren't shown, please tell me.

Thanks! it works now :)

For anyone else who has the same problem, it seems that the cause is that hotkeys are necessary to proper function of a tag when applicable (not optional) and if you try to remove the hotkey, the game confuses it with a different kind of tag (such as a name of a unit)
Attachments:
exe file
Mod.exe (508.81 kb)
0 hits.
This post was edited 2 times, last edit by Spatharas: Jul 12 2012, 12:07 am.

Top

Post #2     IskatuMesk Jul 10 2012, 8:33 pm

[Avatar]
bannedcontact
Rank: Veteran
I think this is because the opcodes of the tag aren't set up properly. The <> parts.

Top

Post #3     Pr0nogo Jul 10 2012, 8:58 pm

[Avatar]
Rank: Goff
offlinecontact
Rank: Member
Quote from Pr0nogo
<0> = Label Only, no Requirements
<1> = Minerals, Gas, Supply (Unit/Building)
<2> = Upgrade Research
<3> = Spell
<4> = Technology Research
<5> = Minerals, Gas (Guardian/Devourer Aspect)

Told you already.

(user posted image)
Top

Post #4     Biophysicist Jul 10 2012, 10:17 pm

[Avatar]
:(){ :|:& };:
offlinecontact
Rank: Regular
The first character is the hotkey, followed by the label type. So, you'd probably want something like "d<1>Create <3>D<1>evourer<0>". (The <3> and the second <1> are color tags, not label types.)

Catapultam habeo. Nisi pecuniam omnem mihi dabis, ad caput tuum saxum immane mittam.
Top

Post #5     Spatharas Jul 11 2012, 12:30 am

[Avatar]
offlinecontact
Rank: Member
I tried both and for some reason both problems persist.
This post was edited 1 time, last edit by Spatharas: Jul 11 2012, 12:38 am.

Top

Post #6     Pr0nogo Jul 11 2012, 12:41 am

[Avatar]
Rank: Goff
offlinecontact
Rank: Member
Attach your stat_txt.tbl file. Tell me what lines specifically are dysfunctional.

(user posted image)
Top

Post #7     Spatharas Jul 11 2012, 5:11 am

[Avatar]
offlinecontact
Rank: Member
To name a few:

Create Mutalisk/Guardian/Devourer/Death Hybrid/Storm Hybrid/Blood Hybrid

and thanks for helping me :)
Attachments:
tbl file
stat_txt.tbl (39.17 kb)
2 hits.

Top

Post #8     Pr0nogo Jul 11 2012, 6:05 pm

[Avatar]
Rank: Goff
offlinecontact
Rank: Member
Fixed.
Attachments:
tbl file
stat_txt.tbl (39.18 kb)
2 hits.

(user posted image)
Top
0 members in this topic (italic members are currently writing a reply): None
+ guest(s)


[08:05 pm]
[07:27 pm]
Pr0nogo -- It's like 44 minutes of me screaming
[07:27 pm]
Pr0nogo -- I'm going to post the video I had in an extras section in the LP thread, though
[07:17 pm]
Wing Zero -- lol
[07:10 pm]
Pr0nogo -- one hour in I decided not to because it was that retarded
[07:10 pm]
Pr0nogo -- I was about to LP Gradius' SCII campaign
[06:49 pm]
jjf28 -- min settings so dull
Please log in to shout.