Jump to content
Sign in to follow this  
Guest RKSL-Rock

SetObjectTexture

Recommended Posts

Guest RKSL-Rock

Ok...if i wasnt already bald i would be.

He's the rub.  I've been working on using Psuedo proxies for an addon using the SetObjectTexture as described in Klink's and FAB's Tutorials.

The problem is it doesnt seem to work.  You fire the missile and the puesdoproxy doesnt disappear.

I've also noticed that none of the selctions named "Vrtule blur" are disappearing whent he engine is off.  (I've followed both Klink's and Brsseb's Tutorials but with now success.

The named selections are correct as per the tutorials as is the config setting.  It seems that other people's addon that use setobjecttexture work fine but when I create an addon none of these selections work...so I figure its either somethign I'm not doing right in O2 or I'm missing something rather important in the config.

Anyone had something similar or got any tips?

Share this post


Link to post
Share on other sites

hmm

note this on set object texture

-the p3d name and the class name have to be the same

(dunno which class right now but i think it was the

cfg models...)

- proper settign inside cfg models

- hidden selection in cfg vehicles (all selection that use setob...)

- texture size not bigger tehn 512Ë› or lower

- note the direction of the selectiosn appearign inside oxygen in the selctions list

this vital!

like this

my selections:

A, B, C, ....

if u use the setobecjt texture command this would look like this

dude setobjecttexture [0,"haha.paa"]

so the A is 0, B is 1, C is 2 etc.

hoep this helps a bit

had probs with it myself biggrin_o.gif

Share this post


Link to post
Share on other sites

download my p51 it has the rockets and bombs it may help?

can you list a bit more info on the prob

Share this post


Link to post
Share on other sites
Guest RKSL-Rock
-the p3d name and the class name have to be the same

 (dunno which class right now but i think it was the

 cfg models...)

Mate that one line made everything better!

Thanks you so much for that...my remaining hair thanks you! tounge_o.gif

Quote[/b] ]

- note the direction of the selectiosn appearign inside oxygen in the selctions list

What exactly do you mean by that? Direction relative to the main model?

All the other stuff i had...but seriously this has been bugging me for 3 days.

Thanks.

Share this post


Link to post
Share on other sites
Guest RKSL-Rock
download my p51 it has the rockets and bombs it may help?

can you list a bit more info on the prob

It all fixed now thanks Trenchfeet its just the Class/File name thing stopping me!

Share this post


Link to post
Share on other sites

no problem

that was pain in the arse i know...

to ur second

i mean in which order the selections appear in oxygen in the selections list

like slections A B C D E etc

if u use the setobjecttexture command this is imporatens

as u dont write set... [A,"agaj.paa"]

but setobject...[0,"kanbc.paa"]

so 0 is first selection that comes in the slection list in oxygen

liek this

A Is the first one in the slection list so with the settexture command its [0,...

so A = 0

B = 1

C = 2 etc etc

of course u can use diffrent names for teh selections

cheers

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  

×