Hi there! You are currently browsing as a guest. Why not create an account? Then you get less ads, can thank creators, post feedback, keep a list of your favourites, and more!
Quick Reply
Search this Thread
Test Subject
Original Poster
#1 Old 12th Dec 2006 at 10:11 PM
Question about "Stack object's graphic"
Hello

i used this in the bhav:
0x0002 Expression - Stack object's graphic := [entry# in the Text List 0x85]
0x0007 Refresh Stack object's graphics

It works fine, but how can I keep the recolor? Because if I use "Stack object's graphic", the object have again the original texture.
Advertisement
One horse disagreer of the Apocalypse
#2 Old 12th Dec 2006 at 10:32 PM
This reminds me of when we were making the openable curtains. And oddly enough it seemed to work slightly different each time an EP came out. Numenor and Jwoods helped me sort it out.

"You can do refraction by raymarching through the depth buffer" (c. Reddeyfish 2017)
The ModFather
retired moderator
#3 Old 12th Dec 2006 at 11:01 PM
But I don't remember how! -

Mmmhhh... After having examined the AutoDrapes, I see that we decided not to use any more two different meshes: we simulated the open/close states using using two alternative textures...

Soya, you should try this:
  • create a TextList with instance 0x87 and put in line 0x00 the name of the recolourable subset (if there are two recolourable subsets, use lines 0x00 and 0x01);
  • create a TextList 0x88 and put in line 0x00 the name of the default TXMT for the recolourable subset, as it appears in the Shape (if you have two recolourable subsets, again use line 0x01, too);
  • append to the "Refresh SO's graphics" instruction the following line:
    0x006D Change Material - Operands: 00000000000A00000000000000000000
    (if you have 2 recolourable subsets, add a second line like this:
    0x006D Change Material - Operands: 01000001000A00000000000000000000 )

I've finally started my Journal. Information only, no questions.

My latest activity: CEP 9.2.0! - AnyGameStarter 2.1.1 (UPD) - Scriptorium v.2.2f - Photo & Plaques hide with walls - Magazine Rack (UPD) - Animated Windows Hack (UPD) - Custom Instrument Hack (UPD) - Drivable Cars Without Nightlife (UPD) - Courtesy Lights (FIX) - Custom Fence-Arches - Painting-TV - Smarter Lights (UPD)


I *DON'T* accept requests, sorry.
Test Subject
Original Poster
#4 Old 12th Dec 2006 at 11:34 PM
Thanks for your answer . But it doesn't work..
The Meshes in all GMNC have the same group-name and the same texture in Shape.
Maybe I must edit something in the GMND Resource?
Back to top