Forum

> > Stranded II > General > Rain
ForenübersichtStranded II-ÜbersichtGeneral-ÜbersichtEinloggen, um zu antworten

Englisch Rain

6 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt Rain

HudaJan
Super User Off Offline

Zitieren
I have something for you.. paste this
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
###Rain
##chose what ID you need
id=999
name=Rain
model=gfx\bag.b3d
health=50
mat=leaf
fx=16
col=0
var=item,ID of falling item,52
var=timer,How often(less=more often),1
var=speed,speed,10
script=start
on:start {
timer "self",$timer,0;
}
on:timer {
$x1=(getx("unit",1)+300);
$x2=(getx("unit",1)-300);
$z1=(getz("unit",1)+300);
$z2=(getz("unit",1)-300);
projectile $item,random($x1,$x2),random(400,500),random($z1,$z2),3,random(80,90),60,0,0,$speed;
}
alpha 0;
script=end
into any objects_***.inf. I have it in objects_stuff.inf
and now try to put the object into game and "test" it

EDIT: I forgot:If you didn't notice: You can change falling item in editor like variable. You can change speed of falling item and amount too.
It looks simply, but I can't watch enough on falling spears
Enjoy it
1× editiert, zuletzt 23.06.08 19:57:04

alt Re: Rain

garfield751
User Off Offline

Zitieren
so if i read this correctly this "rain" makes any item you choose to fall on you

alt Re: Rain

MrCowThing
User Off Offline

Zitieren
It will fall anywhere within 600 units of the object(I think that's right)

Some things that might make it better.
Make it into an info so its easier to find.
Add a var to turn it on and off.
Add a var for radius.
1× editiert, zuletzt 24.06.08 16:11:46

alt Re: Rain

HudaJan
Super User Off Offline

Zitieren
1. I don't know the way how to add new infos... But the object has no collision and it is invisible in game....
2. add lines
1
var=use,1=on 2=off,1
3.add lines
1
var=radius,Radius,300

And the final script

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
script=start
on:start {
timer "self",$timer,0;
}
on:timer {
if($use==1){
$x1=(getx("unit",1)+$radius);
$x2=(getx("unit",1)-$radius;
$z1=(getz("unit",1)+$radius);
$z2=(getz("unit",1)-$radius);
projectile $item,random($x1,$x2),random(400,500),random($z1,$z2),3,random(80,90),60,0,0,$speed;
}
}
alpha 0;
script=end

@garfield
You can just try it, you don't need ANY mod or model.. just put this into objects_stuff.inf
I can't help myself, but I think it's amazing

alt Re: Rain

GreyMario
User Off Offline

Zitieren
What if it could rain rain raining rain raining rain?

Would the game just start lagging to hell and gone?

alt Re: Rain

HudaJan
Super User Off Offline

Zitieren
Hey it's VERY intreresting idea
You could try it
EDIT:I couldn't help myself so I tried it, and than I realized a thing: rain is object and raining are items
2× editiert, zuletzt 20.07.08 00:22:34

alt Re: Rain

Gast

Zitieren
This is really fun! Thanks!
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antwortenGeneral-ÜbersichtStranded II-ÜbersichtForenübersicht