• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Place Farm v0.1.1.3

This bundle is marked as useful / simple. Simplicity is bliss, low effort and/or may contain minor bugs.
Type: Second Life, RPG
Models used: Standard only
Effects used: Standard only
Level: Basic

attachment.php


This spell creates living farm when building is created. Creates ground textures, places corn and working farmer.



125424d1368541874-place-farm-v0-1-1-3-wc3scrnshot_051413_162534_01-kopia.jpg



125425d1368541874-place-farm-v0-1-1-3-wc3scrnshot_051413_162536_02-kopia.jpg



125426d1368541874-place-farm-v0-1-1-3-wc3scrnshot_051413_162538_03-kopia.jpg



125427d1368541874-place-farm-v0-1-1-3-wc3scrnshot_051413_162547_04-kopia.jpg



125428d1368541874-place-farm-v0-1-1-3-wc3scrnshot_051413_162549_05-kopia.jpg





I am about to create series of such effects. If you have any idea feel free to feedback.

Keywords:
farm, plant, corn, RPG, animation, worker, farmer, citizen, vilage, city, life
Contents

To kolejna mapa do Warcraft III. (Map)

Reviews
12th Dec 2015 IcemanBo: Too long as NeedsFix. Rejected. Place Farm v0.1.1.3 | Reviewed by Maker | 15th May 2013 NEEDS FIX There are leaks and the system is too simple and not configurable [tr] Things that leak...
Level 9
Joined
Nov 19, 2011
Messages
516
For attachements only

Sorry for gif auality but I have broken keyboard.
 

Attachments

  • WC3ScrnShot_051413_162534_01 kopia.jpg
    WC3ScrnShot_051413_162534_01 kopia.jpg
    115.2 KB · Views: 549
  • WC3ScrnShot_051413_162536_02 kopia.jpg
    WC3ScrnShot_051413_162536_02 kopia.jpg
    119 KB · Views: 528
  • WC3ScrnShot_051413_162538_03 kopia.jpg
    WC3ScrnShot_051413_162538_03 kopia.jpg
    123.4 KB · Views: 530
  • WC3ScrnShot_051413_162547_04 kopia.jpg
    WC3ScrnShot_051413_162547_04 kopia.jpg
    122.8 KB · Views: 513
  • WC3ScrnShot_051413_162549_05 kopia.jpg
    WC3ScrnShot_051413_162549_05 kopia.jpg
    123.6 KB · Views: 533
  • Bez-nazwy1.gif
    Bez-nazwy1.gif
    264.6 KB · Views: 723
Last edited:
  • Farm
    • Events
      • Unit - A unit Finishes construction
    • Conditions
      • (Unit-type of (Triggering unit)) Equal to Farm
    • Actions
      • Set TMP_Point = ((Position of (Triggering unit)) offset by (150.00, -150.00))
      • Environment - Change terrain type at TMP_Point to Village - Crops using variation -1 in an area of size 2 and shape Square
      • Unit - Create 1 Corn (Farm) for Neutral Extra at (TMP_Point offset by (50.00, 0.00)) facing Default building facing degrees
      • Unit - Create 1 Vilager (Male) for Neutral Passive at (TMP_Point offset by (-50.00, 0.00)) facing Default building facing degrees
      • Animation - Play (Last created unit)'s stand work animation
      • Set TMP_Point = ((Position of (Triggering unit)) offset by (-50.00, 50.00))
      • Environment - Change terrain type at TMP_Point to Village - Short Grass using variation -1 in an area of size 1 and shape Square
Think it's a bit too basic, not exactly a system, nor a spell, it's not configurable, it's not got any particular function, just a bit of aesthetics

also, you leak a location
 

Ralle

Owner
Level 79
Joined
Oct 6, 2004
Messages
10,183
They're right that there are leaks. I just detected four using my prototype leak finder:
Code:
Leaked location object allocated on line 107
Leaked location object allocated on line 838:blizzard.j
Leaked location object allocated on line 838:blizzard.j
Leaked location object allocated on line 112
The following lines leak:
JASS:
set udg_TMP_Point = OffsetLocation(GetUnitLoc(GetTriggerUnit()), 150.00, -150.00)
call CreateNUnitsAtLoc( 1, 'e003', Player(bj_PLAYER_NEUTRAL_EXTRA), OffsetLocation(udg_TMP_Point, 50.00, 0), bj_UNIT_FACING )
call CreateNUnitsAtLoc( 1, 'n005', Player(PLAYER_NEUTRAL_PASSIVE), OffsetLocation(udg_TMP_Point, -50.00, 0), bj_UNIT_FACING )
set udg_TMP_Point = OffsetLocation(GetUnitLoc(GetTriggerUnit()), -50.00, 50.00)
The calls to OffsetLocation return a new Location object.
 
Top