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 234 35 36121 122 Nächste Zum Anfang

alt Re: Scripting Questions

top_snille
User Off Offline

Zitieren
ty so much bloodshot and thank you HudaJan too
it don work it only stand ''planting'' but i cant plant berrybushes trees and leafs plz tell any thing else another script

BTW is there any other adventure map i hate the regular
1× editiert, zuletzt 19.07.08 18:56:21

alt Re: Scripting Questions

Tinkerbell
User Off Offline

Zitieren
Bloodshot hat geschrieben
incskill "planting",800;

Beg your pardon Bloodshot, but the command you mentioned should be ..
incskill "plant", 800, "planting";

Then it will work. If you want to do ALL the skills, then do them "one at a time.

eg) incskill "hunt", <value>, "hunting"; etc.

alt Re: Scripting Questions

top_snille
User Off Offline

Zitieren
ty now i understand!


but those '' should not be there?


it still not work

1× editiert, zuletzt 19.07.08 20:00:26

alt Re: Scripting Questions

Builder2-0
User Off Offline

Zitieren
Tinkerbell hat geschrieben
Bloodshot hat geschrieben
incskill "planting",800;

Beg your pardon Bloodshot, but the command you mentioned should be ..
incskill "plant", 800, "planting";

Then it will work. If you want to do ALL the skills, then do them "one at a time.

eg) incskill "hunt", <value>, "hunting"; etc.

Nope, incorrect. However, that really doesn't matter either because of the fact you ignored HudaJan:
Zitat
yes, there is, but it won't work properly, because levelup events are activated only when you "walk through" all of the skillpoints one by one
incskill

This man speaks the truth. Sure, you can increase your skills to infinity if you want, but it *will not* unlock anything do to the fact you must trigger each unlock individually.

-Builder

alt Re: Scripting Questions

Builder2-0
User Off Offline

Zitieren
top_snille hat geschrieben
it dont work why?

...
I give up.
HudaJan hat geschrieben
yes, there is, but it won't work properly, because levelup events are activated only when you "walk through" all of the skillpoints one by one

Listen next time.

-Builder

alt Re: Scripting Questions

Builder2-0
User Off Offline

Zitieren
top_snille hat geschrieben
i type incskill ''plant'' ,planting; but it still dont work why

Because. That. Will. Not. Fucking. Work. You cannot do some magical cheat and increase your stats that way. Ok? Understand? Also, you mistyped the command:

incskill "planting",800;

But even that will not work. As levelups will not be triggered.

-Builder

alt Re: Scripting Questions

Raven Shadow
User Off Offline

Zitieren
Tinkerbelle and Builder are both correct and incorrect

If y'all numbnutz had looked this up instead of
making useless post after useless post ( I ain't
talkin' about Tinkerbelle and Builder here, so listen up)
you would have had your answer 2 or 3 days ago.

The correct format for the command is:

s2 cmd incskill "skillname1",X,"skillname2"

That's the long format and In a previous post made by
DC you would have read that "skillname1" is the skills
internal name, and "skillname2" is the friendly name.
skillname2 is only needed if you're trying to use a cheat
command ingame to increase a skill level that hasn't
been increased by normal means yet.

If you had done some simple reading you would also
have read in many many MANY posts, that such script
commands ONLY work when the cheat mode has been activated.

So instead of constantly crying that it doesn't work try
doing some searches.

Try a forum search on "cheat"
You'll get several results, one of which gives explicit
directions on accessing the cheat window .....
See how easy it is ?

If you did a forum search on "skill", you would've have
gotten a very hit good on a post that explains it .
See how easy it is ?

Hint #3
There's a difference between the console window, and
the cheat window. they are 2 different windows.
system commands go in the console and cheat
commands go in the cheat window ...... go fig....
See how easy it is ?


On a side note:
Tinkerbelle is correct she was only commenting on the
format of the command.

Builder is thinking about any buildings or combinations
that get unlocked at specific levelsthat would not get
unlocked when the cheat is used.

Using incskill by itself will meet the original posters
needs and will allow him to plant new items.

But to unlock buildings/combis controlled by the plant
skill, you have to trigger the iskill_plant event afterwards

alt Re: Scripting Questions

Tinkerbell
User Off Offline

Zitieren
Raven Shadow hat geschrieben
On a side note:
Tinkerbelle is correct she was only commenting on the
format of the command.

Thank you Raven .. What I was trying to say, people, is ...
( and Raven Shadow has made this quite clear ), is FIRST you have to :-

1) HUNT .. so that you HAVE a "Hunting" skill (Even if it is only 1) .. or..

2) PLANT .. so that you HAVE a "Planting" Skill .. (excetera)

THEN press the "~" key, and type CHEAT, and THEN type (EXACTLY as Shown) .. in "Execute Script" ..

inskill "hunt", <your value>, "hunting"; or
inskill "plant", <your value>, "planting"; (etcetera)

(Please note the " the , the spaces and the ; in the command)

This WILL result (as Raven has said) in your skill level being increased, and (also) will (probably) allow ALL, that the "skill level" has to offer; or at least, it should, but do remember to (eg: Plant something afterwards, or Hunt something afterwards) as well.
2× editiert, zuletzt 22.07.08 15:02:36

alt Please some one answer my question

Gast

Zitieren
Bo Diddley hat geschrieben
Is it possiple to make aircraft turn more realisticly other than just turning on a flat radius please post a script for air craft behaviour if some geniouse can thanks

alt Re: Scripting Questions

HudaJan
Super User Off Offline

Zitieren
I'd like to help a little with script... no script, event on:keyhitXX
How can I know what to put instand of XX? Is there some list of key codes?
e.g., what's the code for SPACE...?

alt Re: Scripting Questions

WRCMeister
User Off Offline

Zitieren
You can increse skills and still learn stuff as i recon, i used to use another command then you did builder, that seemed to work for me.


(If not, im outa here)

alt Re: Scripting Questions

Builder2-0
User Off Offline

Zitieren
HudaJan hat geschrieben
I'd like to help a little with script... no script, event on:keyhitXX
How can I know what to put instand of XX? Is there some list of key codes?
e.g., what's the code for SPACE...?

"XX" is anywhere from 0 to 20 (It may go higher). You first need to create a script key first in game.inf. I used that event so that the player can open the achievement\stats\ect menu's anywhere (in the dev version of MM).

scriptkey=ID,Name
Erstellt eine Taste, welche im Optionsmenü belegt werden kann und die Events keyhitXX, keydownXX und keyreleaseXX (XX=00,01,02 ... bis 20 für die ID) im globalen Spielscript (game.inf, sonst nirgendwo!) auslöst, wenn sie gedrückt wird. ID ist ein Wert von 0-20, der Name ist ein beliebiger Text, welcher im Menü erscheinen soll

Rough translation:
Add that to your game.inf file, replace ID with 00 or 20, check keys.inf if you need to find the proper id, and then give it a name. Have fun.

You can find that in the definitions for game.inf on the Stranded site.

-Builder

alt Re: Scripting Questions

Gast

Zitieren
how can i make that when i make fire at campfire script will load next map?

alt Re: Scripting Questions

Gast

Zitieren
ok, i found command on stranded website, sorry for first posting then searching

alt Re: Scripting Questions

Gast

Zitieren
I have problem with script. I want to make script, that when player hasn't got any job, it opens dialogue page for apllying for a job, when player got job it opens job page in job dialogue, and when he got other job than that from exact NPC, he tells player by msg to go away.
My script:
on:use {
if ($gotjob==0) {dialogue "job", "miner.s2s";}
elseif ($gotjob==1&&$miner==0) {msg "You already have a job. Go away";}
elseif ($gotjob==1&&$miner==1) {dialogue "miner", "miner.s2s";}
}

I have all variables in global script.

on:start {
$thief==0;
$miner==0;
$baker==0;
$wood==0;
$gotjob==0;
}
Zum Anfang Vorherige 1 234 35 36121 122 Nächste Zum Anfang
Einloggen, um zu antworten Scripts-ÜbersichtStranded II-ÜbersichtForenübersicht