Transport vehicle, with shooting?

odd17

New Member
Reaction score
1
I'm making a unit that can hold 4 units. I want the units who enter the vehicle can attack. Meaning if the vehicle is near an enemy the units inside the vehicle should attack, just like they are shooting from the window.

How I can make that?
 

GFreak45

I didnt slap you, i high 5'd your face.
Reaction score
130
there are a few ways of doing this

do you want the car to shoot only when its loaded, or be able to shoot while its moving? those are the primary concerns, both are possible at the same time but the strat is different for each
 

merlinds

Member
Reaction score
15
He wants the car to shoot, while is loaded, moving and make it like it where the units attacking not the car.
here you have a few problems:
1: 1 unit that shoot more than 1 projetile? and how do you make the car to shoot the amount of projectiles according to the units inside?
2: what about the Missiles grafic? it will be fixed or change deppending on the units inside??
3: the damage, attack speed, etc.
It seems reallly complicated to me.
 

GFreak45

I didnt slap you, i high 5'd your face.
Reaction score
130
its not merlinds, i just need to know more of what he wants, theres 3 easy ways of doing it
 

merlinds

Member
Reaction score
15
of course deppends on what he wants, but for what i can imagine it seems complicadet, at least to me :p
Can you explain me, the easy ways you say?
 

GFreak45

I didnt slap you, i high 5'd your face.
Reaction score
130
there is an ability (pheonix ability) that shoots a projectile every few seconds, you could have 1 of these customized for each unit and add it as then enter, that works for the combination, the others would be adding the orc burrow ability to the unit, which causes it to stop attacking when nothing is loaded inside, the last would be to just give it a basic pheonix ability so it could always attack while moving
 

merlinds

Member
Reaction score
15
The first way would look best, but:
1: if the map has 20 hero, it will need to make 20 customized skills.
2: the attack speed and damage of the car will differ from the unit that is inside.
I mind, the skills have fixed values, if the hero lvl up, buy items, have pasive or whatever that increase damage/atck speed, when they enter the car those values will not be the same on the car attack. am i wrong?
 

GFreak45

I didnt slap you, i high 5'd your face.
Reaction score
130
1: yes, thats true, high quality means more work
2: the attack speed and damage could be hard to do or easy, if the attacks are all alike in missle type (machine guns/things like that for space marine type games (common to see that)) then all he would need to make are the attack speeds and damage, this could be done with 20 abilities with 100 ranks more than likely, sure that seems like a lot, but that is NOTHING compared to many many maps

other than these ways, this is not possible with basic gui triggering, he would need to learn vjass or become verry advanced with triggering and since he is asking for this i can assume he isnt either at the moment and people would generally drop something like this rather than go that in depth
 

GFreak45

I didnt slap you, i high 5'd your face.
Reaction score
130
no, the ways i recommended are not a lot of work, maybe to u, but not for a map of high quality, that is a very very very minor ammount of work
 

Dirac

22710180
Reaction score
147
What GFreak suggests is most likely the best way to do it.

The ability is called Phoenix Fire, this ability stacks but only by adding it through separate sources, such as
Items - If an item has a customized version of phoenix fire it will not conflict with other items with the same ability
Spellbooks - actually i haven't tested this yet, but it should work; add an spellbook with the custom phoenix fire to the unit and disable the spellbook, the phoenix fire should remain, to remove it, remove the spellbook.

There is another way of doing it ofc; instead of having the vehicle load the unit, trigger the whole thing (would require lots of more work) and make the units move along the vehicle (using SetUnitX and SetUnitY custom script) and hide them (using the GUI command to hide units.) this way the units that are "loaded" into the vehicle will still be able to attack, and the player loses control of them until "unloaded"
 

GFreak45

I didnt slap you, i high 5'd your face.
Reaction score
130
thats what i was meaning by advanced gui/some jass

and honestly you could have just moved them every second to the position of the car, that should be enough time to get off an attack
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • The Helper The Helper:
    The bots will show up as users online in the forum software but they do not show up in my stats tracking. I am sure there are bots in the stats but the way alot of the bots treat the site do not show up on the stats
  • Varine Varine:
    I want to build a filtration system for my 3d printer, and that shit is so much more complicated than I thought it would be
  • Varine Varine:
    Apparently ABS emits styrene particulates which can be like .2 micrometers, which idk if the VOC detectors I have can even catch that
  • Varine Varine:
    Anyway I need to get some of those sensors and two air pressure sensors installed before an after the filters, which I need to figure out how to calculate the necessary pressure for and I have yet to find anything that tells me how to actually do that, just the cfm ratings
  • Varine Varine:
    And then I have to set up an arduino board to read those sensors, which I also don't know very much about but I have a whole bunch of crash course things for that
  • Varine Varine:
    These sensors are also a lot more than I thought they would be. Like 5 to 10 each, idk why but I assumed they would be like 2 dollars
  • Varine Varine:
    Another issue I'm learning is that a lot of the air quality sensors don't work at very high ambient temperatures. I'm planning on heating this enclosure to like 60C or so, and that's the upper limit of their functionality
  • Varine Varine:
    Although I don't know if I need to actually actively heat it or just let the plate and hotend bring the ambient temp to whatever it will, but even then I need to figure out an exfiltration for hot air. I think I kind of know what to do but it's still fucking confusing
  • The Helper The Helper:
    Maybe you could find some of that information from AC tech - like how they detect freon and such
  • Varine Varine:
    That's mostly what I've been looking at
  • Varine Varine:
    I don't think I'm dealing with quite the same pressures though, at the very least its a significantly smaller system. For the time being I'm just going to put together a quick scrubby box though and hope it works good enough to not make my house toxic
  • Varine Varine:
    I mean I don't use this enough to pose any significant danger I don't think, but I would still rather not be throwing styrene all over the air
  • The Helper The Helper:
    New dessert added to recipes Southern Pecan Praline Cake https://www.thehelper.net/threads/recipe-southern-pecan-praline-cake.193555/
  • The Helper The Helper:
    Another bot invasion 493 members online most of them bots that do not show up on stats
  • Varine Varine:
    I'm looking at a solid 378 guests, but 3 members. Of which two are me and VSNES. The third is unlisted, which makes me think its a ghost.
    +1
  • The Helper The Helper:
    Some members choose invisibility mode
    +1
  • The Helper The Helper:
    I bitch about Xenforo sometimes but it really is full featured you just have to really know what you are doing to get the most out of it.
  • The Helper The Helper:
    It is just not easy to fix styles and customize but it definitely can be done
  • The Helper The Helper:
    I do know this - xenforo dropped the ball by not keeping the vbulletin reputation comments as a feature. The loss of the Reputation comments data when we switched to Xenforo really was the death knell for the site when it came to all the users that left. I know I missed it so much and I got way less interested in the site when that feature was gone and I run the site.
  • Blackveiled Blackveiled:
    People love rep, lol
    +1
  • The Helper The Helper:
    The recipe today is Sloppy Joe Casserole - one of my faves LOL https://www.thehelper.net/threads/sloppy-joe-casserole-with-manwich.193585/
  • The Helper The Helper:
    Decided to put up a healthier type recipe to mix it up - Honey Garlic Shrimp Stir-Fry https://www.thehelper.net/threads/recipe-honey-garlic-shrimp-stir-fry.193595/
  • The Helper The Helper:
    Here is another comfort food favorite - Million Dollar Casserole - https://www.thehelper.net/threads/recipe-million-dollar-casserole.193614/

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top