Jump to content

Stan`

0 A.D. Project Leader
  • Posts

    17.991
  • Joined

  • Last visited

  • Days Won

    580

Everything posted by Stan`

  1. Scaled down version, with fixed footprint and foundation. gaul_farmstead.7z
  2. It's a very nice map for a first attempt. If I may give you and advice, you should blend the terrain, to make it less uniforms. Also use grass bushes or whatever to make it look nice.
  3. I answered in the PM. Hope you are not too angry. =S
  4. I don't have it on my laptop, though I have the numerical pad.
  5. I was playing the scenario map Azure Coast(4) and I got the error in the title. I attached all the files. Report.zip
  6. Sorry but what is the difference between this git and the official server ?
  7. Here : https://github.com/0ADMods/millenniumad.git But it doesn't work with the last release any more you'll have to compile the game.
  8. Until we find a proper solution I reverted them to mine.
  9. Well the civ has more than this two buildings
  10. Well you know people did not carry their armors all the time because it's harder to move, and to gather stuff, plus you are supposed to be hidden behind the walls, not at the mercy of a random guy passing by.
  11. This is planned, but not for next alpha. Moreover would you really gather stuff with a 24 pounds shield on your back ?
  12. Sure I talked with leper about this one there is already a diff provided on trac by trompetin http://trac.wildfiregames.com/attachment/ticket/1712/sound_1712.patch
  13. As some of you may not know it's not that they don't want to. Only that nobody can take care of it. I'll be glad to model them though. If you can generate a design doc like the ones on the wiki (a full one) with references pictures, that would help a lot. But if you want more factions, start by helping those that are not finished. In this case : Seleucids.
  14. I've been looking for that for a long time and I finally found a solution. As some of you may know the game engine doesn't support animated mesh with AO. So you have to make the Ao part of the texture. Problem is, no face should be overlapping, and therefore you must use only once the same texture space. This is easier if you have made the texture, but can be quite tricky if the texture is commonly used by all the buildings of the game. When you bake the AO you use a special UVMap usually with "Smart UV project" as shown on the image below : Usually your UV looks like this : With my trick they will look like that : With the last one, you'll just have to open gimp paste the AO you baked with the same UV as multiply layer, and export. Nothing more. So how to get this : 1. Unwrap your model with the default texture 2. Add a second unwrap layer with the first image parameters 3. Add a new material to your mesh using the texture. 4. Go to render and chose bake texture : 5. Voilà ! Export your texture and do the final step in gimp.
  15. It's because I did a undo. line 474 is the line I added.
  16. Hi I found that function : void StopMusic(ScriptInterface::CxPrivate* UNUSED(pCxPrivate)) in the JSInterfaceSound.cpp and I was wondering how to use it to stop music playback in atlas. From my little understanding I have to use it there (LINE 474) : void MapSidebar::OnSimPlay(wxCommandEvent& event){ float speed = 1.f; int newState = SimPlaying; if (event.GetId() == ID_SimFast) { speed = 8.f; newState = SimPlayingFast; } else if (event.GetId() == ID_SimSlow) { speed = 0.125f; newState = SimPlayingSlow; } if (m_SimState == SimInactive) { // Force update of player settings POST_MESSAGE(LoadPlayerSettings, (false)); POST_MESSAGE(SimStateSave, (L"default")); POST_MESSAGE(GuiSwitchPage, (L"page_session.xml")); POST_MESSAGE(SimPlay, (speed, true)); m_SimState = newState; } else // paused or already playing at a different speed { POST_MESSAGE(SimPlay, (speed, true)); m_SimState = newState; } UpdateSimButtons();}void MapSidebar::OnSimPause(wxCommandEvent& WXUNUSED(event)){ if (IsPlaying(m_SimState)) { POST_MESSAGE(SimPlay, (0.f, true)); m_SimState = SimPaused; StopMusic() } UpdateSimButtons();}void MapSidebar::OnSimReset(wxCommandEvent& WXUNUSED(event)){ if (IsPlaying(m_SimState)) { POST_MESSAGE(SimPlay, (0.f, true)); POST_MESSAGE(SimStateRestore, (L"default")); POST_MESSAGE(SimPlay, (0.f, false)); POST_MESSAGE(GuiSwitchPage, (L"page_atlas.xml")); m_SimState = SimInactive; } else if (m_SimState == SimPaused) { POST_MESSAGE(SimPlay, (0.f, true)); POST_MESSAGE(SimStateRestore, (L"default")); POST_MESSAGE(SimPlay, (0.f, false)); POST_MESSAGE(GuiSwitchPage, (L"page_atlas.xml")); m_SimState = SimInactive; } UpdateSimButtons();}But I was wondering if it would stop all sounds, and if it's the correct function to use.
  17. The age phase sound is waiting for review
×
×
  • Create New...