HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Unit help- do i ask here?

05-14-2004, 04:18 PM#1
hellfire_1234
I hope this is where i should ask for help on units :S

I have a problem. Im making a map whereby each player has 1 unit and he can build 1 structure. I have given him the build commant, and made sure the building is in his build list. However when i start building, the structure starts, then doesnt continue to build, but stops at a low % completion. Controll of the unit is returned and the like, but the building never finishes. Do you know why this is?
PS. i gave the human build command
PPS the unit used was a marine
05-14-2004, 05:43 PM#2
Aelita Lyoko
When i first started a TD map, i had the exact same problem. I am not sure how to solve it properly, but i think this is the right way (being at school and not having the editor in front of me is a pain)

There are several things that you should look at. Click on the Abilties field in the unit editor. Click add ability. Find the ability with the name "build (human)" or something to that effect. The worker will also have to have the ability called "repair (human)". Since when you first build a structure the game considers the beginning "repairing". If you don't have the repair abiltiy, it is very likely that the unit will not build anything. There is another field called "Unit Classification". Check that and make sure that the unit is classified as a worker. Also, make sure that the building is in the right field. The build string should be in the field "buidlings constructed" or something to that effect.

Once i get home, i will take a look for you and get the exact stuff that you need. Like i said, right now, i am at school.

I would say, just give what i told you a try. It might be the right stuff, but i will double-check for you when i get home.

Hope it helps!
05-14-2004, 08:02 PM#3
johnfn
If I were to take a stab at it, I'd say its because your building one race building with another race unit. Try modelling all your towers from one races' buildings, and see what that does.

Ensign Munro, I think you were going in the right direction as well.

Additionally you could just make a trigger that sets all buildings at full HP, although Im not sure what that will do on uncompleted buildings.
05-14-2004, 08:11 PM#4
Aelita Lyoko
It won't help at all.

Using a trigger to set the health to full won't complete the building. It will just set the health to just that: 100%.

Building completion is based off a percent in the unit editor of the WE program. Unless you want the buildings to be built in a millisecond, then you are stuck with the low % completed.

I am currently looking at the editor right now. i will get back to you very soon on how to fix this problem.

EDIT: I just looked at an old map i was working on before. Here is how the problem can be fixed. Enter the following strings into the proper fields:

Abilities - Normal: Repair (Human)
Stats - Unit Classification: Worker
Techtree - Structures Built: [Select structure to go in this field]

That should be everything. Hopefully, it is correct.
05-15-2004, 08:13 AM#5
hellfire_1234
unforunately, i had them fiels covered. I did add the building into the list of build structures. He IS classed as a worker. He now has build and repair although still nothing. It is not a TD i am making, but it NEEDS this building lol, ill post it up here when im finished ^u^ Thank for your efforts so far guys, but so far, im still failing :'(
05-16-2004, 12:37 PM#6
ThyFlame
Post a map containing the problem unit(s), building(s), and related trigger(s) and I will see what I can do.
05-17-2004, 06:47 AM#7
hellfire_1234
Quote:
Originally Posted by ThyFlame
Post a map containing the problem unit(s), building(s), and related trigger(s) and I will see what I can do.

Here is the map i think...
05-17-2004, 10:06 AM#8
th15
Umm do you need the unit to be a hero? Otherwise i would advise you to simply remake the unit using a worker as the base unit. That's how i approached making builder units.
05-18-2004, 01:04 PM#9
hellfire_1234
Quote:
Originally Posted by th15
Umm do you need the unit to be a hero? Otherwise i would advise you to simply remake the unit using a worker as the base unit. That's how i approached making builder units.

He doesnt HAVE to be a hero, but to make the map seem closer to the origional senario (sp?) the unit art needs to be that of a marine and he has to be firing a weapon. can i set those stats on a worker?
05-18-2004, 01:54 PM#10
Panto
Yes, if you simply copy the pertinent information (like the Model File, icon, soundset, and everything under Attack, for starters) the Peasant will effectively become a Marine.
05-31-2004, 09:16 AM#11
hellfire_1234
I DID IT w00t :D. The unit wasnt the problem. It was the structure. Where it should have been "targeted as type structure" or sumthing like that, it wasnt trgeted as anything, so according to the game, there was nothing there to build. Its solved and the map is very near finished ^u^