After a proper clean and a reboot its working again. That was weird.
Thanks for responding anyways. Weehaw! the darkies work.
Dark Trooper Class Properties Not Working [SOLVED]
Moderator: Moderators
- SHOOT ME DEAD !
- Private Recruit
- Posts: 22
- Joined: Wed Jun 17, 2009 10:53 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Contact:
Dark Trooper Class Properties Not Working [SOLVED]
Last edited by SHOOT ME DEAD ! on Thu Jun 18, 2009 1:38 pm, edited 2 times in total.
-
RogueKnight
- Space Ranger
- Posts: 2512
- Joined: Sat Nov 22, 2008 1:50 pm
- Projects :: Life. Work.
- xbox live or psn: No gamertag set
- Location: Washington, US
Re: Dark Trooper Class Properties Are "Hardcoded" ?
Assuming i know what your saying, you can just simply hex edit the msh file to read another texture.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.
-
Xavious
- Sith Master

- Posts: 2783
- Joined: Mon Jun 12, 2006 3:46 pm
Re: Dark Trooper Class Properties Are "Hardcoded" ?
Only certain models have Override textures, such as the generic Jedi and B1 battle droid.
- SHOOT ME DEAD !
- Private Recruit
- Posts: 22
- Joined: Wed Jun 17, 2009 10:53 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Contact:
Re: Dark Trooper Class Properties Are "Hardcoded" ?
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 ?
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 ?
-
RogueKnight
- Space Ranger
- Posts: 2512
- Joined: Sat Nov 22, 2008 1:50 pm
- Projects :: Life. Work.
- xbox live or psn: No gamertag set
- Location: Washington, US
Re: Dark Trooper Class Properties Are "Hardcoded" ?
For the experience of knowing how to ODF, LUA, and being able to go crazy and do whatever you want?SHOOT ME DEAD ! wrote:Post scripting rocks da casbah. Why make a side when you can load and code ?
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.
- [RDH]Zerted
- Gametoast Staff

- Posts: 2982
- Joined: Sun Feb 26, 2006 7:36 am
- Projects :: Bos Wars AI - a RTS game
- xbox live or psn: No gamertag set
- Location: USA
- Contact:
Re: Dark Trooper Class Properties Are "Hardcoded" ?
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.SHOOT ME DEAD ! wrote:...when attempting to use the SetClassProperty to post script a dark trooper, it will not work...
