Author Topic: ideas and questions  (Read 18833 times)

w4tc

  • Achiever
  • Shrub
  • ****
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 170
ideas and questions
« on: July 07, 2010, 09:25:35 AM »
I have ideas and questions

Lets begin at begin

A shield tree or something like that, its blocking for a moment the enemy and it give you +50 CoreHealth till the shield tree is defeated
but i can not give how long it the time is howlong the shield will hold but it will also down and you must be waiting for he is "reload"

So you plant the TreeShield its give you a protoction of # sec? or min. and gives you +50 CoreHealth ( but it adjustable )
So than the code is -+ : AddTreeShield( OnlineTime, ReloadTime, CoreHealth)
also you have there is levelup and it


next idea hmmm

oyes i remember again xD
we have one root of the tree why not 2?
the effects on the tree like Enhanced but there flashing

now the questions
-Comming also hmmm inside color asteriod? SetInsideAsteriodColor
-and hmmm SetVignetteAlpha is for all asteriod Set the darkness, but can it each separate?
-change of color of the Empires/players? i read something about that....?

and is there a possibility that exists that I get a spinning asteriod? or its a code....

Greetings,
w4tc :D

Alex

  • Administrator
  • Ent
  • *****
  • Thank You
  • -Given: 3
  • -Receive: 15
  • Posts: 1,035
Re: ideas and questions
« Reply #1 on: July 07, 2010, 11:06:15 PM »
There's code for spinning asteroids but subsequent elements like the tree roots rely on them being statically oriented so that's not goin gto happen I'm afraid.

Also I doubt there'll be any further unit or structure types now. I've looked into the atmosphere size and that's goin gto be a pain to fix. Multiple tree roots could be done but it'll be a low priority.

Sorry I can't give better news :(

I suppose with the new drawing stuff you could potentially draw your own tree roots...

annikk.exe

  • Achiever
  • Ent
  • ****
  • Thank You
  • -Given: 0
  • -Receive: 5
  • Posts: 1,809
Re: ideas and questions
« Reply #2 on: July 07, 2010, 11:14:14 PM »
Oooh

How do you make spinning asteroids? :>

w4tc

  • Achiever
  • Shrub
  • ****
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 170
Re: ideas and questions
« Reply #3 on: July 08, 2010, 05:50:07 AM »
Oooh

How do you make spinning asteroids? :>

the same questions
so it now 2VS1  ::) 8)

Edit : what is gto?

Pilchard123

  • Tester
  • Old Oak
  • ****
  • Thank You
  • -Given: 4
  • -Receive: 24
  • Posts: 932
  • Eufloria: Yes
Re: ideas and questions
« Reply #4 on: July 08, 2010, 05:33:33 PM »
what is gto?

A spelling error. Alex meant to type going to, but put the space in the wrong place, making it goin gto.

As for spinning roids, these attachments may be of interest. One userdata structure is called get_Rotation, and some is called Rotate180, mRotation, and Rotation...Interesting.
« Last Edit: July 08, 2010, 05:42:50 PM by Pilchard123 »

annikk.exe

  • Achiever
  • Ent
  • ****
  • Thank You
  • -Given: 0
  • -Receive: 5
  • Posts: 1,809
Re: ideas and questions
« Reply #5 on: July 08, 2010, 06:17:02 PM »
I think the only things we can actually manipulate in our scripts are the user data structures.  However I am almost certain that list is incomplete..  there is only a short list of global functions and a clearly incomplete list of functions one can run on asteroids.

Alex

  • Administrator
  • Ent
  • *****
  • Thank You
  • -Given: 3
  • -Receive: 15
  • Posts: 1,035
Re: ideas and questions
« Reply #6 on: July 08, 2010, 06:57:39 PM »
You can actually set an asteroid's rotation by going Asteroid.Rotation = value where value is a floating point number in radians. But it won't affect the trees or roots on the asteroid I think.

Pilchard123

  • Tester
  • Old Oak
  • ****
  • Thank You
  • -Given: 4
  • -Receive: 24
  • Posts: 932
  • Eufloria: Yes
Re: ideas and questions
« Reply #7 on: July 08, 2010, 06:59:24 PM »
Ooooooooh! [/littlegreenmen]

Edit: It doesn't work...

Doing it in LevelSetup() stops the level loading, doing it elsewhere either just does nothing, or crashes the game.
« Last Edit: July 08, 2010, 07:03:06 PM by Pilchard123 »

annikk.exe

  • Achiever
  • Ent
  • ****
  • Thank You
  • -Given: 0
  • -Receive: 5
  • Posts: 1,809
Re: ideas and questions
« Reply #8 on: July 08, 2010, 07:18:37 PM »
Ok... so... what can be achieved by rotating an asteroid?  I mean, a circular asteroid surely will look the same regardless of its orientation..?

Pilchard, can you share the exact code you tried?

Bonobo

  • Achiever
  • Old Oak
  • ****
  • Thank You
  • -Given: 142
  • -Receive: 14
  • Posts: 675
  • Eufloria: Yes
Re: ideas and questions
« Reply #9 on: July 08, 2010, 07:24:30 PM »
[..] a circular asteroid surely will look the same regardless of its orientation..?

[..]
but not with trees on it (if they at all can root on a rotating asteroid).

annikk.exe

  • Achiever
  • Ent
  • ****
  • Thank You
  • -Given: 0
  • -Receive: 5
  • Posts: 1,809
Re: ideas and questions
« Reply #10 on: July 08, 2010, 07:27:22 PM »
Yes, but as Alex just mentioned, the trees won't rotate, only the asteroid will..

Pilchard123

  • Tester
  • Old Oak
  • ****
  • Thank You
  • -Given: 4
  • -Receive: 24
  • Posts: 932
  • Eufloria: Yes
Re: ideas and questions
« Reply #11 on: July 08, 2010, 07:32:33 PM »
This isn't exact, because I only used one file, and changed it, but here's what I can remember:
(click to show/hide)

and

(click to show/hide)

and

(click to show/hide)

and

(click to show/hide)

and

(click to show/hide)

and a bunch more, but that's all I can remember.

EDIT: I thought that it could make a good defense thing - if a planet is attacked,spin the trees away, but of course, it won't work. The new patch might allow this, and trees on growing/shrinking roids.
« Last Edit: July 08, 2010, 07:35:55 PM by Pilchard123 »

Alex

  • Administrator
  • Ent
  • *****
  • Thank You
  • -Given: 3
  • -Receive: 15
  • Posts: 1,035
Re: ideas and questions
« Reply #12 on: July 08, 2010, 10:20:34 PM »
Ok... so... what can be achieved by rotating an asteroid?  I mean, a circular asteroid surely will look the same regardless of its orientation..?

Yes - this was for when the asteroids were non-circular (right at the start of the development process) :) There's like a function to get the ground height at a given radius too - at the moment it just returns the radius of the asteroid ;)

Here's a pic of the original asteroids:



more here: http://www.deadrock-game.com/img/shots/procgen/

Alex

  • Administrator
  • Ent
  • *****
  • Thank You
  • -Given: 3
  • -Receive: 15
  • Posts: 1,035
Re: ideas and questions
« Reply #13 on: July 08, 2010, 10:22:34 PM »
ahhh... memories...

w4tc

  • Achiever
  • Shrub
  • ****
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 170
Re: ideas and questions
« Reply #14 on: July 09, 2010, 09:02:36 AM »
I've tried this and no error message or no crashes but no result ???

(click to show/hide)

annikk.exe

  • Achiever
  • Ent
  • ****
  • Thank You
  • -Given: 0
  • -Receive: 5
  • Posts: 1,809
Re: ideas and questions
« Reply #15 on: July 09, 2010, 09:31:41 AM »
Those screenshots are awesome!
thanks for sharing.. :>

Also, I like that you write your dates the proper way... ;)

w4tc

  • Achiever
  • Shrub
  • ****
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 170
Re: ideas and questions
« Reply #16 on: July 09, 2010, 09:47:12 AM »
Sorry i was forgotten to say look cool :o
At Annikk do you may have found a way? of that code? xd?
hmmm : http://www.dyson-game.com/smf/index.php?topic=853.msg5332#msg5332

lol xD i have no  error message or no crashes but i dont have no results......
Is this a good sign? xD

Alex

  • Administrator
  • Ent
  • *****
  • Thank You
  • -Given: 3
  • -Receive: 15
  • Posts: 1,035
Re: ideas and questions
« Reply #17 on: July 12, 2010, 08:56:24 PM »
do this

Code: [Select]
rotation = 0

function LevelLogic()
  rotation += 0.01
  GetAsteroid(0).Rotation = rotation
end

Alex

  • Administrator
  • Ent
  • *****
  • Thank You
  • -Given: 3
  • -Receive: 15
  • Posts: 1,035
Re: ideas and questions
« Reply #18 on: July 12, 2010, 09:01:32 PM »
Also, I like that you write your dates the proper way... ;)
I'm a trained scientist! :>

w4tc

  • Achiever
  • Shrub
  • ****
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 170
Re: ideas and questions
« Reply #19 on: July 12, 2010, 10:53:07 PM »
but where must i put this :
Code: [Select]
rotation = 0
just in your Asteroid settings?

I go a error :
(click to show/hide)


If i load a othere level, I get this to appear :
« Last Edit: July 12, 2010, 11:10:01 PM by w4tc »

Alex

  • Administrator
  • Ent
  • *****
  • Thank You
  • -Given: 3
  • -Receive: 15
  • Posts: 1,035
Re: ideas and questions
« Reply #20 on: July 12, 2010, 11:49:52 PM »
put it just above this line:


function LevelLogic()

w4tc

  • Achiever
  • Shrub
  • ****
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 170
Re: ideas and questions
« Reply #21 on: July 12, 2010, 11:55:11 PM »
Nopes sorry Alex
it dont work that why :$ i tried something else :$
The level will not load it comes back on the custom levels

w4tc

  • Achiever
  • Shrub
  • ****
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 170
Re: ideas and questions
« Reply #22 on: July 13, 2010, 12:04:42 AM »
I hope it does not hurt that the game in Another directory folder is like : C:\games\Eufloria.4

Pilchard123

  • Tester
  • Old Oak
  • ****
  • Thank You
  • -Given: 4
  • -Receive: 24
  • Posts: 932
  • Eufloria: Yes
Re: ideas and questions
« Reply #23 on: July 13, 2010, 12:09:21 AM »
Yeah, it does. It won't work at all, not even being in the list of levels.

w4tc

  • Achiever
  • Shrub
  • ****
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 170
Re: ideas and questions
« Reply #24 on: July 13, 2010, 12:24:47 AM »
Yeah, it does.

Do you mean about that my directory folder  :o ?

Pilchard123

  • Tester
  • Old Oak
  • ****
  • Thank You
  • -Given: 4
  • -Receive: 24
  • Posts: 932
  • Eufloria: Yes
Re: ideas and questions
« Reply #25 on: July 13, 2010, 12:26:48 AM »
Hang on, do you mean the GAME is in another directory, or the MAP is in another directory?

Alex

  • Administrator
  • Ent
  • *****
  • Thank You
  • -Given: 3
  • -Receive: 15
  • Posts: 1,035
Re: ideas and questions
« Reply #26 on: July 13, 2010, 01:13:27 AM »
Oh right, I just tried it and there is not set method at the mo.

Anyway, there's no point as it won't do anything visible :)

w4tc

  • Achiever
  • Shrub
  • ****
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 170
Re: ideas and questions
« Reply #27 on: July 13, 2010, 01:24:04 AM »
Hang on, do you mean the GAME is in another directory, or the MAP is in another directory?

I mean the dir of the game
Code: [Select]
C:\games\Eufloria.4\...

Alex

  • Administrator
  • Ent
  • *****
  • Thank You
  • -Given: 3
  • -Receive: 15
  • Posts: 1,035
Re: ideas and questions
« Reply #28 on: July 13, 2010, 01:40:45 AM »
The location of the game won't make any difference.

So for now, no rotating asteroids or even experiments with rotating asteroids - sorry!