Jump to content

Grapjas

Community Members
  • Posts

    470
  • Joined

  • Last visited

  • Days Won

    7

Everything posted by Grapjas

  1. Rams were quite easy to destroy or to word it differently, sabotage (simply cut the rope holding the ramming log). But like Badosu said, you'd still have to reach it first and obviously there would be men inside the rams fighting back. Rams were also used on walls or gates, not on buildings generally speaking. No one in their right mind would open a gate just to attack the ram, thats why they threw/fired/poured all kinds of @#$% all over them from walls. There is also a difference between 1 man swinging a blunt weapon vs 20, thats alot of force, especially if they timed the attack together. Anyway, Flaming projectiles would be neat indeed. Wouldnt mind a stamina system in this game too so certain units would tire out.
  2. Few things I'd like to add to this though, is that spears are very unlikely to do much dmg against a ram from a logical and realistic pov I guess. Swords, maybe little more effective, but still horrible and no one would want to blunt his sword like that (made for cutting flesh, even sucks against armor). Blunt weapons have a large force that can actually offer very good penetration, so that makes kind of sense in actually breaking a ram. I believe a blunt weapon is a heavy armored persons worst enemy, and a sword would be the best case scenario for him. Axes is self explanatory. Also spears being mostly pierce dmg seems accurate to me. Though i do wish pierce dmg had more unique charactistics. Spears can kill rams, just not efficient. Some ingame tips: Try to always have at least 20 swords garrisoned to counter rams and don't use them for anything else. Theres only 1 civ that doesn't have swords (mace), all other civs counter rams just fine with swords.
  3. Please make skirmish maps have a fixed max number of players instead of just fixed. This way a skirmish map can be played with less players, but no more than designed. e.g. a 6 player skirmish map could be played with 4 players too, but not 8. The reason i request this is because an unassigned player will still be spawned, just not controlled. Another reason i'm asking this is because i'm working on a script to give players random positions (with team sorting) on a skirmish map (just mine for now) instead of fixed positions. I'm nearly done with it but the issue described above remains. The max players change + my script should encourage more people to play skirmish maps without having the same positions (which can also give unfair advantage, and gets repetitive). If there are maps that really need a fixed set of players they should be in the scenario department. Once i'm done with my random position script i would actually volunteer to rework existing skirmish maps to include it (which does visually nothing to the maps). But thats probably for another thread. Also wasnt sure where to make this thread but yeah here it is, lol.
  4. Im not quite sure why there needs to be a healer unit in the game honestly. Units healing while idling or in buildings makes sense but other then that... Not really. Yes, they both inspire. But with the champ buff mechanic we might see more mixed armies too. Though i don't mean they should be exactly like my idea, but in my opinion the heal should be replaced with a different mechanic that makes sense and isn't fantasy (without expecting ultra-realism).
  5. I think they are in an OK place... sword bearers are the most efficient against rams. But it would be cool if a ram could only move and attack if it has units garrisoned inside it. The troops pushing the rams inside can be attacked by anything but should get heavy armor bonusses for being in cover. If there is no one inside it, it simply does nothing. For balancing purposes it shouldnt be able to get stolen though, but still be able to get destroyed if empty. That said though, becareful to not use pike units instead of spears against them because they have a very weak attack overall.
  6. Now understand this is just an opinion, but... The way the priests work is obviously pure fantasy right now. I'm suggesting a rework and take the fantasy aspect out of it. I understand for many cultures of any time period, people get inspired by the presence of spiritual leaders. More couragous, confident, morale boost etc. I'm proposing to do exactly that. Make them give allround bonusses that stack per priest (with maybe diminishing returns?) for units around them, much like the druids. Let's say each priest gives as an example 0.7% hp, armor, and attack bonus to affected units. 20 priests give a total 14% bonus to affected units. To make it more interesting, champ units don't receive priest bonusses, but instead inspire the priests themselves, increasing their inspiring efficiency by 0.05% per champion (We might actually see more use of champ units this way too, lol) in the priests aura. For overview of what im suggesting: Replace priest heal for a buff +0.7% HP/Armor/ATT for units inside the aura Champions don't receive priest buffs Instead they increase the buff amount a priest gives by 0.05% I know many like to spam priests, so i'm curious about what ya'll think. The numbers i named are more of an example though i think not too bad.
  7. @Stan` @badosu ive got a few new questions: Is it possible in js to simulate a keypress? e.g. at the start of the game the script presses "." for the player to select the first idle unit. To make the camera jump to a spot on the map?
  8. Unassigned player is neither AI or human player. Though i could still spawn player 2 like this (which is the issue). It's just nothing controlling it. I did find where player assignments are being handled @ gui/gamesetup/gamesetup.js. The issue is probably like you said, can't reach that level, because whatever i try it aint working. I'll keep looking.
  9. @Stan` @badosu would it be possible to store playernames as a variable? looked through most, if not all the documentation but cant find info on it. What i need it for is to filter out the 'Unassigned' players with an if statement.
  10. @badosu have you got any idea why i cant use the popped position? Everything spawns, but the units only go for position "H". Never mind! figured it out! progessss lol.
  11. I already tried doing this with: Engine.LoadLibrary("rmgen"); Engine.LoadLibrary("rmgen-common"); but it gives me: Engine.LoadLibrary is not a function. If i understand this correctly; it's because it's a skirmish map, and not generated from the ground up in js. ---------------------------------------------------------------------------------------------------------------- which is why this was plan A; ---------------------------------------------------------------------------------------------------------------- I've tried working with triggers before i tried to incorperate rmgen with a skirmish map. It does somewhat work (at least i was able to spawn something which gave me hope, lol) but has major issues. What i did was delete all the CC's on the map in atlas, then let triggers spawn CC"s at the start of the game. The script: The issues: This way it's very likely that players will spawn on top of eachother, and i understand why it's happening, but don't know how to fix it. @badosu in your code you popped one position out of the equation if it was used, but idk how to do that here. I don't know how to spawn a group of units/building. I've tried understanding maps like danubius and jebel for this, but can't figure out how to create and use templates and make a proper connection to them from this. I've tried which gives me syntaxerror: missing ] after element list (the format is probably completely wrong though). The map needs to be compatiable with AI for the people that like to play with them. Right now i get error "petra AI doesnt know how to interpret this map", likely because the AI gets loaded before the CC's are spawned. Unassigned players CC need to be deleted via js, like @Stan` already said. Or they simply just shouldnt spawn at all if there is a way for the script to check if the player is assigned before placing the CC's. Haven't looked into this yet because the other issues have priority tbh. ---------------------------------------------------------------------------------------------------------------- Is this so that i can use it with rmgen? Also what is stored in terrain data? elevation+textures? ---------------------------------------------------------------------------------------------------------------- This is all i have right now. Don't laugh at my nooby codes , i do plenty myself.
  12. @badosu let fixedPositions = [ new Vector2D(x:434, y:562), new Vector2D(x:466, y:946), new Vector2D(x:526, y:1392), new Vector2D(x:892, y:1365), new Vector2D(x:1224, y:1390), new Vector2D(x:1334, y:936), new Vector2D(x:1303, y:517), new Vector2D(x:866, y:499), ]; gives me syntax error: missing ) after argument list Can't find out why. Also one probably important thing i forgot to point out, is that i'm not using rmgen, because it's a skirmish map and i assume they can't work together. Starting to think i bit off more than i can chew though, im not a scripter at all.
  13. What is the format to specify the coordinates? Could i also use triggerpoints as positions for this?
  14. I just realised this gives problems if there are less than 8 players, there would still be extra CC's. So no-go i guess. zzZZzz it's not easy being stupid.
  15. What im aiming for is: I want fixed starting places on the map, but randomize to which fixed place the player will be assigned to. This way e.g. player 3 wont always end up on position 3, but can be assigned to position 8, or 5, etc. However the team members need to be adjacent to eachother. Im not sure i can formulate it clearly than this . Plan A: I already have 8 CC's on the current map im making where i want them to be. I was looking for a way via js to change ownerships of said CC's randomly on start of the game. Plan B: Delete current existing CC's, let the gen make bases for players, but at 1 of the 8 coördinates provided in the code (if possible at all). I'll crack my brain with your code , ty for help.
  16. I'm trying to give players a random position on the map im currently making. I took a look at the rmgen scripts but im a lil lost honestly. To be clear, my map already has civic centers placed, aswell as the resources, so these things do not have to be randomized. The only thing i want random is where each player will be put into existing CC, while being adjacent to team members. If up until this part of what i'm asking is not possible the way i discribe it, is it possible to make a custom rmgen2 script and put the exact coordinates where i want players to have their CC placed? I think i need some parts of rmgen2/setup.js but im doubtful as to how to approach this.
  17. Check this game manual out. It answers most questions you have well, along with vids.
  18. Try this direct link (assuming you are on windows): http://releases.wildfiregames.com/0ad-0.0.23b-alpha-win32.exe
  19. Yeah that would be helpful in some occassions like campaign maps. I'm interested in how you would do such a thing though, to learn from it. Which programs you use for the tasks etc.
  20. Would this be acceptable? Only 2 files total, 1 for each version. obstruction.rar I guess templates -> other, would be the best place for it, but i'll leave that to you. your code was more useful then anticipated @wowgetoffyourcellphone. I tried many other ways and failed.
  21. Thanks for helping, but i think it's pretty much the same thing as what i got going on at this moment You do it slightly different but i guess the outcome is the same.
×
×
  • Create New...