Adding SMOD objects to WLD files

08/11/2017 12:31 MC Flip#1
I know, this question has been asked countless times throughout the years, I did my research.

However, according to the information and instructions given in those topics, it is not quite working out for me.

The information I have:
- use shstudio
- insert a object/shape (Edit -> Create Item or simply press Insert)
- insert X, Y and Z coordinates for the added object
- Voila, object added

Unfortunately, the given information is incorrect or I am missing a step, as the added smod files do not appear in game after importing the edited wld to the client.
08/11/2017 14:01 zRampageP#2
Quote:
Originally Posted by MC Flip View Post
I know, this question has been asked countless times throughout the years, I did my research.

However, according to the information and instructions given in those topics, it is not quite working out for me.

The information I have:
- use shstudio
- insert a object/shape (Edit -> Create Item or simply press Insert)
- insert X, Y and Z coordinates for the added object
- Voila, object added

Unfortunately, the given information is incorrect or I am missing a step, as the added smod files do not appear in game after importing the edited wld to the client.
There're some models which need an effect for being visible, check if your model has one or more effects linked in wld file
08/11/2017 14:22 MC Flip#3
Quote:
Originally Posted by zRampageP View Post
There're some models which need an effect for being visible, check if your model has one or more effects linked in wld file
Could you give me an example so I know what to look for?

The shape I am trying to import does not have any glow or flames to it.
08/11/2017 14:33 zRampageP#4
Quote:
Originally Posted by MC Flip View Post
Could you give me an example so I know what to look for?

The shape I am trying to import does not have any glow or flames to it.
Are you trying to import that object from another existing map? Then go in that .wld map and check if there are some match between your shape's coordinates and one or more effects coordinates. Btw, what are you trying to import?
Here's you an example:
G1_Cbox_64.SMOD, which represents the protective wall in dd1 / dd2 / jungle, if alone, it does not show but it exists, you can't pass through it; for making it visible you have to import also one effect called "ybill00.3DE"
It could be something like that, try teleporting on exact coordinates of your shape
08/11/2017 14:44 MC Flip#5
Quote:
Originally Posted by zRampageP View Post
Are you trying to import that object from another existing map? Then go in that .wld map and check if there are some match between your shape's coordinates and one or more effects coordinates. Btw, what are you trying to import?
Here's you an example:
G1_Cbox_64.SMOD, which represents the protective wall in dd1 / dd2 / jungle, if alone, it does not show but it exists, you can't pass through it; for making it visible you have to import also one effect called "ybill00.3DE"
It could be something like that, try teleporting on exact coordinates of your shape
Thanks, this makes it a lot clearer now.

Yes, I am trying to import objects from another map. I will try and see if I get it to work.

EDIT: Didn't work.

I checked the .EFT file, there are no effects under the same coordinates so I tried all effects.
0 = Portal
1 = Fire
2 = Shine
3 and upwards = Fire + glow

I got things to show up, but still no sign of the object I am trying to import.
08/12/2017 12:54 zRampageP#6
Quote:
Originally Posted by MC Flip View Post
Thanks, this makes it a lot clearer now.

Yes, I am trying to import objects from another map. I will try and see if I get it to work.

EDIT: Didn't work.

I checked the .EFT file, there are no effects under the same coordinates so I tried all effects.
0 = Portal
1 = Fire
2 = Shine
3 and upwards = Fire + glow

I got things to show up, but still no sign of the object I am trying to import.
Could be more specific? What's that object which you're trying to import?
08/12/2017 16:22 MC Flip#7
Quote:
Originally Posted by zRampageP View Post
Could be more specific? What's that object which you're trying to import?
I'm trying to import the shape R1_trade_platform02.SMOD from Map 42.

I figured how effects work, basically which effect you get is set by the number in the XX.EFT file.

I tried hex editing a different .EFT file into the .WLD, that didn't work and editing the .EFT through shstudio does not work either, so I have no idea how else to import the required .3DE and .DDS files.
08/13/2017 02:32 sominus#8
Adding that smod with SStudio should work right away with just adding it as you said in your first post.


Just remember there are other parameters (Rotation xyz, and Unknown 1 2 3). Sometimes objects will not show if all those parameters are zero.

In that screenshot I've used:

Rotation X=0.9
Rotation Y=0.0
Rotation Z=0.01

Unknown 1= 0.0
Unknown 2= 1.0
Unknown 3= 0.0
08/13/2017 07:55 MC Flip#9
Quote:
Originally Posted by sominus View Post
Adding that smod with SStudio should work right away with just adding it as you said in your first post.


Just remember there are other parameters (Rotation xyz, and Unknown 1 2 3). Sometimes objects will not show if all those parameters are zero.

In that screenshot I've used:

Rotation X=0.9
Rotation Y=0.0
Rotation Z=0.01

Unknown 1= 0.0
Unknown 2= 1.0
Unknown 3= 0.0
Thanks, so the problem was that at least the x coordinate must be set in order for the object to show.

Never thought this could have been the problem.