You must be logged in to post messages.
Please login or register

Scenario Design and Discussion
Moderated by Sebastien, Mr Wednesday

Hop to:    
loginhomeregisterhelprules
Bottom
Topic Subject: Enabling String ID edit boxes in the scenario editor
posted 05-11-14 09:35 AM CT (US)   
found this by accident



these offsets are for AoC v1.0c - v1.4 only

you can test this via memory editing: [[007912A0]+9BC] 00 -> 01

to enable the string id edit boxes, hex edit age2_x1.exe:

# enable hidden buttons:
001EB276 00 -> 01
# fix button positions:
0x000ED089 81 01 00 00 -> 38 02 00 00
0x000ED09F 81 01 00 00 -> 38 02 00 00
# fix buttons length:
000EA602 14 -> 0A
000EB05D 14 -> 0A
# fix buttons width:
000ED099 78 -> 5A
# disable Sound Resource ID (unused)
0x000E331F 75 -> EB
0x000E3388 75 -> EB

this will enable the string ID edit boxes for triggers info, send chat, play sound, display instructions and change object name. might affect other things as well

note that play sound id doesnt seem to work (maybe because Sound is set to -1 instead of 0 )

thanks to danielpr for the button coordinates fix

[This message has been edited by JustTesting1234 (edited 11-01-2014 @ 10:03 AM).]

Replies:
posted 05-11-14 11:54 AM CT (US)     1 / 7  
"accident"

I'm starting to believe you're actually a former ES employee in disguise. Hmmm
posted 05-11-14 01:01 PM CT (US)     2 / 7  
updated to fix the position

it will now overlap the text 'Message', i might find a proper position other day

[This message has been edited by JustTesting1234 (edited 05-11-2014 @ 01:01 PM).]

posted 07-10-14 11:10 PM CT (US)     3 / 7  
I thought Sound-ID did work. It played the sound when we tested it. Maybe you are refering to the effect "Play Sound ID" (which I have never heard of).

GENIE-STUDIO (manipulate Genie-Engine files with JSON)
posted 07-11-14 00:28 AM CT (US)     4 / 7  
What does this actually do?
posted 07-11-14 03:49 AM CT (US)     5 / 7  
ES (and the AoF team) made a string txt file or embedded the strings in the language file to be able to make the localization and implementation of text easier. Each line of text is assigned a numerical string ID, which can be typed into the string boxes in different parts of the editor. JustTesting has been able to reveal these boxes in the AoC UserPatch scenario editor. If you own the HD edition, these are revealed by default.

~ Forgotten Empires ~

Storm on the Steppe | Galderton Hill RP | Proud member of Stormwind Studios

"Deyr fé, deyja frændr, deyr sjálfr it sama; ek veit einn at aldri deyr, dómr um dauðan hvern." - Hávamál 77.
posted 09-20-14 08:26 PM CT (US)     6 / 7  
Hey!
I have been messing around this, and I have found a better position that doesn't conflict with any field:
http://goput.it/71a3.png

For the ones who are interested:
0x000ED089 81 01 00 00 -> 38 02 00 00
0x000ED09F 81 01 00 00 -> 38 02 00 00

Oh, and also, there is a little error in one of your adresses:
000ED098
This should be actually 000ED099

The Portuguese Civ Mod III - Download at the Blacksmith
A mod that adds new civilizations, a new age, a new resource and introduces new gameplay features!
2nd place as Best Mod Pack in AoKH GOTY 2013 (PCM I) | 1st place as Best Mod Pack in AoKH GOTY 2015 (PCM II) | 2nd place as Best Mod Pack in AoKH GOTY 2017 (PCM III)


"And he that sat upon the throne said, Behold, I make all things new. And he said unto me, Write: for these words are true and faithful." - Revelation 21:5 (KJV)

[This message has been edited by danielpereira (edited 09-20-2014 @ 08:33 PM).]

posted 09-21-14 04:22 AM CT (US)     7 / 7  
good job

updated first post
Age of Kings Heaven » Forums » Scenario Design and Discussion » Enabling String ID edit boxes in the scenario editor
Top
You must be logged in to post messages.
Please login or register
Hop to:    
Age of Kings Heaven | HeavenGames