Forum

> > Stranded II > General > A strange probleme/bug @_@
Forums overviewStranded II overviewGeneral overviewLog in to reply

English A strange probleme/bug @_@

15 replies
To the start Previous 1 Next To the start

old A strange probleme/bug @_@

thecode
User Off Offline

Quote
Hello...

I'm cursed! After my 3 other add one other problem which is very painful

When I create a new item (This is not the first time I do that), the object is not displayed in EDIT mode and more, the command alteritem xx, y;
does not work on the subject.
but what is really really strange is when I change the ID of the object by the ID of an object I already created, the item become visible in the editor and the command alteritem works.

I thought the bugs were resolved.
The creator of the game can he help me?

old Re: A strange probleme/bug @_@

BiGSiD
User Off Offline

Quote
have u tried to edit this code from 'game.inf'

1
2
3
limit_objects=255
limit_units=100
limit_items=255

it sets a limit for objects/units/items, maybe your item-id is outer this range(s)

set those limits higher (recommendation: not over 1000)

old Re: A strange probleme/bug @_@

Psytechnic
User Off Offline

Quote
thecode has written
Hello...

I'm cursed! After my 3 other add one other problem which is very painful


Here's my take on it...

thecode has written
When I create a new item (This is not the first time I do that), the object is not displayed in EDIT mode and more, the command alteritem xx, y;
does not work on the subject.
but what is really really strange is when I change the ID of the object by the ID of an object I already created, the item become visible in the editor and the command alteritem works.

I thought the bugs were resolved.
The creator of the game can he help me?


Well, you ain't gonna need the creator for this one, but you might need to rethink your understanding of the alter item functions.

So when you create a new item? Define "create"? You've wrote the item defintion in a script file like items_mod.inf yeah? And you have the model descriptor pointing to a model in the mod folder? And you've done the same for the icon? And you set the ID to a number currently not being used by any other item and within the limits you set in game.inf?

If all the above is true, then yes, you created an item, but you have to make sure that the information is correct.

The command alteritem works on the assumption that you are converting the item that is calling the command, so there's no need to specify that, all you have to specify is how many you need to have in order to convert and what item you want it to change into with a quantity if you like (default is 1).

So

alteritem 3, 125, 2

would convert the item that called the command into 2 items of ID 125, providing you had 3 of the original item to convert.

alter item <quantity to convert>, <ID of item to convert into>, <quantity of new item>

So when you change the ID to an item that already exists, then yes, it will work... That's the idea. You're not duplicating the item into a new ID, you're creating an instance of the ID you specify.

old Re: A strange probleme/bug @_@

thecode
User Off Offline

Quote
Well, you ain't gonna need the creator for this one, but you might need to rethink your understanding of the alter item functions. So when you create a new item? Define "create"? You've wrote the item defintion in a script file like items_mod.inf yeah? And you have the model descriptor pointing to a model in the mod folder? And you've done the same for the icon? And you set the ID to a number currently not being used by any other item and within the limits you set in game.inf? If all the above is true, then yes, you created an item, but you have to make sure that the information is correct.

Yes.I do the same for items 255 to 3xx and it worked perfectly

Why when I created my other objects I had no problems?
This is when I arrive at the ID 3xx the problems started.
And I repeat that I have put item limit to 800


I think it's a bug.

In the id you reached 300? have you a problem?

old Re: A strange probleme/bug @_@

BiGSiD
User Off Offline

Quote
You did somethiong wrong !

The reason is by u, in Ext.-Mod the itemlist counts up to 836 Items !!! and it work fine, so there isn't any error or bug in game.

Try to watch the scripting in Ext-Mod (only avaiable in german lang. i think)

old Re: A strange probleme/bug @_@

thecode
User Off Offline

Quote
What Ex-mod please?

The reason is by u

How do you explain then that the item of 255 to 300 works and those of 3xx does not work-_-

old Re: A strange probleme/bug @_@

thecode
User Off Offline

Quote
No it's impossible.
I'll explain:

There is a sequence of objects ranging from 258 to 307

What changes is the icon of the purpose and effect of hunger and thirst.
the item are 258 to 300 are working.
And I specified that since the 258 I only copy and paste.

BUT when I get a 301 it makes me my these mistakes there ...

So I do not think this problem came from me.

I just tried the ID 498 and 499 and it works. Why other ID does not work?

I despair...

old Re: A strange probleme/bug @_@

BiGSiD
User Off Offline

Quote
then try to dont use those specifieed numbers of items

i know a correct order in programming and scripting is the best what u can do, but if it wont work, dont use those id's

edit: im working with units up to id321, there arent any problems with id-numbers

old Re: A strange probleme/bug @_@

thecode
User Off Offline

Quote
dont use those id's

I can not!
It will be like =s

i know a correct order in programming and scripting is the best what u can do

I try and I edit

old Re: A strange probleme/bug @_@

Psytechnic
User Off Offline

Quote
Did you read the part where I said it may not be the combination, but the one defined before it that's causing the problem...

Try put these new combinations into a seperate "combinations_mod.inf" file and see if the error comes up with the same id...
To the start Previous 1 Next To the start
Log in to replyGeneral overviewStranded II overviewForums overview