Switching Models/Textures?
Moderator: Moderators
- Sky_216
- Droid Pilot Assassin

- Posts: 2086
- Joined: Mon Feb 13, 2006 3:28 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
Switching Models/Textures?
Is there any way to switch the model/texture a unit uses through lua without causing online crashing??? So say I wanted to load the same republic side in two maps, with the same unit names, but wanted one map to use one set of models/textures and the other to use another set? Or is there some other way to do it?
- Maveritchell
- Jedi Admin

- Posts: 7366
- Joined: Mon Aug 21, 2006 11:03 pm
Re: Switching Models/Textures?
Please clarify. From your explanation, I'm not sure why you wouldn't just make two separate sides with the same unit names. They're on two different maps, why would that crash online?
- Sky_216
- Droid Pilot Assassin

- Posts: 2086
- Joined: Mon Feb 13, 2006 3:28 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
Re: Switching Models/Textures?
Attempt at reducing file size + not having a whole load of extra localising to do. Oh and the online thing is irrelevant, I initially wanted a random Phase I/II switch, so please ignore that.
But if I just have the clone legion with different models as a side 'based' on the other side (ie contains only some odfs and models for clones themselves), and use the method of loading the initial rep side in the lua first, then the second rep side (with the wanted models), would that work?
But if I just have the clone legion with different models as a side 'based' on the other side (ie contains only some odfs and models for clones themselves), and use the method of loading the initial rep side in the lua first, then the second rep side (with the wanted models), would that work?
- Maveritchell
- Jedi Admin

- Posts: 7366
- Joined: Mon Aug 21, 2006 11:03 pm
Re: Switching Models/Textures?
Sure, you could do it. It's not going to reduce your final size by a lot, though, since you've still got to load all those models into your side and then load them into your lua somehow.
- Sky_216
- Droid Pilot Assassin

- Posts: 2086
- Joined: Mon Feb 13, 2006 3:28 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
Re: Switching Models/Textures?
K, thanks anyway. This can now be Locked.
