Your "success" so far

Renendaru

(Evol)ution is nothing without love.
So... For you mapmakers, if you wish, post here what you've done so far, and how you did, and if possible, the map.

Myself, I've created a map with mouse look support, key press support for movement, and a manual attack using C.

Non-key press/mouse look. Just third person camera with C to attack.



Edit: Click movement, creates an explosion where you click.

Edit2: Improved interface, UI is now gone.

Edit3: Crashing issue is fixed.

 

Attachments

BlowingKush

I hit the blunt but the blunt hit me.
Mouse look. !!!!! you mean you can actually track the mouse coordinates (not just after a click)?????

OMG ill have too see it to believe it....



EDIT:

OMFG this opens so many possiblities.... thank god....

It would work alot better if you would keep the zoom at a certain level
and make UP and Down mouse movments move the camera towards the sky or ground so it reacts like a first person shooter with WASD as the controls. And boom....!!! perfection
 

Renendaru

(Evol)ution is nothing without love.
My current attempt is to make the zealot walk in the direction your camera faces... Way more complex than it seems.
 

BlowingKush

I hit the blunt but the blunt hit me.
Quote:
Camera - Lock Camera Mouse Relative Mode On/Off(1, On)

There you go. However, selecting/ordering units is impossible while doing this.


ya may have to hit a button to switch out of camera mode
 

Renendaru

(Evol)ution is nothing without love.
I decided to just order him to move to the clicked position. o.o
 

BlowingKush

I hit the blunt but the blunt hit me.
i figured out how to do it

it will take me a bit to set it up.
but heres the basic idea.....
you can create a local variable

use the function real to int to convert
and you can then set the variable to any camera property (pitch,yaw,roll...etc) for any camera.

Hell it even brings up a list of all the properties.... freaken awesome.
 

Renendaru

(Evol)ution is nothing without love.
Added a click movement mod... It's optimal to lock your mouse onto the zealot when you start.
 

Renendaru

(Evol)ution is nothing without love.
Well, I've been messing with the GUI mostly, to see how far it can go...
Trigger:
  • Untitled Trigger 001
    • Events
      • Timer - Elapsed time is 1.0 Real Time seconds
    • Local Variables
    • Conditions
    • Actions
      • Camera - Apply Camera 001 for player 1 over 0.0 seconds with Existing Velocity% initial velocity, 10% deceleration, and Include Target
      • General - Wait 2.0 Real Time seconds
      • Camera - Lock Camera Mouse Relative Mode On/Off(1, On)


There's what sets my mouse look up.

Trigger:
  • Untitled Trigger 002
    • Events
      • UI - Player 1 presses C key Down with shift Exclude, control Exclude, alt Exclude
    • Local Variables
    • Conditions
    • Actions
      • Unit - Order Zuk'rah [109.25, 33.00] to ( Attack (Random Any unit from (Units in (Region((Position of Zuk'rah [109.25, 33.00]), 100.0)) having alliance Enemy with player (Owner of Zuk'rah [109.25, 33.00]) matching Excluded: Missile, Dead, Hidden, with at most Any Amount))) (Replace Existing Orders)


To attack a nearby unit using C, had to go through so much to find the value within the editor to turn auto-attack off.

Trigger:
  • Untitled Trigger 003
    • Events
      • UI - Player 1 clicks Left mouse button Down.
    • Local Variables
    • Conditions
    • Actions
      • Unit - Order Zuk'rah [109.25, 33.00] to ( Move targeting (Point((Mouse X position clicked in the world), (Mouse Y position clicked in the world)))) (Replace Existing Orders)
      • Environment - Create a Small Protoss explosion at (Point((Mouse X position clicked in the world), (Mouse Y position clicked in the world)))


To move to the clicked position, effect is there so you can see where you clicked.
 

Renendaru

(Evol)ution is nothing without love.
Right click left side, New > Variable. Or simply, Ctrl + B.
 

Prometheus

Everything is mutable; nothing is sacred
Staff member
Code:
bool gt_UntitledTrigger001_Func (bool testConds, bool runActions) {
    // Variable Declarations
    point lv_untitledVariable001;

    // Variable Initialization
    lv_untitledVariable001 = RegionRandomPoint(RegionFromId(1));

    // Actions
    if (!runActions) {
        return true;
    }

    UnitCreate(1, "Mothership", 0, 1, lv_untitledVariable001, 270.0);
    return true;
}
Quite C-Like.

I wonder if there are leaks.
 

Renendaru

(Evol)ution is nothing without love.
Yea, though creating a unit at a random point is pretty simple...

Edit: There's apparently a garbage cleaner, though how well it runs is unknown.
 

Sevion

The DIY Ninja
Yea, though creating a unit at a random point is pretty simple...

Edit: There's apparently a garbage cleaner, though how well it runs is unknown.
One way to find out:

Make a super big loop that creates a leak. Monitor you process memory.
 
General chit-chat
Help Users
  • midnight8 midnight8:
    I have had all of the symptoms, taste is slightly starting to come back, but smell, no. Honestly, just been a little miserable, have never felt in any danger from it. Being trapped at home sucks. lol
  • midnight8 midnight8:
    meh, got a little fever again this morning, guess gonna be a few more days
  • The Helper The Helper:
    I went to Comicon this last weekend I hope I dont get it I feel fine and I am not vaccinated and did not wear a mask
  • The Helper The Helper:
    Comicon really was not packed though like it was in the past. I am not really worried though it was the most people I have been around in a year.
  • tom_mai78101 tom_mai78101:
    Still, getting vaccinated is a good idea. We're getting Delta variant spikes here in Boston.
  • The Helper The Helper:
    I am not against vaccination at all I just have a serious procrastination problem I plan on getting vaccinated soon
  • midnight8 midnight8:
    was kinda same with me, I was gonna do it, and life got in the way.
  • midnight8 midnight8:
    we wore mask in some places, but at 118 degrees outside, little rough. :)
  • The Helper The Helper:
    yeah i had another friend in Vegas talking about that heat damn
  • The Helper The Helper:
    Well I do not think I got Covid from the Comicon
    +1
  • tom_mai78101 tom_mai78101:
    Pushed out a new Pokemon Walking algorithm build. With a new system in place, I'll probably start tackling triggers and NPCs,
    +1
  • Varine Varine:
    Is it fucking hot everywhere?
  • Varine Varine:
    What's a pokemon walking algorithm?
  • jonas jonas:
    it's an engine for pokemon games that closely emulates the walking behavior of pokemon red/blue/yellow
  • jonas jonas:
    basically if you wanted to implement pokemon yellow from scratch, and you'd want it to feel as close as possible to the real thing, you'd start with that
  • Varine Varine:
    Like from the Gameboy games? I'm not at all familiar with Pokemon.
  • jonas jonas:
    yeah
  • The Helper The Helper:
    I only played the Pokemon games on the Gamecube and Wii and such not on the portables my kids had all those games but I never really played on the portables. Now that I think about maybe once sooooo long ago.
  • tom_mai78101 tom_mai78101:
    That's about right. I'm just emulating that old-school RPG feel on the Game Boy system. If I had more free time, I would definitely want to add more things.
  • jonas jonas:
    I guess you folks were too old, but those games were our childhoods:p
  • tom_mai78101 tom_mai78101:
    Well, I'm about to hit 30 this year, so I'm now officially old.
  • Ghan Ghan:
    Hey wait a minute!
  • The Helper The Helper:
    You guys are youngsters. I am square in the middle of my midlife crisis at 52.
  • Ghan Ghan:
    How are the kids?

    Members online

    No members online now.

    Affiliates

    Hive Workshop NUON Dome
    Top