Boarding Trouble

Rinpun

Ex TH Member
Reaction score
105
Ok, this part is really ticking me off. I've been trying straight for...MAN! 2 hours! I've been trying to get a boarding system for my Halo Map. This is my start out code:

Vehicle Board Ghost1
Events
Unit - A unit comes within 200.00 of Ghost 0012 <gen>
Conditions
((Triggering unit) is A Hero) Equal to True
Actions
Unit - Change ownership of Ghost 0012 <gen> to (Owner of (Triggering unit)) and Change color

And so it is for the other 3 Ghosts, 2 Warthogs, 2 Banshees, and 2 Scorpions.

What it does already:

If a Master Chief is within 200 range of a vehicle, the vehicle will change ownership. But, I suppose you'd know this already.

The problem:

If a Master Chief is in the vehicle when it is converted, the Master Chief is stuck in the vehicle like a prisoner.

What I'd like the solution to be:

The Master Chief inside the vehicle is unloaded when the vehicle changes hands.

Cheap solution to the problem:

If I really wanted to, I bet I could make it so that it will only change ownership when the vehicle isn't loaded. But then, how would you get someone out of a tank (as a tank is quite deadly and so might require two people to board it--one is the cannon fodder)?
 
Satara and I have already spent many threads figguring this out.

So here it is.

Code:
[b]This trigger allows a unit to use a vehicle, based on a dummy ability each unit was given.[/b]
Load Vehicle
    Events
        Unit - A unit Begins casting an ability
    Conditions
        (Ability being cast) Equal to Load Vehicle 
        (Owner of (Target unit of ability being cast)) Equal to Neutral Passive
        (Number of units in (Units owned by (Owner of (Triggering unit)) matching (((Matching unit) is Mechanical) Equal to True))) Equal to 0
        Or - Any (Conditions) are true
            Conditions
                (Unit-type of (Target unit of ability being cast)) Equal to Mech Loader
                (Unit-type of (Target unit of ability being cast)) Equal to Armored Tank
    Actions
        Unit - Change ownership of (Target unit of ability being cast) to (Owner of (Triggering unit)) and Change color
        Unit - Order (Target unit of ability being cast) to Load (Triggering unit)

[b]This trigger handles a manual unload event.[/b]
Unload Vehicle
    Events
        Unit - A unit Is issued an order targeting an object
        Unit - A unit Is issued an order targeting a point
        Unit - A unit Is issued an order with no target
    Conditions
        Or - Any (Conditions) are true
            Conditions
                (Issued order) Equal to (Order(unload))
        Or - Any (Conditions) are true
            Conditions
                (Unit-type of (Ordered unit)) Equal to Mech Loader
                (Unit-type of (Ordered unit)) Equal to Armored Tank
    Actions
        Wait 0.20 seconds
        Unit - Change ownership of (Triggering unit) to Neutral Passive and Change color

[b]This trigger handles 'unload all' event.[/b]
Unload Vehicle 2
    Events
        Unit - A unit Finishes casting an ability
    Conditions
        (Ability being cast) Equal to Unload (Air Transports)
        Or - Any (Conditions) are true
            Conditions
                (Unit-type of (Casting unit)) Equal to Mech Loader
                (Unit-type of (Casting unit)) Equal to Armored Tank
    Actions
        Wait 0.20 seconds
        Unit - Change ownership of (Triggering unit) to Neutral Passive and Change color
 
What's the dummy ability? I've tried making one, but I end up with nothing castable.

And, does it account for a Boarding ability that thrusts the other master chiefs out of the Vehicle so that the caster can get in?
 
Perhaps conan might be able to suggest something?
 
I personally like creating dummy abilities off of Channel. Give it the "unit target" option and check the box that sais "visible" and it should work. Why are you wanting it to change ownership of the car? I would add an action right before the "change ownerhip" action and I would order the vehicle to unboard A Master Cheif if it is boarded. If that doesn't work, you could use Ryoko's trigger and make a dummy ability based off of Channel which is made for triggered specific spells.
 
It should change ownership, since if it stays passive it is allied to everybody (so it isn't as easy to accidentally automatically kill it.
 
In my code you can't steal.

That could be accomodated though by ordering the unit to UNLOAD ALL.

NOTE: If you change to nuetral passive while a unit is inside, the unit is gone. Just as you described I think.

Thats all handled in my code, with the small wait times and proper events. Just be carefull.

Yes, they have to change ownership to be controllable by the person inside........

I know mine isn't exactly your intentions, but I figgured a SOLID example would help you, rather than a bunch of suggestions.

(Especially the proper events and order strings)

Too bad I never finished that map. You could get in these tanks and battletech mech-loaders I downloaded from WC3SEAR.CH :) Satars LOAP map had cars in it too.
 
Wow. Well, if I really wanted to, I could download models for my Halo vehicles. conan would know what I mean--they're accurate, but not incredibly accurate since they're warcraft units. I do think that the shimmering portal with an archway did a great job on the portals in Halo (if you've played it, you'd know what I mean).

Something tells me I've already asked this question but perhaps I did not :D

Are there any tools for making custom models? This "wc3sear.ch" must be using some kind of modeler to make their cool objects.

If I could get one I'd be able to put up a lot here. I have quite a bit of experience in setting up small polygon creatures in Lightwave.
 
The best is gmax. 3dsmax you have to pay for and it doesn't gives you much more options tan gmax does. http://www4.discreet.com/gmax/. Gmax is specicificaly made for game models.If you decide you like and need help converting .gmax files to .mdl to further convert to.mdx just ask and I'll show you how. I could also show you how to convert .mdx Warcraft III files to .gmax files for editing. Hehe, I'm probably thinking to much ahead but maybe I could create a modeling tutorial, eh? I've model for a few monhs now and maybe it's time to pass on my knowledge:).

Heh heh this is insane. If you search for models on there some of them cost up to 500 dollars just for the models. It's crazy man, crazy. Heh heh, maybe I should submmit a fewof my models and make them about 20 dollars a peiceand see how much they cost eh?
 
I'd really like it if you did :)

That's right...3dsmax/gmax. *Shudders* I can model on that thing, but I can't do skins for my life. I tried to do that with Dungeon Siege but it was a horrible mess--not to mention that their world editor lacked flexible functionality--unlike the Warcraft editor.

Maybe I'll just model and animate and add the skins via the Warcraft--it'll just be rainbow before then :p

Yeah, there's actually a business in selling models. Kind of weird. Turbosquid does this with every single animation software. You'll get some cool free and expensive (20$ to a whopping 1000$) models in EVERY SINGLE well-acknowledged Modeler. Maya, 3dsmax, Lightwave, and the other ones I can never seem to remember.
 
I have the same problem. I'm no artist, so I'm not very good at skinning. My skins turn out to be horrible, while my models are good. For the skins, I usually get someone else to do it for me (shhhh).
 
Lightwave has an awesome texture system--why doesn't anybody else have a SURFACE EDITOR?

All you do is select some polygons, press Q, and give the surface a name. If you've made a texture, you can change that from a normal color or the simpleton patterns they have.

So for textures, I can actually use Lightwave. Just use their "simpleton patterns", bump map them, and fill up the screen with either a box showing the texture or just make it the backdrop. Render, and there you go.

Unfortunately, Lightwave does cost 300$ in it's educational version, but Dad bought it for me, so it's no big deal. At the moment, I'm still just a student, so every job I have an interest in doing are not yet available.

...And it can save in targa :cool:
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Varine Varine:
    Today I had to scramble, I didn't work most of dinner service and no one told me shit. They had a rough few hours lol
  • Varine Varine:
    I have two salmon, Sockeye and Atlantic. Atlantic is used for the kids salmon and the salmon and beet salad, and can also be added onto any dish or just as a side. Atlantic salmon will almost exclusively ever be FARMED, as it is endangered in the wild, and we ALWAYS cut them to 4 ounces.
  • Varine Varine:
    SOCKEYE salmon, very different and this IS wild caught. We have an ENTREE version, and an add on version. The entree is 7 ounces, the add on is 4. Why? Because that is how someone that wasn't me set up the computer.
  • Varine Varine:
    I had to have this conversation like ten fucking times tonight
  • Varine Varine:
    The issue being, I came into work and had none of this whatsoever
  • Varine Varine:
    No one told me shit
  • Varine Varine:
    So, taking into consideration that what I typed out up there is kind of some fucking nonsense that under normal circumstances no one really needs to fucking be able to explain in any rational way
  • Varine Varine:
    Let alone trying to figure it out from a wildly stressed out me that is also on a phone call trying to get something to show up from Seattle tomorrow while trying to explain this salmon situation, that also is barely solved in maybe a few hours and and but I am bulking it with a few steelhead filets I have and that is a WHOLE fucking different thing to the 19 year old server that got put on day shift C crew that doesn't know who I am.
  • Varine Varine:
    I did however really want days. I like getting off at 4 half the time, and that makes it worth it!
  • Varine Varine:
    Also I hate my job right now but I think that was the hard part. Now it's just work
  • Varine Varine:
    @jonas I'm sorry? I don't know what you're referring to.
  • Varine Varine:
    Once we hit winter I feel like I get to back to having a pretty cool job. Like I bitch about it all the time, but it's work. I'm still gonna bitch
  • Varine Varine:
    All in all though I think this summer is going really well. Some complicated things, but at the end of the day it isn't THAT big of a deal. Not all of our servers have quite realized they are technically sales
  • Varine Varine:
    Like yeah it is a substitute, but FOMO. Chef isn't getting this again this year, he has to figure it out, so it's slightly off on the menu, but that is more or less the LOWEST quality and price. Right now, steelhead is a real stealhear, right?
  • Varine Varine:
    Like fuck off even I can do it
  • Varine Varine:
    I am going to get one of my servers to do that in her server voice and you'll see my point
  • Varine Varine:
    Maybe the bartender. Idk, it's one of my favorite things to hear them go from calm to customer service voice. They will translate it to like "The chef is trying to change that a bit right now so he does have a Alaskan river steelhead. Yeah like the one you might fish probably!" And then the girls can bat their eyes and do pretty girl server shit
  • Varine Varine:
    At least that's how imagine some of them. Did you know mayonnaise is dairy free? A suprisingly amount of people don't\
  • The Helper The Helper:
    mayo is eggs right?
  • The Helper The Helper:
    Seems I never watched the Witcher - looks like i have a lot of content
  • The Helper The Helper:
    Season 1 Episode 8 the marathon continues...
  • jonas jonas:
    mayo is eggs & oil
    +1
  • The Helper The Helper:
    I got halfway season 2 on The Witcher and it lost me. I am going to have to pick this one up again later.
  • jonas jonas:
    season 2 is with the new actor right? it's so far below the first one
  • The Helper The Helper:
    first season was good the 2nd season is bleh I hope I can make it through it for 3

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials
      Top