Search found 75 matches
- 15 Apr 2015, 18:53
- Forum: Lua Scripts
- Topic: mapinfo math.random & math.randomseed
- Replies: 5
- Views: 1389
Re: mapinfo math.random & math.randomseed
so i was going to use this to set dynamic start locations, but HexFarm has a way of doing this within the gadget, by replacing Spring.GetTeamStartPosition
- 14 Apr 2015, 22:59
- Forum: Lua Scripts
- Topic: mapinfo math.random & math.randomseed
- Replies: 5
- Views: 1389
Re: mapinfo math.random & math.randomseed
No, the defs.lua stage (returning UnitDefs, WeaponDefs, etc.) has to be `static` - means it same results for same input, which are the ModOptions Right. (And MapOptions?) Oddly, what I want to use the random number generator to do *would* give the same results for the same input, because math.rando...
- 14 Apr 2015, 22:18
- Forum: Lua Scripts
- Topic: mapinfo math.random & math.randomseed
- Replies: 5
- Views: 1389
mapinfo math.random & math.randomseed
inside mapconfig/mapinfo/80_startlocations.lua Spring.Echo(math, math.floor, math.abs, math.random, math.randomseed) result: [f=0000000] <table>, <function>, <function>, nil, nil </3 edit: i mean, i understand the rationale for not giving access to the random number generator in mapinfo (desync hell...
- 14 Apr 2015, 22:14
- Forum: Lua Scripts
- Topic: synced random seed
- Replies: 2
- Views: 706
Re: synced random seed
ahh... yes, thank you. that clarifies things.
- 14 Apr 2015, 08:26
- Forum: Lua Scripts
- Topic: synced random seed
- Replies: 2
- Views: 706
synced random seed
I'm trying to find a way of getting a new seed for each game. (This is for a procedural map generator gadget, so that the user doesn't have to input a seed manually to get a new map.) os.time() can't be used because it's synced. Using a file to store the last seed and add one to it won't work, for t...
- 08 Apr 2015, 00:39
- Forum: Map Creation
- Topic: Metal spot graphics
- Replies: 23
- Views: 4234
Re: Metal spot graphics
ok, updated
edit: should i include a license with the repo, saying something like this is the license unless otherwise noted within the author's directory? an LGPL or something? i don't have a clue about licensing, so i'm open to suggestions
edit: should i include a license with the repo, saying something like this is the license unless otherwise noted within the author's directory? an LGPL or something? i don't have a clue about licensing, so i'm open to suggestions
- 07 Apr 2015, 18:13
- Forum: Map Creation
- Topic: Metal spot graphics
- Replies: 23
- Views: 4234
Re: Metal spot graphics
https://github.com/eronoobos/spring-met ... -resources
acceptable to those of you whose stuff i put there?
others, send pull requests?
acceptable to those of you whose stuff i put there?
others, send pull requests?
- 06 Apr 2015, 23:35
- Forum: Map Creation
- Topic: Metal spot graphics
- Replies: 23
- Views: 4234
Re: Metal spot graphics
i was going to say maybe we should start a sticky post in map creation with metal spot resources people want to share, but that's been obsoleted & moved to the wiki. but the wiki is more of a place for guides and tools, not so much assorted resources. hm.
- 05 Apr 2015, 23:41
- Forum: Map Creation
- Topic: Metal spot graphics
- Replies: 23
- Views: 4234
Re: Metal spot graphics
the map looks lovely! what did you make it in? i see that all the metal spots are in (micro) sand dunes, so what if each metal spot was a star dune? just a matter of finding an air photo of some star dunes lit from the right angle, isolating it, and plopping it on top of the texture (within spring v...
- 04 Apr 2015, 12:52
- Forum: General Discussion
- Topic: Path finding
- Replies: 66
- Views: 10407
- 01 Apr 2015, 00:08
- Forum: Art & Modelling
- Topic: Random WIP 2015+
- Replies: 129
- Views: 64533
Re: Random WIP 2015+
ooooo
- 30 Mar 2015, 07:02
- Forum: Art & Modelling
- Topic: Random WIP 2015+
- Replies: 129
- Views: 64533
Re: Random WIP 2015+
yessss doo iitt
pie > meatloaf, b/c potentially more structure (meatloaf heightmap not very exciting)
makes me wish i had a 3d scanner, whatever that is, so i could literally bake maps
pie > meatloaf, b/c potentially more structure (meatloaf heightmap not very exciting)
makes me wish i had a 3d scanner, whatever that is, so i could literally bake maps
- 30 Mar 2015, 01:45
- Forum: Map Releases
- Topic: Pond of Dunes
- Replies: 17
- Views: 2974
Re: Pond of Dunes
Cool, I like this map size (I play mostly smallish games). Take a look at the start locations, I think they're left over from the larger map? Still amazing that this look is done by heightmap only :o It is! How good this one texture looks in-game gives me hope for making a procedural map with only h...
- 29 Mar 2015, 06:31
- Forum: Map Releases
- Topic: Victoria Sponge
- Replies: 3
- Views: 1129
Re: Victoria Sponge
There is a Spring version, but it doesn't work for outputting large images for texturing (because of Spring's overhead, memory limit, and synced/unsynced seperation). Ultimately, I want to clean up the code in the LOVE version so that the non-UI part of it can just be included as a module in whateve...
- 29 Mar 2015, 05:23
- Forum: Map Releases
- Topic: Victoria Sponge
- Replies: 3
- Views: 1129
Victoria Sponge
Finally made something with the procedural crater heightmap generator I've been working on. It's also an experiment in using procedural texture creation for all the final textures (even the splats), which I don't think turned out very well. I'm probably just pretty bad at creating natural-looking te...