I'm making a custom spell for a grenade launcher and I am having an issue where the spell will cast but only show the explosion on each mob it kills in its splash range.
what field or maybe actor type makes it so there is always an explosion whether there are units or not in its splash range AND so the explosion model will not appear on every killed unit?
You need a Model type actor like the siege tank impact effect that is created at the point the effect hits and not on the impacted units like an Action actor does.
Rollback Post to RevisionRollBack
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
Ahli634 is right- instead of creating it on your damage effect (which is run every time it hits any unit in the range), create it on the Search Area effect, which only runs once per attack. Either Create or Impact should work fine for Sub Name.
that makes sense. thanks ahli as well! but im having an issue with me it not showing up in the link like for the cost for example Abil/Mindblast. what do i have to add in order for it to show up in the link?
i got it to have a link but when i set the button in the command card it wont show up in the abilities list for the command type ability command:
Command Type: Ability Command
Ability: (ability doesnt show up)
Ability Command: (therefore nothing shows up)
ALSO
most if not all other default game abilities have the icon show in the top left corner in the link list, mine just shows a red crosshair, is that a hint from the editor that its not a working ability yet thats missing somthing before it shows the button icon? or just that its custom
Or do like the siege tank and have the damage hit a point and only create the model on the effect start and not the impact. Searches have the same issue if you use impact
It's probably not in the command list bc you didnt give the unit the ability in the Abilities+ array, like the Doc says. As for the crosshair, thats a sign that you didnt set a command button for the ability in the abilities Commands+ array.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
I'm making a custom spell for a grenade launcher and I am having an issue where the spell will cast but only show the explosion on each mob it kills in its splash range.
what field or maybe actor type makes it so there is always an explosion whether there are units or not in its splash range AND so the explosion model will not appear on every killed unit?
You need a Model type actor like the siege tank impact effect that is created at the point the effect hits and not on the impacted units like an Action actor does.
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
i do though!
my actor type is model and based on: modelanimationstyleoneshot
thats why im so confused! something i missed in the events field?
EDIT: i think i know why but dont know how to fix it still :P
i looked at it again and in my events i have
msg type: Effect
source name: my custom damage effect (which is think effects single targets within the search area effect i made with it)
sub name: create
Im thinkin its possibly creating the actor for each unit affected by my custom damage effect?
Create the actor on the search effect or whatever effect you are running directly at impact (could be a persistent effect, too).
You need the SOp (Shadow) site operation. Use the 250mm Strike Cannons Impact model as inspiration.
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
ive seen that "SOp" a lot. what does that mean exactly?
@Operation51:
Ahli634 is right- instead of creating it on your damage effect (which is run every time it hits any unit in the range), create it on the Search Area effect, which only runs once per attack. Either Create or Impact should work fine for Sub Name.
@TrenchaunT: Go
that makes sense. thanks ahli as well! but im having an issue with me it not showing up in the link like for the cost for example Abil/Mindblast. what do i have to add in order for it to show up in the link?
i got it to have a link but when i set the button in the command card it wont show up in the abilities list for the command type ability command:
Command Type: Ability Command
Ability: (ability doesnt show up)
Ability Command: (therefore nothing shows up)
ALSO
most if not all other default game abilities have the icon show in the top left corner in the link list, mine just shows a red crosshair, is that a hint from the editor that its not a working ability yet thats missing somthing before it shows the button icon? or just that its custom
@TrenchaunT: Go
Or do like the siege tank and have the damage hit a point and only create the model on the effect start and not the impact. Searches have the same issue if you use impact
@Operation51: Go
Sure you gave the unit the ability to use in the Ability - Abilities - Ability 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
@Operation51:
It's probably not in the command list bc you didnt give the unit the ability in the Abilities+ array, like the Doc says. As for the crosshair, thats a sign that you didnt set a command button for the ability in the abilities Commands+ array.