Forum

> > Stranded II > General > Rock fence?
ForenübersichtStranded II-ÜbersichtGeneral-ÜbersichtEinloggen, um zu antworten

Englisch Rock fence?

12 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt Rock fence?

Gast

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

alt Re: Rock fence?

Gast

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

alt Re: Rock fence?

Flying Lizard
User Off Offline

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

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

alt Re: Rock fence?

Gast

Zitieren
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

alt Re: Rock fence?

Gast

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

alt Re: Rock fence?

Alphawar
User Off Offline

Zitieren
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

alt Re: Rock fence?

Alphawar
User Off Offline

Zitieren
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

alt Re: Rock fence?

Mc Leaf
Super User Off Offline

Zitieren
Meldor hat geschrieben
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...

alt Re: Rock fence?

Gast

Zitieren
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) ?

alt Re: Rock fence?

bizzl
User Off Offline

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

alt Re: Rock fence?

Alphawar
User Off Offline

Zitieren
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
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antwortenGeneral-ÜbersichtStranded II-ÜbersichtForenübersicht