View unanswered posts | View active topics It is currently Fri Dec 27, 2024 1:29 pm



Reply to topic  [ 17 posts ]  Go to page 1, 2  Next
 SandStorm 9/4 
Author Message
User avatar

Joined: Wed Aug 11, 2010 2:59 pm
Posts: 19
Reply with quote
 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. :cry:

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
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
Profile
User avatar

Joined: Sun Mar 07, 2010 7:19 am
Posts: 1279
Location: Places. And things.
Reply with quote
Post 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
Profile
User avatar

Joined: Wed Aug 11, 2010 2:59 pm
Posts: 19
Reply with quote
Post 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
Profile
User avatar

Joined: Sun Mar 07, 2010 7:19 am
Posts: 1279
Location: Places. And things.
Reply with quote
Post Re: SandStorm 8/23
oh, didn't occur to me to look in the craft section.


Tue Aug 24, 2010 2:24 am
Profile
User avatar

Joined: Wed Aug 11, 2010 2:59 pm
Posts: 19
Reply with quote
Post 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
Profile

Joined: Sun May 11, 2008 2:00 am
Posts: 10
Location: canada bc
Reply with quote
Post 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
Profile
User avatar

Joined: Sun Jul 13, 2008 9:57 am
Posts: 4886
Location: some compy
Reply with quote
Post 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
Profile WWW
User avatar

Joined: Mon Oct 19, 2009 9:04 am
Posts: 302
Location: Under Your Bed
Reply with quote
Post 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
Profile YIM
User avatar

Joined: Sat Mar 20, 2010 10:51 pm
Posts: 9
Reply with quote
Post 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
Profile
User avatar

Joined: Wed Aug 11, 2010 2:59 pm
Posts: 19
Reply with quote
Post 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
Profile
User avatar

Joined: Sun Jul 13, 2008 9:57 am
Posts: 4886
Location: some compy
Reply with quote
Post 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
Profile WWW
User avatar

Joined: Wed Jan 07, 2009 10:26 am
Posts: 4074
Location: That quaint little British colony down south
Reply with quote
Post 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
Profile WWW
User avatar

Joined: Wed Aug 11, 2010 2:59 pm
Posts: 19
Reply with quote
Post Re: SandStorm 8/24
I admit that I suck at lua scripting.


Wed Sep 01, 2010 1:27 am
Profile
User avatar

Joined: Sun Jun 10, 2007 2:05 am
Posts: 426
Reply with quote
Post 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
Profile

Joined: Tue Aug 03, 2010 4:51 pm
Posts: 32
Reply with quote
Post 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
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 17 posts ]  Go to page 1, 2  Next

Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.094s | 15 Queries | GZIP : Off ]