You are not logged in.
Hey, I'm trying to import a new level I made into oni. I have all necessary files, as described by EdT, and I made a package and already installed it.
However, when I enter the level, there is nothing but the skybox, some people dead who don't even fall, and some fire coming up from nowhere. Then I fall and die.
I have the textures as TXMPs but it is weird that it couldn't find one of my textures. The faces facing me are all front faces, I think. I don't know what to do, I'll research to know why one of my textures wasn't imported.
Last edited by Lukas Kreator (07/25/11 20:07)
Offline
it is possible you are spawning below the level. Edit the bsl chr_location 0 0 20 0
Offline
However, when I enter the level, there is nothing but the skybox, some people dead who don't even fall, and some fire coming up from nowhere. Then I fall and die.
You spawned in Hell?!?
Check out the Anniversary Edition Seven at ae.oni2.net!
Offline
that could be an interesting level
Join our Oni Facebook Group
Check My YouTube Channel for my Oni Videos.
Check My Wiki page for all my stuff
Offline
lol, anyway, I think it is fixed now.
Offline
1- I kinda get stuck while going up ramps, just in the end, and then I have to stop running or jump, I just can't run from the ramp to the floor directly.
2- How do I make something intentionally invisible? I tried inverting the faces, but now I can't collide with it.
3- When I load the levels, the textures are VERY dark. Kinda black and gray.
Offline
1) Try comparing your ramp with the ramp in the junkyard that leads you to the top of the trucks. Maybe your ramp is too steep? At the top, could the ramp be slighly below the top so you are hitting a polygon.
2) I think you can use a transparent texture and apply it to the polygon. if that doesn't work you will have to manually edit the dae.
Look for something similar to the following and find the part that applies to the transparent texture.
<library_effects>
<effect id="texture0_fx">
<profile_COMMON>
<newparam sid="surface">
<surface type="2D">
<init_from>texture0_img</init_from>
</surface>
</newparam>
<newparam sid="sampler">
<sampler2D>
<source>surface</source>
</sampler2D>
</newparam>
<technique>
<phong>
<ambient>
<color sid="ambient">1 1 1 1</color>
</ambient>
<diffuse>
<texture texture="sampler" texcoord="diffuse_TEXCOORD" />
</diffuse>
<specular>
<color sid="specular">0 0 0 0</color>
</specular>
<transparent opaque="A_ONE">
<texture texture="sampler" texcoord="diffuse_TEXCOORD" />
</transparent>
</phong>
</technique>
</profile_COMMON>
</effect>
You need this part:
<transparent opaque="A_ONE">
<texture texture="sampler" texcoord="diffuse_TEXCOORD" />
</transparent>
3) In the IGMD folder you need to create a folder to hold your bsl. According to your ONLVLevel.xml the name of the folder would be minipartenon from the tag <Name>minipartenon</Name> Inside you can have a minimum of
func void main (void) {
env_show 2010 0
gl_fog_blue=.15
gl_fog_red=.15
gl_fog_green=.15
gl_fog_start=.99
gs_farclipplane_set 5000
}
Offline
Thanks a lot, I already have a script, but I will add your functions!
Offline
I have a question (problem) with my ONLV file. When I try to convert ONLV in Oni file Oni Split shows me message:
"System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary."
What should I do? Do you need screenshot of the message window?
Last edited by Nitr0 (07/27/11 10:07)
Offline
Can you try using this ONLV file and modify it to fit your level: http://cl.ly/220h2y3M2V1l0m3E032F
Offline
The ONLV work, now I'll try to run my level.
Again, question: How will Oni show parts of level without textures?
Offline
Nitro: If you are using the latest OniSplit http://edt.oni2.net/OniSplit/OniSplit56.exe.zip any polygons not having textures will use a substitute, I don't know off hand the exact name but it is in level0 something like texnotfound or notex,
Offline
I put the TXMP texture files with my level and all textures are black.
Offline
Are the textures correctly named in the 3D program? Which 3D program are you using?
Offline
Yes they are... At least I think they are...
I'm using XSI 7.5
Offline
If you can upload the .dat that gets created, I can send it to Neo to take a look at.
Iritscen:
Iritscen: it's amazing this program even works
Gumby: i know
Iritscen: and that statement applies to my code, not just yours
Offline
I retextured all parts and now it works.
Can someone tell me these things:
1. How to put console object? I see the texture of it and when I click CTRL Konoko just walks to it all the time, until I stop it (jumping, running in other direction, etc.)
2. How to put the door object and make it locked until I use the console (In this case the console I mentioned above)?
3. How to put that light object (green-opened or red-locked light particle) near that door?
Do I need to edit something more than BINACJBO* files of my level, to do that?
Last edited by Nitr0 (07/28/11 14:07)
Offline
Anyone?
Offline
Sorry for late and not helpful response. You are ahead of us in using consoles and doors, so you will have to experiment and tell us the results :-)
1) I don't know
2) Currently OniSplit does not support importing doors
3) I don't know
Offline
hey Nitr0, I'm not sure how to solve your problems, but I would strongly recommend looking at some of the BSL files. I'm pretty sure doors and consoles are done in BSL. Find a door ingame, and find the part of the BSL file that corresponds to it. Examine the code, and try and replicate it for your own door.
"He looks mean enough to tear my arm off and beat me to death with it. In fact, he looks mean enough to tear his OWN arm off and beat me to death with it."
Offline
@EdT: lol xD
@Mukade: I was checking something but I didn't find anything useful... I'll try to find it once more.
Offline
EdT can you please tell me what was problem with my ONLV file, because I got same error again modifying the ONLV file you gave me?
Offline
Nitro: can you post the ONLV.xml for me to look at
Offline
Offline
I put the door and console in my level, but...
There isn't door object at all, you can pass throuht it. But there is something interesting. When I stand in front of the door and click action button it plays the sound (the door is locked now). When I use the console (similar situation here, no object, just texture), I unlock the door (I did the BSL part), stand in front of the doors and click action button it plays me sound of opening the door.
Offline