TFS 1.3 My AAC spawn position

Scal

Premium User
Premium User
Joined
Aug 3, 2014
Messages
29
Reaction score
8
Hi all,

just a quick question - I can't find the answer anywhere.

I've changed over from gesior to MyAAC and I can't find how to change the spawn location for new characters - I want them to copy their samples - ie knight sample. But each time I create a new character it automatically sets them as 0x0x7.

Anyone know where I can change?

thanks
Jacob
 
OP
S

Scal

Premium User
Premium User
Joined
Aug 3, 2014
Messages
29
Reaction score
8
My town position is different to what its making my characters spawn. - is there anywhere I can find this option? I actually want it to copy my samples as I want each vocation to spawn in a different area at the start. :)
 

slaw

Developer
Joined
Aug 27, 2007
Messages
3,257
Solutions
96
Reaction score
746
Location
Germany
GitHub
slawkens
In system/libs/CreateCharacter.php you will find those 3 lines:

Code:
$player->setPosX(0)
$player->setPosY(0);
$player->setPosZ(0)

You can set the position there.

Or you can set it like this:
Code:
$player->setPosX($char_to_copy->getPosX());

For all 3 positions (x, y, z)

And then you can set the position in your samples.
 
OP
S

Scal

Premium User
Premium User
Joined
Aug 3, 2014
Messages
29
Reaction score
8
In system/libs/CreateCharacter.php you will find those 3 lines:

Code:
$player->setPosX(0)
$player->setPosY(0);
$player->setPosZ(0)

You can set the position there.

Or you can set it like this:
Code:
$player->setPosX($char_to_copy->getPosX());

For all 3 positions (x, y, z)

And then you can set the position in your samples.
That's exactly what I was looking for but couldn't find it! thank you very much!
 
Top