More map types to generate

Post all ideas and suggestions for fCraft here
Post Reply
Jonty800
Offline
Posts: 280
Joined: August 21st, 2011, 6:31 am
Location: United Kingdom
Contact:

More map types to generate

Post by Jonty800 »

I was wondering if we could have maybe a couple more types of map generation in /gen.

Maybe one that resembles how the Beta world looks and another called Ruins?

Thankyouuu
You cannot use certain BBCodes: [img].

User avatar
fragmer
fCraft Developer
Offline
Posts: 1386
Joined: May 21st, 2011, 10:53 pm

Re: More map types to generate

Post by fragmer »

I do have some unfinished code for "ruins" already, I'll finish that one of these days. As for "Beta looking" terrain - that's a whole lot of work, and I've been doing some research in the area. But there's nothing definite planned for "Beta looking" terrain at this time.

User avatar
Sanjar Khan
Trustee
Offline
Posts: 1766
Joined: May 24th, 2011, 1:40 pm
Location: Leiden, Zuid Holland

Re: More map types to generate

Post by Sanjar Khan »

Don't forget the cacti on desert templates! =')
Ferrisbuler2: i will stay but i might not post cus of ollieboy

BobKare
Offline
Posts: 279
Joined: May 26th, 2011, 2:15 pm

Re: More map types to generate

Post by BobKare »

Is it possible to make one with canyon theme, like someone made by hand on the server? :P

User avatar
fragmer
fCraft Developer
Offline
Posts: 1386
Joined: May 21st, 2011, 10:53 pm

Re: More map types to generate

Post by fragmer »

It's doable with the fully-featured map generator in ConfigGUI, just play with the settings some.

User avatar
Sanjar Khan
Trustee
Offline
Posts: 1766
Joined: May 24th, 2011, 1:40 pm
Location: Leiden, Zuid Holland

Re: More map types to generate

Post by Sanjar Khan »

Wait what? You're saying I didn't have to do it manually?
*Downloading*
Ferrisbuler2: i will stay but i might not post cus of ollieboy

Jonty800
Offline
Posts: 280
Joined: August 21st, 2011, 6:31 am
Location: United Kingdom
Contact:

Re: More map types to generate

Post by Jonty800 »

would it be possible to have a /Genx command which does pretty much what the map generator in configGUI does?

So you could do /Genx Template 128 128 128 Module1 Module2 Module2... filename.

for example: /genx swamp 128 128 128 caves water trees ore beaches Jonty800.fcm
You cannot use certain BBCodes: [img].

User avatar
fragmer
fCraft Developer
Offline
Posts: 1386
Joined: May 21st, 2011, 10:53 pm

Re: More map types to generate

Post by fragmer »

There are 49 different parameters in MapGeneratorArgs. Imagine writing a command handler that covers it all - with input validation and range checks, in-game and wiki documentation. Imagine typing in that command. It's utterly impractical.

A more realistic way to handle this would be to add ability to load MapGenerator template files (.ftpl) or grab parameters that are already embedded in map metadata (map.Metadata["_Origin","GeneratorParams"]) to re-generate something.

User avatar
Planitia
Offline
Posts: 74
Joined: May 29th, 2011, 8:12 am
Location: Sydney, AUSTRALIA

Re: More map types to generate

Post by Planitia »

It wouldn't fit in the chat bar either.
"Excuse me, have you got a spare $10?".... Yeah I do. So would you if you had a job.

Jonty800
Offline
Posts: 280
Joined: August 21st, 2011, 6:31 am
Location: United Kingdom
Contact:

Re: More map types to generate

Post by Jonty800 »

Nevermind then :)
You cannot use certain BBCodes: [img].

User avatar
Hellenion
Offline
Posts: 220
Joined: October 20th, 2011, 9:20 am
Location: Subnet
Contact:

Re: More map types to generate

Post by Hellenion »

Planitia wrote:It wouldn't fit in the chat bar either.
Everything fits in the chat bar, you do know about line continuation, right?
A = {x ∈ P(U) | x ∉ x}
Mods:
  1. /Su - Allows players to temporarily become a different rank
  2. /Snap - Like /Line but only draws straight or diagonal lines.
  3. pre-0.630 skip/none block

User avatar
Planitia
Offline
Posts: 74
Joined: May 29th, 2011, 8:12 am
Location: Sydney, AUSTRALIA

Re: More map types to generate

Post by Planitia »

Hellenion wrote:
Planitia wrote:It wouldn't fit in the chat bar either.
Everything fits in the chat bar, you do know about line continuation, right?
It's confusing and weird. Tell me more :D
"Excuse me, have you got a spare $10?".... Yeah I do. So would you if you had a job.

User avatar
Hellenion
Offline
Posts: 220
Joined: October 20th, 2011, 9:20 am
Location: Subnet
Contact:

Re: More map types to generate

Post by Hellenion »

If you end your message with " /" (that's space+slash) and press enter, it'll allow you to type another line for the same message/command.

Code: Select all

Hellenion: /say This is a long message that actually should /
Hellenion: not fit in the chat bar, cool eh?
will print

Code: Select all

This is a long message that actually should not fit in the chat bar, cool eh?

You can use /nvm to discard partial messages.
A = {x ∈ P(U) | x ∉ x}
Mods:
  1. /Su - Allows players to temporarily become a different rank
  2. /Snap - Like /Line but only draws straight or diagonal lines.
  3. pre-0.630 skip/none block

User avatar
ruggedbear
Trustee
Offline
Posts: 215
Joined: November 7th, 2011, 9:27 am

Re: More map types to generate

Post by ruggedbear »

To add onto that, /nvm either is or is due to be analagous to /cancel, so that either may be used for one another.
<legopineapple> I have a zombie miner for me! :D
legopineapple was slain by Zombie
<ruggedbear> Lol!
<surferdudeX> LOL
<legopineapple> Nuuu!

User avatar
Planitia
Offline
Posts: 74
Joined: May 29th, 2011, 8:12 am
Location: Sydney, AUSTRALIA

Re: More map types to generate

Post by Planitia »

Yeah it's confusing, It lets me add it on but it posts the partial message then the rest including the partial again.

It prints.

Code: Select all

Hellenion: /say This is a long message that actually should /
Hellenion:/say This is a long message that actually should not fit in the chat bar, cool eh?
[/s]

nvm I though it was posting the message but i just noticed it says "Partial" and not "Planitia"
"Excuse me, have you got a spare $10?".... Yeah I do. So would you if you had a job.

Post Reply