Hey fellow map maker, first im not sure i can do it the way i have imaged it but here it goes.
its a 4 player map where each player start with one bunker, and i only want the turret to be attach to the players that have researched turret.
so far i have made the bunker with a turret with help from the tutorial in here and its fully working.
but that tutorial only showed how to make the permenant from the start.
i want it to appear on the players bunker when he research it.
so i need some sort of validator to see it, but i dont know where.
hope you guys can help. I am at your services if you need more information.
If I understand what you are trying to do correctly, what you need is not a validator. You need to change the event that "Create" the actor to "Upgrade.YourTurretResearch".
could just try replace unit trigger and have 2 separate units, a regular bunker and bunker with a turret in the data folder. Then just do event when upgrade is reserached and replace unit with turret bunker.
Could be more cleaner with the data folder but easier with triggers.
yeah that is the tutorial i used to make it, but my problem is, that the turret is permenant, and what I want is it to be permenant IF the player have researched "bunker turret".
so my problem is still, what Even + action i should use, cos i tryed useing upgrade, but with no luck.
Oh, you could try adding a 'term' to the creation event of type 'ValidatePlayer', link to a validator in the data editor for the research. To create the validator for the technology, try looking at other 'Player Requirement' validator entries. For example, 'Cleave Researched'.
Also add an additional actor 'event' of type 'Upgrade'. Example - Upgrade.<SOURCE_NAME>.Add , then make the resulting actor msg 'create' for the turret actor / etc.
I couldent get the upgrade to work, but i tryed with a behaviour, and it sort of works, the only problem is, when it is "create" by an behaviour the turret wont turn idle.
I looked at how blizzard had done it, but it dosent really help much, so far i think i need to use the signal function, but as usual blizzard can do things that we cant.
I cant Singal to Turret hide or any of the others
Uploaded with ImageShack.us
Hey fellow map maker, first im not sure i can do it the way i have imaged it but here it goes.
its a 4 player map where each player start with one bunker, and i only want the turret to be attach to the players that have researched turret. so far i have made the bunker with a turret with help from the tutorial in here and its fully working. but that tutorial only showed how to make the permenant from the start.
i want it to appear on the players bunker when he research it.
so i need some sort of validator to see it, but i dont know where.
hope you guys can help. I am at your services if you need more information.
If I understand what you are trying to do correctly, what you need is not a validator. You need to change the event that "Create" the actor to "Upgrade.YourTurretResearch".
It dosent work. look at my Event for creating the turret.
Event: Upgrade. NeosteelFrame
Action: Create
but when i research NeosteelFrame nothing happens
could just try replace unit trigger and have 2 separate units, a regular bunker and bunker with a turret in the data folder. Then just do event when upgrade is reserached and replace unit with turret bunker.
Could be more cleaner with the data folder but easier with triggers.
yeah i thought about that too, but the problem is, this isent the only addon that is going to be applyed to the bunker.
@JacobNielsen: Go
Bunker turret tutorial
http://forums.sc2mapster.com/resources/tutorials/8926-data-working-with-attachments-beginner-difficulty/#posts
Edit: Sorry, I took one look at the topic and responded with the tutorial. I should read more carefully and you should pick your topic name better.
yeah that is the tutorial i used to make it, but my problem is, that the turret is permenant, and what I want is it to be permenant IF the player have researched "bunker turret".
so my problem is still, what Even + action i should use, cos i tryed useing upgrade, but with no luck.
@JacobNielsen: Go
Oh, you could try adding a 'term' to the creation event of type 'ValidatePlayer', link to a validator in the data editor for the research. To create the validator for the technology, try looking at other 'Player Requirement' validator entries. For example, 'Cleave Researched'.
Also add an additional actor 'event' of type 'Upgrade'. Example - Upgrade.<SOURCE_NAME>.Add , then make the resulting actor msg 'create' for the turret actor / etc.
Lemme know if that helps.
I couldent get the upgrade to work, but i tryed with a behaviour, and it sort of works, the only problem is, when it is "create" by an behaviour the turret wont turn idle.
Still stuck. :/