Oni Central Forum

A forum for the Oni community

You are not logged in.

#1 26/5/13 1:28

Samer
Member
From: Lebanon
Registered: 4/9/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 (26/5/13 1:44)


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

Offline

#2 26/5/13 5:37

paradox-01
Member
From: Germany
Registered: 14/1/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 (26/5/13 5:50)

Offline

#3 26/5/13 7:16

Samer
Member
From: Lebanon
Registered: 4/9/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 (26/5/13 7:48)


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