Forum

> > Stranded II > General > Npc behaviours
ForenübersichtStranded II-ÜbersichtGeneral-ÜbersichtEinloggen, um zu antworten

Englisch Npc behaviours

7 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt Npc behaviours

The mad man
User Off Offline

Zitieren
Is it possible to make your own Npc behaviors?
And how do you do it?

I think If you did a large script you could pull it off but i was wondering if there is an easier way.

Thanks
Mad out

alt Re: Npc behaviours

Cryp18Struct
User Off Offline

Zitieren
Theese "behaviours" are hardcoded, so you can not change or add anything.
But it is possible change how a unit behaves with s2 script, e.g. the aggressive natives in the s2ext mod.

alt Re: Npc behaviours

DontKnowToScript
User Off Offline

Zitieren
you mean this?
attack you (melee)=predator/raptor
attack you (afar)=standandshoot
fly=bird
bird flies low=lowbird
bird flies high=highbird
bird that can also go on ground=landskybird
attacks you (bird)=killerbird
fish=fish
fish that swims circles=circlingfish
fish that lives at bottom=deepseafish
animal=animal (does not do anything,just animal)
goes on sideways=crab
fish that attacks=predatorfish
insect that flies=flyinginsect
insect=insect
lives both on ground and water=amphibian
monkey=monkey
runs away from you=shy
raft (ship)=watercraft
stands=idle
stands and turns to you=idleturn
snaps you but stays in place=standandsnap
can fly with you=aircraft
eats targets with behaviour "plague_target"=plague
can drive it=vehicle (needs a ride script)
so,thats only the unit behaviours.

alt Re: Npc behaviours

HudaJan
Super User Off Offline

Zitieren
But still, you can assign none of the behaviours and "made up" your own by script it step by step. I'm not sure, but I think it should be pretty difficult...

alt Re: Npc behaviours

DC
Admin Off Offline

Zitieren
yah it is possible to combine an existing behaviour with scripts in order to change the actual behaviour a bit

use commands like s2 cmd ai_mode "self", ... and s2 cmd ai_center in combination with timers or events for that.

I realized the "Transport Monkey" (which follows you) this way.
1× editiert, zuletzt 19.11.08 17:40:15
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antwortenGeneral-ÜbersichtStranded II-ÜbersichtForenübersicht