CHROME: Add all available weapons on a internet Server
There are some weapons not available when a standard server is setup. On example the silenced weapons, or the heavy HEX gun. But maybe it would be fun to try it out ? :p Also there are some inventory items, interesting.... but not really valuable... like a CD player. Now how to do ?
Disclaimer: You make these modifications at your own risk, and i cant be held responsible for any damage that could arise from their usage. By following these insctrucions you automatically accept.
- Choose the map you want to start a server with... in our example the "chillout" map
- Change to the directory \chrome\Data\LevelsNet\Chillout
- there you will find a .SCR file named TD.scr
- Make a backup of the original .SCR file just in case...
- Open this file with a editor like notepad (if you cant, you can change the file name to TD.txt for editing on example; but dont forget do name it back to .SCR after !)
- Now you can replace the text beginning from "InventoryRoom()" with the blue text: InventoryRoom()
{
SetInvWeaponNum("WeaponPistolNet", 1)
SetInvWeaponNum("WeaponPistolSilenced", 1)
SetInvWeaponNum("WeaponPistolHeavyNet", 1)
SetInvWeaponNum("WeaponRifleShortNet", 1)
SetInvWeaponNum("WeaponRifleShortSilenced", 1)
SetInvWeaponNum("WeaponRifleShotgunNet", 1)
SetInvWeaponNum("WeaponRifleNet", 1)
SetInvWeaponNum("WeaponRifleSniperNet", 1)
SetInvWeaponNum("WeaponRifleSniperHeavyNet", 1)
SetInvWeaponNum("WeaponRifleMachineGunNet", 1)
SetInvWeaponNum("WeaponRifleHeavyNet", 1)
SetInvWeaponNum("WeaponHeavyElectroNet", 1)
SetInvWeaponNum("WeaponHeavyRocketLauncherNet", 1)
SetInvWeaponNum("WeaponHeavyHEX", 1)
SetInvWeaponNum("WeaponGrenadeOffensiveNet", 20)
SetInvWeaponNum("WeaponGrenadeSmoke", 20)
SetInvWeaponNum("WeaponGrenadeCluster", 20)
SetInvWeaponNum("WeaponGrenadeEMP", 20)
SetInvWeaponNum("WeaponGrenadeFlash", 20)
AddInvEquip("DrugHealthex", 20)
AddInvEquip("DrugNeuralHealthex", 20)
AddInvEquip("BinocularsExtended", 1)
AddInvEquip("CDPlayer", 1)
AddInvEquip("MP3Player", 1)
AddInvEquip("CloakingDevice", 20)
SetInvAmmoNum("Ammo9mmShort", 20)
SetInvAmmoNum("Ammo8mmLong", 20)
SetInvAmmoNum("Ammo12mmShort", 20)
SetInvAmmoNum("Ammo14mmLong", 20)
SetInvAmmoNum("AmmoShotgun", 20)
SetInvAmmoNum("AmmoEnergy", 20)
SetInvAmmoNum("AmmoRockets", 20)
DefaultWeapon("WeaponRifleNet")
DefaultWeapon("Ammo8mmLong")
DefaultWeapon("Ammo8mmLong")
DefaultWeapon("WeaponPistolNet")
DefaultWeapon("Ammo9mmShort")
DefaultWeapon("DrugHealthex")
DefaultWeapon("WeaponGrenadeOffensiveNet")
DefaultWeapon("WeaponGrenadeOffensiveNet")
}
ImplantsRoom()
{
ImplantAssimilation("ImplantZoom", 1.0)
ImplantAssimilation("ImplantArmor", 1.0)
ImplantAssimilation("ImplantSpeed", 1.0)
ImplantAssimilation("ImplantAccuracy", 1.0)
ImplantAssimilation("ImplantStrength", 1.0)
ImplantAssimilation("ImplantTermovision", 1.0)
} - Now dont forget (if applicable) to rename the file to .SCR
- Start a network or internet server with the level of the modified .SCR file.
- Enjoy !
.jpg)


6 comments:
Greetings from Chrome player ;)
I tried out some more stuff: Most of the like "stationary cannons" crash the game. But the weapons of mech can be also added if you want to try:
SetInvWeaponNum("WeaponShotgun", 1)
SetInvWeaponNum("WeaponWalkerNet_w_Gun", 1)
SetInvWeaponNum("WeaponWalkerNet_w_Rocket", 1)
SetInvWeaponNum("WeaponBurbot", 1)
"WeaponShotgun": visible as knife in game makes a horrible shooting sound... but doesn't seem to have any damage.
"Walker_w_Gun": CAFS Animation with mech gun sound. Works quite good. Only semi-auto, no recoil... 120 damage, unlimited ammo, doesnt take any space, once you take it you will respawn automatically with this weapon: could change the balance quite a bit.
"Walker_w_Rocket": Rocket launcher animation with semi-auto fast shooting rate: 2400 Damage, unlimited ammo... DONT INCLUDE THIS WEAPON IF YOU WANT ANY KIND OF "BALANCE" !! LOL ;-)
"WeaponBurbot": ? Didnt cause the game to crash, but doesnt show up anywhere (?).
AdRiAnO66 said...
Greetings from Chrome player ;)
Tuesday, July 31, 2007 11:50:00 PM
Hello adriano nice to see you here :-) sorry that your post didnt show up right away, i had wrong setting... hope u have fun there :p
If you want the copy/paste text with a terrible sounding knife-shotgun and the semi-automatic Super CAFS rifle... pate it analog the instructions on this post instead the blue text:
InventoryRoom()
{
SetInvWeaponNum("WeaponPistolNet", 1)
SetInvWeaponNum("WeaponPistolSilenced", 1)
SetInvWeaponNum("WeaponPistolHeavyNet", 1)
SetInvWeaponNum("WeaponRifleShortNet", 1)
SetInvWeaponNum("WeaponRifleShortSilenced", 1)
SetInvWeaponNum("WeaponRifleShotgunNet", 1)
SetInvWeaponNum("WeaponRifleNet", 1)
SetInvWeaponNum("WeaponRifleSniperNet", 1)
SetInvWeaponNum("WeaponRifleSniperHeavyNet", 1)
SetInvWeaponNum("WeaponRifleMachineGunNet", 1)
SetInvWeaponNum("WeaponRifleHeavyNet", 1)
SetInvWeaponNum("WeaponHeavyElectroNet", 1)
SetInvWeaponNum("WeaponHeavyRocketLauncherNet", 1)
SetInvWeaponNum("WeaponHeavyHEX", 1)
SetInvWeaponNum("WeaponShotgun", 1)
SetInvWeaponNum("WeaponWalkerNet_w_Gun", 1)
SetInvWeaponNum("WeaponBurbot", 1)
SetInvWeaponNum("WeaponGrenadeOffensiveNet", 20)
SetInvWeaponNum("WeaponGrenadeSmoke", 20)
SetInvWeaponNum("WeaponGrenadeCluster", 20)
SetInvWeaponNum("WeaponGrenadeEMP", 20)
SetInvWeaponNum("WeaponGrenadeFlash", 20)
AddInvEquip("DrugHealthex", 20)
AddInvEquip("DrugNeuralHealthex", 20)
AddInvEquip("BinocularsExtended", 1)
AddInvEquip("CDPlayer", 3)
AddInvEquip("MP3Player", 3)
AddInvEquip("CloakingDevice", 20)
SetInvAmmoNum("Ammo9mmShort", 20)
SetInvAmmoNum("Ammo8mmLong", 20)
SetInvAmmoNum("Ammo12mmShort", 20)
SetInvAmmoNum("Ammo14mmLong", 20)
SetInvAmmoNum("AmmoShotgun", 20)
SetInvAmmoNum("AmmoEnergy", 20)
SetInvAmmoNum("AmmoRockets", 20)
DefaultWeapon("WeaponRifleNet")
DefaultWeapon("Ammo8mmLong")
DefaultWeapon("Ammo8mmLong")
DefaultWeapon("WeaponPistolNet")
DefaultWeapon("Ammo9mmShort")
DefaultWeapon("DrugHealthex")
DefaultWeapon("WeaponGrenadeOffensiveNet")
DefaultWeapon("WeaponGrenadeOffensiveNet")
}
ImplantsRoom()
{
ImplantAssimilation("ImplantZoom", 1.0)
ImplantAssimilation("ImplantArmor", 1.0)
ImplantAssimilation("ImplantSpeed", 1.0)
ImplantAssimilation("ImplantAccuracy", 1.0)
ImplantAssimilation("ImplantStrength", 1.0)
ImplantAssimilation("ImplantTermovision", 1.0)
}
Ok I've found it all in code_inf.pak ;)
Ok, yes i seen it there too :) But to see what could just possibly work i check the .Java files in the following directories:
For weapons (both online and offline):
\chrome\JavaChromeGameNet\Inventory\Objects\Weapons
\chrome\JavaChromeGameNet\Inventory\Objects\Weapons\Net
For equipment:
\chrome\JavaChromeGameNet\Inventory\Objects\Equipment
For drugs ;-):
C:\Games\chrome\JavaChromeGameNet\Inventory\Objects\Drugs
Unfortunately changing some weapon stats seems not to have any effect. Would eb cool to change some stuff like bullet distance... rate of fire etc... so far i just tried with the machinepistol (WeaponRifleShortNet.java) :)
Post a Comment