you've got to exchange the line
behaviour=landskybird
in the def of the parot with this
behaviour=aircraft I've figured that much out, but then the parrot doesn't move at all when I'm not riding it. What I want is for the bird to have the idle behavior until I start riding in, then I want it to have the aircraft behavior. Joku has written
I've figured that much out, but then the parrot doesn't move at all when I'm not riding it. What I want is for the bird to have the idle behavior until I start riding in, then I want it to have the aircraft behavior.
afair you can't change the behaviour of an unit. It's bad, you're right, but DC never implemented it (perhaps in some post-service-time fix ore something)
Though, if there is ani_idle1 defined the unit should at least idle.
I know that in particular from the vehicle behaviour.
Joku has written
True, I probably will need more time, but this isn't exactly a fully-fledged mod; it's only designed to work with one map.
But why my own mod? That's quite simple: I have my own story to tell.
If I could, I would shoot people doing something like that
sry, but I don't think this is a good idea. Most stuff can be done using def_override or def_extend . Anything else (like your parrot) can, if really necessary, be done with some tricks and sequences.
And what doesn't work there should be kept dead.
That's my opinion. Anyone else can off course differ from it do you need spawners to make animals appear regularly. not lions, but fish and such? for fish, you can use the coral. lions can get spawned by the lion stone, raptors by the raptor nest, kiwis by the kiwi nest.
For anything else you need the spawn control, yes. (there are other solutions, but this one is the easiest and best) there are also parrot and bird nests I have been trying to edit the script in the S2Ext (For myself only...is that ok? o_O; ) so I can ride the sharks. I did it on the S2 but the S2Ext is REALLY different....and the links didn't help.... Can you help? (I am also trying to get it so I can ride the parrots.) Midnight has written
I have been trying to edit the script in the S2Ext (For myself only...is that ok? o_O; )
It is okay as long as you don't release maps depending on this changes or release a fork of the mod.
Midnight has written
so I can ride the sharks. I did it on the S2 but the S2Ext is REALLY different....and the links didn't help.... Can you help? (I am also trying to get it so I can ride the parrots.)
Why do so many people wanna ride the freaking parrots? Is that some new sort of perversion ?
Anyway, there is no fundamental difference between S2 and S2Ext, the files in the later are just a bit messier because I'm using an old mod development tool.
However, add the following code to the shark and parrot and it should work:
Ok, Thanks! I will try it immediately, and also, I tried riding a shark when it was underwater, but it died.... is there a way to make it be able to be ridden underwater as well as above? Midnight has written
Ok, Thanks! I will try it immediately, and also, I tried riding a shark when it was underwater, but it died.... is there a way to make it be able to be ridden underwater as well as above?
just add the line maxdepth=10000 somewhere above of script=start no. ride is only for land units. You can't.
But.... you could change the behaviour to water vehicle or something, then you could ride them at the surface. How i can make living areas like
lions will not go to some place in island,
but others can, raptors would live in some part of island
etc.? units have a maximum range where they go by default. For riding parrots, do I put
1
2
3
4
5
6
7
8
9
{
	local $x,$z,$yaw;
	$x=getx("self");
	$z=getz("self");
	$yaw=getyaw("self");
	$x=create("object",287,$x,$z);
	setrot "object",$x,"self",$yaw,"self";
	free "self";
}
and for behavior=aircraft
or behavior=plane
if I want to be able to ride it in the air? I have urgent question, I just started with scripting, my skills are only that i can add diary note. But now I need just one script. I need to set up unit to be enemy of player, if you understand me. In the concrete I need the negro to attack player... I hope it is possible, is'nt it ? no, not with your skills in scripting (it is possible, but it's pretty difficult) in the german extension mod, there is an aggressive native! Flying Lizard has written
no, not with your skills in scripting (it is possible, but it's pretty difficult)
If it's so, you can't just type the script, I have to write to write to native units? banane has written
in the german extension mod, there is an aggressive native!
And where can I download it please? And isn't problem, that I can speak german even not a word? Admin/mod comment
do not write multiple posts in a row! use the edit function! this is spam! How can I make it that I have a high skill level to start with (in planting)? Also, how do I unlock all the buildings automatically?