Page 1 of 1
?
Posted: Wed Oct 29, 2003 7:23 am
by yuppicide
Let's say I do figure out that teleport script here (nobody replied to me there).. where do I put the script so it executes server side on our server?! What do I call the file?! Do I need anything else in the file or will just copying that teleport script for Destroyed Village work?!
Posted: Wed Oct 29, 2003 12:04 pm
by Bjarne BZR
You put it in main/maps/dm and name it the same as the map ( mohdm6.scr as an example ). It will then be called automatically.
Posted: Wed Oct 29, 2003 7:20 pm
by yuppicide
Thanks for the reply. I took the script from the other post here. I didn't have a directory main/maps/dm, so I created it. I have stock MOHAA with Spearhead and no custom maps installed right now. Just the stock maps that come with MOH.
So I had to create the maps dir and the dm dir. I saved my mohdm2.scr in there, but it didn't seem to do anything. I just loaded up MOH and ran a server with only me in it to test it out.
Posted: Thu Oct 30, 2003 12:01 am
by yuppicide
Come on.. first person who helps me accomplish my goal will get the remaining balance in my PayPal account transferred to their PayPal. There's not much left, but oh well.. free money is free money.
Posted: Thu Oct 30, 2003 6:51 am
by jv_map
yuppicide wrote:Thanks for the reply. I took the script from the other post here. I didn't have a directory main/maps/dm, so I created it. I have stock MOHAA with Spearhead and no custom maps installed right now. Just the stock maps that come with MOH.
So I had to create the maps dir and the dm dir. I saved my mohdm2.scr in there, but it didn't seem to do anything. I just loaded up MOH and ran a server with only me in it to test it out.
In fact it is supposed to work

did you check your console for error messages?
Posted: Fri Oct 31, 2003 3:20 am
by yuppicide
I don't see any errors in the console or see anything related to mohdm2.scr.
How do I figure out the numbers in the teleport script?! Maybe I can make a teleport in the middle of "main street" on mohdm2 (destroyed village) just to see it working.
jv_map wrote:yuppicide wrote:Thanks for the reply. I took the script from the other post here. I didn't have a directory main/maps/dm, so I created it. I have stock MOHAA with Spearhead and no custom maps installed right now. Just the stock maps that come with MOH.
So I had to create the maps dir and the dm dir. I saved my mohdm2.scr in there, but it didn't seem to do anything. I just loaded up MOH and ran a server with only me in it to test it out.
In fact it is supposed to work

did you check your console for error messages?
Posted: Fri Oct 31, 2003 8:17 am
by jv_map
To be honest I don't know that teleport script by heart

Posted: Fri Oct 31, 2003 9:15 pm
by yuppicide
I figured out how to get coordinates... you go into a game in spec mode, move to where you want and drop down the console and type coord.
Posted: Mon Nov 03, 2003 1:47 pm
by smartaiguy
yuppicide wrote:I figured out how to get coordinates... you go into a game in spec mode, move to where you want and drop down the console and type coord.
yep, also type "tele x y z" to go to certain coords
Posted: Tue Nov 04, 2003 5:22 am
by yuppicide
You know what.. it's different when you do Spearhead.. I had to extract the file from a .pk3 and then drop my new script in there. The script is also a bit different when doing it in Spearhead.
Posted: Fri Nov 07, 2003 1:48 pm
by smartaiguy
hmmm... how exactly?