Jump to content
Sign in to follow this  
abs

Run a script on a proxy?

Recommended Posts

Hey,

So I'm learning the hard way that there appears to be a limit to the number of hidden selections you can have on a model. Let me walk you through my objectives...

I have a number of panels on my model. They require the texture to be updated, which is why I'm using a script on a selection that will change the texture every so often.

When I add a certain number of these scripts, however, I hit a limit, and I can see the scripts running (as there is a flash every time the texture is loaded) but the texture itself never appears.

I thought that maybe a way around it would be to make these selections proxies, but now they don't appear to have the script run. Is there any way to scrip proxies?

Abs

Share this post


Link to post
Share on other sites

Panels = screens?

Instead, texture a bunch of screens stacked close together like a deck of cards, then use hide/unhide animations on each to cycle through which one you want displayed.

Share this post


Link to post
Share on other sites

Yep, you got it...and damn, I was hoping it would be simpler than that.

I'll have to give that a shot. Thanks, Gnat.

Abs

Share this post


Link to post
Share on other sites

what limit you think you hit ?

make sure its not just a problem of the textures not being preloaded , this also causes the flickering and eventually they show after a few cycles.

there is limits for animation/ bones of 100 per model but not heard of the Selection limit , would be interesting to know what the limit is if you have found it ;)

Share this post


Link to post
Share on other sites

there is limits for animation/ bones of 100 per model

? I recall hearing in was something like 255 for A3

Share this post


Link to post
Share on other sites

It's a limit of 24...now whether it's 24 hidden selections, or model.cfg selections, I'm not sure. I realized that the textures flicker when they're being loaded (it doesn't flicker the second cycle around), which actually helps me conclude that the scripts are running, it tries to load the texture, but the textures do not display.

This happens after 24 screens.

If you're interested, I can send you my model to take a look at.

Abs

[Edit: Definitely not hitting a bone limit. cfgSkeletons only has 2 bones.]

[Edit 2: Meh...here's the file for anyone to check out themselves...it'll be released one day anyway, right? [Link Removed] ]

Edited by Abs

Share this post


Link to post
Share on other sites
Gnat;2574606']? I recall hearing in was something like 255 for A3

Discrete or NonDiscrete ?

I will have to try my old addon with 200 bones and et you know.

@ Abs ill take a look in the Mrning if you havent sussed it .

but for now you can think outside box and maybe Animate the "panel" around so it can be where you need it , if you dont need all 24 panels animating at once ;) .

Share this post


Link to post
Share on other sites

I'm in Chicago on training (would rather be back in Canada!), so I probably won't have the time tonight. Would love your feedback. All the scripts, textures, and stuff are in there. Let me know if you have any questions about anything.

Thanks for this...

Abs

Share this post


Link to post
Share on other sites

No worries ,

i had a quick look before i shut down

constitution has 109 sections in viewpilot lod and (2) 127 sections , thats will not be helping if its not the actual cause altogether , try reduce them first before moving onto the hidden selection thing.

from memory these can be fixed a few ways and sometimes can be caused by alpha on texures when applied and simply the way a texture is applied manually.

someone wrote a script i think or maybe the old export import.bic txt works , ill look around tomorrow evening.

Share this post


Link to post
Share on other sites

Okay, I've reduced the ViewPilot LOD from 127 sections down to 27, which I think is pretty good for now. (I can reduce it further, but not without reimporting some of the screens, which I'll do later.) I've also reduced LOD0 from 15 sections down to 4. I've uploaded the p3d file to [link removed].

I'm pretty sure that the textures themselves are fine. I say this because when I tried removing the hiddenSelections at the beginning of the list, the ones at the end of the list began showing up. I've never heard about import.bic before, but I'm open to trying anything. Let me know if you have any further ideas. :)

Abs

[EDIT: Got it sorted for the most part. No limit on hiddenSelections or anything like that. Turns out it was just a typo and a script error. This will teach me to look at the RPT file before asking for help. On the plus side, I learned how to reduce my section counts...so thanks to all those who helped. :)]

Edited by Abs

Share this post


Link to post
Share on other sites
Ive deleted the files FYI

Thanks man...it wouldn't have bothered me if you kept them, though. Still, I appreciate the courtesy.

Abs

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×