HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Realistic Grenade

11-01-2007, 04:17 PM#1
Jigs4w
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
cohadar
You need a physics engine for that kind of spell.
Do you haev one in your map?
11-01-2007, 08:53 PM#3
Jigs4w
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
Salbrismind
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
cohadar
Quote:
Originally Posted by Jigs4w
how else would i be able to make a realistic grenade?
By modifying "cluster rockets" ability.


Quote:
Originally Posted by Jigs4w
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

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
Jigs4w
Quote:
Originally Posted by cohadar
By modifying "cluster rockets" ability.




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.

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
cohadar
Not enough info to help you.
Show us some trigger code at least.
11-02-2007, 01:35 PM#8
Jigs4w
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