.com.unity Forums

.com.unity Forums (http://forum.shrapnelgames.com/index.php)
-   Scenarios, Maps and Mods (http://forum.shrapnelgames.com/forumdisplay.php?f=146)
-   -   How do i restrict ritual to terrain? (http://forum.shrapnelgames.com/showthread.php?t=44617)

mehrunes_dagon January 3rd, 2010 06:13 AM

How do i restrict ritual to terrain?
 
Some rituals are only castable on certain terrains. For instance, `mountain vila' only works in mountains, and `hidden in sand' only works in deserts.

How do i restrict a certain ritual spell to forest? Mountain? Forest growin on mountain?

I searched thru official moddin guide and 99% sure there's no answer to the question

Sombre January 3rd, 2010 07:23 AM

Re: How do i restrict ritual to terrain?
 
It's probably a new bitmask in the #spec field. lch or DrPraetorious should be able to tell you what it is, if it is indeed usable.

Meanwhile, just make a copy of the vila/sand/whatever spell and make changes to it. You can't change the #spec attributes though, of course.

mehrunes_dagon January 3rd, 2010 09:52 AM

Re: How do i restrict ritual to terrain?
 
so, to restrict ritual to forest, i need some to copy some forest-only ritual

And which ritual is forest-only? Or forest-mountain only?

Sombre January 3rd, 2010 05:38 PM

Re: How do i restrict ritual to terrain?
 
Hmm. Forest only,....

Can't think of one off the top of my head. That restriction was only introduced relatively recently though I believe, so you'd only have to look through spells recently added to vanilla.

If you're talking about a summoning spell, you could give the monster it summons a forestshape which is the thing you want summoned, and a #firstshape which is something crappy, like a militia. That way if you summon it outside a forest it's just a militia, but if you summon it in a forest it can be something powerful.

rdonj January 3rd, 2010 06:20 PM

Re: How do i restrict ritual to terrain?
 
I think Jomon's Mori-no-Kami is a forest only summon. They also have a mountain only summon.

Stavis_L January 4th, 2010 09:29 AM

Re: How do i restrict ritual to terrain?
 
At least the flavor text for the Bogarus spell to summon the Leshiy indicates it can only be cast in a forest. I've never tried elsewhere, though, so not sure if it's an actual enforced restriction.


All times are GMT -4. The time now is 12:54 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.