1. Updated Resource Submission Rules: All model & skin resource submissions must now include an in-game screenshot. This is to help speed up the moderation process and to show how the model and/or texture looks like from the in-game camera.
    Dismiss Notice
  2. DID YOU KNOW - That you can unlock new rank icons by posting on the forums or winning contests? Click here to customize your rank or read our User Rank Policy to see a list of ranks that you can unlock. Have you won a contest and still haven't received your rank award? Then please contact the administration.
    Dismiss Notice
  3. From the gates of hell, the 5th Special Effect Contest Results have emerged.
    Dismiss Notice
  4. Rubbed the right way, the genie is out of its lamp! The 12th Concept Art Contest Results have been announced.
    Dismiss Notice
  5. Race against the odds and Reforge, Don't Refund. The 14th Techtree Contest has begun!
    Dismiss Notice
  6. Check out the Staff job openings thread.
    Dismiss Notice
Dismiss Notice
60,000 passwords have been reset on July 8, 2019. If you cannot login, read this.
paologerochi
Last Activity:
Feb 2, 2020
Joined:
Dec 24, 2009
Messages:
26
Albums:
2
Location:
Philippines
Occupation:
Give You Nightmares...

paologerochi

Hive Ninja, from Philippines

paologerochi was last seen:
Feb 2, 2020
    1. paologerochi
      paologerochi
      yes, actually... why? something wrong?
    2. StoPCampinGn00b
      StoPCampinGn00b
      Is your avatar supposed to be MW3 like? :S
    3. paologerochi
      paologerochi
      lol, hehehe sige lang idol xD marami nman di ako alam eh..
    4. chobibo
      chobibo
      sorry naman :(
    5. paologerochi
      paologerochi
      hehehehe, uum ngayon mo lang alam? eheheh xD
    6. chobibo
      chobibo
      Yo idol, pinoy ka pala? nyahaha xD
    7. jose364
      jose364
      Sorry,but can you give the models and icons you use for starcraft frenzy?
      I want to make some starcraft maps that have ai and i think the models you use are really good.

      PD:sorry for my english,i'm spanish
    8. Magtheridon96
      Magtheridon96
      In order to use this system, create the following variables:
      cam_angleOfAttack (Real)
      cam_camUnit (Unit)
      cam_checkDist (Real)
      cam_distance (Real)
      cam_tb (Hashtable)
      cam_timer (Timer)

      By the way, this only works for Singleplayer.
      Do you want a multiplayer system?

      To set a unit as the center of the camera here:
      Set cam_camUnit = YourUnit
      Custom script: call Camera_Start()
    9. Magtheridon96
      Magtheridon96
      /* System by The_Witcher. Modified by Magtheridon96 */

      constant function Camera_GetDelay takes nothing returns real
      return 0.25
      endfunction

      constant function Camera_GetNormalHeight takes nothing returns real
      return 300.
      endfunction

      constant function Camera_GetAccuracy takes nothing returns real
      return 50.
      endfunction

      constant function Camera_ExtremeAccuracy takes nothing returns real
      return 10.
      endfunction

      function Camera_hideAll takes nothing returns nothing
      local item i = GetEnumItem()
      if IsItemVisible(i) then
      call SaveBoolean(udg_cam_tb, GetHandleId(i), 0, true)
      endif
      call SetItemVisible(i, false)
      set i = null
      endfunction

      function Camera_showAll takes nothing returns nothing
      local integer id = GetHandleId(GetEnumItem())
      if LoadBoolean(udg_cam_tb, id, 0) then
      call SetItemVisible(GetEnumItem(), true)
      call SaveBoolean(udg_cam_tb, id, 0, false)
      endif
      endfunction

      function Camera_isPointPathable takes real x, real y returns boolean
      local item i = CreateItem('wolg', 0, 0)
      call SetItemPosition(i, x, y)
      set x = GetItemX(i) - x
      set y = GetItemY(i) - y
      call RemoveItem(i)
      return x < 1 and x > -1 and y < 1 and y > -1
      endfunction

      function Camera_iterate takes nothing returns nothing
      local real x = GetUnitX(udg_cam_camUnit)
      local real y = GetUnitY(udg_cam_camUnit)
      local real angle = (GetUnitFacing(udg_cam_camUnit) - 180) * bj_DEGTORAD
      local real cos = Cos(angle)
      local real sin = Sin(angle)
      local real rz = 0
      local real z = 0
      local real checkDistance = Camera_GetAccuracy()
      local real distanceDone = 0
      local boolean check = true
      local rect area = Rect(0,0,0,0)
      local location loc = Location(0,0)

      loop
      set x = x + checkDistance * cos
      set y = y + checkDistance * sin

      set distanceDone = distanceDone + checkDistance

      call MoveLocation(loc, x, y)
      set z = GetLocationZ(loc)

      if RAbsBJ(z) > RAbsBJ(rz) and distanceDone <= udg_cam_checkDist then
      set rz = z
      endif

      if not Camera_isPointPathable(x, y) then
      call SetRect(area, x - Camera_GetAccuracy(), y - Camera_GetAccuracy(), x + Camera_GetAccuracy(), y + Camera_GetAccuracy())
      call EnumItemsInRect(area, null, function Camera_hideAll)
      if not Camera_isPointPathable(x, y) then
      set check = false
      endif
      endif

      if not check and checkDistance == Camera_GetAccuracy() then
      set distanceDone = distanceDone - checkDistance
      set x = x - checkDistance * cos
      set y = y - checkDistance * sin
      set check = false
      set checkDistance = Camera_ExtremeAccuracy()
      endif

      exitwhen (not check and checkDistance == Camera_ExtremeAccuracy()) or distanceDone > udg_cam_distance
      endloop

      call MoveLocation(loc, GetUnitX(udg_cam_camUnit), GetUnitY(udg_cam_camUnit))
      set x = GetLocationZ(loc)

      set z = Atan2(x - rz, 200) * bj_RADTODEG + udg_cam_angleOfAttack

      call SetCameraField(CAMERA_FIELD_TARGET_DISTANCE, distanceDone, Camera_GetDelay())
      call SetCameraField(CAMERA_FIELD_ANGLE_OF_ATTACK, z, Camera_GetDelay())
      call SetCameraField(CAMERA_FIELD_ZOFFSET, GetCameraField(CAMERA_FIELD_ZOFFSET) + x + GetUnitFlyHeight(udg_cam_camUnit) + Camera_GetNormalHeight() - GetCameraTargetPositionZ(), Camera_GetDelay())
      call SetCameraField(CAMERA_FIELD_ROTATION, angle * bj_RADTODEG + 180, Camera_GetDelay())
      call SetCameraTargetController(udg_cam_camUnit, 0, 0, false)

      call EnumItemsInRect(bj_mapInitialPlayableArea, null, function Camera_showAll)

      call RemoveRect(area)
      call RemoveLocation(loc)
      set loc = null
      set area = null
      endfunction

      function Camera_Start takes nothing returns nothing
      call TimerStart(udg_cam_timer, 0.03125, true, function Camera_iterate)
      endfunction

      function Camera_Stop takes nothing returns nothing
      call PauseTimer(udg_cam_timer)
      endfunction

      function InitTrig_Camera takes nothing returns nothing
      set udg_cam_angleOfAttack = -5
      set udg_cam_distance = 300
      set udg_cam_checkDist = 300
      set udg_cam_tb = InitHashtable()
      call CameraSetSmoothingFactor(1)
      endfunction
    10. RandomPogi
      RandomPogi
      You should join the group PRS. It's a group of filipinos from the hive. I'll contact the admin for you. :)
  • Loading...
  • Loading...
  • About

    Location:
    Philippines
    Occupation:
    Give You Nightmares...
    WarCraft 3 Realm:
    Asia
    Favourite Race:
    Night Elf
    Favorite Organization/Clan:
    Sentinels
    I'm a mapper, gamer, modder, and artist. :D

    Porn, Coding, Gaming, Modding

    Interact

    Content:
    Yahoo! Messenger:
    paologerochi@yahoo.com

    Signature

    [​IMG]
  • Loading...
  • Loading...