Jump to content

locedit - Creata locations files ingame


  • You cannot reply to this topic

4 replies to this topic

#1 GSIO01

GSIO01

    UberGames Developer

  • UberGames Developer
  • 1,021 posts

Posted 29 July 2010 - 10:16 PM

This command will be included from the next beta release on (RPG-X 2.2 beta 8.4.5). The command is completely client side.

This is how it works:

You start with
locedit start <version selector>
<version selector> can be 0 for version 1 and 1 for version 2.
The command will then create a file and write a header to it (note if an locations file already exist for the map locedit won't work).

After you have done this you can start adding locations:
The command for version 1 is:
locedit add <description>
The command for version 2 is:
locedit add <protected> <description>
Note you have to use "" if your description has more than one word.

You also can add an empty line with:
locedit nl

Once you are done you only have to use the command:
locedit stop
The client will write the closing } and close the file.

#2 Harry Young

Harry Young

    Ubergames Lead Lua Coder

  • UberGames Developer
  • 291 posts

Posted 30 July 2010 - 05:26 AM

This will definatly take a lot of work out of the mappers hands and I for my part am thankful for that (I did only one map so far but i hated writing the locations afterwards ^^). Just let me get a view things streight:
1.: as I understand it 'add' will basicly directly dump relevant clientpos-values along with the entered parameters, is that right?
2.: will there be that 12 Unit (i belive it was) fix for the Transporters on the z-axis automaticly included or do we still have to fix that ourselfs?
3.: I suppose the answer to this is 'No' but will an empty line in the file if we don't enter anything after 'add'? That would help to finally somewhat order things in the file.

#3 GSIO01

GSIO01

    UberGames Developer

  • UberGames Developer
  • 1,021 posts

Posted 30 July 2010 - 09:22 AM

1. Yes
2. It's 24 units and yes it's done automatically
3. not at the moment but I could add that

#4 GSIO01

GSIO01

    UberGames Developer

  • UberGames Developer
  • 1,021 posts

Posted 30 July 2010 - 01:24 PM

Added
locedit nl
which will add an new empty line to the file.

#5 Harry Young

Harry Young

    Ubergames Lead Lua Coder

  • UberGames Developer
  • 291 posts

Posted 30 July 2010 - 10:05 PM

thanks fot the answer



0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users