• Website
  • Search
  • Member List
  • Help
  • Old Forum
  • Social Media
    •   @Wings3dOfficial
    •   @Wings3dOfficial
    •   Wings3dOfficial
    •   Wings3dOfficial
  • Register
  • Login
  • Website
  • Search
  • Member List
  • Help
  • Old Forum
  • Register
  • Login
Wings 3D Development Forum Wings 3D Programming v
« Previous 1 2 3 4 Next »
How to check the text assigned to a Variable

 
  • 1 Vote(s) - 5 Average
How to check the text assigned to a Variable

oort
Offline

3D Obsessed

Posts: 1,184
Threads: 69
Joined: Nov 2012
#3
02-08-2013, 10:32 PM
Micheus,
Thanks for helping. That doesn't give me exactly what I need. I need to clarify what I need...

For w_default_Bronze_1 I need to get the following text added to the exported .xml file...

Quote:<upper_layer sval="w_default_Bronze_2"/>

and for w_default_Bronze_2 I need " " (no text) added to the exported .xml file.

Below is what I am trying to get in my .xml file, although this may not be exactly what the final code needs to be.

Thanks,
oort

Quote: <diffuse_shader sval="w_default_Bronze_1"/>
<list_element>
<element sval="shader_node"/>
<name sval="w_default_Bronze_1"/>
<input sval="w_default_Bronze_1_mod"/>
<upper_layer sval="w_default_Bronze_2"/>
<mode ival="1"/>
<type sval="layer"/>
</list_element>
<list_element>
<element sval="shader_node"/>
<name sval="w_default_Bronze_1_mod"/>
<texco sval="uv"/>
<mapping sval="plain"/>
<texture sval="w_default_Bronze_1"/>
<type sval="texture_mapper"/>
<bump_strength fval="0.0"/>
</list_element>

<bump_shader sval="w_default_Bronze_2"/>
<list_element>
<element sval="shader_node"/>
<name sval="w_default_Bronze_2"/>
<input sval="w_default_Bronze_2_mod"/>

<mode ival="0"/>
<type sval="layer"/>
</list_element>
<list_element>
<element sval="shader_node"/>
<name sval="w_default_Bronze_2_mod"/>
<texco sval="uv"/>
<mapping sval="plain"/>
<texture sval="w_default_Bronze_2"/>
<type sval="texture_mapper"/>
<bump_strength fval="5.000"/>
</list_element>

</material>
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Messages In This Thread
How to check the text assigned to a Variable - by oort - 02-08-2013, 08:22 PM
RE: How to check the text assigned to a Variable - by micheus - 02-08-2013, 09:32 PM
RE: How to check the text assigned to a Variable - by oort - 02-08-2013, 10:32 PM
RE: How to check the text assigned to a Variable - by micheus - 02-09-2013, 11:32 AM
RE: How to check the text assigned to a Variable - by ggaliens - 02-10-2013, 03:08 AM
RE: How to check the text assigned to a Variable - by oort - 02-11-2013, 08:00 AM
RE: How to check the text assigned to a Variable - by micheus - 02-11-2013, 03:49 PM
RE: How to check the text assigned to a Variable - by oort - 02-11-2013, 07:49 PM
RE: How to check the text assigned to a Variable - by Whimad - 10-27-2013, 01:45 PM
RE: How to check the text assigned to a Variable - by micheus - 10-27-2013, 02:41 PM
RE: How to check the text assigned to a Variable - by superhitdeals - 04-04-2014, 12:52 PM
RE: How to check the text assigned to a Variable - by martinkay - 06-30-2014, 01:44 PM

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D - Powered by MyBB

Linear Mode
Threaded Mode