Staredit Network > Forums > Modding Assistance > Topic: Trouble with Goliath Turrets on heroes
Trouble with Goliath Turrets on heroes
Oct 14 2009, 10:33 pm
By: Scoryth  

Oct 14 2009, 10:33 pm Scoryth Post #1



I have created three heroes, each that use the Goliath sprite and turret. I also have three normal units that use the Goliath sprite and turret. The three normal units have their respective turrets. However, the heroes do not. Using DatEdit I directed the heroes to use the same turrets as the normal units because I don't have enough spaces left to make three new turrets. However, for some reason the heroes turrets do not appear, while the regular units' do. Just to make sure I put both the hero Goliaths and the regular Goliaths next to each other. The turrets do not appear on the heroes. What could be wrong?



None.

Oct 14 2009, 10:36 pm Biophysicist Post #2



Compare the image.dat entries of the normal units with those of the heroes. I have a hunch that a missing LO? file is the issue.



None.

Oct 14 2009, 11:43 pm Scoryth Post #3



How do I compare that?

EDIT: By the way. I forgot to mention this, but, when I run my mod in StarEdit the heroes appear with their proper turrets, but in-game, not the same. Does this help?



None.

Oct 14 2009, 11:47 pm Symmetry Post #4

Dungeon Master

Quote from Scoryth
How do I compare that?

The same way you'd compare anything. Look at each one individually and keep an eye out for differences.



:voy: :jaff: :voy: :jaff:

Oct 15 2009, 12:21 am ShadowFlare Post #5



I think it crashes if the .lo? file is missing in images.dat for a unit that has a turret assigned. The issue is probably somewhere in units.dat, since you didn't say that it crashes.

By the way, the reason it shows in StarEdit is that it knows nothing about turrets; they just used a workaround to draw an overlay in the iscript in StarEdit. This means that it will draw a turret in StarEdit if you use the same base graphic as another unit that has its turret drawn in StarEdit, regardless of whether it actually has that turret.

Did you assign the turret to them in units.dat? This is done on "Subunit 1" under the advanced tab.

Post has been edited 1 time(s), last time on Oct 15 2009, 12:28 am by ShadowFlare.



None.

Oct 15 2009, 12:34 am Scoryth Post #6



Normal Unit - Excalibur (Subunit 1: Excalibur Turret)
Hero Unit - Alan Jacobs (Subunit 1: Excalibur Turret)

Yes, unit "Excalibur Turret" does have a check in the "Subunit" box as well.

Just another idea - does Firegraft have anything to do with it? I am using it to modify the buttons of the buildings.



None.

Oct 15 2009, 4:06 pm Yawgmoth Post #7



That's weird.....

If you are using the same graphics for all the units (as the Terran Goliat and Alan Schezar do), the images.dat LO? issue is inadmissible..... they are the same!!

I think the problem is in the units.dat. ShadowFlare wasn't referring to the "Subunit" checkbox, but to the tab "Subunit 1:", where you must indicate what unit is the corresponding subunit.

What I think is happenning (I haven't tested it, however) is that the turrets can only be assigned to an unique unit entry.
If not, I'm clueless, because I suppose you copied the bases entries to other unit entries, making them identical except the "Hero" property, same for the turrets (none of them are hero.....), so the whole lot should be functional.......

Maybe, in FG, you should change the "Status Preset" for all the units.dat entries you used. Turrets are different from normal units.....



None.

Oct 15 2009, 11:53 pm Scoryth Post #8



Quote
ShadowFlare wasn't referring to the "Subunit" checkbox, but to the tab "Subunit 1:", where you must indicate what unit is the corresponding subunit.

I know that. I've double and triple checed it and the unit in the Subunit 1 list is the turret that I need it to be.

Quote
Maybe, in FG, you should change the "Status Preset" for all the units.dat entries you used. Turrets are different from normal units.....

What would I change them to? I loaded a new file just to see if I could compare, but the entry for the default turrets are "Unselectable" and that's what I have on my turrets. Should I just try to find three unused slots and make three turrets for the heroes? Is there no other way to resolve this problem?



None.

Oct 16 2009, 5:15 am ShadowFlare Post #9



What happens if you just copy and paste one of the working ones over one that isn't working (in units.dat)? Does it still not work?



None.

Oct 17 2009, 12:18 am Scoryth Post #10



Copy what? The turret or base?



None.

Oct 19 2009, 7:53 pm Yawgmoth Post #11



This is very curious, as I made some tests and they worked. Same turret for heroes and normal units (even a SCV.....which has so many LO? files that it worked immediatly, and was funny.....), no matter what FG Status Preset I used.

To make a lot of space for units which need to have all the sounds, I moved every turret to unused buildings entries. At first test, I failed to put the different turret to all the units and used the saem for all (Goliat, Alan, Tank, Siege Tank, Duke and Siege Duke), and all of them got the Goliat turret, so it worked perfectly (but that was an stupid error.......).

I don't know what are you doing wrong. You are associating the same turret to two (or more) units, and it doesn't work when you put it on a hero...... but it works for me, and I did the same as you.

Thinking.......



None.

Oct 20 2009, 4:27 pm Scoryth Post #12



Should I send you my mpq and Firegraft .exe so you can take a look at it? Maybe you can find the problem, since I can't seem to.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[11:05 pm]
Ultraviolet -- :wob:
[03:55 pm]
Zoan -- :wob:
[10:34 am]
NudeRaider -- SEN doesn't rely on spammers initiate its sleep cycle. It hat fully automated rest and clean-up phases. Please understand that this is necessary for the smooth operation of the site. Thank you.
[2024-5-18. : 3:45 am]
Sylph-Of-Space -- Does the shoutbox get disabled when there's spammers?
[2024-5-17. : 6:47 am]
NudeRaider -- lil-Inferno
lil-Inferno shouted: nah
strong
[2024-5-17. : 5:41 am]
Ultraviolet -- 🤔 so inf is in you?
[2024-5-17. : 4:57 am]
O)FaRTy1billion[MM] -- my name is mud
[2024-5-17. : 4:35 am]
Ultraviolet -- mud, meet my friend, the stick
[2024-5-16. : 10:07 pm]
lil-Inferno -- nah
[2024-5-16. : 8:36 pm]
Ultraviolet -- Inf, we've got a job for you. ASUS has been very naughty and we need our lil guy to go do their mom's to teach them if they fuck around, they gon' find out
Please log in to shout.


Members Online: Roy