EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Support::Windows Servers (https://www.eqemulator.org/forums/forumdisplay.php?f=587)
-   -   A little help with customizing my server. (https://www.eqemulator.org/forums/showthread.php?t=34718)

Noport 01-16-2012 03:52 AM

5.How to add zone portals

Example using quest files for what ever zone you wish.

I made my own for Bazzar quest for Red and Blue Translocator

Translocator_Blue.pl
sub TL
{
movepc(1213.00,921.00,3.28); }
}
movepc(88.00,265.00,36.00); }
}

Translocator_Red.pl

sub TL
{
movepc(1212.00,-891.00,3.28); }
}
movepc(261.64,-91.47,36.00); }
}
----------------------------------
This is a quest for what ever zone

Example Dummy.pl for nexus

sub EVENT_SAY {
if($text=~/Hail/i){
quest::say("wish to go");

if($text=~/wish to go/i) {
quest::movepc(-882.00,132.00,51.47); #Arena <--- This will move a charter to another zone location.
}

sub EVENT_SPAWN {
$x = $npc->GetX();
$y = $npc->GetY();
quest::set_proximity($x - 170.68, $x - 261.52, $y - 156.31, $y + 0);<--- to spawn a ncp type in the location where you want him/her to show up.
{
}
To find the location type /loc in chat window.

helman 01-16-2012 04:15 AM

Ok. I have a question. How do i get 329 - portal to show up in other zones? I can't figure out how to add static objects, and what there id's are so I guess I'll use that its the only one I Portal like I can find can find.

Edit nvm i used one from Wall of Slaughter.

Noport 01-16-2012 04:40 AM

when you say objects are you referance to objects Example
Goto your Everquest directory find the zone you known where the file
is in like example Tutorialb_assents add the objects name to the file.
to extact the objects if need use the program called s3Dspy.

under xxxxx_EnvironmentEmitters is where you want to put 329 - portal to show up
look at that zone EnvironmentEmitters file it will give you a number and the location.

helman 01-16-2012 04:52 AM

Well I'm using one from wall of Slaughter now. Its in and every thing, but setting it to work like pok stones is a bit hard. I have it set to South Q but it set it self back to none. I'm thinking i didn't set it right and forgot to put South Q.

Edit Yeah those kind of objects.

Noport 01-16-2012 05:01 AM

I'm sorry now i understand what your talking about when you say portal.

example veeshan_assets
voidportal.eqg
make sure you add the file name to xxxxxx_assets file for what ever zone your placing the portal in.

helman 01-16-2012 05:11 AM

Ok what about the a crystalline portal from wall of slaughter? (asking cause i got it to load just fine with out doing that)

Noport 01-16-2012 05:18 AM

what ever works is fine. Good job!

helman 01-16-2012 05:24 AM

Thanks. Most of this would not have been done with out yours and blackdragonsdg's help. But I'm far away from being done. I only have starting gear made for one class, only 2 Class GM's, Still need to get my zones made out, and figure out how to make quests, Further work on the story, Edit what Aail the Enlightened says-never said his name but its the text i was having problems with-, Look for someone to do the hosting for me. Lets just say i have a new found respect for the people that have made a server, and the people that can do this like its nothing.

Noport 01-16-2012 05:33 AM

I"m working with the newer client Voa . i had to use Station & Lauchpad to make one good client. Exported all the zone files so far 1.22Gb with Voa client now been 9.25Gb Total

Noport 01-16-2012 06:01 AM

don't use %t if you want your charters name to show you'll have to use $name.

helman 01-16-2012 06:10 AM

ok. And I'm haing troubles again. XDD

Code:

sub EVENT_SAY {
        if($text=~/Hail/i) {
                        quest::say("-You Hear a Voice that seems to come out Of the Rift.- This Will send you back in time to South Qeynos.(I'm still working on this So just Say (Send).");
        }               
        If($text=~/Send/i) {
                        quest::say("Please be careful to not change the future.");
                        quest::movepc(302,0,10,5); 
        }
}

Whats wrong with it? My Portal wont talk to me. I have the .pl named right and in the right folder but it just wont talk.

Also with what I'v learned I think I can make my own Waypoint. All i need is to make sure every zone has the same npc and Script for it. The only thing i can't do is the banking system and the withdraw from it. But i can still make it my buff bot, skill trainer, Spell trainer, Disc trainer and what not.

Noport 01-16-2012 06:33 AM

sub EVENT_SAY {
if($text=~/Hail/i) {
quest::say("$name Hears a Voice that seems to come out Of the Rift.- This Will [Send] you back in time to South Qeynos. Please be careful to not change the future.");
}elseIf($text=~/Send/i) {
quest::movepc(302,0,10,5);
}
#END of FILE

helman 01-16-2012 06:45 AM

Thank you. XDD as you can see i'm still getting use to this.

Sadly that didn't work. still testing.

I think i know what it is. $name Hears a Voice that seems to come out Of the Rift.- its the (-). I copyed the text from one of my other npcs and it worked. So its got to be that (-).

Got it to work but, now i need to figure out why it sent me to dracknick(sp) -I so missed up that name XDD- scar

I was looking at the wrong ID 302 is the zone id for DS 1 is for SQ

Noport 01-16-2012 07:31 AM

xxxxxxxxxx.pl plugin name of file

#!/usr/bin/perl
sub name_say {
my $text = shift;

if($text=~/hail/i){
quest::say("$name Hears a Voice that seems to come out Of the Rift.- This Will [Send] you back in time to South Qeynos. Please be careful to not change the future.");
}elseIf($text=~/Send/i) {
quest::movepc(302,0,10,5);
}
#END of FILE
put this file in plugins dirctory to work in every zone.

put this file in every zone replace xxxxxx and pluginname
xxxxxxxxxx.pl plugin name of file
#generic pluginname quest
sub EVENT_SAY {
plugin::pluginname_say($text);
}

helman 01-16-2012 07:35 AM

Ok, I'll get to that later. Its sleep time. Thank you for the help. To bad I can't Port Foreword or i would ask you to beta test for me.


All times are GMT -4. The time now is 12:33 AM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.