help with army map

mushroom911

I think I should change my avatar
Reaction score
43
I was thinking.. what if i could create a map, that was somewhat like ompany of heroes?.... ok, nice start and all the terrain working well.. but then i wondered HOW IN THE F-WORD can i make cover items?, something like an aura that makes evasion bonus, that and when running chance to hit is reduced... btw gona have each nromal infantry with 5 hp, 1 armor and 1-3 dmg and 1-10% chance to deal crit (2x dmg)... so how do i make something like a wall item (like a trench for example) that gives and aura that increases evasion? sma ewith when moving.


plz help...:)

btw, anyone know of any site that contains gd armyman models?... including tanks and stuff
 

mushroom911

I think I should change my avatar
Reaction score
43
erm...

No thoughts on how to make any cover though? (adding chance to dodge based on where u are)
 

Builder Bob

Live free or don't
Reaction score
249
Maybe you could make trenches by lowering the terrain in the terrain editor.

Every time a unit is attacked, draw a line from the attacker to the target. Then just check if any of the short end of the line, right before it reaches the target, is below ground. If it is, the unit is in cover and will take less damage.

To be able to manipulate the damage like that though, is easier said than done. You can change the gameplay constants to make all damage deal 0% damage. You'll also need some lookup system for unit's stats. You can make global arrays for every unit in the game storing all info, and then just set unit's custom value to the number corresponding to their number in the array.

When all that is done, you can use the on damage event to do all the math, and finally subtract the correct amount of hp according to unit's damage, attack type, defense type, upgrades, cover, etc.

It might be too complex for your liking, but I think it would work.
 

Mr.Tutorial

Hard in the Paint.
Reaction score
42
To tell you the truth, I don't understand a word your saying, please explain clear with proper grammar, and if you have to, use Microsoft Word. Sorry, just hard to understand :eek:
 

Syndrome

You can change this now in User CP.
Reaction score
126
in gameplay constants, there is something like that, but in opposite, theres like
Miss from Moving or High Ground
so, if you are moving, or at higher ground, if someone is shooting at you from the ground to a high point, you may miss
 

Somatic

You can change this now in User CP.
Reaction score
84
For Cover wise, its possible if you give it a disabled spell book with the evation in it, then remove it when the unit is not around the "Trench"
 

mushroom911

I think I should change my avatar
Reaction score
43
Thx Very Much! :d

thank you guys, trying ur advice atm, il post something on how the map is going later :D thx :D
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Monovertex Monovertex:
    How are you all? :D
    +1
  • Ghan Ghan:
    Howdy
  • Ghan Ghan:
    Still lurking
    +3
  • The Helper The Helper:
    I am great and it is fantastic to see you my friend!
    +1
  • The Helper The Helper:
    If you are new to the site please check out the Recipe and Food Forum https://www.thehelper.net/forums/recipes-and-food.220/
  • Monovertex Monovertex:
    How come you're so into recipes lately? Never saw this much interest in this topic in the old days of TH.net
  • Monovertex Monovertex:
    Hmm, how do I change my signature?
  • tom_mai78101 tom_mai78101:
    Signatures can be edit in your account profile. As for the old stuffs, I'm thinking it's because Blizzard is now under Microsoft, and because of Microsoft Xbox going the way it is, it's dreadful.
  • The Helper The Helper:
    I am not big on the recipes I am just promoting them - I use the site as a practice place promoting stuff
    +2
  • Monovertex Monovertex:
    @tom_mai78101 I must be blind. If I go on my profile I don't see any area to edit the signature; If I go to account details (settings) I don't see any signature area either.
  • The Helper The Helper:
    You can get there if you click the bell icon (alerts) and choose preferences from the bottom, signature will be in the menu on the left there https://www.thehelper.net/account/preferences
  • The Helper The Helper:
    I think I need to split the Sci/Tech news forum into 2 one for Science and one for Tech but I am hating all the moving of posts I would have to do
  • The Helper The Helper:
    What is up Old Mountain Shadow?
  • The Helper The Helper:
    Happy Thursday!
    +1
  • Varine Varine:
    Crazy how much 3d printing has come in the last few years. Sad that it's not as easily modifiable though
  • Varine Varine:
    I bought an Ender 3 during the pandemic and tinkered with it all the time. Just bought a Sovol, not as easy. I'm trying to make it use a different nozzle because I have a fuck ton of Volcanos, and they use what is basically a modified volcano that is just a smidge longer, and almost every part on this thing needs to be redone to make it work
  • Varine Varine:
    Luckily I have a 3d printer for that, I guess. But it's ridiculous. The regular volcanos are 21mm, these Sovol versions are about 23.5mm
  • Varine Varine:
    So, 2.5mm longer. But the thing that measures the bed is about 1.5mm above the nozzle, so if I swap it with a volcano then I'm 1mm behind it. So cool, new bracket to swap that, but THEN the fan shroud to direct air at the part is ALSO going to be .5mm to low, and so I need to redo that, but by doing that it is a little bit off where it should be blowing and it's throwing it at the heating block instead of the part, and fuck man
  • Varine Varine:
    I didn't realize they designed this entire thing to NOT be modded. I would have just got a fucking Bambu if I knew that, the whole point was I could fuck with this. And no one else makes shit for Sovol so I have to go through them, and they have... interesting pricing models. So I have a new extruder altogether that I'm taking apart and going to just design a whole new one to use my nozzles. Dumb design.
  • Varine Varine:
    Can't just buy a new heatblock, you need to get a whole hotend - so block, heater cartridge, thermistor, heatbreak, and nozzle. And they put this fucking paste in there so I can't take the thermistor or cartridge out with any ease, that's 30 dollars. Or you can get the whole extrudor with the direct driver AND that heatblock for like 50, but you still can't get any of it to come apart
  • Varine Varine:
    Partsbuilt has individual parts I found but they're expensive. I think I can get bits swapped around and make this work with generic shit though

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top