• 0

    posted a message on Change Model Addition Height

    I've built a unit by adding 11 model additions onto the invisible unit model. They are positioned using rotation and offset Siteops. I want 6 of these model additions to raise and lower depending on which 1 of 5 behaviours is on the unit. I've tried just about every height related actor msg in the events of the model additions themselves and the models haven't budged. I've used the attach offset msg on the unit actor and this gets only one of the 6 models to move, whether I  directly select the model actors or use an alias they all share. 

     

    So my question is how can I get all 6 models to move with one actor event/msg for each behaviour? 

    Posted in: Data
  • 0

    posted a message on Marine moving and shooting simultaneously

    DrSuperEvil you've gotta be the heart of this community, over a year since I last posted and you're still one of the first to reply. Anyway I was thinking the same but I have zero experience with model editing. Can you think of any workarounds, alternate models that may work, or other options? 

     

    I've put a fair amount of work into this project, if there is someone who can create a suitable solider model I might be willing to pay for it.

    Posted in: Data
  • 0

    posted a message on Marine moving and shooting simultaneously

    As the title says I want a marine to move and shot at the same time. I'm using a wasd movement system with a top down camera. I know how turrets work and how to make this mechanically happen, it's just going to look terrible because the rine will probably stutter between it's attack and walk animation while doing both. I'm wondering if anyone has a solution to this, my only idea atm would be a new model with a turret bone at the rine's waist and that would still probably look funky.

     

    Ideally the rine will be able to shoot about 135 degrees in front of him, and be able to walk backwards and shot at the same time. 

    Posted in: Data
  • 0

    posted a message on Force / Physics

    So I'm trying to use the actor force system to throw dead bodies away from a blast zone like siege tanks and other abilities in SC 2 do but I can't for the life of me get it working.

    The ability I want to get it working for is a grenade. The grenade is launched, upon impact it creates an active grenade unit which times down and then deals aoe damage to everything including itself in the area. I suspect this odd effect chain is causing me part of the problems and I've tried so many combinations of site ops, impact maps and everything else I'm just tired to shit of it and am hoping someone actually knows how these things work and can explain it or give me an idea because I can't find much solid information about it.

    I copied the siege tank attack and 2 force actors directly and tried to set them up with my ability to no avail. So if anyone knows this stuff I'd appreciate the help.

    Posted in: Data
  • 0

    posted a message on Modify movers

    Thanks for the reply. The speed isn't actually the property I want to modify, I just don't want to give too much about my map away and this feature is something unique to it as far as I know and took me a while to figure out. Only other option I've come up with is saying screw using movers all together and trying to do it through triggers so I can just use variables and modify them as I please.

    Posted in: Triggers
  • 0

    posted a message on Modify movers

    Bumping this. If nobody can think of a better alternative I'm probably going to end up making like 300+ movers each with a very slight difference than the others. Yeah it will suck big time, someone save me!

    Posted in: Triggers
  • 0

    posted a message on Modify movers

    Yeah movers can determine how missiles move, there's a field in the launch missile effect type to select the mover. I've got a mover set up for my missile and it works fine, but what I want is to be able to change the values of that mover, dependent on stat gains the unit might get from leveling. So say the unit levels up and I want the fireballs it throws to move faster, I want to modify the speed field in the mover while the game is playing and add say 1 to it.

    Not exactly what I want to do but its a good example.

    Posted in: Triggers
  • 0

    posted a message on Modify movers

    So I'm not very hopeful of a good solution to this but; I need to modify specific fields of a mover during the game.

    The mover is used to control the flight path of some missiles and I want to modify values in the motion phases based on other numbers. I've tried using edit catalog field value and it gives me some error in game that reads: Core: access denied to required object or service. I've dug a bit and it looks like there are some fields that are read only and can't be edited in game, and this seems to be one of them?

    The best workout around I can think of is having like.. 50 movers each modified by a small increment so if the number I'm basing off changes I could just change the mover itself used by the launch effect. I'm not sure if this will work though as I am going to have a lot of weapons. Each player only has one unit so that isn't an issue.

    Any ideas?

    Posted in: Triggers
  • 0

    posted a message on Unit Combat Ai

    Damn how'd I miss that >< thanks man it seems to be working.

    Posted in: Triggers
  • 0

    posted a message on Unit Combat Ai

    Hey so I got this working fairly well with the system I explained above. Refined it and now it just detects possible covers, finds the point on the opposite side of the nearest hostile, and sends the covering unit there if it's path able.

    There's an issue I know I'm going to run into however and that is travel distance. Currently units will consider any cover point within a circle the size of the engagement range I set for that unit type. The problem is they might find a cover across a canyon or wall or something, that might be 6 distance as the crow flies, but to run around to it is more like 30 distance. So I need a condition that says target point is less than X, but I have no idea how to measure movement distance.

    So: I need to measure movement distance or travel distance.

    I've found the path display triggers, which have an option for measuring travel distance, have not been able to get these working at all though and don't know if it will solve my problem. The only work around I can think is send out extremely fast test units from the cover unit to the cover point, measure the time it takes them to get there, divide by whatever to get the distance. Seems really sloppy and annoying to implement. So does anyone know how I could do this?

    Posted in: Triggers
  • 0

    posted a message on Disease System

    For the virus

    So no idea if this was solved but off the top of my head I don't think it would be super hard to do:

    First create a behavior of type buff (infectious), this will be the buff that makes a unit contagious. In a behavior there is an option for period and periodic effect, period = the interval at which the periodic effect happens. We want that periodic effect to search the area for possible victims to infect.

    So then we create an effect of type search area (Search for Victims). Open the area field, click the + button and set how big you want the search radius to be, maybe like 2-6. The effect field says what effect will happen to targets found. So,

    Create a new effect of type apply behavior (Infect) set the behavior it applies to (infectious) if you want victims to spread the virus too, if not you'll need a separate behavior.

    Now we need to go back and connect them, so for (infectious) set the period effect to (Search for Victims). In (Search for Victims) go into the area field and set the effect there to (infect).

    All that is left to get this working is to set up the chance of infecting people over time. The period field in (infectious) says how often it searches, I would set this to about .25, I think this means every quarter of a game second it will search. You can then either set the chance field in (infect) or (search for victims). Using infect will give each unit an independent chance of being infect, using search for victims will mean they are all either infected or not. I'd set the field in infect. You could make it like 2.5% or 0.025 X 4 times per second = 10% chance per second of any unit in range being infected.

    For the initial infection attack

    Not at editor atm but my thinking is you'll need to create an effect that has a random chance of infecting that fires along side the weapons regular damage, so:

    Create an effect of type apply behavior (Initial infect) give it whatever chance you want of it infecting the unit per attack in the chance field, set the behavior it applies to (infectious)

    Create an effect of type set (Poison attack set) and add the (initial infect) effect as well as your weapon damage to the effects field.

    Go to your weapon, set the effect to (Poison attack set) now any attack will damage and have a chance to infect the victim.

    Posted in: Triggers
  • 0

    posted a message on Unit Combat Ai

    Thanks for the feedback. I know AI is difficult, if it wasn't we'd probably be extinct by now. I'm currently using invisible units to represent cover. My thinking is along the same lines as yours, but instead of hard coding cover points, I'm thinking search for invisible cover units in range, select one at random, generate sample points in a circle (maybe 8 or so) around the cover point, determine which is farthest from the player's unit and run there. That point should be on the opposite side of the cover of the player.

    I'm thinking to save resourcing to have regions attached to each player unit (each player will only have the one) and periodically check in that region for enemies, run the cover system on any that are found.

    I might do grenades by having grenades place a buff on units near them which makes them run, not sure how to incorporate combat intelligence into that way though.

    For their combat intelligence I'm thinking assign each unit type a value out of 100 and any action (cover, grenade flee) will just have that percent chance of happening, or a % based off that number.

    Posted in: Triggers
  • 0

    posted a message on Unit Combat Ai

    So I have this map way in the back of my closet that has been on my mind. It is a third person top down wasd movement, mouse targeted shooter with a cover system incorporated; hiding behind things means bullets might not hit you. Its 4 players vs AI. So players are hopefully smart enough to use the cover, but what about the enemy soldiers? Currently they just stand where ever they are placed and shot mindlessly.

    So what I want is to develop a combat AI system that will control each solider so they act in a combat intelligent and challenging manner. This will make the game 10X more enjoyable. If you have played rimworld, the AI in that is like what I need.

    What I want:

    • Soldiers to hide behind cover properly, on the opposite side of the players and within firing range
    • To use and react to thrown grenades
    • Possibly do flanking maneuvers
    • To interact with each other, ex. charging together,
    • To have their combat intelligence based on their unit type Ex. a spec ops will be more likely to use cover and dodge grenades than a regular grunt
    • Possible commander units that increase the coordination of all nearby units and their combat intelligence

    I already have some rough ideas of how to go about these things but have never tried my hand at an AI and wanted some input

    Here's an extremely artful depiction of what I want for the basic cover system

    http://imageshack.com/a/img924/3200/IBwSkb.png

    Posted in: Triggers
  • 0

    posted a message on Energy Fields

    Have a concept I've been thinking about and curious how more experienced people would go about implementing it. Here it is:

    I want to create "energy" or "magic" fields that cover areas of different size and shape, and their intensity in different areas will be stronger. There will be different types of fields. For example I'm thinking the 4 elements, so say I have a river, I want that entire river to be strong in water energy, but then if I just have a puddle I want that puddle to have very weak water energy.

    Ideally I would just be able to paint the map with the different fields but I don't think this is possible to set up. The idea I have for creating it is just invisible field emitters that place a stackable buff on units, more emitters = more stacks = stronger energy there.

    The problems with this are:

    • can only place circle areas
    • the intensity will not gradually change, it will jump in intervals
    • could be difficult to properly create areas with the right intensity
    • not good for graphical representation

    So any better ways to go about this? Fire away!

    Posted in: Data
  • 0

    posted a message on One unit, multiple identical weapons

    Ahh I should of been more clear, for the upgrades its an independent thing per weapon, for example; you buy MG lvl 1, you can upgrade it to lvl 2 then 3. If you want another you need to buy another MG lvl 1 then upgrade that one to 2 then 3 as well, it's not a collective thing like normal game upgrades.

    Posted in: Data
  • To post a comment, please or register a new account.