| 10-28-2003, 08:51 PM | #1 |
ok im making a snowball fight game as some of u may kno. but anyway i wanted to make like snowwalls that you can build to block snow balls but u can just shoot thru everything i try!!!!! i tried cliffs, buildings and doodads but u can just shoot thru it all! i even tried other units that dont move so somone tell me how to make a blocker that u cant shoot thru!!!!!! |
| 10-28-2003, 08:53 PM | #2 |
o and i also need to kno how to make its so u get 5 gold for killing a unit i kno how to do it with triggers but i mean like bounty awards like when u kill creeps u get a certin ir like in riflemen/footmenwars wars |
| 10-28-2003, 09:22 PM | #3 |
1# How are you making your snowballs? Are thye units or is it an ability? 2# The killing thing? To turn on bounties under player, go to the action, turn player flag on. That'll make bounties come up. Though I don't know if it works for other players, I thought it was just creeps... it might be better to just use the triggers. |
| 10-28-2003, 09:25 PM | #4 |
Eriond, you can turn on bounties for ANY player. In many TDs the bounty is turned on for the player/computer that is the pathing monsters. sweet5, once you turn on bounties you may want to go into the object editor and edit the bounties for the units. As for blocking snowballs, I sugjest making the snowballs into units, then removing their ability to turn, then when someone "Throws" one it would not be able to go through things. |
| 10-28-2003, 09:27 PM | #5 |
Well, it's probably a problem with whatever you're using as the projectile snowball. Maybe it doesn't register as something that's blockable at all. You could try making that blocker based off of a path blocking doodad (it's actually called something like that). Other than that, I'm not too sure. The bounty is a setting in the unit editor. You just set it there. Oh, and I believe you have to use a trigger action that turns on a player's bounty drop...I think I saw that somewhere. Maybe it's also a setting in the unit editor...maybe I'm going crazy >_< . I know that the amount of gold a unit drops is its bounty and that it's set in the unit editor...I'm just not sure how to enable it. Sorry. :( I wish I could remember how to enable it. >_< Looks like my slow draw (posting) left me at the bottom of the answer to my own query, yay! :D |
| 10-28-2003, 09:29 PM | #6 |
QuatreDan you are correct, it is a trigger to turn on bounties for a player. To be more precise, you turn on the bounties for the player that you want to GIVE bounty for killing, so if you want people to get bounty for killing player 6, then you would turn on bounties for player 6. |
| 10-28-2003, 10:04 PM | #7 |
ok guys thx for help on the bounty thing but what exactly is the trigger called that is u sed to turn it on? i can find it. and for snow balls im using frost bolt and its a normal attack not an ability hopefully 1 of u kno how to block it |
| 10-28-2003, 10:26 PM | #8 | |
Quote:
You'll have to trigger it so... ig. So... e - a unit finishes casting an ability c - ability being cast equal to (your ability) a - create one Snowball at position of casting unit a - set custom value of last created unit to facing angle of casting unit a - add last created unit to SnowballGroup And have a trigger that does this: e - every 0.1 seconds of game time c - a - pick all units in SnowballGroup and do actions: ----------a - move picked unit instantly to current position of picked unit offset by XXXXXX toward custom value of picked unit degrees. And I'm not sure how you can do collision checking... anyone? |
| 10-28-2003, 10:39 PM | #9 |
umm the attack isnt a throw ball ability its just a normal attack |
| 10-28-2003, 10:41 PM | #10 |
I think you'd have to make it into an ability... the "a unit is attacked" event fires at funny times |
| 10-28-2003, 11:04 PM | #11 | |
Quote:
As Eriond stated, the trigger is "Player - Turn on Flag" and your turning on the bounty. The finished trigger should be "Player - Turn Gives bounty On for Player 6 (Orange)" where Player 6 (orange) would be what ever player you want to people to get bounty for killing. Generally, I put the "turn on bounty" action in a trigger that runs 1 second after the game starts. I don't know if putting it in the Map Init would be a good Idea or not.. |
| 10-29-2003, 12:05 AM | #12 |
ok i now how to do the muliple targets hing by editing barrage but when i do it then range for multiple target is only 200 when the units attack range is 8000 so because of this the unit can only fire 1 missle from more than 200 range but can fire up to 10 in side of 200 range so if u get what im saying how can i change the range of the ability |
| 10-29-2003, 01:45 AM | #13 |
For a multi-shot barrage edit, I suggest Here because that has a fully downloadable version AND the board explains EVERYTHING about it. :ggani: (I know, I am the one that made the multishot and the post that explains everything on that thread) ;) |
| 10-29-2003, 02:06 AM | #14 |
nope, i tried ur ability with 8000 range and just like mine it dosent work : ( must be a bug wit barrage |
| 10-29-2003, 02:18 AM | #15 |
Thats weird... worked for me... hmm... when I get the change I'll check it out. |
