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 238 39 40121 122 Next To the start

old Re: Scripting Questions

Raven Shadow
User Off Offline

Quote
HudaJan has written
I'm not sure if I understan you right, but if yes, you could use s2 cmd image
Make the image (pink color r 255, g 0, b 255) is showed as transparent...


can buttons or hotspots be used with it?

old Re: Scripting Questions

Builder2-0
User Off Offline

Quote
He wants an interactive menu without pausing the game. I'd have to double check, but I do not think that is possible. BTW: Raven, be on Gtalk more often.

-Builder

old Re: Scripting Questions

DontKnowToScript
User Off Offline

Quote
Bloodshot has written
Did it show up on editor items menu or cheat give item menu?

no
really weird...
i also tried to raise the item limit in game.inf. is that matters?

old Re: Scripting Questions

DontKnowToScript
User Off Offline

Quote
HudaJan has written
But dodn't work that I was saying? Just put script=end to the salt (previous item)??

i PUTTED the script=end to previous item... the orange herb is ok but what is wrong with the white one?

old Re: Scripting Questions

DontKnowToScript
User Off Offline

Quote
HudaJan has written
You have to fence every script with script=start script=end

i did it but still not working
EDIT:i think something with my computer is going wrong
but i say maybe

old Re: Scripting Questions

Guest

Quote
sorry if i missed this else where but im trying to make an exploding arrow but the best i can do is me exploding after impact of arrow. interesting but not helpful. any ideas?

old Re: Scripting Questions

Guest

Quote
Guest has written
sorry if i missed this else where but im trying to make an exploding arrow but the best i can do is me exploding after impact of arrow. interesting but not helpful. any ideas?


got it. just had to add rocket before ammo #id. now to make it bigger and more flamier

old Re: Scripting Questions

HudaJan
Super User Off Offline

Quote
To the script of arrow
on:impact {
$x=imapctx();
$y=imapcty();
$z=imapctz();
explosion $x,$y,$z,radius,damage;
}

old Re: Scripting Questions

Guest

Quote
Can I edit the items a player can find at the different experience levels of digging? If so, where can I find this?

old Re: Scripting Questions

Guest

Quote
Nevermind. Found it. But now I'm looking for a way to add some small things to the net's catchable objects. I don't think there's anything defined in there.

old Re: Scripting Questions

DontKnowToScript
User Off Offline

Quote
jockmo42 has written
Nevermind. Found it. But now I'm looking for a way to add some small things to the net's catchable objects. I don't think there's anything defined in there.

in the net thingy u just need to remove the free self from some bugs and add the loot

old Re: Scripting Questions

Guest

Quote
But I want to catch some things that don't even register with the net in the game. I think you're talking about bugs like snails, that just die when they are netted, but I want to add new creatures that are able to be caught. I there a way to do this?

old Re: Scripting Questions

DontKnowToScript
User Off Offline

Quote
jockmo42 has written
But I want to catch some things that don't even register with the net in the game. I think you're talking about bugs like snails, that just die when they are netted, but I want to add new creatures that are able to be caught. I there a way to do this?

ya.
here is an example:

### Big Snail
id=//choose the id after the last animal
name=Big Snail
group=animal
icon=gfx\snail.bmp
model=gfx\snail.b3d
scale=1.5
colxr=8
colyr=5
shine=0.4
behaviour=animal
mat=flesh
health=8
speed=0.05
turnspeed=0.3
ani_move=7,8,0.01
ani_idle1=1,3,0.01
ani_idle2=3,5,0.01
ani_die=5,6,0.05
loot=//first enter the item id then write "," (without ""),then how many items
script=start
     on:catch {
          if (lives("self")==1){
               local $id;
               $id=create("item",99);
               store $id,"unit",1;
               speech "positive";
               msg "Caught snail",4;
script=end
edited 1×, last 24.08.08 08:22:52 am

old Re: Scripting Questions

jockmo42
User Off Offline

Quote
DontKnowToScript has written
jockmo42 has written
But I want to catch some things that don't even register with the net in the game. I think you're talking about bugs like snails, that just die when they are netted, but I want to add new creatures that are able to be caught. I there a way to do this?

ya.
here is an example:

### Big Snail
id=//choose the id after the last animal
name=Big Snail
group=animal
icon=gfx\snail.bmp
model=gfx\snail.b3d
scale=1.5
colxr=8
colyr=5
shine=0.4
behaviour=animal
mat=flesh
health=8
speed=0.05
turnspeed=0.3
ani_move=7,8,0.01
ani_idle1=1,3,0.01
ani_idle2=3,5,0.01
ani_die=5,6,0.05
loot=//first enter the item id then write ",",then how many items
script=start
     on:catch {
          if (lives("self")==1){
               local $id;
               $id=create("item",99);
               store $id,"unit",1;
               speech "positive";
               msg "Caught snail",4;
script=end


Perfect, thank you.

old Re: Scripting Questions

jockmo42
User Off Offline

Quote
DontKnowToScript has written
np
wait
under the script=start there is store item copy the loot items then paste them into store item


Not quite getting how that's layed out. Want to paste just the catch script with the revision?
To the start Previous 1 238 39 40121 122 Next To the start
Log in to reply Scripts overviewStranded II overviewForums overview