What are the enumerables for shootProjectile

Talk about creating Grimrock 1 levels and mods here. Warning: forum contains spoilers!
Post Reply
rapancheese
Posts: 1
Joined: Mon Oct 15, 2012 5:36 am

What are the enumerables for shootProjectile

Post by rapancheese »

So in some part of the tutorial the shootProjectile function is explained in a lot of detail. However, the very first parameter 'projectile' is never mentioned. Now, I tried out "rock" as the value for projectile and the code worked down to a rock being launched. From what I can tell that means there's some list of strings that correspond to the different projectile types.

So does anyone have such a list? Or at least know the string for the lightning one?
Decayer
Posts: 65
Joined: Sat Oct 13, 2012 3:19 pm

Re: What are the enumerables for shootProjectile

Post by Decayer »

They're in the asset pack (http://www.grimrock.net/modding/asset-pack/), check the files in /assets/scripts/ for the names.
User avatar
Isaac
Posts: 3192
Joined: Fri Mar 02, 2012 10:02 pm

Re: What are the enumerables for shootProjectile

Post by Isaac »

Decayer wrote:They're in the asset pack (http://www.grimrock.net/modding/asset-pack/), check the files in /assets/scripts/ for the names.
There in the editor ~every item has its name attribute.
User avatar
msyblade
Posts: 792
Joined: Fri Oct 12, 2012 4:40 am
Location: New Mexico, USA
Contact:

Re: What are the enumerables for shootProjectile

Post by msyblade »

oooooh, an animated beholder avatar pic...can I hug him?!! He's sooo awesome!
Currently conspiring with many modders on the "Legends of the Northern Realms"project.

"You have been captured by a psychopathic diety who needs a new plaything to torture."
Hotel Hades
User avatar
Isaac
Posts: 3192
Joined: Fri Mar 02, 2012 10:02 pm

Re: What are the enumerables for shootProjectile

Post by Isaac »

msyblade wrote:oooooh, an animated beholder avatar pic...can I hug him?!! He's sooo awesome!
My avatar is the original sprite from EoB; but I plan to make a 3D version for LoG once I've imported a few [simpler] working character models. ;)
User avatar
Xanathar
Posts: 629
Joined: Sun Apr 15, 2012 10:19 am
Location: Torino, Italy
Contact:

Re: What are the enumerables for shootProjectile

Post by Xanathar »

Eh, you stole my avatar. Or I stole your username ;)
Waking Violet (Steam, PS4, PSVita, Switch) : http://www.wakingviolet.com

The Sunset Gate [MOD]: viewtopic.php?f=14&t=5563

My preciousss: http://www.moonsharp.org
Post Reply