Forum

> > Stranded II > Scripts > Custom items not appearing
Forums overviewStranded II overview Scripts overviewLog in to reply

English Custom items not appearing

4 replies
To the start Previous 1 Next To the start

old Custom items not appearing

Xephoriah
User Off Offline

Quote
i'm making lots of custom items and i decided to make a staff that shoots magic, the magic itself is ammo that goes with my staff, i triple checked if i missed anything important but when i loaded the game and pressed ~ and typed in cheat and then tried to give myself the new items to test, they did not appear. i looked back and i seemed to have every important thing, the staff has a behavior of a bow and the magic is supposed to be ammo for it, i looked carefully and couldn't find anything wrong. it keeps not appearing though, here's the script, the staff is 150 and the magic is 151.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
### Fire Staff
id=150
group=weapon
icon=gfx\fire_staff.bmp
model=gfx\bone.b3d
color=200,0,50
scale=1
behaviour=bow
damage=2.4
speed=19
drag=0
mat=wood
weight=1000
rate=600
info=A wooden staff with a blood red ornament, it seems to emit a firey aura.
healthchange=0
script=start
	on:noammo {
		speech "negative";
		msg "No magic!",3;
	}
script=end
1
2
3
4
5
6
7
8
9
10
11
12
13
14
### Magic
id=151
group=ammo
icon=gfx\magic.bmp
model=gfx\pearl.b3d
color=200,0,50
scale=1
behaviour=ammo:150
fx=16
damage=25
mat=glass
weight=5
info=Magic for casting spells
healthchange=0
i don't get any error messages or anything, if you see something wrong, please let me know

old Re: Custom items not appearing

Xephoriah
User Off Offline

Quote
I made the Bmp. file from Paint.net (I use it for everything that i re texture or create), I saved it in the Mods - StrandedII - Sys - items_weapons. i don't know why its not working, ill try changing things and testing to see if it works or not.
To the start Previous 1 Next To the start
Log in to reply Scripts overviewStranded II overviewForums overview