AE:Weapons: Difference between revisions

From OniGalore
Jump to navigation Jump to search
m (wording of fmbox)
 
(28 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{|align=right
{{fmbox
![[ONK:ONK|Oni ni Kanabô]]<br>http://geyser.oni2.net/ONK/ONK.png
  | text  = This project was discontinued because [[AE:ONK|ONK]]'s hex-editing was obsolesced by [[OniSplit]], and because the [[AE]] initiative no longer comes bundled with original content. Some of the weapons below '''are''' available from within the AE Installer, including WMC Lite and the Telekinetic Bracelet, under the name "New Weapons Collection".
  }}
{|style="float:right"
![[AE:ONK|Oni ni Kanabô]]<br>[[Image:ONK.png]]
|}
|}
Modded weapons and weapon-related stuff should go here
Modded weapons and weapon-related stuff should go here.
==Weapons==
 
==Weapon classes==
This involves modifying [[OBD:ONWC|ONWC]] files (weapon classes) in '''level0_Final.dat'''.
This involves modifying [[OBD:ONWC|ONWC]] files (weapon classes) in '''level0_Final.dat'''.


You may want to back up '''level0_Final.dat''' before proceeding.
You may want to back up '''level0_Final.dat''' before proceeding.
===SBG===
===SBG===
;SBG2 & SBG2bis
;SBG2 & SBG2bis
Line 13: Line 18:
*SBG2 fires regular SBG rounds as primary ammo, and WMC grenades as secondary ammo.
*SBG2 fires regular SBG rounds as primary ammo, and WMC grenades as secondary ammo.
*SBG2bis fires WMC grenades as primary ammo, and regular SBG rounds as secondary ammo.
*SBG2bis fires WMC grenades as primary ammo, and regular SBG rounds as secondary ammo.
[[ONK:Patching|Patch]] the file '''w5_sbg.ONWC''' in '''level0_Final.dat''' with one of the following TRMA files, depending on the file IDs of the involved files in your version of Oni.
Patch the file '''w5_sbg.ONWC''' in '''level0_Final.dat''' with one of the following ONWC files, depending on the file IDs of the involved files in your version of Oni.
{|border=1 cellspacing=0
{|border=1 cellspacing=0
!colspan=2|File ID
!colspan=2|File ID
Line 22: Line 27:
|.M3GM
|.M3GM
|-
|-
|3897
|3905
|3898
|3906
|superball_icon.TXMP
|superball_icon.TXMP
|-
|-
Line 44: Line 49:
|[http://geyser.oni2.net/ONK/weapons/SBG2/SBG2_a.ONWC SBG2]
|[http://geyser.oni2.net/ONK/weapons/SBG2/SBG2_a.ONWC SBG2]
|[http://geyser.oni2.net/ONK/weapons/SBG2/SBG2_b.ONWC SBG2]
|[http://geyser.oni2.net/ONK/weapons/SBG2/SBG2_b.ONWC SBG2]
|
|-
|[http://geyser.oni2.net/ReOni/ONK/weapons/SBG2bis/SBG2bis_a.ONWC SBG2bis]
|[http://geyser.oni2.net/ReOniMac/ONK/weapons/SBG2bis/SBG2bis_b.ONWC SBG2bis]
|
|
|}
|}
Line 56: Line 57:
#Import the downloaded [[OBD:ONWC|ONWC]] on top of '''w5_sbg.ONWC'''
#Import the downloaded [[OBD:ONWC|ONWC]] on top of '''w5_sbg.ONWC'''


===WMC===
===WMC Lite===
WMC Lite and Screaming Chaingun coming soon...
 
In the case of the WMC (Wave Motion Cannon), it has a few flags set in w11_ba1.ONWC :
*it doesn't fade
*it can't be reloaded (which is why most AI won't pick it up)
*it prevents you from running, creeping, jumping and melee fighting
*it has no laser sight (so it's pretty hard to aim as precisely as the AI do)
 
All these can be changed by hex-editing w11_ba1.ONWC.
*open level0_Final.dat in OniUnPacker
*look up w11_ba1.ONWC
*in the hex editing window, change the value at 0xD4 from 0E 3E 08 00 to 0C A6 00 00 (if you want it to reload with energy cells) or to 08 A6 00 00 (if you want it to reload with ballistic ammo)
 
[[Image:WMC lite hex changes.jpg]]
 
Then you get what I call WMC Lite : something like a regular weapon, that AI can pick up and reload if they have the right ammo, and something you can move normally with. Plus fading plus laser sight plus ammo meter. Plus holstering, even though it looks super-weird.
 
===Black Equalizer===
===Black Equalizer===
An Equalizer with a rapid-fire mode, coming soon...
An Equalizer with a rapid-fire mode, coming soon...
===Campbell Adder===
===Campbell Adder===
A Black Adder with a single-shot mode, coming soon...
A Black Adder with a single-shot mode, coming soon...
===Framerate Friendly Fireworks===
===Framerate Friendly Fireworks===
Mukade's Red Ball with a much slower fire rate and limited ammo.
Mukade's Red Ball with a much slower fire rate and limited ammo.
Line 70: Line 88:


Coming (sigh...) soon...
Coming (sigh...) soon...


===Telekinetic bracelet===
===Telekinetic bracelet===
Mutant Muro's Tractor (attractive force field) and Thunderbolt (repulsive force field) in one combined.
Mutant Muro's Thunderbolt (attractive force) and "Blanka" (repulsive force) in one weapon.


http://geyser.oni2.net/pics/screenshots/tractor1.jpg
[[Image:Muro thunderbolt weapon.jpg]]


http://geyser.oni2.net/pics/screenshots/thunderbolt.jpg
[[Image:Muro blanka weapon.jpg]]


To get this power you need to:
To get this power you need to:
* Open the level0_Final.dat in OniUnPacker.
* Open [[GameDataFolder]]/level0_Final.dat in [[OBD:OUP|OniUnPacker]].
* Choose the w10_sni.ONWC file.
* Choose the w10_sni.ONWC file in the list on the left (set the extension filter to ONWC)
* Take e.g. w12_ba2.ONWC, and replace w12_ba2_e01 with w13_muro_e01 or w14_muro_e01
* Look for '''w10_sni_e01''' in the data viewer (top right, right column)
* Replace it with '''w13_muro_e01''' (Thunderbolt) or '''w14_muro_e01''' (Blanka)
 
[[Image:MM Tractor hex changes.jpg]]


Here is a screenshot for the Muro Tractor [http://edt.oni2.net/images/MMTractor.jpg Modified file in OUP]


----
More advanced hack instructions coming Soon(TM).


==Other stuff==
==Advanced weapon handling==
===Holstering===
===Holstering===
Either we'll make the AI smarter about holstering, or we'll just disable holstering for rifles (or all weapons).
Either we'll make the AI smarter about holstering, or we'll just disable holstering for rifles (or all weapons).
===Handgrenades===
 
===Hand grenades===
Probably scripted, not only patched.
Probably scripted, not only patched.
[[Category:Obsolete AE mods]]

Latest revision as of 13:54, 13 December 2023

Oni ni Kanabô
ONK.png

Modded weapons and weapon-related stuff should go here.

Weapon classes

This involves modifying ONWC files (weapon classes) in level0_Final.dat.

You may want to back up level0_Final.dat before proceeding.

SBG

SBG2 & SBG2bis
  • This is an SBG with two firing modes : regular SBG rounds and WMC grenades.
  • Ammo clip capacity is 5 regular SBG rounds or 10 WMC grenades.
  • SBG2 fires regular SBG rounds as primary ammo, and WMC grenades as secondary ammo.
  • SBG2bis fires WMC grenades as primary ammo, and regular SBG rounds as secondary ammo.

Patch the file w5_sbg.ONWC in level0_Final.dat with one of the following ONWC files, depending on the file IDs of the involved files in your version of Oni.

File ID File name
3897 3898 .M3GM
3905 3906 superball_icon.TXMP
3711 3712 tap_empty.TXMP
3712 3713 tap_fill.TXMP
3908 3909 w5_glow.TXMP
3909 3910 w5_glow_ammo.TXMP
SBG2 SBG2
  1. Open level0_Final in OUP
  2. Check the IDs of the involved files
    • the nameless M3GM file is just the body mesh of the SBG (should be right after w5_sbg.ONWC)
  3. Download the appropriate version
  4. Import the downloaded ONWC on top of w5_sbg.ONWC

WMC Lite

In the case of the WMC (Wave Motion Cannon), it has a few flags set in w11_ba1.ONWC :

  • it doesn't fade
  • it can't be reloaded (which is why most AI won't pick it up)
  • it prevents you from running, creeping, jumping and melee fighting
  • it has no laser sight (so it's pretty hard to aim as precisely as the AI do)

All these can be changed by hex-editing w11_ba1.ONWC.

  • open level0_Final.dat in OniUnPacker
  • look up w11_ba1.ONWC
  • in the hex editing window, change the value at 0xD4 from 0E 3E 08 00 to 0C A6 00 00 (if you want it to reload with energy cells) or to 08 A6 00 00 (if you want it to reload with ballistic ammo)

WMC lite hex changes.jpg

Then you get what I call WMC Lite : something like a regular weapon, that AI can pick up and reload if they have the right ammo, and something you can move normally with. Plus fading plus laser sight plus ammo meter. Plus holstering, even though it looks super-weird.

Black Equalizer

An Equalizer with a rapid-fire mode, coming soon...

Campbell Adder

A Black Adder with a single-shot mode, coming soon...

Framerate Friendly Fireworks

Mukade's Red Ball with a much slower fire rate and limited ammo.

Maybe with a Phase Stream Projector body.

Maybe with WMC grenades as secondary ammo.

Coming (sigh...) soon...

Telekinetic bracelet

Mutant Muro's Thunderbolt (attractive force) and "Blanka" (repulsive force) in one weapon.

Muro thunderbolt weapon.jpg

Muro blanka weapon.jpg

To get this power you need to:

  • Open GameDataFolder/level0_Final.dat in OniUnPacker.
  • Choose the w10_sni.ONWC file in the list on the left (set the extension filter to ONWC)
  • Look for w10_sni_e01 in the data viewer (top right, right column)
  • Replace it with w13_muro_e01 (Thunderbolt) or w14_muro_e01 (Blanka)

MM Tractor hex changes.jpg


More advanced hack instructions coming Soon(TM).

Advanced weapon handling

Holstering

Either we'll make the AI smarter about holstering, or we'll just disable holstering for rifles (or all weapons).

Hand grenades

Probably scripted, not only patched.