Forum

> > Stranded II > Scripts > Scripting Questions
ForenübersichtStranded II-Übersicht Scripts-ÜbersichtEinloggen, um zu antworten

Englisch Scripting Questions

2.429 Antworten
Seite
Zum Anfang Vorherige 1 238 39 40121 122 Nächste Zum Anfang

alt Re: Scripting Questions

Raven Shadow
User Off Offline

Zitieren
HudaJan hat geschrieben
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?

alt Re: Scripting Questions

Builder2-0
User Off Offline

Zitieren
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

alt Re: Scripting Questions

DontKnowToScript
User Off Offline

Zitieren
Bloodshot hat geschrieben
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?

alt Re: Scripting Questions

DontKnowToScript
User Off Offline

Zitieren
HudaJan hat geschrieben
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?

alt Re: Scripting Questions

DontKnowToScript
User Off Offline

Zitieren
HudaJan hat geschrieben
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

alt Re: Scripting Questions

Gast

Zitieren
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?

alt Re: Scripting Questions

Gast

Zitieren
Guest hat geschrieben
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

alt Re: Scripting Questions

HudaJan
Super User Off Offline

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

alt Re: Scripting Questions

Gast

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

alt Re: Scripting Questions

Gast

Zitieren
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.

alt Re: Scripting Questions

DontKnowToScript
User Off Offline

Zitieren
jockmo42 hat geschrieben
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

alt Re: Scripting Questions

Gast

Zitieren
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?

alt Re: Scripting Questions

DontKnowToScript
User Off Offline

Zitieren
jockmo42 hat geschrieben
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
1× editiert, zuletzt 24.08.08 08:22:52

alt Re: Scripting Questions

jockmo42
User Off Offline

Zitieren
DontKnowToScript hat geschrieben
jockmo42 hat geschrieben
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.

alt Re: Scripting Questions

jockmo42
User Off Offline

Zitieren
DontKnowToScript hat geschrieben
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?
Zum Anfang Vorherige 1 238 39 40121 122 Nächste Zum Anfang
Einloggen, um zu antworten Scripts-ÜbersichtStranded II-ÜbersichtForenübersicht