Forum

> > Stranded II > General > Rock fence?
Forums overviewStranded II overviewGeneral overviewLog in to reply

English Rock fence?

12 replies
To the start Previous 1 Next To the start

old Rock fence?

Guest

Quote
Hi all,

I have recently taken up moding Stranded II and was wondering if anyone has made a rock fence. I have the code figured out but I need a model. I have 3ds Max 9 but can't find a plugin that will import/export .b3d models.

Does anyone have a rock fence model or know of a plugin for 3ds Max 9 that can import/export .b3d files?

old Re: Rock fence?

Guest

Quote
Wow, thats convenient.

Do you apply the textures in the modelling program and they are imported with the model so that model and textures are one file? I ask because I can't find any graphics that get applied in game other than thumbnails.

Speaking of models, what about animation?

old Re: Rock fence?

Flying Lizard
User Off Offline

Quote
no, the textures have to be in extra files.

And with the 3ds files you can't make animations in S2

old Re: Rock fence?

Guest

Quote
I thought it was weird to import a model and its texture in one file. So how do I give the building/object a texture? I can't find any code that would tell the object/building where to get a texture.

Oh well, I guess I'm not going to add units into the game

old Re: Rock fence?

Guest

Quote
Ok, I got it. Looks kinda good, just need to make a custom texture for it now. Thanks for your help.

old Re: Rock fence?

Alphawar
User Off Offline

Quote
hay can you upload it i would like to see it and i might enhance it i have this program called hexagon 2 its really good

old Re: Rock fence?

Alphawar
User Off Offline

Quote
hay can you upload it i would like to see it and i might enhance it i have this program called hexagon 2 its really good

old Re: Rock fence?

Mc Leaf
Super User Off Offline

Quote
Meldor has written
Hi all,

I have recently taken up moding Stranded II and was wondering if anyone has made a rock fence. I have the code figured out but I need a model. I have 3ds Max 9 but can't find a plugin that will import/export .b3d models.

Does anyone have a rock fence model or know of a plugin for 3ds Max 9 that can import/export .b3d files?

Current Stranded 2 - Extension Mod contains a rock wall...

But I don't understand, for what the code should be necessary...

old Re: Rock fence?

Guest

Quote
Alphawar, what do you want me to upload? An ingame picture or the model and texture?

Mc Leaf, The code that gives the health, size, material type, what is needed to build. I already have the coding though.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
//Planting
	on:useground {
		local $x,$y,$z,$id,$item;
		$x=use_x();
		$y=use_y();
		$z=use_z();
		$item=getplayerweapon();
		
		if (count_stored("unit",1,$item)>0){

			//seaweed
			if ($item==109){
				if ($y<0){
					if (freespace($x,$y,$z,20,1,0,0,0)){
						freestored "unit",1,109,1;
						$id=create("object",48,$x,$z);
						event "plant","object",$id;
						if (skillvalue("plant")>=400){
							process "planting seaweed",250;
						}else{
							process "planting seaweed",1000;
						}
						play "dig.wav";
						play "mat_leaf1.wav";
						event "iskill_plant","global";
					}else{
						speech "negative";
						msg "Here is not enough space!",3;
					}
				}else{
					speech "negative";
					msg "Seaweed does not grow on land!",3;
				}

Anyone know why this code would interfere with sleeping? Is it the height variable (checks is you are underwater) ?

old Re: Rock fence?

bizzl
User Off Offline

Quote
Perhaps you forgot a } , the code you gave is missing the one for if ($item==109){ (assuming that you cut it right)

old Re: Rock fence?

Alphawar
User Off Offline

Quote
well at the moment i just want a pick i had to downgrade my pc from vista to xp (cpu couldnt handle it)
and i lost hexagon 2 so i have 2 rebuy it >.< (lost my username and pass ohwell)

but i would love to see it
To the start Previous 1 Next To the start
Log in to replyGeneral overviewStranded II overviewForums overview