Portal Missile Plugin V1.0 - for the D2Mod System
Author: SVR 2004

Based on the Red Portal tutorial by Kingpin.

This plugin adds a missile function to cast a portal.

==========================================================


To Install:
Extract portal.dll into your mod folder.

Add this line into you mod ini file in the [D2MOD] section.

Portal = portal.dll

==========================================================
To use the function, create an entry in missiles.txt

Missile = redportalXX
Id = next ID
pCltDoFunc = 1
pSrvDoFunc = 38		// this is the new missile function #
SrvCalc = BLANK		// Calc should result in >=0 to cast
Param1 = 60			// Object ID, type of portal. Try other objects ;-)
Param2 = 0			// *arg9 - 1=fixed placement, not truly known
Param3 = 3			// Destination Level Id (0 for Town Portal)
Param4 = 0			// Source Lvl allowed (0 for anywhere)

The remaining columns are not needed but you can set them as you wish.


In skills.txt you add the missile to the skill of your choice.

I have included a sample PortalMissile.txt & PortalSkills.txt.

For more details see the Red Portal Tutorial by Kingpin at www.d2mods.com.
