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 283 84 85121 122 Next To the start

old Re: Scripting Questions

UnIdEnTiFiEd
User Off Offline

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

old Re: Scripting Questions

Hurri04
Super User Off Offline

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

old Re: Scripting Questions

Vibhor
User Off Offline

Quote
Hurri04 has written
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

old Re: Scripting Questions

Hurri04
Super User Off Offline

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

old Re: Scripting Questions

Vibhor
User Off Offline

Quote
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

old Re: Scripting Questions

Builder2-0
User Off Offline

Quote
Hurri04 has written
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.

old Re: Scripting Questions

bezmolvie
User Off Offline

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

old Re: Scripting Questions

Tenaika
User Off Offline

Quote
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

old Re: Scripting Questions

Vectarrio
User Off Offline

Quote
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?
edited 1×, last 10.01.10 01:20:24 pm

old Re: Scripting Questions

Castero66
User Off Offline

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

old Re: Scripting Questions

Someone Evil
User Off Offline

Quote
Castero66 has written
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 has written
Can someone tell me about savemap

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

old Re: Scripting Questions

bezmolvie
User Off Offline

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

old Re: Scripting Questions

filfer
User Off Offline

Quote
Shera has written
Castero66 has written
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
To the start Previous 1 283 84 85121 122 Next To the start
Log in to reply Scripts overviewStranded II overviewForums overview