Hi guys, I've been away for several months but I'm now working on a couple of personal projects, one of which is an Extension Mod so players may use my customizations on any melee map they wish.
BACKSTORY
Back when I was working on the first version of the mod, there were no Extension Mods so I used to make the mod and upload each map with a trigger folder in it, which contained timed upgrading systems for AI players so humans could play against the AI with all of the mod's custom upgrades & units.
Now with the Extension Mod, I've been working on a couple of basic upgrades (which are supposed to go off at game start) and behaviors on each specific building (with validators for the basic upgrades) to allow, disallow, upgrade or produce the custom units. The AI can use them, but it will not upgrade or create some of them.
TL;DR
Now, I made one upgrade called "Melee Upgrade" and gave it with a research ability ("Melee Research") to each Hatchery, Command Center & Nexus, also made a behavior called "Melee Upgrade Launcher" which is supposed to order the building into researching the Melee Upgrade (expire effect, after 5 game secs for behavior duration).
My main issue is that this behavior is supposed to work with a validator "Player Is Pc" in the remove validator field, this validator seems to be bugged, so I'm asking if anyone has successfully used it or knows a workaround to my issue, I'd like to do it with pure data as I don't really know about trigger libraries and making them work on extension mods. I made one with my old triggers and linked it but it doesn't seem to work either.
Depends how old your stuff is. Some patches broke stuff for no reason and making a new validator with the identical setup will work. Else try source for the Validator: Player - Value.
Rollback Post to RevisionRollBack
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
Hello again! You were absolutely right, I've got no idea why, but after I remade the validators in the exact same way it worked. I also rechecked the behavior that issues the research order and set everything to "caster" or "caster unit". Also checked the research ability had a button on command card, requirements and a small research time. Finally in the behavior I changed the effect from "expire effect" to a "periodic effect" while also adding 1 period count & a small period duration within the full behavior duration.
I'm not sure which of this actions fixed it because I did them all at once, but I thought I'd just describe them all, so other viewers may check their own if needed.
Thank you so much.
Rollback Post to RevisionRollBack
I like the lore. Check my latest projects at:
My Profile and My Team
To post a comment, please login or register a new account.
Hi guys, I've been away for several months but I'm now working on a couple of personal projects, one of which is an Extension Mod so players may use my customizations on any melee map they wish.
BACKSTORY
Back when I was working on the first version of the mod, there were no Extension Mods so I used to make the mod and upload each map with a trigger folder in it, which contained timed upgrading systems for AI players so humans could play against the AI with all of the mod's custom upgrades & units.
Now with the Extension Mod, I've been working on a couple of basic upgrades (which are supposed to go off at game start) and behaviors on each specific building (with validators for the basic upgrades) to allow, disallow, upgrade or produce the custom units. The AI can use them, but it will not upgrade or create some of them.
TL;DR
Now, I made one upgrade called "Melee Upgrade" and gave it with a research ability ("Melee Research") to each Hatchery, Command Center & Nexus, also made a behavior called "Melee Upgrade Launcher" which is supposed to order the building into researching the Melee Upgrade (expire effect, after 5 game secs for behavior duration).
My main issue is that this behavior is supposed to work with a validator "Player Is Pc" in the remove validator field, this validator seems to be bugged, so I'm asking if anyone has successfully used it or knows a workaround to my issue, I'd like to do it with pure data as I don't really know about trigger libraries and making them work on extension mods. I made one with my old triggers and linked it but it doesn't seem to work either.
Validator Info:
Name: Player Is Pc
Validator Type: Player Type
Parent: CValidatorPlayerCompareType
Validator Value: Computer
Validator Player Value: Player Origin
Validator Compate: Equal To
Validator Results (error or no player): Error
Thanks a LOT in advance.
Depends how old your stuff is. Some patches broke stuff for no reason and making a new validator with the identical setup will work. Else try source for the Validator: Player - Value.
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
Hello again! You were absolutely right, I've got no idea why, but after I remade the validators in the exact same way it worked. I also rechecked the behavior that issues the research order and set everything to "caster" or "caster unit". Also checked the research ability had a button on command card, requirements and a small research time. Finally in the behavior I changed the effect from "expire effect" to a "periodic effect" while also adding 1 period count & a small period duration within the full behavior duration.
I'm not sure which of this actions fixed it because I did them all at once, but I thought I'd just describe them all, so other viewers may check their own if needed.
Thank you so much.