HomePortalFAQSearchMemberlistUsergroupsRegisterLog in
Making threads to link to banned members content grants an automatic ban
Meet the new KITO admins & hear their plans here.
You can use google search to find threads and posts here now. Example

Share | 
 

 Two Questions

View previous topic View next topic Go down 
AuthorMessage
TheWolfLover88

avatar

Game username : TheWolfLover88
Server : Dragon Soul
Female Posts : 206
Join date : 2013-10-25
Age : 17
Location : Australia

PostSubject: Two Questions   Sat Oct 22, 2016 2:37 am

Hello KITO!

I need a hand!

1. How do I change the background to select a character?
Example, atm it looks like this


And the same when I edit/create a new character



2. How do I get someone to spawn on a different area?
When I go to Default I am in water, and its the same if I go onto the Default portal.


If I come up with anymore questions I will post more!
Back to top Go down
TheWolfLover88

avatar

Game username : TheWolfLover88
Server : Dragon Soul
Female Posts : 206
Join date : 2013-10-25
Age : 17
Location : Australia

PostSubject: Re: Two Questions   Sat Oct 22, 2016 2:39 am


3. A new skill will not target others and pet
Code is
Code:
[Mega Cure]
anim=Roar
trailFX_bone=1,Arm4.R
trailFX_trailMat=1,FX/Attack2
trailFX_colour=1,0.5 1 0.7
range=6
offset=0 1 0
hpMin=150
hpMax=1000
hitAlly=true
autoTarget=false
singleTarget=false


Back to top Go down
TheWolfLover88

avatar

Game username : TheWolfLover88
Server : Dragon Soul
Female Posts : 206
Join date : 2013-10-25
Age : 17
Location : Australia

PostSubject: Re: Two Questions   Mon Oct 24, 2016 6:45 am

Anyone?
Back to top Go down
ObeyTheFist

™
avatar

Game username : ObeyTheFist
Server : Dragon's Den
Female Posts : 514
Join date : 2012-09-07
Location : Australia

PostSubject: Re: Two Questions   Mon Oct 24, 2016 7:45 am

To answer your second question...

You can easily change that in the world file:

[Initialize]
defaultterrain.cfg <- So here's your terrain
5000 <- here's your map size
5000 <- more map size
2253 1922 200 <- This is the spawn point. (XYZ coords are a bit back to front - (x, z then y)
10 10 10 <- These numbers here will tell the player how far away from the spawn point they can appear. 10 in either direction is barely one step for example.

To change the map the character editor uses you will need to change that in the compile. I'm afraid I don't know where, so you will have to go looking if no one else answers.

Much like the spawn point in the world file you can tell the compile where you want it to show.

As for question 3...

Your range...is tiny. Seriously. Tiny. You'd be lucky if your pet was inside that range, so if you want it to reach, boost the range up to at least 100. See how that goes. :3
Back to top Go down
http://dragonsden.freeforums.net
TheWolfLover88

avatar

Game username : TheWolfLover88
Server : Dragon Soul
Female Posts : 206
Join date : 2013-10-25
Age : 17
Location : Australia

PostSubject: Re: Two Questions   Tue Oct 25, 2016 4:38 am

ObeyTheFist wrote:
To answer your second question...

You can easily change that in the world file:

[Initialize]
defaultterrain.cfg <- So here's your terrain
5000 <- here's your map size
5000 <- more map size
2253 1922 200 <- This is the spawn point. (XYZ coords are a bit back to front - (x, z then y)
10 10 10 <- These numbers here will tell the player how far away from the spawn point they can appear. 10 in either direction is barely one step for example.

So when I do /position, I put the cords back to front? Or?...
Also, when I looked at the .world it didn't have the 10 10 10 above the spawn point, so I added it and It still isn't working.
Code:
Back to top Go down
ObeyTheFist

™
avatar

Game username : ObeyTheFist
Server : Dragon's Den
Female Posts : 514
Join date : 2012-09-07
Location : Australia

PostSubject: Re: Two Questions   Tue Oct 25, 2016 7:20 am

When you do /position just add the middle number to the end on the world file. For /position the numbers are x, y, z e.g. 2200 150 1700.

For the spawn point in the world file just move the middle number, y, to the end so you have x, z, y or 2200 1700 150.

The 10 10 10 does not go above the spawn point coordinates, it goes below.
Back to top Go down
http://dragonsden.freeforums.net
TheWolfLover88

avatar

Game username : TheWolfLover88
Server : Dragon Soul
Female Posts : 206
Join date : 2013-10-25
Age : 17
Location : Australia

PostSubject: Re: Two Questions   Tue Oct 25, 2016 8:09 am

ObeyTheFist wrote:
When you do /position just add the middle number to the end on the world file. For /position the numbers are x, y, z e.g. 2200 150 1700.

For the spawn point in the world file just move the middle number, y, to the end so you have x, z, y or 2200 1700 150.

The 10 10 10 does not go above the spawn point coordinates, it goes below.

Its still not changing for some reason
Back to top Go down
ShadoWolfozo

avatar

Game username : ShadoWolfozo
Server : GROWL: Spirits
Male Posts : 875
Join date : 2012-01-22
Age : 22
Location : Australia

PostSubject: Re: Two Questions   Tue Oct 25, 2016 12:19 pm

In MagixHandler.h is the codes for what the game does at the beginning of each of the menu screens, loading screens, etc.

You want to find the one that says GAMESTATE_STARTCHARSCREEN
and you'll find a whole bunch of code under it that spawns the character, loads the world, etc etc. You want these three specific lines;

Code:
mCamera->getCamera()->setPosition(3200,120,2770);
mCamera->getCamera()->setOrientation(Quaternion(Degree(-40),Vector3::UNIT_Y));
mWorld->loadWorld(MAP_DEFAULT);

The first one tells the game where the camera "object" should be within the map. Mine is currently set to 3200X, 120Y, 2770Z. Yours will be different. Change it to wherever in your map you want the camera to BE.

The second bit is the direction your camera is facing. Fiddle with this until you have it facing the correct way.

The last bit is the map. You can change this to any map but by default it will call for whatever map you have set in GameConfig.h as MAP_DEFAULT. If you don't want it to be the default map then replace
Code:
mWorld->loadWorld(MAP_DEFAULT);
with
Code:
mWorld->loadWorld("YourMapNameHere");
and replace 'YourMapNameHere' with whatever your map is called in your worlds.txt file (in game>media>terrains).

Unless you want to risk breaking your game or know what you're doing, do not touch anything else.

Hope this helps.
Back to top Go down
ObeyTheFist

™
avatar

Game username : ObeyTheFist
Server : Dragon's Den
Female Posts : 514
Join date : 2012-09-07
Location : Australia

PostSubject: Re: Two Questions   Tue Oct 25, 2016 11:31 pm

Can you copy/paste that first little section of your world file for me so I can see what you've done exactly?
Back to top Go down
http://dragonsden.freeforums.net
TheWolfLover88

avatar

Game username : TheWolfLover88
Server : Dragon Soul
Female Posts : 206
Join date : 2013-10-25
Age : 17
Location : Australia

PostSubject: Re: Two Questions   Wed Oct 26, 2016 12:35 am

ObeyTheFist wrote:
Can you copy/paste that first little section of your world file for me so I can see what you've done exactly?

Code:
[Initialize]
Defaultterrain.cfg
3000
3000
1535.71 941.503 334.118
10 10 10
Back to top Go down
Hamilton

avatar

Game username : Hamilton
Server : Myatar Legends // Dragon's Den
Female Posts : 379
Join date : 2011-10-20
Age : 31
Location : everywhere

PostSubject: Re: Two Questions   Wed Oct 26, 2016 1:37 am

Obey wrote:

[Initialize]
defaultterrain.cfg <- So here's your terrain
5000 <- here's your map size
5000 <- more map size
2253 1922 200 <- This is the spawn point. (XYZ coords are a bit back to front - (x, z then y)
10 10 10 <- These numbers here will tell the player how far away from the spawn point they can appear. 10 in either direction is barely one step for example.

2253 1922 200 is not a position x, y and height z.
The initialize spawn points clamp the character to the ground. These numbers are telling you the position x, y. And the area of random positioning. The larger the number, the more spread out over the map players will spawn from eachother. (ie a 1-10 will have players right ontop of eachother. 11-50 will be right next to eachother. 51-200 will be in the vicinity of each other. 201+ and you might be spawning at opposite sides of the map from other players)
I have no idea where that 10 10 10 line is coming from. There's nothing explaining it in my source.


if(StringUtil::startsWith(tLine[0],"Initialize",false) && tLine.size()>=5)
{
terrain = tLine[1]; <-defaultterrain.cfg
x = StringConverter::parseReal(tLine[2]); <-map boundary north and south size (x)
z = StringConverter::parseReal(tLine[3]); <-map boundary east and west size (y)
spawnSquare = StringConverter::parseVector3(tLine[4]); <-squares only have x, y else it would be a spawn cube. first 2 vectors are the middle point. last vector is size of the square
if(tLine.size()>5)worldBounds = StringConverter::parseVector2(tLine[5]); <-optional round wall boundary setting
return true;
}

Spawning into a map through a portal uses the initialize spawn point so you'll always be underwater, i'm afraid. You can use Gates to set specific spawn locations with heights.

If you don't want to be under water when you enter your default map...I would suggest moving your spawn location to someplace dry....

Back to top Go down
lazyzim

™
avatar

Server : Dragon's Den
Male Posts : 740
Join date : 2011-11-27

PostSubject: Re: Two Questions   Thu Oct 27, 2016 9:29 am

The line 10 10 10 overrides the default map boundary and sets it to 10 units.
Back to top Go down
 
Two Questions
View previous topic View next topic Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
Keeping I.T. Open :: SUPPORT :: Support-
Jump to: