The Art - Model field is set to my pulsing omni light model. I tried setting it to a regular omni light, but it's still the same message:
Warning: Invalid placed doodad 'LightOmniBlue2' at (0.000000,0.000000,0.000000). A placeholder model will be used.
The "LightOmniBlue2" ID resulted from duplicating the original omni light doodad (I don't like to touch originals when I'm making a new unit/doodad/etc.).
Just to be clear, we are talking about the Art - Model field within the actor object, not the model object, correct? The model object is just set to the regular omni light model.
Zasekle, I have that tutorial bookmarked, thank you.
The pulsing omni light actor type is set to "model," based on "CActorModel." The cube is based on the Pickup Grenades unit, with the main actor being an unmodified Haven Crates model (type: "generic," based on "doodad").
I want to be clear that the problem is not attaching the pulsing light to the crate right now, but rather, the actor not showing up at all when it's set to "model" instead of "doodad." When you say "host unit," are you referring to the crate? Or does the pulsing light turn into a "unit" when it is set to "model" from "doodad"? I created the actor event Unit Birth, but what msg type should follow?
Create. With doodads when they are placed the actor is automatically created while with models and most other actor types you need to actively tell it to be created. By host unit I am refering to the item in the Units data type that you want to have the the crate and light on.
Rollback Post to RevisionRollBack
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
And then tell it to use the regular omni light actor in the content field? Should I leave the name field blank? This is what I have, but as you can see to the left, I still get the placeholder.
I'm creating the actor from scratch, but after copying/pasting all of the events, etc. and changing the model to the omni light (and even before), I can't find the object in my doodad list. It should be listed under "props," as I set it as such. Or by making it an actor model am I at the same time preventing it from being selected as a doodad?
You only find doodad actors in the doodad editor. As you are attaching model actor to a unit actor you will find it under the units editor on the actual unit that you intend to use as your item.
The actor model from scratch is now showing up. I added the "Unit Birth" event within the pulsing light actor, set the event's source name to the crate unit, and just set the msg type to "create" while leaving all the fields blank. It works perfectly.
DrSuperEvil - thank you very much.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
The Art - Model field is set to my pulsing omni light model. I tried setting it to a regular omni light, but it's still the same message:
Warning: Invalid placed doodad 'LightOmniBlue2' at (0.000000,0.000000,0.000000). A placeholder model will be used.
The "LightOmniBlue2" ID resulted from duplicating the original omni light doodad (I don't like to touch originals when I'm making a new unit/doodad/etc.).
Just to be clear, we are talking about the Art - Model field within the actor object, not the model object, correct? The model object is just set to the regular omni light model.
Zasekle, I have that tutorial bookmarked, thank you.
Look what actor type is your omnilight and what is your cube?
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
Sorry for the delayed response.
The pulsing omni light actor type is set to "model," based on "CActorModel." The cube is based on the Pickup Grenades unit, with the main actor being an unmodified Haven Crates model (type: "generic," based on "doodad").
Have you added an actor event that it is created on Unit Birth when the host unit is created?
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
I want to be clear that the problem is not attaching the pulsing light to the crate right now, but rather, the actor not showing up at all when it's set to "model" instead of "doodad." When you say "host unit," are you referring to the crate? Or does the pulsing light turn into a "unit" when it is set to "model" from "doodad"? I created the actor event Unit Birth, but what msg type should follow?
Create. With doodads when they are placed the actor is automatically created while with models and most other actor types you need to actively tell it to be created. By host unit I am refering to the item in the Units data type that you want to have the the crate and light on.
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
And then tell it to use the regular omni light actor in the content field? Should I leave the name field blank? This is what I have, but as you can see to the left, I still get the placeholder.
in the name and content field of the create action put nothing because it automatically defaults to the correct stuff.
If you still have issues just delete the model actor and create a new model actor from the defaults and just change the Art - Model field.
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
I'm creating the actor from scratch, but after copying/pasting all of the events, etc. and changing the model to the omni light (and even before), I can't find the object in my doodad list. It should be listed under "props," as I set it as such. Or by making it an actor model am I at the same time preventing it from being selected as a doodad?
You only find doodad actors in the doodad editor. As you are attaching model actor to a unit actor you will find it under the units editor on the actual unit that you intend to use as your item.
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
The actor model from scratch is now showing up. I added the "Unit Birth" event within the pulsing light actor, set the event's source name to the crate unit, and just set the msg type to "create" while leaving all the fields blank. It works perfectly.
DrSuperEvil - thank you very much.