FSIC Messageboard
  SDOE General
  Spin! Re Batch file

Post New Topic  Post A Reply
profile | register | preferences | faq | search

UBBFriend: Email This Page to Someone! next newest topic | next oldest topic
Author Topic:   Spin! Re Batch file
Nat
Pilot
posted 05-19- 03:54 PM     Click Here to See the Profile for Nat   Click Here to Email Nat     Edit/Delete Message   Reply w/Quote
Hey Spin, thanks for the offer, I hope this is doable for you.

What I need is...

I will extract the terrain sm file that I am working on, which will give me loads of LODs, and I need to run lodhack on each of them to alter the material value.. here is hippies reply regarding the usage:

Nat,
to alter all polygons in an object to water you would use

c:\> lodhack filename.lod material 2

0 cemement
1 glass
2 water etc.

Hippie

as you can see, that will use lodhack to alter the material value for the lod specified, but there are about 500 or so lods in a terrain, so I would need a batch file to run that command with those perameters for each lodfile in the directory, starting at 000 until it finds the last one.

If you can do this hopefully simple batch file me Diegao and Team Pacific will be greatly indebted to you

Thanks alot for the offer spin

~Nat~


------------------
JV44 "Naturlich"


If you can't out run em.. <B>OUT GUN EM!</B>
<B>Nats FS-SDOE Site</B>


IP: Logged

All times are CT (US)

next newest topic | next oldest topic

Administrative Options: Close Topic | Archive/Move | Delete Topic
Post New Topic  Post A Reply
Hop to:

Contact Us | Fighter Squadron Information Center

(This site Copyright (c) 1999 Inertia LLC)

Powered by Infopop www.infopop.com © 2000
Ultimate Bulletin Board 5.45c