Eufloria > Eufloria Classic Mods

Invisible asteroid

(1/1)

pastuh:
I tried to learn to make maps and analyze scripts.
Tested and saw that the asteroid can be made invisible (hide it behind a "wheel"..). (Its bug?)
Sometimes works and sometimes not. (I think 70% probability)
Here's the (asteroids locations) combination im used. (Tested with 4 asteroids)






--- Code: ---
Globals.Asteroids.MinRadius=50
Globals.Asteroids.MaxRadius=150
Globals.Asteroids.MinSendDistance=100
Globals.Asteroids.MaxSendDistance=200
Globals.G.MinAsteroidSeparation=50
Globals.G.MaxAsteroidNeighbourDist=1000

AddAsteroidRing(2, 0, 0, 100, 0)

-- Human asteroid:
a = AddAsteroidWithAttribs(0,0, 0.5,0.5,0.6)
a:SetRadius(200)
a.SendDistance = 1000

-- Computer asteroid:
a = AddAsteroidWithAttribs(800,100, 1.0,1.0,0.7)
a:SetRadius(300)
a.SendDistance = 1000


--- End code ---

If all works, not only to me .. This I believe will be useful to create a much more interesting maps

P.S. Sorr for english.. Translated own language with google  ;D :-X

Edit: Added +2 asteroids to randomize. (now +4 random asteroids) And 100% invisible computer asteroid!
Edit2: Computer asteroid radius very important. Must be 300 or biger. If u change to 200, asteroid will be visible..
Computer asteroid shows up.. when u conquer asteroid with radius who reaches him... And u click on his (invisible) location/asteroid..
Edit3: Can't send specific number of units in this planet with mouse2, only with mouse1 (all)...

cinemabaroque:
Can you post the entire level file?  I can't find any problems in the script you posted but if you let me look at the entire file maybe I can find what is causing your problem.

Good to see others working on levels.  I like the look of what you have going on.

pastuh:
I will send you a map via email :)

Vanger:
Just attach it to the post.

Jazz Ad:
It's not invisible for me. :(

Navigation

[0] Message Index

Go to full version