All times are UTC


Dear guest, welcome to YouTD!



Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Newbie guide: The basics of creating a tower.
PostPosted: Tue Dec 08, 2009 5:15 pm 
Offline
YouTD Admin
YouTD Admin
User avatar

Joined: Fri Jan 09, 2009 3:02 pm
Posts: 4323
Location: Belgium
YouTD Score: 673
Newbie guide: The basics of creating a tower.

Introduction

Hello everyone,

I wrote this guide to help people creating their first tower(s).
At the start it can be very confusing how to start, what values you should change and where they are located.
Everything you should know is located in the "How To" written bij geX himself, but it's only plain text and a little boring :-D
My guide explains the creation of your tower step by step and has some pictures in it to point out some important stuff.

If something is not clear or you need more info I suggest you look in the "How To", link.
You can always ask questions here on the forum.

If you see a mistake in my guide plz let me know!

Starting up the editor

Download the youTD devkit from this site and extract it.

Open the youTD DevKit folder and open "YouTD Editor.bat".
A world editor should open now with extra buttons on the top.
Now we can open the youTD tower template map. It's located in the youTD folder and it's called "YouTD_Tower_Template v0.30"

Image


If the map has opened you should see a tower in the middle of the map with 2 braziers in front of it.

You should open the "doodad layer" now, it's located at the top of the screen under "layers".

Now open the "object editor", it's the icon with the helmet on it or go to "module, object editor".

You should save the map now, use "save as..." otherwise the template map will be overwritten by your tower map.

Image


The Object Editor

The Units Tab

Click on the "units" tab in the object editor.

Now scroll down in the left column of the "Units" tab and click on "YOUR TOWER".

Here you can change all the basic values of your tower.

Image

The basic values you should change are:

Ground texture (scout tower is default)
==> What type of ground texture your tower is standing on, should fit the model.

Icon (scout tower is default)
==> This is the icon your tower uses in-game, should fit the model.

Model (scout tower is default)
==> This is the main model of your tower., you can not use unit models for common towers.

Scale (0.60 is default)
==> The scale of the main model, your tower should not be to big.

Cooldown
==> Attackspeed of the tower.

Attacktype
(normal is default)
==> Look in the "how to" to know what attacktype you should use, link.

Projectile art (gryphon rider is default)
==> What projectiles your tower fires.

Range (900 is default)
==> The attackrange of your tower, link.

Gold cost

==> How much gold your tower costs, link.

Name
==> The name of your tower, choose a cool name that fits your tower.

Tooltip - basic
==> The small tooltip that is displayed on your tower.

Tooltip - extended

==> The extended tooltip that will be displayed on your tower .

Image

The Doodads Tab

If you followed all steps, you should have adjusted the values and changed the main model.
But your tower still looks a bit boring and not so fancy as all other youTD towers.
We'll now use the doodads tab to add some doodads to your new tower.

Click on the "Doodads" tab in the object editor.

Now scroll down in the left column of the "Doodads" tab and click on "!EFFECT(Minimap Color 3 = alpha value, maxPitch = pitch of the effect between -1.56 and 1.56)".

Copy this doodad a few times, this is needed for adding more than one type of doodad to your tower.

Select one of the copied doodads, on the right side you can see all the values of your doodad.

Image

The basic values you should change are:

Model (brazier is default)
==> This is the main model of your doodad.

Default Scale (1.00 is default)
==> The scale of the doodad model.

Maximum Pitch Angle
==> The pitch of your doodad, used to change the pitch of your doodad. In order to make it work you should hold "shift" when double clicking on this value and insert negative values.

Tinting Colors (255 is default)
==> Used to change the color of your doodad, uses RGB color codes.

Image

To add a doodad to your tower right click on the doodad in the left column and select "Select In Toolpalette". Now you can place the doodad around your main tower model.
There is some stuff you can do to place the doodad as you want:

Rotating your doodad
==> Hold ctrl and move your mouse.

Lowering or elevating your doodad
==> Hold ctrl and press page up and down.

Moving your doodad
==> Hold ctrl and use the numpad arrowkeys.

Your tower should fit a certain area, this area can be displayed by clicking "Layers - Regions". Don't forget to change the layer back to doodads afterwards :-) More info about assembling the model is described in the "How To", link

The Trigger Editor

Let's open the trigger editor now!
Click on the symbol with the letter "A" on it or go to "Module - Trigger Editor".

The Tower Config

When you have opened the Trigger Editor you'll see this:

Image

Now click "YOUR TOWER CONFIG" and then click on "Tower Config"

Here you have to fill in:

Element
==> The element of your tower.

Rarity
==> The rarity of your tower.

Abil factor
==> Used to balance your tower's damage. Look in the how to for more info, link.

Author
==> Your nickname.

AuthorDisplay
==> Your nickname with color codes, for example: |cff00CD00Boekie|r.

Now click on "Modification Table".

Here you can change the basic modifications of your tower, for example: more crit chance, more mana per level, more item chance, ...


The Tower Script

Here you can give your tower special abilities. I'm not going to explain them here.
I suggest you look in the how to or check the code from already uploaded towers.
You can always ask questions here on the forum!

Edit: I'm creating my own triggering guide now! It's located here.


The API

This map contains all methods that can be used to make the abilities of your tower.

Compiling and uploading your tower

If you followed all steps your tower should be ready to compile.

First you need to take a screenshot of your tower.
I suggest you zoom in on your tower in the editor and use printscreen.
Then you have to crop your tower out of it in a photo editing program.

Then you have to open the compiler, it's called "GMSI.bat" and is located in the "youTD Devkit" folder.
If it's opened it should look like this:

Image

When this is the first time you open GMSI you have to sync it with your installation of Warcraft 3.
Do this by clicking "Settings - Folders" and selecting your warcraft installation folder.
Next click on "File - Synchronize Data With Warcraft 3", now it should be synced.

Now we can compile your first tower, click on "Script - Execute Script..." and select your tower creation map.
It should look like this:

Image

It asks 2 things:

"Add to another test map" is used to add your tower to another test map you made before.

"Add picture" is used to add the previously made screenshot to your tower archive.
When you upload the tower for the first time it should have a screenshot.

You can test your tower now by opening the test map in your world editor.
The test map is created in "YouTD - Test", when it's opened in the editor you have to save it 2 times.
When you click on "Test Map" in the editor warcraft should open and you can build your tower and test it.

If everything works as intended we can upload your tower to this site.

Click on "YouTD - Upload Tower"

Image

Select your tower archive to upload, it's created in the same folder as your tower map.
Give a short description of your tower.
Family id is used to upload other family members of your towers.

Image

Congratulations your first tower is now uploaded on eeve.org!

Edit: Finished guide (I think)
Attachment:
File comment: upload tower
Upload tower aangepast.png
Upload tower aangepast.png [ 214.32 KiB | Viewed 14620 times ]
Attachment:
File comment: upload tower
Upload tower aangepast.png
Upload tower aangepast.png [ 214.32 KiB | Viewed 14620 times ]
Attachment:
File comment: upload tower
Upload tower aangepast.png
Upload tower aangepast.png [ 214.32 KiB | Viewed 14620 times ]
Attachment:
File comment: upload tower
Upload tower aangepast.png
Upload tower aangepast.png [ 214.32 KiB | Viewed 14620 times ]
Attachment:
File comment: upload tower
Upload tower aangepast.png
Upload tower aangepast.png [ 214.32 KiB | Viewed 14620 times ]


Attachments:
File comment: eeve.org
eeve.org aangepast.png
eeve.org aangepast.png [ 245.67 KiB | Viewed 14674 times ]
File comment: Execution Monitor
Execution Monitor.png
Execution Monitor.png [ 32.91 KiB | Viewed 14577 times ]
File comment: GMSI
GMSI.png
GMSI.png [ 22.29 KiB | Viewed 14584 times ]
File comment: Trigger Editor
Trigger Editor Aangepast.png
Trigger Editor Aangepast.png [ 23.53 KiB | Viewed 14611 times ]
File comment: doodads tab 2
Doodads tab 2 aangepast.png
Doodads tab 2 aangepast.png [ 66.73 KiB | Viewed 14647 times ]
File comment: doodads tab
Doodads tab aangepast.png
Doodads tab aangepast.png [ 61.47 KiB | Viewed 14609 times ]
File comment: unit tab
Unit tab aangepast.png
Unit tab aangepast.png [ 83.53 KiB | Viewed 14671 times ]
File comment: object editor
Object Editor aangepast2.png
Object Editor aangepast2.png [ 153.05 KiB | Viewed 14727 times ]
File comment: editor start
Editor start aangepast.png
Editor start aangepast.png [ 573.12 KiB | Viewed 10757 times ]
File comment: Devkit folder
Devkit map aangepast.png
Devkit map aangepast.png [ 29.4 KiB | Viewed 14766 times ]


Last edited by boekie on Sun Dec 27, 2009 11:41 am, edited 34 times in total.
Top
 Profile  
 
 Post subject: Re: Newbie guide: The basics of creating a tower.
PostPosted: Tue Dec 08, 2009 7:41 pm 
Offline
Site Admin
Site Admin
User avatar

Joined: Fri Jul 21, 2006 11:31 pm
Posts: 4713
Location: Munich, Germany / Sydney, Australia
YouTD Score: 270
very nice. Keep up the good work, the guide is still extendible ;). *STICKY*

Suggestions:
- In the object editor picture, you could insert number (1. Unit tab, 2. Scroll Down, 3. Click Here), otherwise, it is a bit ambiguous what to do first ;).
- "Now open the youTD tower template map": you could tell the exact file nam.


Top
 Profile  
 
 Post subject: Re: Newbie guide: The basics of creating a tower.
PostPosted: Tue Dec 08, 2009 8:27 pm 
Offline
YouTD Admin
YouTD Admin
User avatar

Joined: Fri Jan 09, 2009 3:02 pm
Posts: 4323
Location: Belgium
YouTD Score: 673
geX wrote:
very nice. Keep up the good work, the guide is still extendible ;). *STICKY*

Suggestions:
- In the object editor picture, you could insert number (1. Unit tab, 2. Scroll Down, 3. Click Here), otherwise, it is a bit ambiguous what to do first ;).
- "Now open the youTD tower template map": you could tell the exact file nam.


Lol thx geX for making it sticky, i'll work some more tomorrow


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group