American Eagles Modding Forums

Hi! You are currently viewing forum as a guest. For more features please login or register!

Member Login

Lost your password?

Forum Stats

Latest Member

Not a member yet? Sign Up!


October 17, 2019, 09:12:03 AM

Author Topic: Rock Spawn  (Read 310 times)

0 Members and 1 Guest are viewing this topic.

Offline akuenzi (OP)

  • Regular
  • *
  • Posts: 40
Rock Spawn
« on: March 09, 2019, 04:37:54 AM »
Rock Spawn;sa=view;down=1738

When I was a boy, we practically lived on a 'rock pile.' Perhaps to keep his five boys busy, my father had us pick up a lot of rocks around our home. Digging post holes for fences was particularly challenging. The farm I later worked on to earn money for college was also on a 'rock pile.' Every time the cultivator or chisel was pulled over the ground, it seemed to pull up more rocks hidden under the surface. Big rocks, little rocks, medium-sized rocks. Rocks are tough on machinery, and too many of them in a given area meant that planting of the seed was hindered. And so they were picked up. Some we picked up by hand, some we picked up by machine (such as with the front end loader of a tractor, or specialized 'rock picking' equipment that 'swept' them up from the soil), some we blew to bits with dynamite... and some were so big they were left alone, and we farmed around them. In remembrance of the hard work of those days, I wanted to create a mod that "digs up" rocks during the plowing/cultivation process.

(1) Rock Spawning -- A global specialization script is added to all plows and cultivators that enables them to "dig up" rocks. The amount of rocks dug up can be changed using an input binding (LEFT-ALT-R). There are six different rock spawning levels (OFF, and 1-5). At the highest level, approximately 23 rocks are dug up per hectare. The mod also attempts to mimic reality -- when rocks are dug up by tillage equipment in real life, one sometimes hears a sound when the rock encounters hard steel.

(2) The Rocks -- Just like bales, the rocks that are dug up in-game represent physics objects. They can be picked up and moved around, and are listed as items in the player's save game. There are 22 rocks included with the mod. Most may be picked up by the player in-game. Three are too heavy to pick up and must be handled by machine. Map hotspots identify the location of each rock. Rocks may be disposed of at bale destroyer triggers (except at feed troughs), or at a special placeable included with the mod (see below). There is one special 'gold' rock that spawns infrequently. It is worth much more than the other rocks when sold.

(3) Rock Disposal Point Placeable -- The mod includes a placeable trigger at which rocks can be disposed. It has its own map hotspot and will appear in the list of sell points in the Escape menu.

(4) Rock Loading -- A global specialization script is added to most fillable trailers that will enable them to both auto-load and auto-unload rocks. Auto-loading (LEFT-CONTROL-R) and auto-unloading (RIGHT-CONTROL-R) are controlled with input bindings. Another input binding shows/hides (LEFT-CONTROL-S) the area in which rocks are picked up or dropped upon unloading. Changing the tip-side of a trailer will change where rocks land during the unloading process. Please note: this script will only load rocks generated by the RockSpawn mod. It won't load rocks that the mapper placed as decorative items.

(5) Multiplayer Compatible

One additional reminder -- any rocks spawned are additional physics objects to the game. As with bales, too many rocks on the map may eventually hinder gaming performance. Work hard to keep your fields clean! :) Additional information about the items above can be found inside the Instructions.xml file included inside the mod.

Well, this is off to a rocky start -- enjoy!

RockSpawn.lua Script: akuenzi (
Rock.lua Script: GIANTS, akuenzi edit of bale.lua into rock.lua
RockDisposalPoint.lua Script: akuenzi
RockLoad.lua Script: akuenzi
addSpecialization.lua Scripts: Xentro (, akuenzi edits
Rock 3d Models: GIANTS (12 rocks, 3 with textures by
TyroSmith (6 rocks) - (
Rock 1-5 Source:
Rock 6 Source:
Benw11 (4 rocks - textures by
Trigger 3d Model: GIANTS
Sound Files: Sound effects obtained from
Gold Rock Cubemap: GIANTS, Brzeziol
Gold/Rock Huds: seriousmods
In-Game: akuenzi
General Testing: akuenzi, Summit Commodities server
Multiplayer Testing: akuenzi, Summit Commodities server
RockSpawn Mod Manual: akuenzi
modDesc Translation: Swedish ~ Xentro
French ~ Marxtai
Polish ~ Dzi4d3k
All Other Languages ~ Google Translate

Dedicated to Xentro. The little I know about lua is the result of his patient mentorship and generous sharing of his time.


Related Topics

  Subject / Started by Replies Last post
0 Replies
Last post April 19, 2014, 02:16:49 PM
by JohnDeere1952
7 Replies
Last post June 13, 2015, 08:43:54 AM
by skoomalegend
6 Replies
Last post July 18, 2016, 05:10:01 PM
by akuenzi
3 Replies
Last post August 21, 2017, 02:44:04 PM
5 Replies
Last post January 08, 2019, 07:55:04 PM
by Zues560

Powered by EzPortal