Jump to content

howlingflute

Community Members
  • Posts

    59
  • Joined

  • Last visited

Everything posted by howlingflute

  1. So I have made a number of changes to my island random map. Underwater Blending (coral and deep water)changed the terrain to look more like Cycladic Archipelago IIIMediterranean dirt and rock brush mixturesadded patches of dry grassthe center island is now broken up into smaller islands depending on the map size (1 at size tiny and up to 4 at the largest size)fewer shipwrecksmore fishI have attached the new file to this post. Enjoy. Islands.zip
  2. You can already (this is how I have been testing my map). Under the player settings tab there is a drop down box where you can pick the number of players. Then if you go back to the map settings tab you can use the drop down box for random maps and pick Islands. It should be there if you put the map in the right folder. Then you can change map size, random seed and then click generate map. I looked at the maps you mentioned. They are really great and gave me some new ideas about blending and terrain to use. I think you are right that grass is currently too mixed. How many islands were you thinking the center one should be broken into? I had tried just randomly generating other islands at random coordinates but they ended up ending up spaced nicely maybe if I define ahead of time the possible areas and range of angles they can be generated at. I will definitely keep working on this and it would be awesome if you can use this in game once I have made all the necessary changes.
  3. I changed the orientation of the buildings so they all face bottom right corner. (If you want the civic centres to all to face the center island comment out line 236 in islands.js that is //angletemple = 0.75*PI;). I made a few other changes inluding: adding some blending to the edges of the shrub patches. more decorative stones. removed the restrictions that straggler trees and decorative stones couldn't be on hills. allow straggler trees to grow closer to the shore and water whales generate further away from islandsadded more bumps I also cleaned up the code a little bit. I have attached the new files below. Islands.zip
  4. Thanks for the comments. I have attached two images to this post showing my attempts to fix the random facing Civic Centre. One is to use a fixed orientation for all the Civic Centres (so they all point towards the bottom right). The other is so the Civic Centres are oriented towards the center island. I think I like the one where they all are facing the center island because the fixed orientation one looks a bit unnatural but I still could be convinced either way. Both of these ways are a lot better then the way it was before (random orientation). Let me know which way you think looks better. Thanks for noticing the shore blending . That took 5 painter layers: wet sand, dry sand, dry sand to brush, brush to grass, grass I noticed that someone fixed this in the svn today
  5. I really enjoy 0ad so I decided that I would try to contribute. I have created a new random map. It creates one central island surrounded by spoke islands. Players start on the spoke islands. If there are fewer than 6 players the map will have six spoke islands and players will start off on islands as indicated by the chart below. If there are more than 6 players there will be a spoke island for each player. 0 = empty island x = occupied island 1 pers | 2 pers | 3 pers _x_0_ | _x_0_ | _x_0_ 0_0_0 | 0_0_0 | 0_0_x _0_0_ | _0_x_ | _x_0_ 4 pers | 5 pers | 6 pers _x_x_ | _x_x_ | _x_x_ 0_0_0 | 0_0_x | x_0_x _x_x_ | _x_x_ | _x_x_ The map is intended to model mediteranian islands. Each spoke island has the standard start metal and stone as well as a few trees and other standard starting resources. There may be a few forests as well depending on the map size. The main island has most of the rest of the resources. The sea is populated by fish, whales, and random treasure. I like the normal size maps best but all sizes work. I used the Cantabrian Highlands and Latium maps heavily as guides and templates for some parts of the code. To install this random map put islands.js and islands.json in the random map folder. In my copy of 0ad I use the following path ~/0ad/binaries/data/mods/public/maps/random Please let me know how you like this map and your suggestions. (I am more of a programmer than an artist so would appreciate comments on its artistic aspects). I would love if this random map could eventually become part of 0ad. Islands.zip
  6. I encountered a problem when I tried to run the ActorEditor on linux. When trying to run the binary I get the following error: ./ActorEditor: error while loading shared libraries: ../../../binaries/system/libAtlasUI.so: cannot open shared object file: No such file or directory I also get a similar error when trying to run the ColourTester ./ColourTester: error while loading shared libraries: ../../../binaries/system/libAtlasUI.so: cannot open shared object file: No such file or directory I am compiling from svn. I get the same runtime errors regardless if I try either of the premake systems (the old default one or the new one). running ldd ./ActorEditor gives me the following results linux-vdso.so.1 => (0x00007fffa9dff000) ../../../binaries/system/libAtlasUI.so => not found libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007fa9220c7000) libc.so.6 => /lib/libc.so.6 (0x00007fa921d43000) libm.so.6 => /lib/libm.so.6 (0x00007fa921ac0000) /lib64/ld-linux-x86-64.so.2 (0x00007fa9223ee000) libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00007fa9218aa000) I tried changing the LD_LIBRARY_PATH variable to include ~/0ad/binaries/system but it didn't help. The the libary libAtlasUI.so does exist in ~/0ad/binaries/system so I don't know why I am getting this runtime error.
  7. Thanks for the response. Its too bad that you can't edit the state of the game directly at the moment. Would have been nice to be able to give myself resources . Since there is nothing about console commands on the wiki that is correct I searched the code and found a few commands that work in the console. There were two locations for script bindings (that I could find) ScriptGlue.cpp and ScriptFunctions.cpp. I copied the relevant parts of each file below Let me know if there are any other locations that I missed. Thanks. The following were found in ScriptGlue.cpp and work directly in the console without a prefix. I would recommned not using endGame() as it will end your game but also with a core dump. Also note some of these commands require you to be running a debug version of the game. The following commands work with Engine prefix and were found in ScriptFunctions.cpp. For example to change the simulation rate of the game you would use the command Engine.SetSimRate(2)
  8. I really like 0AD so far. I wanted to try messing around with some of the options in game with the console but must be doing something wrong since I only get syntax errors. I followed the instructions found at http://trac.wildfire...wiki/Playing0AD on how to use the console. I even tried writing some of those commands verbatim only to get a syntax error message in the console. For example I tried :players[1].resources.food += 1000 and got ERROR: JavaScript error: Console line 1 SyntaxError: syntax error I would appreciate it if someone lets me know what I am doing wrong or point me to the right place to look. What I really wanted to do was something like this :getEntityTemplate("template_structure_civic_civil_centre", -1).TerritoryInfluence.Radius = 400 but since the simpler thing didn't work I am figuring I am just doing something wrong. Do I perhaps need to build the game in debug mode? Currently I am compiling from svn source with the release option. Thanks for your help.
×
×
  • Create New...