Staredit Network > Forums > Modding Assistance > Topic: Oddity with Spirtes.dat
Oddity with Spirtes.dat
Jun 7 2009, 5:17 pm
By: Lord_Jeremy  

Jun 7 2009, 5:17 pm Lord_Jeremy Post #1



I'm trying to make the siege tank base invisible while the turret is visible. I deselected the Is Visible checkbox in Sprites.dat but when the unit's created, it's still visible. And now when the unit comes out of siege mode back into tank mode, it freezes. What I mean is, all orders do nothing, enemy units ignore it, and I can't click it. Oh and it doesn't reveal the map anymore. If I set a blank grp for the tank then I won't be able to select it, will I?



None.

Jun 7 2009, 5:19 pm Biophysicist Post #2



There is an opcode to make an image invisible. Put that in the tank base's iscript. It's tmphidegraphicsstart or something like that.



None.

Jun 7 2009, 8:38 pm Corbo Post #3

ALL PRAISE YOUR SUPREME LORD CORBO

Why not give the base the pallete "cloaked" and use the "enemy cloak" mapping? That way you won't see it.



fuck you all

Jun 7 2009, 8:50 pm Lord_Jeremy Post #4



Ah yes, tmprmgraphicstart. I considered that but doesn't that also hide any overlays and crap on the unit, thus messing up spell effects and such?

Heh, I just realized that I could very probably just get rid of the tank and siege subunits and just use the base units instead of going through the trouble of hiding the base. Can anyone think of a reason for that not working?



None.

Jun 8 2009, 2:14 am ShadowFlare Post #5



I think it should be possible to make a siege tank that has no turret and still transforms properly.



None.

Jun 8 2009, 2:38 am Lord_Jeremy Post #6



Ah, thanks!



None.

Jun 17 2009, 3:37 am Lord_Jeremy Post #7



Damnit, it seems that getting rid of the subunit is not as simple as setting the subunit 1 property to None. Now the game crashes about halfway through the production of a siege tank. Sorry for being such a bother, but has anyone else successfully stripped the siege tank of its turret-ness. I also tried setting the overlay file to None, but no luck.



None.

Jun 17 2009, 10:44 am Hercanic Post #8

STF mod creator, Modcrafters.com admin, CampaignCreations.org staff

Probably the least painless way would be to make a 1px GRP with the same amount of frames as the turret, and replace.

As for the crashing, was all you changed the subunit in Units.dat? You'd need to edit the Iscript and omit all the cross-image communication in its scripts. The AI tab under Units.dat may need changing, too.




Jun 18 2009, 1:21 am Lord_Jeremy Post #9



Hmm I also gave it a new iscript which was formed like a regular unit iscript. Also I don't see anything in the AI tab that relates to subunit usage...

EDIT:
So no one has any idea how to de-turret-ify the Siege Tank?

Post has been edited 1 time(s), last time on Jun 20 2009, 10:52 pm by Lord_Jeremy.



None.

Jun 30 2009, 9:27 pm Lord_Jeremy Post #10



Damnit. Well here's another oddity. I tried setting the subunits for the Goliath, Tank, and Siege to None in datedit on a new mod and it worked just fine. The units were built successfully and moved around and stuff without any crash. Thus, I'm worried that somehow my other mod's units.dat has been corrupted or somesuch. For some reason, the game crashes when the Tank is built up to about halfway. As far as I know, the mod was working just fine up until I removed the subunit for the Tank. I must've done something else or the dat got corrupted. Can anyone think of any reason for the game to crash halfway through the build process?

EDIT:
Ah I feel like an idiot. There was an error in the unit's iscript. I accidentally put the Death animation header after the Init animation header and didn't put a goto in between. That's what I get for writing my own script from scratch... :P

FURTHER EDIT:
Well I discovered that apparently sieging and likely unsieging a tank without a turret will cause the game to crash. I confirmed this with a brand new mod changing only the turret settings for the two Tank incarnations. Damnit!

Post has been edited 2 time(s), last time on Jun 30 2009, 10:09 pm by Lord_Jeremy.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[09:38 pm]
NudeRaider -- Ultraviolet
Ultraviolet shouted: NudeRaider sing it brother
trust me, you don't wanna hear that. I defer that to the pros.
[07:56 pm]
Ultraviolet -- NudeRaider
NudeRaider shouted: "War nie wirklich weg" 🎵
sing it brother
[06:24 pm]
NudeRaider -- "War nie wirklich weg" 🎵
[03:33 pm]
O)FaRTy1billion[MM] -- o sen is back
[01:53 am]
Ultraviolet -- :lol:
[2024-4-26. : 6:51 pm]
Vrael -- It is, and I could definitely use a company with a commitment to flexibility, quality, and customer satisfaction to provide effective solutions to dampness and humidity in my urban environment.
[2024-4-26. : 6:50 pm]
NudeRaider -- Vrael
Vrael shouted: Idk, I was looking more for a dehumidifer company which maybe stands out as a beacon of relief amidst damp and unpredictable climates of bustling metropolises. Not sure Amazon qualifies
sounds like moisture control is often a pressing concern in your city
[2024-4-26. : 6:50 pm]
Vrael -- Maybe here on the StarEdit Network I could look through the Forums for some Introductions to people who care about the Topics of Dehumidifiers and Carpet Cleaning?
[2024-4-26. : 6:49 pm]
Vrael -- Perhaps even here I on the StarEdit Network I could look for some Introductions.
[2024-4-26. : 6:48 pm]
Vrael -- On this Topic, I could definitely use some Introductions.
Please log in to shout.


Members Online: Roy