View Full Version : delete Vmap command?

08-15-2009, 06:27 AM
whats eluding me is how do i delete vmaps with lscript - since vertexpaint can create so many so quickly i want to delete them all at once - getting the vmap selected and changing point info with vmap.setValue works but if i were to set VWEIGHTS to zero lw crashes - delete deletes the point - ?? but what deletes the map?:screwy:

08-16-2009, 05:14 AM
You know the command Clear Map?
Map>General>Clear Map.

Well yeah it does one at a time. pressing F8, might help you selecting the Maps.

If you just want to wipe everything out, you can also use Export OBJ and it will keep only the mesh, so backup the original file for surface.

But as for plugins, http://www.lwplugindb.com/ and http://www.flay.com/ are good place to look for them.

There, i was pointed to a Dstorm Plugin (http://www.dstorm.co.jp/english/plugin/vmap.htm#DeleteMap) called Delete Map that deletes all vmaps.


08-18-2009, 06:05 AM
thank you - i'm still tryin to figure how to do that - kicking around with master script and i can clear point info from the vmap object itself - but its making me learn the sdk which is what i oughta do to prepare me for working with that python core stuff --

thanks amigo - i like the export idea so i will try that

08-27-2009, 06:59 AM
an answer to my quest - ion

c code has a function free ( vmap ) - no similar ability via lscript that i can see -

08-27-2009, 08:22 AM
c code has a function free ( vmap ) - no similar ability via lscript that i can see -
Are you sure? That looks more like a standard C function freeing the memory pointed at by vmap.

Which SDK version and which global?

Mike - who hasn't found one in the SDK.

08-29-2009, 07:03 AM
8.5 sdk - it is a c function - used in several code examples - i keep getting a 'looking for a @' if i try to use delete vertex map - and i be too confused to find how to get at the address in lscript .....basic to c and back again!!!!