Author Topic: The "I want to but I can't" modding requests thread  (Read 217237 times)

0 Members and 1 Guest are viewing this topic.

Major Cooke

  • Achiever
  • Sapling
  • ****
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 57
Re: The "I want to but I can't" modding requests thread
« Reply #15 on: June 16, 2010, 05:54:45 PM »
A gentle soft-as-a-kitten-nudge to implement LUA custom sound range boundaries. I don't see it on the patch to-do list.

Alex

  • Administrator
  • Ent
  • *****
  • Thank You
  • -Given: 3
  • -Receive: 14
  • Posts: 1,035
Re: The "I want to but I can't" modding requests thread
« Reply #16 on: June 17, 2010, 12:14:02 AM »
Currently picking the low-hanging fruit (easy to fix stuff), custom sounds may have to wait a bit :)

Major Cooke

  • Achiever
  • Sapling
  • ****
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 57
Re: The "I want to but I can't" modding requests thread
« Reply #17 on: June 18, 2010, 11:13:22 PM »
Alright, so long as it's on the priority list somewhere. :P

AWS

  • Achiever
  • Arboreal Being
  • ****
  • Thank You
  • -Given: 0
  • -Receive: 2
  • Posts: 275
Re: The "I want to but I can't" modding requests thread
« Reply #18 on: June 22, 2010, 05:26:37 AM »
i read on a thread somewhere a while ago, i dont think on this forum though, that it was possible to draw custom shapes as the centre design for asteroids. is this true? if so, how does one do that?


Alex

  • Administrator
  • Ent
  • *****
  • Thank You
  • -Given: 3
  • -Receive: 14
  • Posts: 1,035
Re: The "I want to but I can't" modding requests thread
« Reply #19 on: June 22, 2010, 07:33:46 PM »

Sniped50

  • Sapling
  • **
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 97
  • Don't ask. About anything.
Re: The "I want to but I can't" modding requests thread
« Reply #20 on: July 17, 2010, 11:26:08 PM »
If I had to pick one thing I want implemented into LUA, I'd say that the code for telling what an empire's colour scheme is would suffice. All you would need is the line

GetEmpire(ID).GetEmpireColour(red,green,blue)

and you could do quite a few things with that. For instance, you could colour the background to match whoever's winning at that point in the game. Plus it's seems as though it should be fairly easy to implement, so I thought I'd just mention that first. More coming soon...

...hopefully.  :P
"Sometimes, the simplest solutions work the best."
- Mythbusters

"But the complex solutions look prettier."
- Me

Pilchard123

  • Tester
  • Old Oak
  • ****
  • Thank You
  • -Given: 4
  • -Receive: 21
  • Posts: 929
  • Eufloria: Yes
Re: The "I want to but I can't" modding requests thread
« Reply #21 on: July 17, 2010, 11:29:39 PM »
And, of course:
GetEmpire(ID).SetEmpireColour(red,green,blue)

Sniped50

  • Sapling
  • **
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 97
  • Don't ask. About anything.
Re: The "I want to but I can't" modding requests thread
« Reply #22 on: July 18, 2010, 08:25:25 PM »
Ha! Didn't think of that Pilchard. :)

Oh, and I've thought up another thing you could add into the code; a line stating whether an asteroid is traversable by the AI, aka, allowed to send seedlings there or not.

GetAsteroid(ID).TraversableBy(Empire ID) = true/false

Doesn't have to be worded like that, but if it is, I can take credit for it. 8)
"Sometimes, the simplest solutions work the best."
- Mythbusters

"But the complex solutions look prettier."
- Me

w4tc

  • Achiever
  • Shrub
  • ****
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 170
Re: The "I want to but I can't" modding requests thread
« Reply #23 on: July 19, 2010, 03:18:02 AM »
GetAsteroid(ID).TraversableBy(Empire ID) = true/false

would it easily to the place where he can not come to coordination
like this? :

Code: [Select]
GetAsteroid(ID).Traverblock( Empire ID, x, y)
or better said :

Code: [Select]
GetEmpire(ID).Traverblock( x, y)
or just :

Code: [Select]
GetEmpire(ID).Traverblock(GetAsteroid(ID))

Sniped50

  • Sapling
  • **
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 97
  • Don't ask. About anything.
Re: The "I want to but I can't" modding requests thread
« Reply #24 on: July 19, 2010, 08:23:58 PM »
Quote
would it easily to the place where he can not come to coordination like this?
Code: [Select]
GetAsteroid(ID).Traverblock( Empire ID, x, y)or better said :
Code: [Select]
GetEmpire(ID).Traverblock( x, y)

Maybe. But if it is put in there, I doubt people with gravity maps will use it becuase static x and y coordinates become moot when the asteroid in question keeps moving. Plus, it's difficult to line up your x,y coords with the asteroid you'd like to influence anyway, even when they're not moving. Like in your third suggestion, using GetAsteroid(ID) would be the simplest, easiest and quickest method of doing it.

Besides, I like my suggestion better. I can take credit for it, you see.  8)
"Sometimes, the simplest solutions work the best."
- Mythbusters

"But the complex solutions look prettier."
- Me

Alex

  • Administrator
  • Ent
  • *****
  • Thank You
  • -Given: 3
  • -Receive: 14
  • Posts: 1,035
Re: The "I want to but I can't" modding requests thread
« Reply #25 on: July 19, 2010, 08:47:40 PM »
Yeah doing it by ID would be best, this sounds similar to making asteroids off-limits for certain teams too.

Accessing the team colours should be easy.

annikk.exe

  • Achiever
  • Ent
  • ****
  • Thank You
  • -Given: 0
  • -Receive: 4
  • Posts: 1,809
Re: The "I want to but I can't" modding requests thread
« Reply #26 on: July 19, 2010, 09:32:33 PM »

w4tc

  • Achiever
  • Shrub
  • ****
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 170
Re: The "I want to but I can't" modding requests thread
« Reply #27 on: July 21, 2010, 08:11:15 PM »
then i prefer
Code: [Select]
GetAsteroid(ID).Traverblock( Empire ID, x, y)
Hmmm idd thats something....., if your use it in a gravity level
there would be some way to add on this code ect

there would be some way to add on this code :
Code: [Select]
AccelerationX[roid] = 0
AccelerationY[roid] = 0
MomentumX[roid] = 0
MomentumY[roid] = 0
density[roid] = 0
CoordX[roid] = 0
CoordY[roid] = 0
roidradius[roid] = 0

w4tc

  • Achiever
  • Shrub
  • ****
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 170
Re: The "I want to but I can't" modding requests thread
« Reply #28 on: July 21, 2010, 10:13:02 PM »
Hmm we have the code
Code: [Select]
GetRandomRangeAsteroid(start, end)
but i like also to have this

Code: [Select]
GetRangeAsteroid(start, end)
because I need it so in a level :$
but is that possible?

Alex

  • Administrator
  • Ent
  • *****
  • Thank You
  • -Given: 3
  • -Receive: 14
  • Posts: 1,035
Re: The "I want to but I can't" modding requests thread
« Reply #29 on: July 21, 2010, 11:40:44 PM »
What do you want this function to do?