Author |
Message |
Destroyer19
Joined: Wed Aug 11, 2010 2:59 pm Posts: 19
|
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!Now has 3 particles per frame. 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.
Attachments:
Sandstorm.jpg [ 39.84 KiB | Viewed 15465 times ]
File comment: New: less lag, more hazzard
sand.rte.zip [5.03 KiB]
Downloaded 653 times
Last edited by Destroyer19 on Sat Sep 11, 2010 1:14 am, edited 7 times in total.
|
Tue Aug 24, 2010 2:12 am |
|
|
unwoundpath
Joined: Sun Mar 07, 2010 7:19 am Posts: 1279 Location: Places. And things.
|
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.
|
Tue Aug 24, 2010 2:16 am |
|
|
Destroyer19
Joined: Wed Aug 11, 2010 2:59 pm Posts: 19
|
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
Last edited by Destroyer19 on Tue Aug 24, 2010 2:43 am, edited 1 time in total.
|
Tue Aug 24, 2010 2:18 am |
|
|
unwoundpath
Joined: Sun Mar 07, 2010 7:19 am Posts: 1279 Location: Places. And things.
|
Re: SandStorm 8/23
oh, didn't occur to me to look in the craft section.
|
Tue Aug 24, 2010 2:24 am |
|
|
Destroyer19
Joined: Wed Aug 11, 2010 2:59 pm Posts: 19
|
Re: SandStorm 8/23
I should also make an explosive that makes it also. I put up a screenshot.
|
Tue Aug 24, 2010 2:30 am |
|
|
theevilovenmit
Joined: Sun May 11, 2008 2:00 am Posts: 10 Location: canada bc
|
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.
|
Tue Aug 24, 2010 6:57 am |
|
|
Geti
Joined: Sun Jul 13, 2008 9:57 am Posts: 4886 Location: some compy
|
Re: SandStorm 8/23
theevilovenmit wrote: The game also begins to slow down by about 1 third, I am using an i7 920 processor. sign of un-optimisation more than anything.
|
Tue Aug 24, 2010 7:14 am |
|
|
Joesycop
Joined: Mon Oct 19, 2009 9:04 am Posts: 302 Location: Under Your Bed
|
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. sign of un-optimisation more than anything. Um what? I dont understand the un-optimisation thing.
|
Tue Aug 24, 2010 9:46 pm |
|
|
purple100
Joined: Sat Mar 20, 2010 10:51 pm Posts: 9
|
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.
|
Tue Aug 24, 2010 11:04 pm |
|
|
Destroyer19
Joined: Wed Aug 11, 2010 2:59 pm Posts: 19
|
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.
|
Fri Aug 27, 2010 10:44 pm |
|
|
Geti
Joined: Sun Jul 13, 2008 9:57 am Posts: 4886 Location: some compy
|
Re: SandStorm 8/24
Sheer number of particles being massive -> not optimised. You should attempt to use the lowest number of particles possible.
|
Sat Aug 28, 2010 1:23 am |
|
|
411570N3
Joined: Wed Jan 07, 2009 10:26 am Posts: 4074 Location: That quaint little British colony down south
|
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.
|
Sat Aug 28, 2010 7:22 am |
|
|
Destroyer19
Joined: Wed Aug 11, 2010 2:59 pm Posts: 19
|
Re: SandStorm 8/24
I admit that I suck at lua scripting.
|
Wed Sep 01, 2010 1:27 am |
|
|
Solace
Joined: Sun Jun 10, 2007 2:05 am Posts: 426
|
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.
|
Wed Sep 01, 2010 2:03 am |
|
|
goduranus
Joined: Tue Aug 03, 2010 4:51 pm Posts: 32
|
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.
|
Wed Sep 01, 2010 5:22 am |
|
|
|