• 0

    posted a message on Can someone take a look at my triggers (Speed/Functions)

    Hey again,

    Since im fairly new to triggering in galaxy editor, I was wondering if someone could take a look at the Triggers on my map. I want to know if theres anyway I can speed up the Generation of terrain? Could someone who has more of a programming brain, Teach me the best way to turn my current triggers into functions (So that I can generate terrain Based off of region size, Without coding it for each region.) Im still not sure how the functions get set up (I understand some other programing languages but ive never been very good at working with functions, I usually just tweak with stuff till it works the way I want it to. Which ends up being slow/Inconvenient).

    I know this is a bit much to be asking and I should probably figure it out myself. If the above isn't really convenient could someone give me an example of creating a function that can be called in gui, using gui. That way I can at the very least attempt to convert what I have so far into Functions.

    Also Im having an issue with one other thing, I think i know how to fix it, but i will ask anyway just for suggestions. Currently when it generates a dungeon it doesnt take very long (although its only generating rooms curently) However I am having shadowing issues (It has a partial shadow of a ledge being where its not anymore (take a look at the map and generate terrain for example).

    To Generate Terrain in my map type 3 things -debug camera (gives overhead view of top left corner of map) -debug generate (runs Triggers that generate dungeon in under 30 seconds (Only rooms currently) -debug reset (Wipes the Generated terrain so it can be generated over again)

    You will have to run all 3 to see my problem Most likely (well theres 2 problems when it generates terrain it leaves little black shadows at each of the corners I can probably fix this easily, My other problem is after running reset It leaves black lines where the terrain was deformed)

    Posted in: Triggers
  • 0

    posted a message on Terrain Deforming Help + Related Movement Waypoint as if no deformation

    Thanks DrSuperEvil, I managed to figure it out myself (At least the Appearence). However I still Have an issue with the Green Movement Location Icon acting like the ground isn't changed.

    Will Using an actual unit fix this issue? or is it unrelated and i have to set some weird offset somewhere

    Posted in: Data
  • 0

    posted a message on Using Random And Seeds

    Hello.

    I was wondering How the Random Function in the Galaxy Editor Works. Can It be given a seed? I need it for generating random dungeons. Im about 50% done with the actual Terrain Generation. However I would like to make it so that if you go from floor 2 to floor 10 then back to floor 2 It will be the same as the first time you saw it. And each "Floor" it reuses the same area to generate the dungeon.

    Anyway id like to know if and how this would be possible

    Posted in: Triggers
  • 0

    posted a message on Terrain Deforming Help + Related Movement Waypoint as if no deformation

    Hi, I posted a thread in triggers about this but someone told me that I might get a better answer here. The response I got didn't lead me any closer to getting this working.

    Heres my problem: I am able to create Craters (Circular) Terrain Deformations. Yet I cannot Make Square ones, I want roughly the same effect that zenx1 has here http://www.sc2mapster.com/forums/player-zone/map-feedback/29221-random-block-terrain/ (I just want the Flat Terrain Generation The Actual Full out random Map Generation I am doing myself)

    Now I pm'ed him but he no longer has the source and his Response gave me an idea of what to do But it isnt working for me. Quoted from zenx1 PM:

    "Terrain deformers make the shape based on the footprint so you can try 1x1 or 5x5 footprints for different results. There are also those contour and other footprints you can try, but I guess it wont make a huge difference."

    The footprints dont seem to change anything, I am applying the footprint to my terrain deformer actor. Should i apply it to a unit that creates the Deformer actor?

    And My related issue, When i deform terrain and move a unit on the deformed terrain The Green Arrow that shows up where you click Is where the ground was before the deformation.

    Anyway if someone knows the Solution to either of those problems Please let me know.

    ---------------------------

    I found out what I was doing wrong, I didnt have much of an idea as to how big the actual Footprints were so I ended up making them 2 small. I managed to get a Flat 10x10 Platform Now It should be easy to Make one to the correct size. Thanks for anyone who helped :). And zenx1 for the idea

    Posted in: Data
  • 0

    posted a message on Terrain Deformer Help

    Ok thanks. I found out it has to do with Footprints. However doesnt matter what footprint i set it to its still a circle. Il try asking in the "Data Forum"

    Posted in: Triggers
  • 0

    posted a message on Terrain Deformer Help

    Err Please don't tell my I need to use circles to make squares :| That's just not fair And It means Im gonna be doing ALOT of math :\ (Good thing i like math) But it also means that the generation would be very slow correct?

    Could Someone Please give me an Example Of using a Square Terrain Deformer? (I still cant make it square, The offsets are easy I already got a map that gets flattend with craters but its buggy since thier circles it undoes itself about 80% (only places that actually get lowered are at the far right and top)

    Posted in: Triggers
  • 0

    posted a message on Terrain Deformer Help

    Hey, I think this might be my first post so Hello :D.

    Anyway Im trying to recreate What zenx1 Did here http://www.sc2mapster.com/forums/player-zone/map-feedback/29221-random-block-terrain/ I Read a tutorial on using Terrain Deformers (Got The Terrain Deforming But not in the way I want) But the GE is alot more complex compared to WE so Im having a little bit of trouble finding things. My Problem is I cant Seem to Deform The Terrain in a square like manner, It Simply Makes a large round Crater.

    Id like to know how to Create a Flat Square Decrease in the terrain with Deformers. If someone knows what I need to set my actor too please let me know.

    Also If at all Possible Id like to know if its easily possible to clear Deformed terrain.

    Im looking to make a rogue like rpg, Only Multiplayer and Partially Realtime. I Will probably Have 3 Version of the map (One for multiplayer, One for singleplayer, and one with Multiplayer and Prebuffering)

    Thankyou :)

    Posted in: Triggers
  • 0

    posted a message on Tutorial Request

    Id like a tutorial explaining how to do randomized terrain. EG Id like to create a rogue like rpg. However im not sure of anyway to randomize the terrain for different floors of a dungeon. (I would be using a random seed so that if you go back to the same floor it wont re randomize it, will simply recreate that floor)

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