(Keeps Hive Alive)
Go Back   The Hive Workshop - A Warcraft III Modding Site > Warcraft III Tutorials > 3D Modeling Tutorials

3D Modeling Tutorials Tutorials regarding the creation, animating and editing of 3D models.
Read the Rules before posting.

Closed Thread
 
LinkBack Thread Tools Display Modes
Old 04-21-2004, 09:32 AM   #1 (permalink)
 
alfredx_sotn's Avatar

Been Here Longer Than You
 
Join Date: Oct 2003
Posts: 442

alfredx_sotn is on a distinguished road (71)alfredx_sotn is on a distinguished road (71)


Removing geosets/glow

How it works
Removing of them is pretty easy, it doesn't requires much work. It can be done solely in Notepad/Wordpad.

Let's get started.

Tools needed:
Notepad/Wordpad
YobGuls' Fileconverter Get it here
Any programs that can extract models

How it can be done
First, get the model you would like to remove its Team Color or Glow. I will explain on how to remove Team Coloe first. Open YobGuls' Fileconverter, then click on Load file, load up the .MDX of the model you extracted.
Then, click on convert to .MDL.
Open the .MDL file with Notepad/Wordpad.
Ctrl+F Textures.
Code:
Textures 3 {
  Bitmap {
               Image "Textures\Peasant.blp",
    }
      Bitmap {
               Image "",
         ReplaceableId 1,
    }
      Bitmap {
               Image "Textures\gutz.blp",
       }
}
You will see this part. This is taken from the peasant model. See the
Code:
        Bitmap {
               Image "",
         ReplaceableId 1,
    }
?
ReplaceableID 1, means Team Color, 2 means Team Glow.
Count the number of textures, until you reach this one, starting from 0. In this model, it's 1. (So if it's the 10th texture in the Textures section, it would be 9)
Then Ctrl+F TextureID x
Where x = the number you got just now.
Code:
Materials 3 {
    Material {
             Layer {
                        FilterMode Transparent,
                     static TextureID 0,
         }
      }
      Material {
             Layer {
                        FilterMode Transparent,
                     Unshaded,
                   TwoSided,
                   static TextureID 1,
         }
              Layer {
                        FilterMode Blend,
                   static TextureID 0,
         }
      }
      Material {
             Layer {
                        FilterMode Transparent,
                     static TextureID 2,
                 Alpha 6 {
                              Linear,
                             46533: 0.748443,
                                52900: 1,
                               98133: 1,
                               99800: 1,
                               155733: 1,
                              159800: 0.75,
                   }
              }
      }
}
You will see this portion,
Code:
   Material {
             Layer {
                        FilterMode Transparent,
                     Unshaded,
                   TwoSided,
                   static TextureID 1,
         }
              Layer {
                        FilterMode Blend,
                   static TextureID 0,
         }
      }
Like I said, for this model, the number is 1.
Copy the whole line, including the spaces in front, then make a new line below it, then delete everything except for the 'static ' and the spaces in front, then type 'Alpha 0'.
You will then see this:

Code:
   Material {
             Layer {
                        FilterMode Transparent,
                     Unshaded,
                   TwoSided,
                   static TextureID 1,
                 static Alpha 0,
             }
              Layer {
                        FilterMode Blend,
                   static TextureID 0,
         }
      }
When that's done, save your .MDL file.
Then open your YobGuls' Fileconverter(You need to close the previous one and open again for some reasons.)
Then again, click on Load File, make sure the extension for the file is .MDL, then load it up.
Convert it back to .MDX file, then all is done, Team Color removed!!! YAY!!!


For Team Glows, do the same. Except that it is ReplaceableID 2, not ReplaceableID 1.

If you have any further questions regarding this, post it here and I will answer them.

Last edited by Wolverabid; 03-12-2007 at 12:54 AM.
alfredx_sotn is offline  
Old 07-10-2004, 12:48 AM   #2 (permalink)
 
Horn's Avatar

God amongst ants
 
Join Date: Mar 2004
Posts: 950

Horn is a jewel in the rough (173)

Respected User: This user has been given the respected user award. 

Removing geosets/glow

Firstly, load up your model in the Warcraft Image Viewer II. Keep it at animation 'none' so that you can see the team coloured glow.

Next, you need to find which meshes are glows, by loading the tree view in viewer. Deselect the meshes (the tick boxes) one at a time until you find which meshes are glows. If a glow disappears when you uncheck a box, that mesh is obviously a glow. Make a note of the mesh number, or numbers (where heroes have glowing weapons too).

Now convert your mdx into mdl. You will need to find the geosets (meshes) that you hve noted down. Remember to count from 0, so mesh 2, would be the second mesh, 1. (from 0, 1).
The easy way to do this is search (Control+F) for Geoset, and press next until you get to the required Geoset.

Once you locate the right Geoset, select the whole Geoset, from before 'Geoset' until the end of the Geoset; the last two lines are:

Code:
	MaterialID 0,
	SelectionGroup 0,
}
^select after the bracket

Then replace this with a blank geoset (attached).

optional
You can then, if you dare, delete the glow texture and material, but this is not neccesary as you have to ensure to renumber the textures and materials after the deleted, and renumber all the geosets and emitters that may use textures/materials after the deleted ID.

This should achieve the same results, but does 'blank' the glow geoset, and reduces file size a bit.

This replacing of geosets can be used on any geoset you wish to 'remove', such as the morph form of a Demon Hunter, to considerably reduce filesize. You cannot simply delete a geoset, as you model will not work.

Lastly, convert back to mdx, and cross your fingers as you test.

Empty geoset code:
http://www.wc3campaigns.net/attachme...chmentid=34579

Last edited by Wolverabid; 03-12-2007 at 12:57 AM.
Horn is offline  
Old 07-10-2004, 01:02 AM   #3 (permalink)
 
Horn's Avatar

God amongst ants
 
Join Date: Mar 2004
Posts: 950

Horn is a jewel in the rough (173)

Respected User: This user has been given the respected user award. 

EventObjects - Birth, footprint, blood etc.

This tutorial assumes you can convert an MDX to MDL and have read my Geosetanim tutorial.

Open an MDL, and search for EventObject. They look a bit like this:

Code:
EventObject "SPNxUBAC" { <Code represents a model
	ObjectId 58, <--ordered Object ID, must be maintained
	EventTrack 1 { <--number of sequences to appear on
		22667, <--start time of a sequence that model appears
	}
}
You can add EventObjects by copying this example, and editing the Modelcode, the ID and the eventTrack info (see my Geosetanim tutorial for info on sequence times).

The model code and eventtrack times can easily be changed.

Attached is a list (taken from the Blizzard Art tools) of all ObjectEvent codes.

http://www.wc3campaigns.net/attachme...chmentid=33983

Last edited by Wolverabid; 03-12-2007 at 12:57 AM.
Horn is offline  
Old 10-20-2005, 08:00 AM   #4 (permalink)
Site Rule Enforcer
 
Mecheon's Avatar

Food for the Sharkticons
 
Join Date: Mar 2004
Posts: 5,167

Mecheon is a name known to all (668)Mecheon is a name known to all (668)Mecheon is a name known to all (668)


How To Properly Remove Geosets

Hello there people. How is your existance going? Today I share with you one of the greatest secrets of Warcraft modding*


How to "remove" geosets. This doesn't remove them, but it does replace them with a single face so the game won't crash on you

Here it is. Copy and paste into a text document, and find a geoset you want rid of and paste it in. I guarantee this works when done right

Code:
Geoset {
	Vertices 3 {
		{ -30.735449, -1.698751, 0.000000 },
		{ -30.215448, -1.998751, 0.000000 },
		{ -30.175447, -1.318751, 0.000000 },
	}
	Normals 3 {
		{ 0.000000, 0.000000, 1.000000 },
		{ 0.000000, 0.000000, 1.000000 },
		{ 0.000000, 0.000000, 1.000000 },
	}
	TVertices 3 {
		{ 0.000000, 0.000000 },
		{ 0.000000, 0.000000 },
		{ 0.000000, 0.000000 },
	}
	VertexGroup {
		0,
		0,
		0,
	}
	Faces 1 3 {
		Triangles {
		{  0, 1, 2 },
		}
	}

	Groups 1 1 {
		Matrices { 0 },
	}
	MinimumExtent { -200, -200, -200 },
	MaximumExtent { 200, 200, 200 },
	BoundsRadius 400,
	Anim {
		MinimumExtent { -200, -200, -200 },
		MaximumExtent { 200, 200, 200 },
		BoundsRadius 400,
	}
	MaterialID 0,
	SelectionGroup 0,
}
* This is not actually the greatest secret of Warcraft modding
__________________
Quote:
Originally Posted by Oz02
Mecheon is right, everyone else is wrong. End of story.
Quote:
Originally Posted by Lothar Hex
You are the bottom of the evolutionary chain. The primoridal ooze looks down on you. Hell, the excrement of primordial ooze looks down on you
Mecheon is offline  
Old 10-21-2005, 08:44 PM   #5 (permalink)

User
 
Join Date: Mar 2004
Posts: 51

Magos has little to show at this moment (9)


You can easily remove geosets in my model editor (see sig). CTRL-click on a part and it will be selected, then select Remove. All ID's will be automatically rearranged.

NOTE: If there are geoset animations refering to the geoset you remove remember to remove these as well. Warcraft 3 doesn't like geoset animations that refers to "none".
__________________
Magos is offline  
Closed Thread

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Removing the plated footmans hero glow - how? Rektis Modeling & Animation 3 12-16-2007 01:44 AM
Removing Team Glow VERY QUICKLY Ham Ham "Graveyard" 8 03-04-2007 01:53 PM
Removing Hero Glow iplaystarcraft Texturing & Surfacing 3 08-26-2005 04:51 AM
Adding/Removing Hero Glow shadows_call Modeling & Animation 1 06-16-2004 12:21 AM
Removing geosets/glow Whitehorn Modeling & Animation 0 01-01-1970 02:17 AM

All times are GMT. The time now is 05:21 PM.






Your link here 
Credit Counseling | Loan | Loan | Payday Loan | Bulgaria Property
Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
Copyright©Ralle