Oni Central Forum

A forum for the Oni community

You are not logged in.

#1 05/26/13 01:05

Samer
Member
From: Lebanon
Registered: 09/04/09
Website

Adding weapons to levels problem

I'm trying to add weapons to levels for a package I have in mind
I have a 2 part question
to add weapons I have to modify the BINACJBOWeapon file right ?
so I thought it would be easier to extract that file from each level I want to modify using Onispli command instead of converting all the dat to oni.
So I used this command:
-export:BINACJBOWeapon D:\Temp\Oni "D:\Games\Oni\Oni Game\AE\GameDataFolder\level1_Final.dat"
I'm getting a BINACJBOWeapon.oni file in the folder I specified so that's a good sign .. but when I convert that file to xml it's empty it only contains this:

<?xml version="1.0" encoding="utf-8"?>
<Oni>
    <Objects />
</Oni>

shouldn't it have references to all weapons in that level ? I tried for other levels with same result .. what did I do wrong :\

edit: I tried converting the BINACJBOWeapon file from Edt's boss battle package (direct oni to xml conversion no dat ) with same result .. could this be another onisplit bug ?

Last edited by Samer (05/26/13 01:05)


Join our Oni Facebook Group
Check My YouTube Channel for my Oni Videos.
Check My Wiki page for all my stuff

Offline

#2 05/26/13 05:05

paradox-01
Member
From: Germany
Registered: 01/14/07

Re: Adding weapons to levels problem

To add weapons I have to modify the BINACJBOWeapon file right ?

Yes. -- It's also possible to spawn weapons at a FLAG (weapon_spawn WeaponClass Flag).


I tried for other levels with same result

Bad luck I guess. Be sure that the file is not empty. Level 1 and Edt's 23 are empty.
For other new or modified levels you can also throw the file into a hex-editor* to see if it holds content or not.

* To change the language: Optionen > Einstellungen > Sprache > Sprachpaket
Change "Deutsch (Standard)" to "English".

Last edited by paradox-01 (05/26/13 05:05)

Offline

#3 05/26/13 07:05

Samer
Member
From: Lebanon
Registered: 09/04/09
Website

Re: Adding weapons to levels problem

oh ok thanks paradox smile
I tried level 1 and 2 and 4 and 6 all were empty tongue level 3 wasn't ... and that's why I don't play the lottery tongue

Last edited by Samer (05/26/13 07:05)


Join our Oni Facebook Group
Check My YouTube Channel for my Oni Videos.
Check My Wiki page for all my stuff

Offline

Board footer

Powered by FluxBB