leper
WFG Retired-
Posts
1.290 -
Joined
-
Last visited
-
Days Won
30
Everything posted by leper
-
Cheats - "wololo", player selection
leper replied to idanwin's topic in Game Development & Technical Discussion
With the if-else replaced by a ternary operator it'll look fine. Nice work -
Cheats - "wololo", player selection
leper replied to idanwin's topic in Game Development & Technical Discussion
If that feature is wanted/useful (I've got no real opinion on that one) we could add it, but the code you posted is ugly. I'm quite sure you can do the same without duplicating the loop. -
Multiplayer lobby
leper replied to Badmadblacksad's topic in Game Development & Technical Discussion
There's already an option for that, though it is disabled by default. We should just enable it and rip out the option IMO. -
Split from the credits topic.
-
Gasp!
-
Should be working now as the autobuild finished.
-
r13544 needs a rebuild, but I want to push some other changes before starting another autobuild.
-
Did this happen in Alpha 13, or has this issue only occured with a later version (SVN)?
-
Get wxWidgets (which takes some space, so we don't include that as you only need it when building Atlas on Windows).
-
Not on Windows. You need to pass --atlas to update-workspaces.bat.
-
Fixed in r13531. Only works for player owned sheep though, as otherwise someone playing Romans could damage a corral based food economy severly.
-
That is to be expected (I assume you are using svn, and not the release tarballs). We convert the textures on loading for svn, so additions and modifications are visible near instantly. So you only need to convert those textures once (unless they change) when you are running svn. For releases we convert them, but the converted files aren't really useful if you want to edit something, so we keep them in a format that is better suited for that in svn.
-
The AI is only bonused on Hard or Very Hard (and only at resource gathering at that), while it isn't bonused at all on Medium and gets only 66 percent of what it would normally receive on Easy. Some tips that could give you the advantage you need: (You can test most of that on the Starting Economy Walkthrough map (Single Player -> Matches -> Scenarios -> Demo Maps), but be prepared to start that a few times as it is really fast) Gather meat from the chicken and/or sheep near your CC with the cavalry unit. Task your women to gather the berries and the other units to gather wood. Don't stop producing units! (Also try to batch train units if you can by shift-clicking the unit buttons) I would try to get a good economy going and not spend a lot of resources on fortifications.
-
New to the project, have questions
leper replied to Jgwman63's topic in Game Development & Technical Discussion
binaries/data/mods/public/gui/session/unit_commands.js is the file you are looking for. Most of the gui (what you see, not what elements are used to create that, which would be source/gui) and game logic is in the public mod folder (binaries/data/mods/public). (Some documentation on how that is structured is availabe in the Mod Layout wiki page, which is also linked from the finding your way around guide.) I would also advise you to join #0ad-dev on QuakeNet to get some further help when working on a ticket. -
Any way to restrict what classes a unit can attack?
leper replied to chaosislife's topic in Game Modification
That is because buildings (and by extension siege towers and ships (sort of a hack)) don't check for preferred or restricted classes in the attack component. If we want them to support that, we should create a new ticket to make cmpBuildingAI adhere to those cmpAttack restrictions. (Note to whoever creates the ticket: Should have the 'simple' keyword) -
problem with locale after compilation
leper replied to Germán Diago's topic in Game Development & Technical Discussion
That isn't a solution... Also posting the output of locale when you get errors when starting the game would be nice (also the errors the game throws (start it in a terminal to get those) to help with fixing this. -
The game needs a rebuild, if you are using the autobuild I'll probably start a new one after some changes later today. No, it didn't. We just added a new required element to the VisualActor element and the game needs a rebuild (or if you just copied the template instead of using inheritance the new element (VisibleInAtlasOnly) needs to be added).
-
r13448 should fix this. As to trading with Gaia, that would either require some additional logic (ugly) or changing Gaia to be neutral to everyone instead of being everyones enemy.
-
Did you contribute to 0 AD? Make sure you get in the credits!
leper replied to gudo's topic in Applications and Contributions
I added alpha123, Aurium, kingadami, mimo, EvanBogunia, paperkat, Josh and TrinityDeath. I left out cyruscousins, as trac is currently down and I can't access the ticket. Some more names that should be added (after finding out when the last additions were and continuing from there on): Markus, tuan kuranes, sbte, vincent, ericb, Malcom, crezax, ndragu (art), qwertz/kosmo (template fixes), _vincent, grillaz (could already be mentioned somewhere) (that should cover the names mentioned in commit messages from 13030 to 13428) -
Merged the new topic into the existing one.
-
Manual: Cheats (just in case you have some other ideas )
-
Did you even try this?
-
I'm not entirely sure if my way of handling this is what is wanted, thus I created #1931 and attached a patch to it.