Map error

Have questions about CoD/UO mapping that aren't covered in the tutorials section? Post here!

Moderator: Core Staff

Post Reply
Pedsdude
Site Admin
Site Admin
Posts: 15914
Joined: October 15th, 2004, 7:18 pm
Location: UK

Map error

Post by Pedsdude » January 4th, 2006, 8:04 pm

Image

I'm working on a map... I have 10 elevators all identical, but in different positions.

I have my seperate .gsc files for each elevator in a seperate folder called "first-eles":
Image

Any ideas how to fix the error and what the problem actually is?
Image
Image

Luke
Past/Inactive Team Member
Past/Inactive Team Member
Posts: 1774
Joined: May 31st, 2005, 12:42 am
Location: Cornwall, UK

Post by Luke » January 4th, 2006, 8:10 pm

Try turning pure off on the server first, that usually fixes it...as for the gsc files, shouldn't they all be in maps/mp folder?

Pedsdude
Site Admin
Site Admin
Posts: 15914
Joined: October 15th, 2004, 7:18 pm
Location: UK

Post by Pedsdude » January 4th, 2006, 8:15 pm

I thought it would be neater and easier for me if i ordered them into folders.

In my main .gsc file I have this:

Code: Select all

main()
{
 maps\mp\_load::main();
 maps\mp\first-eles\ele1::main();
 maps\mp\first-eles\ele2::main();
 maps\mp\first-eles\ele3::main();
 maps\mp\first-eles\ele4::main();
 maps\mp\first-eles\ele5::main();
 maps\mp\first-eles\ele6::main();
 maps\mp\first-eles\ele7::main();
 maps\mp\first-eles\ele8::main();
 maps\mp\first-eles\ele9::main();
 maps\mp\first-eles\ele10::main();
}
Image
Image

Luke
Past/Inactive Team Member
Past/Inactive Team Member
Posts: 1774
Joined: May 31st, 2005, 12:42 am
Location: Cornwall, UK

Post by Luke » January 4th, 2006, 8:20 pm

Oh, that should be fine, but i dont see how its easier :P

Pedsdude
Site Admin
Site Admin
Posts: 15914
Joined: October 15th, 2004, 7:18 pm
Location: UK

Post by Pedsdude » January 4th, 2006, 9:18 pm

It's not fine though :cry:
Image
Image

User avatar
Drofder2004
Core Staff
Core Staff
Posts: 13315
Joined: April 13th, 2005, 8:22 pm
Location: UK, London

Post by Drofder2004 » January 4th, 2006, 11:05 pm

Pedsdude wrote:It's not fine though :cry:
then dont put them in folders. I'm not sure, but a guess is they cannot be put in folders :P

Why not just put them all in 1 gsc file?
Image
Virgin Media 20Mb Broadband:
"Perfect for families going online at the same time, downloading movies, online gaming and more."
Borked internet since: 22-07-2010

User avatar
Marshall
CJ Spammer!
CJ Spammer!
Posts: 820
Joined: December 10th, 2005, 11:28 am
Location: UK

Post by Marshall » January 5th, 2006, 5:09 pm

or just make 10 gsc's and link them with:

main()
{
maps\mp\_load::main();
maps\mp\ele1::main();
maps\mp\ele2::main();
maps\mp\ele3::main();
maps\mp\ele4::main();
maps\mp\ele5::main();
maps\mp\ele6::main();
maps\mp\ele7::main();
maps\mp\ele8::main();
maps\mp\ele9::main();
maps\mp\ele10::main();
}

Marshall

Pedsdude
Site Admin
Site Admin
Posts: 15914
Joined: October 15th, 2004, 7:18 pm
Location: UK

Post by Pedsdude » January 5th, 2006, 7:05 pm

They are 10 gsc's, just in a different directory.. I would have thought you could put:

maps\mp\first-eles\ele1::main(); instead of maps\mp\ele1::main();

It works fine when they are all in the same directory.
Image
Image

Guest

Re: Map error

Post by Guest » January 6th, 2006, 4:06 pm

Pedsdude wrote:Image

I'm working on a map... I have 10 elevators all identical, but in different positions.

I have my seperate .gsc files for each elevator in a seperate folder called "first-eles":
Image

Any ideas how to fix the error and what the problem actually is?
make sure you dont have a orig texture in it with no function :wink: :lol:

Pedsdude
Site Admin
Site Admin
Posts: 15914
Joined: October 15th, 2004, 7:18 pm
Location: UK

Post by Pedsdude » January 6th, 2006, 11:50 pm

The problem has been fixed m8 ;) Turns out you can't put them in seperate folders, which is a shame.
Image
Image

Pwn-Rikku
CJ Spammer!
CJ Spammer!
Posts: 679
Joined: August 15th, 2005, 7:58 pm

Post by Pwn-Rikku » January 7th, 2006, 11:21 am

i would of posted exactly what luke said, pure and folders, to late .. again.
Rikku - Old skool
Image
Image

Pedsdude
Site Admin
Site Admin
Posts: 15914
Joined: October 15th, 2004, 7:18 pm
Location: UK

Post by Pedsdude » January 7th, 2006, 9:16 pm

That's life :P
Image
Image

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests