I have 2 units. Zergling, and Big Ol' Zergling. Zergling is just the default unit with it's life stats altered.
So to make my Big Ol' Zergling, here's what I did:
Under units, I duplicated zergling and renamed it to Big Ol' Zergling. I followed a tutorial and did what it said, duplicating everything in the check-boxes.
I set the art - model, art - model (build), art - model (placement), and art - model (portrait) to zergling since this was my base unit.
With this, done I was able to place my new unit, which is just a renamed zergling in the map editor.
The problem is, I want this Big Ol' Zergling to be....well.....Big. If I adjust the model scale in Big Ol' Zergling to a higher scale, that changes the zergling scale to the bigger size as well since they share the same model.
So I tried going into models and duplicating the zergling model, figuring I could just rename it and then set the Big Ol' Zergling unit to use the Big Ol' Zergling model instead of Zergling. Problem is, I don't find a way to do that.
I love when people do not read ENTIRE posts, only bits, and then respond accordingly.
I already KNOW how to change the scale. The PROBLEM is when I do so, it changes the scale of my base unit as well as my new unit.
I already CREATED A NEW model for my custom unit, but the PROBLEM I AM HAVING is I cannot seem to find a place to change my new unit to use the NEW MODEL instead of the BASE model so they DON'T BOTH HAVE THE SAME SCALE WHEN I CHANGE IT.
Well, if you change the the model in the Art - Model fields in the actor to your Big Ol' Zergling, so both actors each have a model, it should be fine.
3 Ways to alter the scale of stuff. Under the unit actor there is the Art - Scale field which can adjust the scale of the models. The Scale Maximum and Scale Minimum fields of the models data type. Also finally the Set Scale actor event action.
Sounds like your zergling + bigger "un" share the same actor. All you need to do is add events that on unit creation/revive/construction it sets the model scale to x/1 scale.
Ok now I don't know what I did wrong, I did what you suggested for a wave spawn and it worked. Then everything crashed and for some reason reverted back to before I made the change. Now I am lost. Here is what I want to do:
I have a variable Wave Unit Type which is a unit type variable.
I also have a variable Current Wave = 0 which is an integer and a trigger for my spawns that when the spawn is over the variable increases by 1.
I want wave 31 to be a bigger zergling, so I have the following in my trigger:
EventsTimer-Every0.2secondsofGameTime(havethisbecauseIdon't know any otherwaytoforcethemaptocheckforcurrentwave=31)ConditionCurrentWave==31ActionsUnit-Set(UnitattachedtoSpawnpoint01)scaleto(200.0%,200.0%,200.0%)ofitsoriginalsize
Now it doesn't work for some reason. I also tried last created unit and that too didn't work.
I know the .2 seconds of game time checking works because I have a similar trigger that says to display current wave since I cannot figure out the wave timer display triggers but that's a different story.
Is there a trigger that will just let me say "If units in play == big ol' zergling then set scale to etc etc etc?
I have 2 units. Zergling, and Big Ol' Zergling. Zergling is just the default unit with it's life stats altered.
So to make my Big Ol' Zergling, here's what I did:
Under units, I duplicated zergling and renamed it to Big Ol' Zergling. I followed a tutorial and did what it said, duplicating everything in the check-boxes. I set the art - model, art - model (build), art - model (placement), and art - model (portrait) to zergling since this was my base unit.
With this, done I was able to place my new unit, which is just a renamed zergling in the map editor.
The problem is, I want this Big Ol' Zergling to be....well.....Big. If I adjust the model scale in Big Ol' Zergling to a higher scale, that changes the zergling scale to the bigger size as well since they share the same model.
So I tried going into models and duplicating the zergling model, figuring I could just rename it and then set the Big Ol' Zergling unit to use the Big Ol' Zergling model instead of Zergling. Problem is, I don't find a way to do that.
You can also change the scale in the actor.
@Exaken: Go
I love when people do not read ENTIRE posts, only bits, and then respond accordingly.
I already KNOW how to change the scale. The PROBLEM is when I do so, it changes the scale of my base unit as well as my new unit.
I already CREATED A NEW model for my custom unit, but the PROBLEM I AM HAVING is I cannot seem to find a place to change my new unit to use the NEW MODEL instead of the BASE model so they DON'T BOTH HAVE THE SAME SCALE WHEN I CHANGE IT.
Well, if you change the the model in the Art - Model fields in the actor to your Big Ol' Zergling, so both actors each have a model, it should be fine.
3 Ways to alter the scale of stuff. Under the unit actor there is the Art - Scale field which can adjust the scale of the models. The Scale Maximum and Scale Minimum fields of the models data type. Also finally the Set Scale actor event action.
Sounds like your zergling + bigger "un" share the same actor. All you need to do is add events that on unit creation/revive/construction it sets the model scale to x/1 scale.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
@DrSuperEvil: Go
Thanks DrSuperEvil, this worked! Wanna join my project? lol. This is the second thing you have helped me on hehe,
Maybe part time. Currently working at developing really impressive stuff.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
@DrSuperEvil: Go
Ok now I don't know what I did wrong, I did what you suggested for a wave spawn and it worked. Then everything crashed and for some reason reverted back to before I made the change. Now I am lost. Here is what I want to do:
I have a variable Wave Unit Type which is a unit type variable. I also have a variable Current Wave = 0 which is an integer and a trigger for my spawns that when the spawn is over the variable increases by 1.
I want wave 31 to be a bigger zergling, so I have the following in my trigger:
Now it doesn't work for some reason. I also tried last created unit and that too didn't work.
I know the .2 seconds of game time checking works because I have a similar trigger that says to display current wave since I cannot figure out the wave timer display triggers but that's a different story.
Is there a trigger that will just let me say "If units in play == big ol' zergling then set scale to etc etc etc?
That is more of a trigger question, I only do data. Try asking SoulCarveRR
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg