| 11-01-2007, 04:17 PM | #1 |
Hello good people of Wc3campaigns i have a problem, im making a FPS map, and i want to add realistic grenades to it I have made the grenade, but i want to make it so if you use an item, u throw a grenade like in elimination tournament i tried in the trigger using the spell that the item has instead but it didnt work could some1 please help me how to do this |
| 11-01-2007, 05:04 PM | #2 |
You need a physics engine for that kind of spell. Do you haev one in your map? |
| 11-01-2007, 08:53 PM | #3 |
how else would i be able to make a realistic grenade? yes i can make the grenade itself, im using the particle system thing i just want to kno how to make it so when u use a special item it does the grenade thing |
| 11-01-2007, 10:25 PM | #4 |
Like Cohadar said you need a physics engine of a sort. This means calculating the position of the grenade every fraction of a second then putting it there. That is how it is done, isn't it? |
| 11-01-2007, 10:54 PM | #5 | ||
Quote:
Quote:
Just detect "ability being cast" event for event your item is using. You can put any dummy point target ability on that item, you can even use channel ability (ANcl) directly. |
| 11-02-2007, 12:24 AM | #6 | |
Quote:
by realistic grenade i mean like bounces off walls and such yea im using infranes system i did it doesnt work for some reason |
| 11-02-2007, 12:34 AM | #7 |
Not enough info to help you. Show us some trigger code at least. |
| 11-02-2007, 01:35 PM | #8 |
i would now but im at school well anyway i fixed it i kno what i did wrong i put the name of the original spell it was like Aldr or somthing random like that. *by original i mean what it sais in custom text or somthin* i had to make an entirely new spell and then it was called A000 and then it worked but now just a quick question were is that spell that you can use multiple times i cant remember what its called like u can make as many dif kinds of it and they wont interfere with each other |
