- Joined
- Nov 18, 2005
- Messages
- 12
this is strictly for frozen throne...
an amo sytem in one of the things most new map makers try to make but are not very good at for obvious resons. so i thought i would help. to make and amo sytem you could simply make a charged item but it would seem dull in order to make something like in dawn of the dead here is what u need to do... you will have to sacrafice ether food gold or lumber but it is well worth it. first make a unit that you want to have the amo sytem with (example: in dawn of the dead this would be you only guy) just for this we will call him BOB then go to the trigger editer. first make a trigger call it what you want butt for now ill call it amo 1.
amo 1
event: unit-unit specific event - unit begins casting ability.
actoin: player -set property- player - set - owner of unit BOB)current gold to (sign(((player 1 (red) current gold) -1) -0))
sorry if i want clear on how to do this part it has something to do with math sign. it might take time to figure it out and the casting ability is unit event here is the next trigger triger amo 2 we will call it
event: player- player 1 (red)'s current gold becomes less than or equal to 0.00
action: unit- remove ability shoot from (BOB)
shoot i will show you later put a diff spell in its palce
now the last triger makes the amo set for your playr... how much he starts at. if you wanted since we have gold for amo you could usr lumber for curisy. then you could have them by the item that alows you go over it like a tome and then you get gold. you know what in talking about?
however if you want him to start out with amo do this triger
event: map intalazation (something like that)
action: player-set player property- set player (owner of unit BOB) curent gold to (your set amount)
now go to the object editer. go to abilitys. now make a new one and bace it of of the mages fire balll thing (you know what i mean) name it shoot now set the amount of damage to what want (you know the works) ok now change the icon from a flaming ....... thing.... to this
ReplaceableTextures\PassiveButtons\PASBTNFlakCannons.blp
give this ability to your hero.
well this is all you have to do but there is still more u can do.
now go to advanced and go to game interface....
look through the icons till you find one that says GOLD click on it. set it to custom script and copy this in
ReplaceableTextures\PassiveButtons\PASBTNFlakCannons.blp
now up at the top of your screan were your resorces used to be the thing that was gold is now amunition. is you want find the one that says lumber and find one that looks good for curincy. now go down to were it says
text-mesage- find the one that says not enogh gold dubl click it and tipe in out of amo. for lumber you would put not enogh money
now you have to go back up to sounds. no food and no gold.
edit these so that they do not say. NOT ENOUGH GOLD in an eritateing voice now they can do what ever you want you could even import your voice frankly i dont care.
well thats it hope it works great for you - banana2000
an amo sytem in one of the things most new map makers try to make but are not very good at for obvious resons. so i thought i would help. to make and amo sytem you could simply make a charged item but it would seem dull in order to make something like in dawn of the dead here is what u need to do... you will have to sacrafice ether food gold or lumber but it is well worth it. first make a unit that you want to have the amo sytem with (example: in dawn of the dead this would be you only guy) just for this we will call him BOB then go to the trigger editer. first make a trigger call it what you want butt for now ill call it amo 1.
amo 1
event: unit-unit specific event - unit begins casting ability.
actoin: player -set property- player - set - owner of unit BOB)current gold to (sign(((player 1 (red) current gold) -1) -0))
sorry if i want clear on how to do this part it has something to do with math sign. it might take time to figure it out and the casting ability is unit event here is the next trigger triger amo 2 we will call it
event: player- player 1 (red)'s current gold becomes less than or equal to 0.00
action: unit- remove ability shoot from (BOB)
shoot i will show you later put a diff spell in its palce
now the last triger makes the amo set for your playr... how much he starts at. if you wanted since we have gold for amo you could usr lumber for curisy. then you could have them by the item that alows you go over it like a tome and then you get gold. you know what in talking about?
however if you want him to start out with amo do this triger
event: map intalazation (something like that)
action: player-set player property- set player (owner of unit BOB) curent gold to (your set amount)
now go to the object editer. go to abilitys. now make a new one and bace it of of the mages fire balll thing (you know what i mean) name it shoot now set the amount of damage to what want (you know the works) ok now change the icon from a flaming ....... thing.... to this
ReplaceableTextures\PassiveButtons\PASBTNFlakCannons.blp
give this ability to your hero.
well this is all you have to do but there is still more u can do.
now go to advanced and go to game interface....
look through the icons till you find one that says GOLD click on it. set it to custom script and copy this in
ReplaceableTextures\PassiveButtons\PASBTNFlakCannons.blp
now up at the top of your screan were your resorces used to be the thing that was gold is now amunition. is you want find the one that says lumber and find one that looks good for curincy. now go down to were it says
text-mesage- find the one that says not enogh gold dubl click it and tipe in out of amo. for lumber you would put not enogh money
now you have to go back up to sounds. no food and no gold.
edit these so that they do not say. NOT ENOUGH GOLD in an eritateing voice now they can do what ever you want you could even import your voice frankly i dont care.
well thats it hope it works great for you - banana2000