Question about buttons (Titan at HQ for example)

Locked
Insigar
Posts: 21
Joined: Sat Jul 09, 2016 2:27 am

Question about buttons (Titan at HQ for example)

Post by Insigar » Sun Aug 14, 2016 9:02 pm

Straight to the point today :D

rupuz, do you have any information about the buttons at the headquarters for example?

I know that the resource requirements, name ID and ui ID are at the button upgrade stats ui offset. But I can't figure out how the button makes the titan spawn.

Button upgrade stats id: if you want to take a look let me know if there are any mistakes
01 00 03 00 96 53 6F 1A 00 00 00 00 F4 01 00 00
2C 01 00 00 00 00
75 69 5F 62 74 6E 5F 75 6E 69
74 5F 68 75 6D 61 6E 5F 74 69 74 61 6E 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00
C0 D4 01 00

01 00 Button ID
03 00 Building ID
96 53 Text ID
6F 1A Description text ID
00 00 00 00 F4 01 00 00
2C 01 00 00 00 00
Resources in order: Wood, stone, iron, lenya, aria, moonsilver, food
75 69 5F 62 74 6E 5F 75 6E 69
74 5F 68 75 6D 61 6E 5F 74 69 74 61 6E 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00
UI name
C0 D4 01 00 Don't know

User avatar
rupuzioks
Site Admin
Posts: 555
Joined: Sun Nov 13, 2011 2:57 pm

Re: Question about buttons (Titan at HQ for example)

Post by rupuzioks » Mon Aug 15, 2016 8:22 am

Insigar wrote:
01 00 03 00 96 53 6F 1A 00 00 00 00 F4 01 00 00
2C 01 00 00 00 00
75 69 5F 62 74 6E 5F 75 6E 69
74 5F 68 75 6D 61 6E 5F 74 69 74 61 6E 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00
C0 D4 01 00

01 00 Button ID
03 00 Building ID
96 53 Text ID
6F 1A Description text ID
00 00 00 00 F4 01 00 00
2C 01 00 00 00 00
Resources in order: Wood, stone, iron, lenya, aria, moonsilver, food
75 69 5F 62 74 6E 5F 75 6E 69
74 5F 68 75 6D 61 6E 5F 74 69 74 61 6E 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00
UI name
C0 D4 01 00 Don't know
C0 D4 01 00 upgrade/summon time in ms

6F 1A description ID
here is from quest game menu offset:
6F 1A 96 53
6F 1A description ID
96 53 description text ID
Tempus et vita, tempus et mortis

User avatar
rupuzioks
Site Admin
Posts: 555
Joined: Sun Nov 13, 2011 2:57 pm

Re: Question about buttons (Titan at HQ for example)

Post by rupuzioks » Mon Aug 15, 2016 8:23 am

titan summoning is somewhere in lua scripts I think
Tempus et vita, tempus et mortis

Insigar
Posts: 21
Joined: Sat Jul 09, 2016 2:27 am

Re: Question about buttons (Titan at HQ for example)

Post by Insigar » Mon Aug 15, 2016 11:36 pm

I know now that the spawning of stuff is linked to the button ID. I changed the building ID from the boar swarm unit button to the human headquarters and it spawned... bloodhounds. I looked through the scripts for about 2 hours, searched for unit ids, names, races I don't even know what else, so if it's really somewhere in the scripts god himself would have to come down to earth and look through them.

Locked