[skip all navigation]

Mech Combat

Creator: Centreri
Time: May 5 2010, 3:10 am

Post #1     Centreri May 5 2010, 3:10 am

[Avatar]
If I were as smart as I think I am...
offlinecontact
Rank: Veteran
Mech Combat
Fight to the death with other Mechs.

Features:
Physics system! Accelerate down ramps, decelerate up them, and fail to climb steep ones.
Environmental changes.
Gorgeous terrain.
Custom GUI (currently nonfunctional. <_<)

Controls:
E to accelerate.
D to decelerate.
S is to turn left.
F is to turn right.
Z to lock/unlock camera (to better use the scouts - no range limit!)
W for nitro (somewhat buggy)(uses energy)
R for repair (usable only when speed == 0) (uses energy)
V for a 180 flip (usable only when speed < 3)
Left click to shoot a basic projectile (needs to be completely redone, temporary - 10 energy)
Right click to set a scout (uses 80 energy)

Plans:
More weapons to switch between, using bar on the bottom.
Nicer-looking health/energy/speed display, no slope display.
14-16 players.
Custom Minimap

Things to try:
Shooting
Imagining how awesome hiding behind bushes, setting up a scout and ambushing someone is.
Abusing the slope system to climb up outrageously steep cliffs at an angle.

Screenshots:
(user posted image)
(user posted image)
Attachments:
sc2map file
MechCombat.SC2Map (421.28 kb)
16 hits.
This post was edited 15 times, last edit by Centreri: May 24 2010, 4:24 am.

(user posted image)
Top

Post #2     payne May 5 2010, 5:02 am

[Avatar]
Addicted to SEN Games -Add more!-
offlinecontact
Rank: Veteran
You might be interested in this: http://www.sc2mapster.com/maps/steak-racing/

Top

Post #3     Centreri May 5 2010, 6:00 am

[Avatar]
If I were as smart as I think I am...
offlinecontact
Rank: Veteran
Hrrm. So I'm not the first. Same basic acceleration/etc system. Well, at least I'm not behind. And I like my choice of numbers better. I did some more work today, it's going to take some time to make handling of steep ramps proper. I'm basically trying to get it to greatly slow down and eventually turn around and take damage if you hit a steep incline (slope of 2+), but my slope equations and equations that utilize it are giving me issues with division by zero, when I know for a fact that the slope isn't zero. I'll work more on that tomorrow. Then I need to implement slowing without movement (easy), speed increase beyond normal max speed downhill (easyish), and then I go into the nasty, 3D stuff.

(user posted image)
Top

Post #4     payne May 5 2010, 1:58 pm

[Avatar]
Addicted to SEN Games -Add more!-
offlinecontact
Rank: Veteran
Just to make sure you knew there was a simple variable named "deceleration" in the data of units. ;)
The problem with it is that we can work around it in many ways.

Top

Post #5     Centreri May 5 2010, 2:08 pm

[Avatar]
If I were as smart as I think I am...
offlinecontact
Rank: Veteran
Eh. My system works right now, I'll work with my custom variables instead. Also, update!

It now automatically slows down while not accelerating, slows down/speeds up when going up slopes or down them (Try it! :D ), and when it hits a sheer cliff it stops, flips you 180 degrees and makes a nice puff of burrowed zergling. And I added that to slowing down, too - it was a very nice graphical effect used in that streak racing map.

There are still some bugs. For one, it still tells me I'm dividing by zero when you try to go up a cliff and it stops you, I'm still looking into that. Additionally, I had it bug once on me when it wouldn't let me move on an acceptable slope. If anyone figures out if they did something odd for that to happen, let me know. Suggestions or ideas also welcome.

EDIT: Problem was that acceptable slope + normal slowdown was overpowering acceleration. I'm going to need a nitro button :P .

(user posted image)
Top

Post #6     LoveLess May 5 2010, 4:53 pm

[Avatar]
offlinecontact
Rank: Veteran
Quote from Centreri
I'm going to need a nitro button :P .
Easy as pie. Ask if you need the triggers, it takes 10 seconds to implement.

Top

Post #7     Centreri May 5 2010, 5:04 pm

[Avatar]
If I were as smart as I think I am...
offlinecontact
Rank: Veteran
I know, lul.

I'm disappointed that no one's interested enough to try it, though. <_<.

(user posted image)
Top

Post #8     ShredderIV May 5 2010, 5:40 pm

[Avatar]
offlinecontact
Rank: Regular
Could you post the formula you're using that involves slope? It might be possible to move it around to accomodate.

Top

Post #9     Centreri May 5 2010, 5:47 pm

[Avatar]
If I were as smart as I think I am...
offlinecontact
Rank: Veteran
Variable - Set P2[(Picked integer)] = P1[(Picked integer)] <-- Point Variable
Variable - Set P1[(Picked integer)] = (Position of Mech[(Picked integer)]) <-- Point Variable
Variable - Set Slope[(Picked integer)] = (((Ground height at P1[(Picked integer)]) - (Ground height at P2[(Picked integer)])) / (Square root(((Power(((X of P1[(Picked integer)]) - (X of P2[(Picked integer)])), 2.0)) + (Power(((Y of P1[(Picked integer)]) - (Y of P2[(Picked integer)])), 2.0)))))) <-- Real Variable
Unit - Set Mech[(Picked integer)] Movement Speed to ((Mech[(Picked integer)] Movement Speed (Current)) - ((Slope[(Picked integer)] * 0.3) + 0.05)) <-- Set Speed
Variable - Set Speed[(Picked integer)] = (Mech[(Picked integer)] Movement Speed (Current)) <-- Update speed variable

(user posted image)
Top

Post #10     LostInMyself May 5 2010, 6:27 pm

[Avatar]
offlinecontact
Rank: Member
Cool. Gets stuck a lot and gets divide by zero error. Deceleration takes too long in my opinion.
Camera rotation or 3rd person would be nice to have.

Top

Post #11     Centreri May 5 2010, 7:57 pm

[Avatar]
If I were as smart as I think I am...
offlinecontact
Rank: Veteran
Updated again, main change is a new nitro. Just press and hold w. It'll be tied with an energy system in place eventually, and I haven't finalized it, this is simply so you have something you can do while testing if you get stuck.

(user posted image)
Top

Post #12     Biophysicist May 5 2010, 8:01 pm

[Avatar]
:(){ :|:& };:
offlinecontact
Rank: Regular
Definitely needs a bunch of spells. Also, "Mech Combat" sounds odd for a map about Hellions. JUST SAYING DON'T HURT ME K?

Your trolltag is twinArmageddons and you tend two 2peak wiith a biit of a lii2p.
Top

Post #13     Centreri May 5 2010, 8:06 pm

[Avatar]
If I were as smart as I think I am...
offlinecontact
Rank: Veteran
I'll be adding spells, don't worry. And I like Mech Combat. :(

My triggers are getting messy, I'll need to reorganize everything at some point.

(user posted image)
Top

Post #14     Biophysicist May 6 2010, 2:31 am

[Avatar]
:(){ :|:& };:
offlinecontact
Rank: Regular
Tried it. It's fun. Kinda like the RC cars little kids play with... which I now want. >.>

But fix the divide by zeroes. Srsly.

Your trolltag is twinArmageddons and you tend two 2peak wiith a biit of a lii2p.
Top

Post #15     Biophysicist May 6 2010, 10:43 pm

[Avatar]
:(){ :|:& };:
offlinecontact
Rank: Regular
Your choice of hotkeys is really annoying. I always keep accidentally switching back to WASD and being like "wut". It stands to reason that your typical pubbie won't get it at all, then.

Your trolltag is twinArmageddons and you tend two 2peak wiith a biit of a lii2p.
Top

Post #16     Centreri May 7 2010, 1:06 am

[Avatar]
If I were as smart as I think I am...
offlinecontact
Rank: Veteran
I prefer ESDF, because it makes it easier for everyone to use abilities. I'm hoping more people will follow ESDF, because it really IS superior. Also, fixed the errors by directly checking if denominator is zero. Before, I was just checking if points were identical, but that apparently didn't work, so... yeah. I'm actually very pleased with the 2D stuff now, the only problem left is that it can occasionally get stuck if you go at great speed up a cliff, but that's really unavoidable. I'll just make a suicide button. I'll redo nitro for later, but now it's time to focus on the 3D. I've been telling myself this and putting it off, because it seems hard. :P

Updated version uploaded. There's a hellion for players 1-4 in the corners, making it testable with up to four players. If someone can test if multiplayer works properly, that'd be great - the system I'm using should be extendable for a theoretically infinite amount of mechs, but I'll stick to 16 for sixteen players. When we get the ability to play with 16 players, this should work with that right off the bat.

EDIT: Something malfunctioned when I added players, fixing.
EDIT2: No idea what that was, because it made all of my movement triggers... not work, but whatever it was it suddenly disappeared. Also, two notes: I moved flip function from D to V. You need to be moving very slowly for it to work (purposefully). It basically turns you 180 degrees. And if you're interested in seeing the slope of the ground beneath you, press J. That's my test button for when I'm checking how something's working. Re-uploaded.
This post was edited 2 times, last edit by Centreri: May 7 2010, 1:38 am.

(user posted image)
Top

Post #17     Biophysicist May 7 2010, 1:40 am

[Avatar]
:(){ :|:& };:
offlinecontact
Rank: Regular
You forgot to attach the file.

Your trolltag is twinArmageddons and you tend two 2peak wiith a biit of a lii2p.
Top

Post #18     Centreri May 7 2010, 1:42 am

[Avatar]
If I were as smart as I think I am...
offlinecontact
Rank: Veteran
I see it...

(user posted image)
Top

Post #19     Biophysicist May 7 2010, 1:44 am

[Avatar]
:(){ :|:& };:
offlinecontact
Rank: Regular
It wasn't there before, and when I did Ctrl+F and looked for "Attach", nothing came up.

Also, your new control system may be superior, but bnoobs won't get it, and I found it hard to adjust to in testing.

Oh, make the camera follow the Hellion, please.

Your trolltag is twinArmageddons and you tend two 2peak wiith a biit of a lii2p.
Top

Post #20     Centreri May 7 2010, 1:47 am

[Avatar]
If I were as smart as I think I am...
offlinecontact
Rank: Veteran
Eh. I'm hoping to have a minimum of six abilities. WASD doesn't cut it. It'll force players to move their hands uncomfortably. I'd much rather use ESDF. You're the first one to complain, anyway.

Update. Removed default GUI, added information-dialogs, added camera (unfinished).
This post was edited 1 time, last edit by Centreri: May 7 2010, 2:47 am.

(user posted image)
Top
0 members in this topic (italic members are currently writing a reply): None
+ guest(s)


[06:39 pm]
TwinShort -- Do you play starcraft much anymore?
[06:37 pm]
Mini Moose 2707 -- If you want the original plain 1.0 TS by UnholyUrine only, it's here if you are a brave man. As far as I know, it was created to be a DotA type of game, but was not specifically based on anything. UnholyUrine would have to be the one to tell you things like that.
[06:36 pm]
O)FaRTy1billion -- why are there so many versions D:
[06:35 pm]
Mini Moose 2707 -- Sorry, 1.6 is here in case you wanted it. I think G is what people mainly host on battle.net these days.
[06:35 pm]
Mini Moose 2707 -- There are also the C versions by ClansAreForGays which I believe he is no longer working on and has passed to IAGG for his G versions. I can also offer Unholy's File: Temple Siege v1.6 beta1.6 from February 2010, which I don't think caught on as much as the G versions. I haven't heard of ib versions, but I also haven't been following TS much, either. Those were taken/given to FlashBeer to make 1.7.
[06:32 pm]
TwinShort -- Was temple siege based off anything?
[06:32 pm]
TwinShort -- Oh also do you know where I can download g1e?
Please log in to shout.