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 272 73 74121 122 Next To the start

old Re: Scripting Questions

Spicy Night Owl
User Off Offline

Quote
Can somebody explain how to lock a combination? The link was great but I can't read German. I'm trying to make a new skill for my new and probably best mod. Please help

old Re: Scripting Questions

Avenger1130
User Off Offline

Quote
Ethan - Here is the translated description from the commands page :

lockcombi

Categories: item

Makes a combination impossible.
Note that the composite IDs are not numbers but text. Combinations, which where not allocated by a Combination ID, can be addressed with an empty string as an ID - so "" --

old Re: Scripting Questions

Avenger1130
User Off Offline

Quote
No one answered my last question so I will ask again. how do I apply textures to my models because it is just white in the game.

old Re: Scripting Questions

Withoutname
User Off Offline

Quote
This is problem in model file. Open it, than change texture. Save it, than place texture and model in gfx folder. Works?

old Re: Scripting Questions

Vibhor
User Off Offline

Quote
Will something happen if i delete files like
building.inf and others
i really dont need them for my mod

old Re: Scripting Questions

Phyire
User Off Offline

Quote
Is there any way I can add "Film Grain" to Stranded 2? Does any1 know? Or is it impossible?

And another Question: Hou can i give a player a choice of say 3-5 buttons and each button will add some to the selected skill with msgbox (but with a few buttons). I.e. button 1 will add 50 pts to hunting?
edited 1×, last 12.09.09 03:18:46 pm

old Re: Scripting Questions

Vibhor
User Off Offline

Quote
Is it possible to assign new keys to game
without editing the source code?

@phyire
film grain?
what does that mean?

old Re: Scripting Questions

Vectarrio
User Off Offline

Quote
Vibhor has written
Is it possible to assign new keys to game
without editing the source code?


yes, just write in game.inf scriptkey=ID,"name".

old Re: Scripting Questions

Vectarrio
User Off Offline

Quote
in definitions part of game.inf write:
1
scriptkey=ID,"name"
ID is id of you custom key its from 0 to 99(i think)
name is name of your key (for example,"Reload")

and in game.inf in script part write:
1
on:keyhitXX
or
1
on:keydownXX
or
1
on:keyreleaseXX
for example:
1
scriptkey=0,"reload"
adn after script=start
1
2
3
on:keyhit00{
do smth
}

REMEMBER: on:keyhitXX,on:keydownXX, and keyreleaseXX are working only in game.inf! thats why you must make this:
1
2
on:keyhit00{
event "reload","global";
It is with the same example
edited 1×, last 12.09.09 07:46:50 pm
To the start Previous 1 272 73 74121 122 Next To the start
Log in to reply Scripts overviewStranded II overviewForums overview