Data Realms Fan Forums http://45.55.195.193/ |
|
SandStorm 9/4 http://45.55.195.193/viewtopic.php?f=61&t=19599 |
Page 1 of 2 |
Author: | Destroyer19 [ Tue Aug 24, 2010 2:12 am ] | |||
Post subject: | SandStorm 9/4 | |||
The wind slowly picks up. The horizon grows dark. You sense that a dark time is coming. Or just a sandstorm. A Deadly sandstorm. This mod makes you able to create occasional sandstorms in any map. Credits MaximDude I based the scripts off of his rain mod He gives credit to TLB Dauss I copied small parts of code from his C-storm. His C-storm also gave me the idea of this. Update! The particles go at different velocities. Edit Reduced particles per frame to one. That should help with lag. They also go faster to make up for the destruction. Edit PPF back to 2. There is now less lag.
|
Author: | unwoundpath [ Tue Aug 24, 2010 2:16 am ] |
Post subject: | Re: SandStorm 8/23 |
can you make a scene to go with it so we can see what it does, also for us non-modders to play with it. |
Author: | Destroyer19 [ Tue Aug 24, 2010 2:18 am ] |
Post subject: | Re: SandStorm 8/23 |
Just put the craft "sandstorm" in your scene and wait 10 seconds. I will upload an image. Edit Forgot a quote |
Author: | unwoundpath [ Tue Aug 24, 2010 2:24 am ] |
Post subject: | Re: SandStorm 8/23 |
oh, didn't occur to me to look in the craft section. |
Author: | Destroyer19 [ Tue Aug 24, 2010 2:30 am ] |
Post subject: | Re: SandStorm 8/23 |
I should also make an explosive that makes it also. I put up a screenshot. |
Author: | theevilovenmit [ Tue Aug 24, 2010 6:57 am ] |
Post subject: | Re: SandStorm 8/23 |
I tried it using brutality mod, it effectively shreds the coalition. It doesn't seem to do damage to the dummies though. The game also begins to slow down by about 1 third, I am using an i7 920 processor. It is quite enjoyable. |
Author: | Geti [ Tue Aug 24, 2010 7:14 am ] |
Post subject: | Re: SandStorm 8/23 |
theevilovenmit wrote: The game also begins to slow down by about 1 third, I am using an i7 920 processor. |
Author: | Joesycop [ Tue Aug 24, 2010 9:46 pm ] |
Post subject: | Re: SandStorm 8/23 |
Geti wrote: theevilovenmit wrote: The game also begins to slow down by about 1 third, I am using an i7 920 processor. Um what? I dont understand the un-optimisation thing. |
Author: | purple100 [ Tue Aug 24, 2010 11:04 pm ] |
Post subject: | Re: SandStorm 8/24 |
Joesycop wrote: Um what? I dont understand the un-optimisation thing. What it means is the code that controls the sandstorm is possibly not as efficient as it could be, thus causing the slowdown. |
Author: | Destroyer19 [ Fri Aug 27, 2010 10:44 pm ] |
Post subject: | Re: SandStorm 8/24 |
I think it's more the sheer number of particles that it creates than the code using excess cpu power. I will see if I can make it run any faster. |
Author: | Geti [ Sat Aug 28, 2010 1:23 am ] |
Post subject: | Re: SandStorm 8/24 |
Sheer number of particles being massive -> not optimised. You should attempt to use the lowest number of particles possible. |
Author: | 411570N3 [ Sat Aug 28, 2010 7:22 am ] |
Post subject: | Re: SandStorm 8/24 |
You might be able to use an animation instead and use Lua to simulate the particles' effects to optimise it a bit. For a map-wide thing of this scale, there isn't much you can do, really. |
Author: | Destroyer19 [ Wed Sep 01, 2010 1:27 am ] |
Post subject: | Re: SandStorm 8/24 |
I admit that I suck at lua scripting. |
Author: | Solace [ Wed Sep 01, 2010 2:03 am ] |
Post subject: | Re: SandStorm 8/31 |
Make a /really big/ sprite with a few sparely placed sand bits in it, which breaks into individual sand when it gets near/hits the ground? Lot of work but no LUA. |
Author: | goduranus [ Wed Sep 01, 2010 5:22 am ] |
Post subject: | Re: SandStorm 8/31 |
I remember the mission "Nest" (viewtopic.php?f=24&t=16201&hilit=metal) had a lot of wind particles and it wasn't lagging very much, I think it was because his map wasn't wrapped and so particles are deleted when they move out of the map, where as here particles will keep on going around wrapped map and building up unless they eventually strike the terrain. |
Page 1 of 2 | All times are UTC [ DST ] |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |