Recent content by aliminator8

  1. A

    Terrain (physics/normal system) struct leaking problem

    yep i have started using kingkings method now
  2. A

    Terrain (physics/normal system) struct leaking problem

    Lol great idea. I didn't even think of doing that ;p ,im gonna use that in my map straight away lol...
  3. A

    Terrain (physics/normal system) struct leaking problem

    yeh z wasnt working, but i dont really need it ;p your system is awesome, for some reason my system seems to slow down real quick at uphill slopes...
  4. A

    Terrain (physics/normal system) struct leaking problem

    heres an example using the system http://www.epicwar.com/maps/120400/ and ill post code below too. i apologize in advance for the monocode, tabs not working in the relpy window thing... function periodic takes nothing returns nothing...
  5. A

    Terrain (physics/normal system) struct leaking problem

    looks like its working alot better now with this code :) local unit u = gg_unit_hfoo_0000 //testing unit local real x = GetUnitX(u) local real alpha = 0 // angle between normal and z axis local real mg = 98 //mass*gravity = 9.8*10 local real d // distance local real y = GetUnitY(u) local...
  6. A

    Terrain (physics/normal system) struct leaking problem

    edit - oh yeah you are right, instead of 90-alpha it should be pi/2 - alpha......
  7. A

    Terrain (physics/normal system) struct leaking problem

    Thanks Prozix for the help, i think i understand now and i will try to recode/make a new vector system that will either add the normal + gravity vectors together, or calculate the resultant vector and add that, which ever one works better. will post up tomorrow afternoon... time to get some sleep :p
  8. A

    Terrain (physics/normal system) struct leaking problem

    I dont quite understand what you are doing here. Shouldn't the 90-alpha be PI - alpha? since you are using tan and not TanBJ() and using radians would make more sense.
  9. A

    Terrain (physics/normal system) struct leaking problem

    yes you are right and that's what i have done :p
  10. A

    Terrain (physics/normal system) struct leaking problem

    This part here finds the normal local xyz a = xyz.define(x,y+accuracy) //creating 3 vertices at (x+0,y+30),(x+30,y-30) and (x-30,y-30) local xyz b = xyz.define(x+accuracy,y-accuracy) // to make a triangle local xyz c = xyz.define(x-accuracy,y-accuracy) // and then find the normal of the...
  11. A

    Terrain (physics/normal system) struct leaking problem

    Hi guys, Main Problem... Creates more (xyz) structs than it destroys. therefore errors with unable to allocate id to object after count (global integer) reaches 18,000. Background info and minor problems... This system i made is meant to simulate a circular object on a slope, so it rolls...
  12. A

    WOW Recount-Like GUI dps meter

    not sure of any examples but you would have to trigger all of your hero abilities and use a damage detection system and then tally each individual damage event for each hero/player. There are lots of damage detection systems you can use under systems in these forums.
  13. A

    Reducing file-size on song?

    import the song into 'audacity' a free audio conversion/editing program and then export as mp3 and lower the bitrate or quality.
  14. A

    Save/Load Code Idea

    there are programs such as "super saver"(<-- not 100% sure its its called that) and other programs that export ingame player/game messages into a txt file. Therefore it is possible.
  15. A

    IJass pre-release, ways to improve?

    being able to create a trigger in game would be pretty awsome....event --> condition --> action kinda thing... now that i think about it, perhaps a built in function that will show all the code in a function/trigger in game and its links to other functions and variable use data too
Top