![]() |
||||||||||||||
|
|
||||||||||||||
|
|||||||
| Notices |
| Scripts Post and discuss architectural scripts or maxscripts here. This forum is for all software applications. |
|
|
LinkBack | Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Senior Member
|
I am developing a very simple script for forming cities from imported plines. This is just part of a study to break into maxScript, which I find very entertaining.
It performs the following functions: -Splits editible splines containing more than one spline into seperate objects -then within a loop --Extrudes the splines within given random parameters --Assigns appropriate matIDs to the wall, roof and parapet --Performs a bevel operation on the top polygon to create a parapet wall --adds between 0-3 textured blocks at the roof level simulating roof detail --closes the object and then moves onto the next one It works from a macro button. You simply select a bunch of stuff and hit the button and it grows a fairly presentable city with textures. What I want it to do is either - Work as a modifier so I can adjust my variable parameters in real time or... Pop up an a box asking the user to input the min/max heights of the buildings can somebody show me a barebones way of creating a plugin style modifier with just one variable. Even if it doesn't really do anything useful, I would like to see how it is set up. |
|
|
|
| Sponsored Links |
|
|
#2 (permalink) |
|
Super Moderator
|
Hi Kev,
I've found that a pop-up box is not a good way to drive your script. I myself write all my scripts in the tools section, because it is intergrated in the max interface that way, not cluttering the working screen. Also I've found it easier to implement. If you want the script always active, place it in the scripts/startup directory utility Automatic City "Automatic City" ( --Here comes your script ) rgds, nisus
__________________
www.ams.be / www.nisusarts.com http://www.youtube.com/profile_videos?user=nisusCGA&p=r |
|
|
|
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Basic Ram question | CookiE | 3ds Max | 4 | November 10th, 2006 05:06 AM |
| Computer question | Maxer | Hardware and Technical Discusions | 0 | March 31st, 2006 02:01 PM |
| basic contract | r_mc_gowan | General Discussions | 4 | November 21st, 2005 12:49 PM |
| simcloth question + 3ds max6 | haneet khanna | 3ds Max | 4 | November 9th, 2005 11:32 AM |
| Assigning Materials in Viz Question | nladd | Autodesk VIZ | 3 | March 27th, 2005 09:10 PM |