Hey guys and girls, i'm new here but I am used to the WC3 System of triggers. SC2 is a lot different and I need some help on how to make a doodad "spawn"
In this case I would like to make a "doodad" more specifically a Char crashing Barracks come in at random times in a random area via a region.
and making its "Death" animation stay for the whole game.
In this case I would like to make a "doodad" more specifically a Char crashing Barracks come in at random times in a random area via a region. and making its "Death" animation stay for the whole game.
Create whatever unit you want to "spawn" just like you would any other unit/building (i.e. set up its unit, actor and model fields).
To play a specific animation for that unit forver, you need to add the following to the newly created unit's Actor object:
In the Actor object, go to the Events+ filed and add the following event (by right clicking and selecting "Add Event"):
>ActorCreation
Animation Play
Name: (insert an identifier here, optional)
Animation Properties: (insert actual animation name here from the dropdowns. get the animation name from previewer)
Flags: select Play Forever
Blend in/out: 0,0/-1.0
Time Variant: -1.0
Time Type: Automatic
This will cause the unit to play whatever animation you wanted forever (as long as the unit is alive).
edit: the forum software for these forums is retarded
Create whatever unit you want to "spawn" just like you would any other unit/building (i.e. set up its unit, actor and model fields).
To play a specific animation for that unit forver, you need to add the following to the newly created unit's Actor object:
In the Actor object, go to the Events+ filed and add the following event (by right clicking and selecting "Add Event"):
>ActorCreation
Animation Play
Name: (insert an identifier here, optional)
Animation Properties: (insert actual animation name here from the dropdowns. get the animation name from previewer)
Flags: select Play Forever
Blend in/out: 0,0/-1.0
Time Variant: -1.0
Time Type: Automatic
This will cause the unit to play whatever animation you wanted forever (as long as the unit is alive).
edit: the forum software for these forums is retarded
well Not to be a pest, But how would I go about this, I checked the tutorial section and found it hard to understand what exactly to do, It seems like I can't add an actor group correctly.
@zzPop: Go
well Not to be a pest, But how would I go about this, I checked the tutorial section and found it hard to understand what exactly to do, It seems like I can't add an actor group correctly.
How to create a Unit + Actor + Model without duplication:
In Data Editor -> Unit Tab
1. Right click -> Add Object
Make sure "Object Type" is selected as "Unit"
Set "Object Family", "Race" and "Name" to whatever you wish so you can find it easily
2. Goto Data Editor -> Actor Tab
Right Click -> Add Object
Actor Type: Unit
Based on: GenericUnitStandard
Doodad Type: Not Doodad
Give it a name that makes sense
a) Click on this newly created actor in the Actor Tab. At the very top of the fields list there is a field called "Unit Name", make sure your unit from Step 1 is in that field (sometimes Galaxy is smart and does it automatically).
b) In the same actor's fields, find a field called "Art - Model". In this field add the model you wish to attach to the Unit.
(nb) You can find the model of the doodad by finding the doodad in the Unit Tab, then finding the Doodad's actor (which you will see in the tree view when you click on it in the Unit Tab), then finding the "Art - Model" field in the doodad's actor fields list. That is the same thing you wand to put in the new Actor's Model field.
c) In the Actor's field, make the changes to the "Events+" field that I said in my previous post.
3. Your new unit with the doodad model and repeating animations is now ready to go.
NB> At this point you can place your unit in the map to test it, however, take note that your new unit will *NOT* have any sounds or even any death animations attached to it. To do this, you will need to go through and populate more fields in the Actor Object. Namely,
Art - Model (portrait)
Combat - Death Effects+
Sound - Sounds
UI - Unit Icon
UI - Wireframe+
Take a look at some other actor objects to get clues on how to populate those fields.
And yes, I agree, actor creation tutorials out there are almost as retarded as this forum's software. I have never had to use them, thankfully.
I would do as he second poster has said.... the third guy it maken things WAY to complicated for you. Simply go to the editor, open up the char map, and you can just copy and paste what you need.
Rollback Post to RevisionRollBack
Random Information
Tutorials - Map Development - Galaxy wiki
|Issues? PM me|
I would do as he second poster has said.... the third guy it maken things WAY to complicated for you. Simply go to the editor, open up the char map, and you can just copy and paste what you need.
if you can tell me a map they use a doodad with an animation please tell me :)
I would do as he second poster has said.... the third guy it maken things WAY to complicated for you. Simply go to the editor, open up the char map, and you can just copy and paste what you need.
Give a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime.
- Old Chinese Proverb.
To the OP,
try to be a bit more descriptive in your explanation of your problems. Don't just say "ITS NOT WORKING", say exactly what isn't working and what exactly are you trying to do and what exactly you have done so far. Is the animation not playing at all? If not, what animation is playing instead? Is any animation playing? Does the animation even exist for that model? Which animation name/id did you use? Does the unit show up properly in game?
And for the sake of all that is holy, don't just dump your map in your post and say "FIXIT!!!"
If you can't be bothered in taking time out to even explain the details of what your problem is, why do you expect us to take our time out in downloading your map, running it, trying to figure out first wtf it is you are doing, and then trying to figure out what is wrong?
Too many people on these forums are acting totally self righteously with a sense of entitlement they should not have and do not deserve.
I refuse to help people if they can't be bothered to show me the basic level of decency that they should have in working with me to fix their issues, instead of expecting me to work for them by first figuring out what the issue even is and then fixing it and sending them a solution
I don't mind working on it myself, It is just frustrating, I have done all you said. It shows up now as a unit, But does not play the animation because I cannot get the right animation to "play" When I use the trigger system.
If you can advise me on which one to use such as "stand" or "default" That would most likely fix my problem. I do not see a current animation to use for it.
If you can advise me on which one to use such as "stand" or "default" That would most likely fix my problem. I do not see a current animation to use for it.
hey male i went ahead and found what your looking for... I take it you havnt beat the campaign yet =P
open the editor, then select campaign, youll see a list of all missions, select the mission "TValrtian01.SC2Map"
once you load that ma, open up the triggers, open the folder called "GAMEPLAY" from there, there is another folder under=====other==== called "Crashing structures" everything you need should be found in that trigger.. I havnt looked it over myself as im in a hurry but, this should get you well on the way
Hey guys and girls, i'm new here but I am used to the WC3 System of triggers. SC2 is a lot different and I need some help on how to make a doodad "spawn"
In this case I would like to make a "doodad" more specifically a Char crashing Barracks come in at random times in a random area via a region. and making its "Death" animation stay for the whole game.
Any guidance would be great!
Thank you for your help / advise in advanced :)
@Malevolence123: Go
you can open all the campaign maps in the editor and view all their scripting.
How does this post actually help the OP or anyone else here at all?
Create whatever unit you want to "spawn" just like you would any other unit/building (i.e. set up its unit, actor and model fields).
To play a specific animation for that unit forver, you need to add the following to the newly created unit's Actor object:
In the Actor object, go to the Events+ filed and add the following event (by right clicking and selecting "Add Event"):
This will cause the unit to play whatever animation you wanted forever (as long as the unit is alive).
edit: the forum software for these forums is retarded
well Not to be a pest, But how would I go about this, I checked the tutorial section and found it hard to understand what exactly to do, It seems like I can't add an actor group correctly.
How to create a Unit + Actor + Model without duplication:
In Data Editor -> Unit Tab
1. Right click -> Add Object
2. Goto Data Editor -> Actor Tab
Right Click -> Add Object
a) Click on this newly created actor in the Actor Tab. At the very top of the fields list there is a field called "Unit Name", make sure your unit from Step 1 is in that field (sometimes Galaxy is smart and does it automatically).
b) In the same actor's fields, find a field called "Art - Model". In this field add the model you wish to attach to the Unit. (nb) You can find the model of the doodad by finding the doodad in the Unit Tab, then finding the Doodad's actor (which you will see in the tree view when you click on it in the Unit Tab), then finding the "Art - Model" field in the doodad's actor fields list. That is the same thing you wand to put in the new Actor's Model field.
c) In the Actor's field, make the changes to the "Events+" field that I said in my previous post.
3. Your new unit with the doodad model and repeating animations is now ready to go.
NB> At this point you can place your unit in the map to test it, however, take note that your new unit will *NOT* have any sounds or even any death animations attached to it. To do this, you will need to go through and populate more fields in the Actor Object. Namely,
Take a look at some other actor objects to get clues on how to populate those fields.
And yes, I agree, actor creation tutorials out there are almost as retarded as this forum's software. I have never had to use them, thankfully.
ok well I did what you said , Still having problems. (just with the animation now) I attached a download of my map and what i did.
Unit name is charringship Actor is charringship as well..
Thanks again.. Sorry I am not getting it.
@Malevolence123: Go
I would do as he second poster has said.... the third guy it maken things WAY to complicated for you. Simply go to the editor, open up the char map, and you can just copy and paste what you need.
if you can tell me a map they use a doodad with an animation please tell me :)
Give a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime.
- Old Chinese Proverb.
To the OP, try to be a bit more descriptive in your explanation of your problems. Don't just say "ITS NOT WORKING", say exactly what isn't working and what exactly are you trying to do and what exactly you have done so far. Is the animation not playing at all? If not, what animation is playing instead? Is any animation playing? Does the animation even exist for that model? Which animation name/id did you use? Does the unit show up properly in game?
And for the sake of all that is holy, don't just dump your map in your post and say "FIXIT!!!"
If you can't be bothered in taking time out to even explain the details of what your problem is, why do you expect us to take our time out in downloading your map, running it, trying to figure out first wtf it is you are doing, and then trying to figure out what is wrong?
Too many people on these forums are acting totally self righteously with a sense of entitlement they should not have and do not deserve.
I refuse to help people if they can't be bothered to show me the basic level of decency that they should have in working with me to fix their issues, instead of expecting me to work for them by first figuring out what the issue even is and then fixing it and sending them a solution
@zzPop: Go
I don't mind working on it myself, It is just frustrating, I have done all you said. It shows up now as a unit, But does not play the animation because I cannot get the right animation to "play" When I use the trigger system.
If you can advise me on which one to use such as "stand" or "default" That would most likely fix my problem. I do not see a current animation to use for it.
You need to bring up the model you are using in the previewer (Window > Previewer).
To get the exact name of the model as it is shown in the previewer, you need to check the "Model" field in the Model object.
To see the model object, bring up the Models Tab and search for the model name you put in the "Art - Model" field of the unit's Actor Object.
i.e.
How do you check animations?
In the previewer: When you find the model file and double click, that model should be loaded up in the previewer.
On the bottom right hand side of the previewer window, you get the current animation that is playing, in this area
Right - click > change animation.
Keep changing the animation (there should be a list) until you find the one you are looking for, that is the animation name.
hey male i went ahead and found what your looking for... I take it you havnt beat the campaign yet =P
open the editor, then select campaign, youll see a list of all missions, select the mission "TValrtian01.SC2Map"
once you load that ma, open up the triggers, open the folder called "GAMEPLAY" from there, there is another folder under=====other==== called "Crashing structures" everything you need should be found in that trigger.. I havnt looked it over myself as im in a hurry but, this should get you well on the way
is what they have.
Thanks Guys.