Home   Help Search Login Register  

Author Topic: Randomly spawned ruin village  (Read 485 times)

0 Members and 1 Guest are viewing this topic.

Offline DrStrangelove

  • Members
  • *
  • Mr.Creative
Randomly spawned ruin village
« on: 28 May 2003, 01:07:30 »
Wrote a script that spawns random ruins around object that calls this script

for example, call from init line with:
[60,60,13,this] exec "rand_ruins.sqs";

parameters are: [<Radius in X direction>,<Radius in Y direction>,<script loops>,<this_object>]
With every script loop there are 6 objects (ruins, bushes etc) created. So with the above example you'll get a 60m x 60m village that will consist of about 84 ruins (bushes & craters also). The ruins will maintain the direction of the call object, so that everything is lined up.

It's perfect to get a quick, easy to setup duel map environment. Download the example map with the script & have a look ! (EditorUpgrade 102 required)
« Last Edit: 28 May 2003, 01:10:48 by DrStrangelove »

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Randomly spawned ruin village
« Reply #1 on: 28 May 2003, 10:55:50 »
Sounds great - why don't you submit it to the Editors Depot?   That's the best place for this sort of thing, rather than the forums.
Plenty of reviewed ArmA missions for you to play

Offline DrStrangelove

  • Members
  • *
  • Mr.Creative
Re:Randomly spawned ruin village
« Reply #2 on: 28 May 2003, 17:28:13 »
Good idea. You can find this under 'misc' script now.  :)

Offline Igor Drukov

  • Contributing Member
  • **
  • Conscientious Subjector
Re:Randomly spawned ruin village
« Reply #3 on: 28 May 2003, 18:03:15 »
Can't believe we've had the same idea at the same time  :o !!!
I uploaded a script myself yesterday 27/05 at 2226...

Offline DrStrangelove

  • Members
  • *
  • Mr.Creative
Re:Randomly spawned ruin village
« Reply #4 on: 29 May 2003, 13:10:22 »
Yeah, funny thing. Came upon this when i looked around the PlanetofWar CD. There's an experimental island which is free of objects but when you run around a script spawns grass before you and deletes everything behind you.

I just thought: hey, let's place some cool objects randomly around the object that calls the script. (Spend too much time placing trees / bushes i guess). Then i had the idea of randomly spawned duel villages, like ruins.

Maybe i'll make more environment scripts that will spawn you jungles / forests just by calling the script.  :)

Offline Igor Drukov

  • Contributing Member
  • **
  • Conscientious Subjector
Re:Randomly spawned ruin village
« Reply #5 on: 29 May 2003, 19:30:00 »
Cool. I'm working on a way to spawn real streets w/. blocks and all, just so you can get random "likely" villages. Ain't e-z.