Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела
FAQ Community Calendar Today's Posts Search

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 01.04.2005, 21:49   #1
mg2005
Архивный участник
 
Join Date: Feb 2005
Posts: 85
Default Fix for Teleporters

Here is the code that will fix the teleports it puts the text centered
here it is....
ex.....

class gatekeeper_richlin : teleporter
property_define_begin
telposlist_begin Position
{"<center>"; -84141; 244623; -3729; 0; 0 } <---------------- add this to the beginning of all gatekeepers!
{"Talking Island Village"; -84141; 244623; -3729; 18000; 0 }
{"The Elven Village"; 46951; 51550; -2976; 6400; 0 }
{"The Dark Elven Village"; 9709; 15566; -4500; 6400; 0 }
{"The Town of Gludio"; -12694; 122776; -3114; 2900; 1 }
{"Orc Village"; -45158; -112583; -236; 6000; 0 }
{"Dwarven Village"; 115120; -178224; -917; 6000; 0 }
{"The Southern Entrance of the Wastelands"; -16730; 209417; -3691; 2400; 0 }
telposlist_end
property_define_end
class_end

be sure to only add this to gatekeepers if you add to custodians you will get errors... I warned you.........
once done it should look like this..... but it will be centered

Talking Island Village -18000
The Elven Village -6400
The Dark Elven Village -6400
The Town of Gludio -2900
Orc Village -6000
Dwarvin Village -6000
The Southern Entrance of the Wastelands -2400

if you see ** in the code above, just replace with bracket
Remember it only needs to be added once the rest will shift centered.
mg2005 is offline  
Old 02.04.2005, 00:30   #2
torrentpimp
Архивный участник
 
Join Date: Mar 2005
Posts: 282
Default

Tahnk you for all us lazy buggers
torrentpimp is offline  
Old 02.04.2005, 01:13   #3
flakka
Архивный участник
 
Join Date: Mar 2005
Posts: 1,143
Default

Thanks so much mg2005!

I guess my post was sort of moot then, lol. :P
flakka is offline  
Old 02.04.2005, 02:03   #4
mg2005
Архивный участник
 
Join Date: Feb 2005
Posts: 85
Default

actually I looked at both posts and saw that you could use
command but after doing that I did not like the way it came out so I took Digitals Idea <center> and then went to trying ways to make it work in the ai.obj and there you have it a nice layout thats readable
so I give credit to you Flakka and to you digital
now if I can just figure out the casting code and spell effect after cast!
mg2005 is offline  
Old 02.04.2005, 02:10   #5
flakka
Архивный участник
 
Join Date: Mar 2005
Posts: 1,143
Default

Oh cool!

I guess I'm not as useless as I thought I was, hehe. Wish I could help out, but I'm barely getting settled in with all of this stuff. :?
flakka is offline  
Old 02.04.2005, 02:22   #6
mg2005
Архивный участник
 
Join Date: Feb 2005
Posts: 85
Default

Dont worry I am just now making headway with it now, little by little I am getting better and better at understanding how it comes together
maybe you actually could help me hit me with a PM and we can talk about it
mg2005 is offline  
Old 02.04.2005, 07:07   #7
deva
Архивный участник
 
Join Date: Mar 2005
Posts: 21
Default

cool i my self use

class trishya : teleporter
property_define_begin
telposlist_begin Position
{"The Town of Gludio"; -12787; 122779; -3114; 4100; 1 }
{"
"; 0; 0; 0; 0; 0 }
{"The Town of Giran"; 83336; 147972; -3404; 8100; 3 }
{"
"; 0; 0; 0; 0; 0 }
{"Entrance to Giran"; 47938; 186864; -3420; 6500; 0 }
telposlist_end

works with every teleporter & custodians no errors
deva is offline  
Old 02.04.2005, 08:57   #8
flakka
Архивный участник
 
Join Date: Mar 2005
Posts: 1,143
Default

Quote:
Originally Posted by mg2005
Dont worry I am just now making headway with it now, little by little I am getting better and better at understanding how it comes together
maybe you actually could help me hit me with a PM and we can talk about it
Yeah, I'm sort of catching on. Slowly, but surely. :P It's mostly trial and error for me though, lol.

PM sent.
flakka is offline  
Old 02.04.2005, 13:37   #9
mg2005
Архивный участник
 
Join Date: Feb 2005
Posts: 85
Default

Quote:
Originally Posted by deva
cool i my self use

class trishya : teleporter
property_define_begin
telposlist_begin Position
{"The Town of Gludio"; -12787; 122779; -3114; 4100; 1 }
{"
"; 0; 0; 0; 0; 0 }
{"The Town of Giran"; 83336; 147972; -3404; 8100; 3 }
{"
"; 0; 0; 0; 0; 0 }
{"Entrance to Giran"; 47938; 186864; -3420; 6500; 0 }
telposlist_end

works with every teleporter & custodians no errors
yeah that works too but I kinda like the centered look myself
mg2005 is offline  
Old 02.04.2005, 17:55   #10
flakka
Архивный участник
 
Join Date: Mar 2005
Posts: 1,143
Default

Actually, I got used to the centered view and it looks much better imo.
After I tried to revert to my version of it, I just couldn't go back, lol. <center> rocks.
flakka is offline  
Old 02.04.2005, 20:33   #11
masterop
Архивный участник
 
Join Date: Mar 2005
Posts: 8
Default

Great job there !
The center view looks much better than the other one !
masterop is offline  
Old 03.04.2005, 02:47   #12
astranger
Архивный участник
 
Join Date: Mar 2005
Posts: 41
Default

can you please re-upload the file :P
astranger is offline  
Old 04.04.2005, 06:41   #13
neur0x
Архивный участник
 
Join Date: Apr 2005
Posts: 14
Default

yeah, it would be nice to have the file available
neur0x is offline  
Old 04.04.2005, 07:16   #14
flakka
Архивный участник
 
Join Date: Mar 2005
Posts: 1,143
Default

Just hang tight a bit.

He'll put up the file with a better one. That's why he took it down. Or at least I think thats what he's doing, lol. :P

If you haven't read, there's going to be more fixes in the ai.obj file.
flakka is offline  
Old 04.04.2005, 07:32   #15
Digital
Архивный участник
 
Join Date: Nov 2004
Posts: 1,405
Default

omg- these are such simple fixes... by just adding a
or <center>
there's at most 20 teleporters only
u ppl are too lazy
that's it.. u guys better wake up ur idea
i'm not going to spoon-feed u guys anymore :|
u ppl just take things for granted dun u?
Digital is offline  
Old 04.04.2005, 12:58   #16
torrentpimp
Архивный участник
 
Join Date: Mar 2005
Posts: 282
Default

yep I'll admit it if someone else wants to do the work that's great but I really prefer to do it myself then you know what's done.

my currents projects are a fixed up online status and beefed up shopkeepers.
torrentpimp is offline  
Old 04.04.2005, 15:30   #17
mg2005
Архивный участник
 
Join Date: Feb 2005
Posts: 85
Default

I agree with you there I just did it as simple curtisie to all as you may know I am having upload and speed problems since the weekend and Digital knows this as I have tried to get him the file he needs I will be down fore about an hour or so they are running new lines and checking the box so as soon as I have a green light again I will up the ai.obj with tele fixes....
I agree Digital I give a simple fix and show how you can do it yet no one wants to take initiative and try........<shrugs>
be back in a little while gotta jet cable guy is here............
mg2005 is offline  
Old 04.04.2005, 17:20   #18
flakka
Архивный участник
 
Join Date: Mar 2005
Posts: 1,143
Default

I agree. Even I posted a simple fix for the problem (your versions are better ). If you guys can't wait for the file, then the best thing to do is to do it yourself. It's not that hard, and I've only picked up the server stuff about a few weeks ago.

The thing is that if something goes wrong with your server, you can always revert it. You'll never learn how to fix the thing unless you learn how to break it first. Besides, if someone posts it and explains how to do it then you really can't go wrong unless you seriously don't know how to read.

You should post it in the modders section mg2k5. It should be part of the Beta4 pack since it will cut down on the amount of files floating everywhere.
flakka is offline  
Old 04.04.2005, 19:50   #19
neur0x
Архивный участник
 
Join Date: Apr 2005
Posts: 14
Default

I've changed the ai.obj myself using the instruction provided here (yes, it's very easy to change it...), it worked the first time i started the server, i restarted it and then i started seeing it the same way it was without the fix, that's why i didn't upload the file here...
neur0x is offline  
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 19:11.