Forum

> > Stranded II > Scripts > Scripting Questions
Forums overviewStranded II overview Scripts overviewLog in to reply

English Scripting Questions

2,429 replies
Page
To the start Previous 1 271 72 73121 122 Next To the start

old Re: Scripting Questions

Builder2-0
User Off Offline

Quote
Ominus has written
i'm trying to make a hammer wich, when you attack the build site it takes resources from you and puts them into the buildsite storage (so i can make hammers that can build faster)

Now i'm completly new to stranded 2 moding and scripting but my logic tells me it should go something like this

the script put into building site:

and the part i add to the building hoping it will tell the building site script what item it needs and how many

the scripts are probably totally wrong, if something like this is even possible. Could someone correct it or point me in the right direction?

All and any help greatly apreciated!!

It's not possible, unless you modify the source.

old Re: Scripting Questions

Ominus
User Off Offline

Quote
Yeh, but i was still hoping it would have been possible to put objects in the building site storage through scripts, like the
on:use {
exchange "self";
}

But i've made a compromise now, instead of making a hammer that allwos you to put more objects with one click, i just made it to allow you to click faster
I think its still better than using the exchange method. cookies

old Re: Scripting Questions

DontKnowToScript
User Off Offline

Quote
hey just a stupid question how to put an image on a msgbox? is it like this?
1
2
3
4
5
6
on:use {
add "blablabla";
...
image "gfx/something.bmp"
msgbox "dunno what";
}

old Re: Scripting Questions

dart193
User Off Offline

Quote
Why:
terrain... 2,0.5;
=
terrain... 2,-0.1;
?

You can't use 0,1 when raise, but it works when lowering.

old Re: Scripting Questions

Vibhor
User Off Offline

Quote
ok if its not that then you must be talking about diary entry or description
if its description then forget it
and if its diary entry then you are going good
(offense intended........NOT)

old Re: Scripting Questions

Vibhor
User Off Offline

Quote
Where is the unit items box?
that box which opens up when u use a dead unit

And can anybody teach me how to make movies?
i wanna make a phoenix wright mod
edited 1×, last 05.09.09 09:59:09 am

old Re: Scripting Questions

Avenger1130
User Off Offline

Quote
nevermind my last question. but now how do i make my texture go onto a custom model in stranded 2? I put my frostsword.b3d and my frostsword.bmp (my 40x40 icon) and then also my frostsword.jpg for my texture but the model is just white in the game. can anybody help me?

P.S. I used blender and the gandadlf(i think that is the spelling) .b3d exporter to make my model. I also set the UV texture inside the .blend before I exported it.

old Re: Scripting Questions

Spicy Night Owl
User Off Offline

Quote
Vibhor for the units it's like 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
26
27
28
29
30
31
### Eagle
id=45
fx=16
name=Eagle
group=animal
icon=gfx\eagle.bmp
model=gfx\eagle.b3d
colxr=30
colyr=10
scale=0.2
behaviour=killerbird
health=50
speed=3.4
turnspeed=1.
range=400
damage=15
attackrange=30
sfx=eagle
[b]loot=11,3
loot=57,35
loot=95,2[/b]
ani_move=13,14,0.1
ani_idle1=1,4,0.06
ani_idle2=4,6,0.3
ani_idle3=6,12,0.3
ani_die=15,16,0.2
script=start
	on:kill {
		event "iskill_hunt","global";
	}
script=end

old Re: Scripting Questions

Vibhor
User Off Offline

Quote
And how to make movies and one more
how to make a window that opens up and ask you for an required item
To the start Previous 1 271 72 73121 122 Next To the start
Log in to reply Scripts overviewStranded II overviewForums overview