Page 1 of 1

Dark Trooper Class Properties Not Working [SOLVED]

Posted: Wed Jun 17, 2009 12:50 pm
by SHOOT ME DEAD !
After a proper clean and a reboot its working again. That was weird.
Thanks for responding anyways. Weehaw! the darkies work.

Re: Dark Trooper Class Properties Are "Hardcoded" ?

Posted: Wed Jun 17, 2009 1:20 pm
by RogueKnight
SHOOT ME DEAD ! wrote:Well I did my bit and tried to search for this topic and Im SURE it doesnt exists this time...

Anyways, when attempting to use the SetClassProperty to post script a dark trooper, it will not work. At first I thought it might be slot 6, but turns out its the dark trooper itself.

This is not the first example of "hardcoding" I have encountered, I seem to recall having trouble with DarthMaul where I was not having similar trouble with any other jedis. I wanted to share the assets of DarthMaul and have several classes inherit everything and just overide the textures so I could have red mauls, gold mauls, and blue mauls in the same level... (whether or not I released it is another issue, lol)... but anyways I could do this with the other jedis no problem but could never get it to work with Maul. Sometimes things just appear to be "hardcoded" in there.

You can of course create your own maul from scratch, but I wouldn't go to that much trouble just to change texture file.

Anyways, darkie dont work. Ya have to make your own darkie.
Assuming i know what your saying, you can just simply hex edit the msh file to read another texture.

Re: Dark Trooper Class Properties Are "Hardcoded" ?

Posted: Wed Jun 17, 2009 1:52 pm
by Xavious
Only certain models have Override textures, such as the generic Jedi and B1 battle droid.

Re: Dark Trooper Class Properties Are "Hardcoded" ?

Posted: Wed Jun 17, 2009 2:44 pm
by SHOOT ME DEAD !
ok this has nothing to do with hex editing or texture overriding, its an inability to use the SetClassProperty() function on the dark trooper in the ScriptPostLoad() fucntion of your lua file wheas it IS possible to do this with every other unit in the game. So it seems a bit of hardcode is rejecting SetClassProperty() for the dark trooper class that is in the game.

I fully realise you can make your own dark trooper class and do whatever you want. The point is kinda that you cant post script it.

Post scripting rocks da casbah. Why make a side when you can load and code ?

Re: Dark Trooper Class Properties Are "Hardcoded" ?

Posted: Wed Jun 17, 2009 2:46 pm
by RogueKnight
SHOOT ME DEAD ! wrote:Post scripting rocks da casbah. Why make a side when you can load and code ?
For the experience of knowing how to ODF, LUA, and being able to go crazy and do whatever you want?

I'm not trying to put down your idea, but I'm saying that being able to make a new side altogether gives you more options for customization.

Re: Dark Trooper Class Properties Are "Hardcoded" ?

Posted: Thu Jun 18, 2009 11:50 am
by [RDH]Zerted
SHOOT ME DEAD ! wrote:...when attempting to use the SetClassProperty to post script a dark trooper, it will not work...
I'm not sure if that is true. If it was, then a bunch of FakeConsole commands wouldn't work on Dark Troopers (though, I didn't test each command on each unit, but I'm sure someone would have noticed that by now...). Do you still have the code you used to test it? If so, post it.