Create mass trees?

nabbig2

New Member
I have a crapload of trees on the sides of my map, and they increase the loading time to be increased significantly. How can I make masses of trees through triggers? I know you can make them, but is there any technique to fill in a region with trees or something? Going 1 by 1 seems impossible.
 

jig7c

Stop reading me...-statement
elasped game time is 15 seconds
create 500 loradareon trees in region x

something like that?
 

the_ideal

user title
If destructible creation works like unit creation, (and I expect it does) just make a trigger like this: (freehanded)
Code:
Event - Map Initialization
Condition - number of destructibles of type (tree) in (region you want filled with trees) less than 500
Action - Create 1 (tree) at (random point in (region)) 
Run (this trigger) (checking conditions)
This should fill up the region and a little around the edges. Then just repeat this trigger for each region that you want filled.

Good luck.
 

nabbig2

New Member
If destructible creation works like unit creation, (and I expect it does) just make a trigger like this: (freehanded)
Code:
Event - Map Initialization
Condition - number of destructibles of type (tree) in (region you want filled with trees) less than 500
Action - Create 1 (tree) at (random point in (region)) 
Run (this trigger) (checking conditions)
This should fill up the region and a little around the edges. Then just repeat this trigger for each region that you want filled.

Good luck.
Sounds like it would work, but I can't find Count Destructibles in Region, like there is Count Units in region. Any idea how to go at counting the trees?
 
Trigger:
  • Untitled Trigger 002
    • Events
      • Time - Elapsed game time is 0.00 seconds
    • Conditions
    • Actions
      • For each (Integer A) from 1 to 100, do (Actions)
        • Loop - Actions
          • Destructible - Create a Summer Tree Wall at (Random point in (Playable map area)) facing (Random angle) with scale 1.00 and variation 0


Leaks.
 

Komaqtion

You can change this now in User CP.
Just so you know, the event "Map Initialization" increases the loading time, since Map Init is the loading time :D
 

nabbig2

New Member
Trigger:
  • Untitled Trigger 002
    • Events
      • Time - Elapsed game time is 0.00 seconds
    • Conditions
    • Actions
      • For each (Integer A) from 1 to 100, do (Actions)
        • Loop - Actions
          • Destructible - Create a Summer Tree Wall at (Random point in (Playable map area)) facing (Random angle) with scale 1.00 and variation 0


Leaks.

For some reason it's only making one tree.
 

cowmenace

New Member
You know that it takes the same amount of time to load in the map initialization as it does if you trigger it? The only difference is that you're not making people wait on the loading screen longer, you're just giving them hope that the game has started but really it just lags it up. Seems like a downer to me
 

cowmenace

New Member
naw. If you really want, you can take a screenshot of trees, photoshop it to real size, then import the picture XD idk, you can get creative like making the trees slightly bigger not noticeable but a little but so there's less of them... there's some other options
 

PrisonLove

Hard Realist
For some reason it's only making one tree.
That's because it's trying to make a bunch of tree at a single point, which it can't do. You'll need to create a separate point for every single tree, then create it. I encountered this problem myself.
 

Genkora

Frog blast the vent core!
you could put in a bunch of units with no models at every point you want a tree, then make a pick every unit loop and pick all those modeless units, remove picked unit, add tree at point of unit. I am pretty sure a unit with no model would take less time to load in the WE, but it would probably increase loading time in actual game play significantly.
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • C Cherry.Grove:
    My boyfriend is super into Bethesda modding so I'm probably going to join him in that for a bit, then move on to making mobile/browser games.
  • C Cherry.Grove:
    I mostly just want to look at my old projects because I know I posted uploads on here somewhere.
  • C Cherry.Grove:
    My one game was basically Among Us but you sabotaged an entire medieval city simulated drastically inefficiently with dynamic NPCs :S
  • C Cherry.Grove:
    of course I never finished it x D
  • jonas jonas:
    xD
  • jonas jonas:
    I think you can still run the original game, just there's a chance your map won't work with the newer patches
  • jonas jonas:
    what development framework have you been looking at for mobile development?
  • jonas jonas:
    I'm currently creating (as a hobby) a space invaders like game for mobile using Xamarin, after starting a few larger projects that I also may not have finished :rolleyes::p
  • The Helper The Helper:
    Awesome! you should look at the Atari VCS platform it does not have a huge user base but the one it has is super active at around 11k and they have no games in there store
  • The Helper The Helper:
    basically it is linux
  • The Helper The Helper:
    OMG it is BanLord as Blackveiled on the forum
  • The Helper The Helper:
    what is up buddy
  • jonas jonas:
    thanks for the tip, that sounds cool. Never heard about the VCS before but seems like it should be a good match
  • tom_mai78101 tom_mai78101:
    The winter vacation left a toll on me. I missed staying up late and sleeping in late.
  • C Cherry.Grove:
    i haven't looked into it yet
  • C Cherry.Grove:
    If I could use something Python compatible it would save me some learning
  • C Cherry.Grove:
    But Unity might be easiest
  • C Cherry.Grove:
    looking at old posts here makes me happy. Makes me be all like "wow I was pretty smart in 2009"
  • C Cherry.Grove:
    mostly failing at life through adulthood really demotivated me for a while
  • C Cherry.Grove:
    ....what I don't get is why the fuck they would force us to permanently convert to a version of the game everyone fucking hated : \
  • C Cherry.Grove:
    Raid Shadow Legends texture pack smh
  • jonas jonas:
    Most people fail at life throughout their adulthood. Sometimes we get to learn from it. Usually it just feels like crap.
  • The Helper The Helper:
    What does not kill you makes you stronger is what they say
  • C Cherry.Grove:
    for real! :cool:

    Members online

    No members online now.

    Affiliates

    Hive Workshop NUON Dome
    Top