Forum

> > Stranded II > General > Auto-hammer
Forums overviewStranded II overviewGeneral overviewLog in to reply

English Auto-hammer

9 replies
To the start Previous 1 Next To the start

old Auto-hammer

badman587
User Off Offline

Quote
Hey guys i hope this is in the right place.
ok so i love stranded 2!!

but i am wondering how i could get auto-hammer from massive mod to the multiplayer mod. Ive had a go my self but it comes up with 1 - 255 error on start up.

can anyone help?

old Re: Auto-hammer

badman587
User Off Offline

Quote
ok so basically i copyyies from the .inf files the (auto-hammer) with the gfx and changed the ID to 254 as i know for a fact nothing is using that ID and still come up with the error.
lool this is the first time ive had problems with editing files like this.....

old Re: Auto-hammer

badman587
User Off Offline

Quote
yeah they are completely differently made but i would of thought you can take one item and implement it into another mod. oh well it was worth a shot, if you hear of it being done could you let us know

EDIT: oooh i miss read the "vars" bit where or what are the vars can you give me an example?

old Re: Auto-hammer

Assassin moder
User Off Offline

Quote
example:
1
2
3
4
5
behaviour=blade
mat=metal
weight=1000

OR check scripts!

Write what kind of error you've got

old Re: Auto-hammer

badman587
User Off Offline

Quote
ok i will have a look.

The error i get is
ID 1 out of 255 exists!

i did try and make the whole massive mod multiplayer but didnt work so i thought it be alot of work to make it doable.

EDIT: also its not a script and it seems to be located in combination_crafting.inf files and it looks like this

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
### Autohammer (Steel + Gold + SteelHammer)
combi=start
id=autohammer
req=4999,10
req=4,5
req=3554,1
gen=3551
script=start
	if (((count_inrange("object",348,100)>0)+(count_inrange("object",5000,50)>0))>0){
		$dummy=create("object",3558,0,0); //creates dummy object at origin
		//init dummy
		setlocal "object",$dummy,"ore",4999;
		setlocal "object",$dummy,"oreamnt",10;
		setlocal "object",$dummy,"item",3551;
		setlocal "object",$dummy,"amnt",1;
		event "dummysteel_init","object",$dummy;
		freestored "unit",1,4999,10;
		freestored "unit",1,4,5;
		freestored "unit",1,3554,1;
		play "workmetal.wav";
		skipevent;
	}else{
		msg "I need an anvil to shape this!",3;
		speech "negative";
		skipevent;
	}
script=end
#note=Requires an anvil.
combi=end

old Re: Auto-hammer

Assassin moder
User Off Offline

Quote
For multilayer you need that:

1
2
3
4
5
6
7
8
9
10
11
### Autohammer (IronBarx10 + Goldx4 + Hammer)
combi=start
id=autohammer
req=86,10
req=4,5
req=30,1
gen=254
script=start
	play "workmetal.wav";
script=end
combi=end

That is fixed only for standard SII Multiplayer MOD

Error was because this combination required ID of item 4999 which not existed and default limit is 255. I changed it to 10x Iron Bar also "gen=" was wrong ID now it's repaired

old Re: Auto-hammer

badman587
User Off Offline

Quote
ah thank you very much, one last thing since there isnt combinations_scripting.inf for multiplayer mod so do i just add to the combinations_tools.inf?

EDIT: that didnt work lol, i think theres more to it then just adding that into a .inf because the autohammer is faster then normal hammer. i dont even know why i cant do it, frustrated me a bit. other games i can do this.....
To the start Previous 1 Next To the start
Log in to replyGeneral overviewStranded II overviewForums overview