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 292 93 94121 122 Nächste Zum Anfang

alt Re: Scripting Questions

Vibhor
User Off Offline

Zitieren
FD god hat geschrieben
is it possible to make spawner that makes sheeps or turtles? ,i can't happen to make spawners


You can make spawners in editor

alt Re: Scripting Questions

lint35
User Off Offline

Zitieren
Is it possible to show an item in first person? If so how is it possible? I only need the weapon to be shown.

alt Re: Scripting Questions

Vectarrio
User Off Offline

Zitieren
Yep. Look at script for example in V666 mod objects_stuff STIH. Make timer, and check conditions, and change model

alt Fruit Trees

tmh47
User Off Offline

Zitieren
I'm making a small mod (For my own use) and I'm trying to create a tree that spawns multiple fruits, so far I've stuck with simply having the fruits dropped to the ground and spawned around the tree, but I wondered if the "spawn" command could spawn more than one type of thing at the same time?

alt Re: Scripting Questions

lint35
User Off Offline

Zitieren
Okay I downloaded the single player but I still don't understand how to make it show the weapon... I used the STIH but it still doesn't work... I changed the id's of the weapons to match mine but no help please

alt Re: Scripting Questions

Vectarrio
User Off Offline

Zitieren
lint35 hat geschrieben
Okay I downloaded the single player but I still don't understand how to make it show the weapon... I used the STIH but it still doesn't work... I changed the id's of the weapons to match mine but no help please

Now find event "ih" in game.inf. It creates STIH object if this object didn't appear in the game. And in "on:inhand" in your weapons (weapons you want to make in-hand model) call this event(event "ih","global";)
The Second
It is possible. Just create buttons as commands but not as dialogue definition. s2 cmd button

alt Re: Scripting Questions

lint35
User Off Offline

Zitieren
Sorry but I'm still having troubles, what I have done:
> I copied the STIH script and put it into my objects_stuff.inf.
>Changed one of the ID's of the weapons that were in the script
>Copied the on:inhand { event "ih","global"; } and put it into my game.if
> Did the same thing you did with the on:inhand event "ih","global" on my weapon script
Am I missing something?

alt Re: Scripting Questions

slow
User Off Offline

Zitieren
I've been playing about a week now, and I have learnt to edit item codes and such to make new items and such things on simple levels. (Prior to getting any mods, I added my own sheep milk, butter, cheese and more using existing models with edited images and edited scripts or some copy=pasted and pieced together then edited further)

Now, however, I would like to add a skill of glass-blowing using sand + seaweed + blowpipe, but when I have rummaged around, I've not found any files for skills other than the one that shows the "level-up" information.

Will/can someone explain how I may do this?

alt Re: Scripting Questions

Vectarrio
User Off Offline

Zitieren
lint35 hat geschrieben
Sorry but I'm still having troubles, what I have done:
> I copied the STIH script and put it into my objects_stuff.inf.
>Changed one of the ID's of the weapons that were in the script
>Copied the on:inhand { event "ih","global"; } and put it into my game.if
> Did the same thing you did with the on:inhand event "ih","global" on my weapon script
Am I missing something?

Check your models. Are you sure that your inhand models are correct? And try changing y. Just as i have in this script.
But you didn't say anything about game.inf!
There must be
1
2
3
4
on:ih {
		if(count("object",225)<1){
			create "object",225;
		}
in game.inf.
PS: change the id to your STIH's id.

@slow
Spoiler >
Zum Anfang Vorherige 1 292 93 94121 122 Nächste Zum Anfang
Einloggen, um zu antworten Scripts-ÜbersichtStranded II-ÜbersichtForenübersicht