Forum

> > Stranded II > General > Kidnap Mod
Forums overviewStranded II overviewGeneral overviewLog in to reply

English Kidnap Mod

547 replies
Page
To the start Previous 1 25 6 727 28 Next To the start

Poll Poll

You want it sooner without map or later even with map?

Only registered users are allowed to vote
Sooner!
19.40% (39)
With map!
73.13% (147)
NEVER, bother off!!!
7.46% (15)
201 votes cast

old Re: Kidnap Mod

HudaJan
Super User Off Offline

Quote
1-2 weeks
Edit: Added Flying carpet and Medicine flask
5 and last missionfinished!!
Work left:
Few submissions,
Few missions for bamboo village
adding trees, rocks, animals etc...
General grammer correction
general debug
Final battle
EDIT: Squirrel added
edited 4×, last 03.04.08 05:50:02 pm

old Re: Kidnap Mod

Gregg
User Off Offline

Quote
Aww, a cute little squirel. Awww...
I mean ehuh, yes quite a nice manly piece of work there. Well done√

Can you tame him with nuts? And then he could fetch food. Yummy. Or you could have a roast squirrel sandwich!

old Re: Kidnap Mod

HudaJan
Super User Off Offline

Quote
Gregg has written
Aww, a cute little squirel. Awww...
I mean ehuh, yes quite a nice manly piece of work there. Well done√

Can you tame him with nuts? And then he could fetch food. Yummy. Or you could have a roast squirrel sandwich!

Thanks
No you can't tame it. it's always escaping you
And about the sendwich, of course you can kill it and fry it

old Re: Kidnap Mod

EwokChieftain
User Off Offline

Quote
The squirrel is really adorable.

I've got a suggestion: An oak tree that creates those squirrels. And does the squirrel already have an idle animation? Some nibbling and looking around would make it more interesting.
And if you would come up with a great idea how the player could benefit from taming squirrels: the... *looking up the word*... acorns of it could then serve as the conditioning feed.

old Re: Kidnap Mod

HudaJan
Super User Off Offline

Quote
EwokChieftain has written
The squirrel is really adorable.

I've got a suggestion: An oak tree that creates those squirrels. And does the squirrel already have an idle animation? Some nibbling and looking around would make it more interesting.
And if you would come up with a great idea how the player could benefit from taming squirrels: the... *looking up the word*... acorns of it could then serve as the conditioning feed.

About the tree.. no problem.. Actually.. I can use some going model of tree and make only acorns.. And animation is done. It's exactly what have you said: nibbling and looking around. It's not showed on the video..
But as you know it would be problem to make acorn to be food only for squirrels... I can't make new behaviour.. Can you give a hint ?
MrCowThing has written
haha, looks cool.
What program do you use for animation?

Milkshape 3D. I really hate it, but it's the only one what i know is able to animate b3d...

old Re: Kidnap Mod

MrCowThing
User Off Offline

Quote
HudaJan has written
About the tree.. no problem.. Actually.. I can use some going model of tree and make only acorns.. And animation is done. It's exactly what have you said: nibbling and looking around. It's not showed on the video..
But as you know it would be problem to make acorn to be food only for squirrels... I can't make new behaviour.. Can you give a hint ?

You'll just need to add some code to the acorn I think. Look at the code for meat, and bananas.

old Re: Kidnap Mod

HudaJan
Super User Off Offline

Quote
MrCowThing has written
You'll just need to add some code to the acorn I think. Look at the code for meat, and bananas.

Yes, I did.. Unfortunatly, it is about the behaviours...

old Re: Kidnap Mod

Flying Lizard
User Off Offline

Quote
Actually I don't think you need something like the plague behaviour. The monkeys don't eat the bananase lying around, too

old Re: Kidnap Mod

HudaJan
Super User Off Offline

Quote
Flying Lizard has written
Actually I don't think you need something like the plague behaviour. The monkeys don't eat the bananase lying around, too

I know, I'd like acorns to be "eat signals" only for squirrels... But I don't know how...
And I didn't speak about "plague" behaviour..

old Re: Kidnap Mod

Flying Lizard
User Off Offline

Quote
oh you mean feeding them like the raptor and the monkeys?
Did you have a look at how DC solved it? If you've already tryed, post your script here.

old Re: Kidnap Mod

HudaJan
Super User Off Offline

Quote
Flying Lizard has written
oh you mean feeding them like the raptor and the monkeys?
Did you have a look at how DC solved it? If you've already tryed, post your script here.

I didn't try it, cause I know I can't do my own behaviours.. But I'd do it like that:
Assign monkey bahaviour to the squirrel and to acorn script ai_signal.. And as a behaviour-monkey... It would cause that monkey will eat acorn and squirrels will eat bananas, but I can't see another way... Or is there some?

old Re: Kidnap Mod

HudaJan
Super User Off Offline

Quote
Aaa! It doesn't work. And I DO NOT understand why?? I tried it on the monkey and it worked! I tried also to change squirrel's behaviour to monkey and tame it with bananas and it DIDN'T work!!! It doesn't work only with that DAMNED squirrel... It is eating but it doesn't want to get tamned!!

old Re: Kidnap Mod

HudaJan
Super User Off Offline

Quote
Flying Lizard has written
How about jsut posting the script so we can help you?

ok, but..I copied it from banana and changed something...

### Acorn
id=136
name=Acorn
group=food
icon=gfx\acorn.bmp
model=gfx\acorn.b3d
mat=wood
behaviour=throw
weight=1
damage=0
speed=15
drag=1.8
scale=0.15
info=acorn. Hmm.. I'm not going to eat this, but maybe somebody is...
script=start
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
on:drop {
		ai_typesignal "eat",19,300;
	}
	on:drop {
		ai_behavioursignal "eat","monkey",300;
	}
	on:ai_eat {
		local $eater,$var,$b;
		$eater=ai_eater();
		if (type("unit",$eater)==19){
			$var=getlocal("unit",$eater,"tameness");
			$var+=2;
			setlocal "unit",$eater,"tameness",$var;
			$a=getlocal("unit",$eater,"acorns");
			$a++;
			setlocal "unit",$eater,"acorns",$a;
			if (($var>6)&& (gotstate("unit",$eater,"tame")==0)){
				addstate "unit",$eater,"tame";
				corona getx("unit",$eater),getz("unit",$eater),20,255,70,100;
				speech "positive";
				msg "I tamed it!",4;
			}
		}
	}
script=end

But asI said.. It worked with monkey... Problem is probably in the unit.... The unid doesn't want to get tamned...

old Re: Kidnap Mod

Guest

Quote
HudaJan has written
### Acorn
id=136
name=Acorn
group=food
icon=gfx\acorn.bmp
model=gfx\acorn.b3d
mat=wood
behaviour=throw
weight=1
damage=0
speed=15
drag=1.8
scale=0.15
info=acorn. Hmm.. I'm not going to eat this, but maybe somebody is...
script=start
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
on:drop {
		ai_typesignal "eat",[b]19[/b],300;
	}
	on:drop {
		ai_behavioursignal "eat","monkey",300;
	}
	on:ai_eat {
		local $eater,$var,$b;
		$eater=ai_eater();
		if (type("unit",$eater)==[b]19[/b]){
			$var=getlocal("unit",$eater,"tameness");
			$var+=2;
			setlocal "unit",$eater,"tameness",$var;
			$a=getlocal("unit",$eater,"acorns");
			$a++;
			setlocal "unit",$eater,"acorns",$a;
			if (($var>6)&& (gotstate("unit",$eater,"tame")==0)){
				addstate "unit",$eater,"tame";
				corona getx("unit",$eater),getz("unit",$eater),20,255,70,100;
				speech "positive";
				msg "I tamed it!",4;
			}
		}
	}
script=end

But asI said.. It worked with monkey... Problem is probably in the unit.... The unid doesn't want to get tamned...


Did you replaced the bolded Type-IDs...? I think, there have to be type-id 136 as it is declared above...


1
2
3
### Acorn
[b]id=136[/b]
name=Acorn

But I'm not sure... (can't test it now...)

old Re: Kidnap Mod

Guest

Quote
Mc Leaf has written
HudaJan has written
### Acorn
id=136
name=Acorn
group=food
icon=gfx\acorn.bmp
model=gfx\acorn.b3d
mat=wood
behaviour=throw
weight=1
damage=0
speed=15
drag=1.8
scale=0.15
info=acorn. Hmm.. I'm not going to eat this, but maybe somebody is...
script=start
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
on:drop {
		ai_typesignal "eat",[b]19[/b],300;
	}
	on:drop {
		ai_behavioursignal "eat","monkey",300;
	}
	on:ai_eat {
		local $eater,$var,$b;
		$eater=ai_eater();
		if (type("unit",$eater)==[b]19[/b]){
			$var=getlocal("unit",$eater,"tameness");
			$var+=2;
			setlocal "unit",$eater,"tameness",$var;
			$a=getlocal("unit",$eater,"acorns");
			$a++;
			setlocal "unit",$eater,"acorns",$a;
			if (($var>6)&& (gotstate("unit",$eater,"tame")==0)){
				addstate "unit",$eater,"tame";
				corona getx("unit",$eater),getz("unit",$eater),20,255,70,100;
				speech "positive";
				msg "I tamed it!",4;
			}
		}
	}
script=end

But asI said.. It worked with monkey... Problem is probably in the unit.... The unid doesn't want to get tamned...


Did you replaced the bolded Type-IDs with the right type-id of your creature...?
To the start Previous 1 25 6 727 28 Next To the start
Log in to replyGeneral overviewStranded II overviewForums overview