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 283 84 85121 122 Nächste Zum Anfang

alt Re: Scripting Questions

UnIdEnTiFiEd
User Off Offline

Zitieren
This might be a bit hard but what is a script that say, the lion doesnt attack ME but attacks like a SHEEP or something. any ideas how?

alt Re: Scripting Questions

Hurri04
Super User Off Offline

Zitieren
that's a thing that doesn't work so far.
as far as I know The Oracle File anf Royal Flash are trying to implement it into the multiplayer by editing the source.
but without doing that there is no way to let one unit attack a second one, sorry.

alt Re: Scripting Questions

Vibhor
User Off Offline

Zitieren
Hurri04 hat geschrieben
that's a thing that doesn't work so far.
as far as I know The Oracle File anf Royal Flash are trying to implement it into the multiplayer by editing the source.
but without doing that there is no way to let one unit attack a second one, sorry.


What if i told you,you were wrong?
get ready because You ARE wrong
It was implemented in some mod or other
but dunno how to do it

alt Re: Scripting Questions

Hurri04
Super User Off Offline

Zitieren
huh? I don't know any mod which solved that problem...
and further I remember DC saying that it was impossible...
confused now...

alt Re: Scripting Questions

Vibhor
User Off Offline

Zitieren
It is possible but one problem
the mod that was having this thing is dead
it was some long long script with a animal
the mod was never released

alt Re: Scripting Questions

Builder2-0
User Off Offline

Zitieren
Hurri04 hat geschrieben
huh? I don't know any mod which solved that problem...
and further I remember DC saying that it was impossible...
confused now...

Uh, I'm positive it's not impossible. It's a bit hacky to do, and it's really not anything you'd use outside of say a scripted event on an island or a cutscene, but it's definitely possible.

alt Re: Scripting Questions

bezmolvie
User Off Offline

Zitieren
I guess you could check if there are any sheep or the player around, check their distances, and force the lion to walk in the direction of the sheep, and in the sheep check if the lion is around and damage it if so, but that's extremely laggy.

alt Re: Scripting Questions

Tenaika
User Off Offline

Zitieren
i am making a map for my mod but my quest script doesnt work well
Spoiler >


almost everything works... When i talk to the chief he says what i need to do then when i talk to him again he says "good luck escaping this island"
whats the problem?

P.S. The spoiler ruined the code a bit...
u see urself... what a mess... the name of the map is too long

alt Re: Scripting Questions

Vectarrio
User Off Offline

Zitieren
SILENT WOLF, original adventure in S2 has the same bug, about "children of the sea".

My question: How can I change the collision of the unit by script?
I have problem: dead unit takes shots from the gun to himself, and I want to make him NOT collide. Now I'm just doing "free "self";", but How to change COLLISION of dead unit?
1× editiert, zuletzt 10.01.10 13:20:24

alt Re: Scripting Questions

Someone Evil
User Off Offline

Zitieren
Castero66 hat geschrieben
Can some 1 show how to make a new skill?It will be magic but i dont know how to make spells either...


First, make a skill description. then create a script equal to the other skillscripts in "sys\game.inf". bingo.

Vibhor hat geschrieben
Can someone tell me about savemap

script comand whitch quicksaves the map. probebly best too just leave it in peace

alt Re: Scripting Questions

bezmolvie
User Off Offline

Zitieren
No, it saves the map, with the buildings, any dropped items, objects, and units as they were when the command was issued. It's good for when you need to go from one island to another and then go back.

alt Re: Scripting Questions

filfer
User Off Offline

Zitieren
Shera hat geschrieben
Castero66 hat geschrieben
Can some 1 show how to make a new skill?It will be magic but i dont know how to make spells either...


Use either on:hitkey00 or make some kind of magic system like i did in my mod
Zum Anfang Vorherige 1 283 84 85121 122 Nächste Zum Anfang
Einloggen, um zu antworten Scripts-ÜbersichtStranded II-ÜbersichtForenübersicht