View Full Version : 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.
torrentpimp
02.04.2005, 00:30
Tahnk you for all us lazy buggers :)
Thanks so much mg2005! :D
I guess my post was sort of moot then, lol. :P
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!
Oh cool! :)
I guess I'm not as useless as I thought I was, hehe. :D Wish I could help out, but I'm barely getting settled in with all of this stuff. :?
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 :)
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 :)
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. :)
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 :)
Actually, I got used to the centered view and it looks much better imo. :D
After I tried to revert to my version of it, I just couldn't go back, lol. <center> rocks. ;)
masterop
02.04.2005, 20:33
Great job there !
The center view looks much better than the other one !
astranger
03.04.2005, 02:47
can you please re-upload the file :P
yeah, it would be nice to have the file available :p
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. :D
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?
torrentpimp
04.04.2005, 12:58
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.
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............
I agree. Even I posted a simple fix for the problem (your versions are better :D). 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. ;)
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...