BattleZone

Post about your finished mods here.
User avatar
Prophet
Militia Captain
Militia Captain
Posts: 826
Joined: Tue Nov 18, 2008 6:09 pm

what exactly is it you need. If you just need to spawn a specific ship as an enemy i suggest you use the god mod
If I make up a custom ship list, how can I use it in BattleZone? Could there be an option at the station to select from a custompicker which shipList to look for? This would override the current method of enum over the ship list items and instead search for a specific <staticData> list in a different shipList.
i suppose you mean you want to randomize ships starting equipment. Since we have complete control over the ships when they spawn, it is something that would make more sense to build into battlezone, rather then have it configured on each ship
I did mean randomize, but if we can agree to build an entire new shipList (which I would like to do) is there a convention we can use to make selecting the ships easier? We could have the ships standardized to certain starting equipment and simply add appropiate equipment in Battle Zone for the current level without having to add a large number of ships. This method would kindof eliminate the need to detect the combat power as it would be set by the equipment selected in the code.
I am definitely looking for a more controlled way to partition ships.
Atm you can find the func that build the ship list as (buildShipList).
I'm envisioning a more defined Level transition where the same ship graphics spawn in later levels with the same AI but better equipment. Certain levels could use different damage type?.

StaticData could hold certain lists to tell Battle zone which function to use to generate epuipment appropriate for the level.

Code: Select all

<StaticData>
     (;List Unid (# optional,   nexe level unid (#) next)
         (Weapon &itLaserCannon 1; &itTurboLaserCannon 1;)
         (Armour &itTitanium plate; &itLightBlastPlate ;)
         (Shield &itClassI; &itClassII;)
         (Loot &itBZTrophy1)
     )
</StaticData>
So when Battle zone calaculates a spawn it checks the current level and determines how many ships of each ship unid,and gets the static data for what to install for the current level.
I don't know if there's an easier way to generate specific equipment loads as I am not very good at writing code. (yet, hopefully)
This could Multiply the number of ship graphics we have by the number of Level Load-outs in static data. Certain graphics would have the same AI throughout the game but level with the player. You could even have Battle zone check the player and spawn an enemy with a layout specificly to attack the players weakness (evil!) with a shield install list set to check the players dmg type?
I'm just throwing ideas out, take what you will. I'm excited to know what the next evolution of Battle zone could be.
Coming soon: The Syrtian War adventure mod!
A Turret defense genre mod exploring the worst era in Earth's history.
Can you defend the Earth from the Syrtian invaders?
Stay tuned for updates!
User avatar
Prophet
Militia Captain
Militia Captain
Posts: 826
Joined: Tue Nov 18, 2008 6:09 pm

I have made 14 basic ship classes to try and vary the AI and get ships performing certain roles. Some worked really well, others, not as much.



Fighter Mk I,II,III Regular AI, Attack mode. No launchers, avg spd/mnvr.

Bomber Mk I,II,II standOff order, they sit at a distance and pummel you with missiles. I made them pretty slow so you can chase them.

Interceptor A fighter with higher Rate of Fire, much lower accuracy, really fast and small. Basically just to piss you off and get you into crazy mode.

Kamikazi not really working how I had hoped. They move slow, they're really small (300D Defender Auton) so you have to get close to hit them, then they go ThermoNuclear!

Dive Bomber This worked out awesome. Really fast, but they're heavy so they end up doing a flyby and overshooting for a few seconds. It looks really cool with 20+ of them.

Then I tried some capitol ships. Cruiser, Destroyer, Battleship and Dreadnought. big beasties that can take a hurt and dish some back. These use mixed launcher and non launcher weapons.

Then I did up one "Boss" ship but haven't worked on him much. I'm thinking of custom workup taking weapon lay out and the Flavour of the level for each Boss.




All ship are outfitted with LightTitanium armour, Laser Blasters or NamiLaunchers and max 30 Longbows/Frags in Inventory.

The shop has enhanced items and any loot is only going to be sold (for nearly nothing) so I left it out.

All ships are set to leave wrecks 100% as Battlezone has a built in override.

The nice part of the custom ship list is I can set the "Score" at the level I want them to show up in. A simple multiplier would bring them back and a few scripts in battle zone could retrofit them with new equipment.

I just uploaded them to Xelerus if you'd like to have a look. ->http://www.xelerus.de/index.php?s=mod&id=322
Coming soon: The Syrtian War adventure mod!
A Turret defense genre mod exploring the worst era in Earth's history.
Can you defend the Earth from the Syrtian invaders?
Stay tuned for updates!
User avatar
alterecco
Fleet Officer
Fleet Officer
Posts: 1658
Joined: Wed Jan 14, 2009 3:08 am
Location: Previously enslaved by the Iocrym

Hi Prophet,

I just noticed you on xelerus and thought you deserved an answer on your previous post. But it looks like you already found out how to add custom ships to BZ :D. These new ships sound very cool and fun, and I look forward to trying them out

I am still considering your previous post, waiting for some inspiration to come flying in and hit me. Most of the ideas I like alot, but there is something I can't put my finger on, keeping me from jumping on the wagon right now (with the completely custom shipList / randomized items).

While waiting for the inspiration I will be adding some features to the god mod I hope you will all like :)

.]

Edit: P.S: Come on IRC..!! :D - Some brainstorms are easier to do there ;)
User avatar
Prophet
Militia Captain
Militia Captain
Posts: 826
Joined: Tue Nov 18, 2008 6:09 pm

I was sifting through old posts and found some relevant data on things we were talking about. combatPower is directly related to the Score and used to compare 2 ships to eachother. I can't find the post now (of course) but I checked out your Ship Data post on Xelerus and it looks like now you have all the data you could hope for!

Can't wait to hear your ideas for the next BZ.
Coming soon: The Syrtian War adventure mod!
A Turret defense genre mod exploring the worst era in Earth's history.
Can you defend the Earth from the Syrtian invaders?
Stay tuned for updates!
User avatar
alterecco
Fleet Officer
Fleet Officer
Posts: 1658
Joined: Wed Jan 14, 2009 3:08 am
Location: Previously enslaved by the Iocrym

BattleZone has been updated to version 2.1.

This release mostly fixes a few annoyances, but some new features are also added. I haven't done any major work on it for a while, so this just brings the released version up to date with my own last changes:

Code: Select all

        CHANGELOG V2.1
        --  Changed key for accessing RepairItems DocksScreen 
            from I to P, since it was conflicting with Install Device
            RepairItems Screen disabled since it does not 
            work properly
        --  Removed copyrighted images. Sob, search for new 
            ones will proceed slowly.
        --  Updated DockServices to work with the marginMultiplier
        --  Fixed Decontamination.
        --  The Trader will now buy when margin is 1.
        --  Items can now be set to a known state, 
            depending on a configuration variable
        --  Default inflation set to 30
        --  Targeting Computer installed by default (if applicable)
        --  EndGame Flavour texts removed temporarily, 
            due to them not matching the images 
            (since they were removed too)
        --  Updated descriptions for Configuration 
            items to be more coherent.
        --  Some items can now be blacklisted.
        --  Added config options for KnownItems, 
            and UseItemBlackList
        --  Added an option to change the layout of 
            the spawn points on the fly
        --  Added a couple of different layouts.
        --  Removed scAresCannon as it is immobile
        --  Fixed that installing devices could be done for no cost
        --  Items are now adjusted up in price the 
            more powerful enhancements they have
        --  Information on ship spawn is now more precise
        --  Added an option to toggle targeting 
            current spawn point on/off
        --  Reset the Zone Info Post. 
            It now actually has some information
The biggest change is dynamic spawn point layouts, which works pretty sweet. Let me know if there are any specific layouts you would like to see, and I can include them in the next version.

As always, please report any bugs, and let me know of any ideas or balance issues.

Enjoy. Link to Xelerus

.]
User avatar
alterecco
Fleet Officer
Fleet Officer
Posts: 1658
Joined: Wed Jan 14, 2009 3:08 am
Location: Previously enslaved by the Iocrym

BZ should now work with version 1.08b. It still requires the old DSF that can be found on xelerus.
Get your own Galactic Omni Device
Get it now. It's free!!
Image
matix
Militia Lieutenant
Militia Lieutenant
Posts: 198
Joined: Sun Apr 17, 2011 2:29 pm

i have all the proper stuff installed, on 1.08b, yet it crashes still when i dock with the stations. any clue on how to fix this? i can post my debug file if needed
Matix's Revolutionary Repair Items! Get it here !
Stronger Centauri! Download it here
Matix's Weapon Pack!: Find it here!
Preview: Momentum Cannons! Get it here!

IRC (Love it! :D):
[10:54] * matix pokes Guest33555
[10:55] * matix thinks its dead....
[10:55] * Katami shoots Guest33555 in the foot
[10:55] <matix> O.o
[10:55] <Hatsya> don't worry, it's a water gun
User avatar
alterecco
Fleet Officer
Fleet Officer
Posts: 1658
Joined: Wed Jan 14, 2009 3:08 am
Location: Previously enslaved by the Iocrym

matix wrote:i have all the proper stuff installed, on 1.08b, yet it crashes still when i dock with the stations. any clue on how to fix this? i can post my debug file if needed
Curious. I just tried it and it worked. I started with a clean Extensions folder, downloaded http://xelerus.de/index.php?s=mod&id=307 and http://www.xelerus.de/index.php?s=mod&id=309 and it worked for me. The only station that you can really dock with is the upper right one. The others are not implemented atm (but please tell me if your game crashes when you try to dock with them). And yes, if you do get crashes with the above setup, then I would love to get a Debug.log dump.
Get your own Galactic Omni Device
Get it now. It's free!!
Image
matix
Militia Lieutenant
Militia Lieutenant
Posts: 198
Joined: Sun Apr 17, 2011 2:29 pm

i tried docking with the top right one, and it crashed as i expected :cry: heres my debug file for the latest crash:

Code: Select all

--------------------------------------------
04/17/2012 19:54:44	Start logging session
04/17/2012 19:54:45	Transcendence 1.08
04/17/2012 19:54:47	Loading extension: Extensions\alterecco-DockScreenFramework-f571f4c\Core
04/17/2012 19:54:47	Loading adventure desc: Extensions\BattleZone\BattleZone
04/17/2012 19:54:47	Loading adventure desc: Extensions\BattleZone-Simulator(Simple)\BattleZone\Simulator
04/17/2012 19:54:47	Loading extension: Extensions\Boa\Boa_UC
04/17/2012 19:54:47	Loading extension: Extensions\Cartography\Cartography
04/17/2012 19:54:47	Loading extension: Extensions\CIIDB\Item Database
04/17/2012 19:54:47	Loading extension: Extensions\CSC playership
04/17/2012 19:54:47	Loading extension: Extensions\FalconCV\FalconCV
04/17/2012 19:54:47	Loading extension: Extensions\FalconCV\PKCargoContainer
04/17/2012 19:54:47	Loading extension: Extensions\FalconCV\TICargoEqip
04/17/2012 19:54:47	Loading extension: Extensions\FalconCV\TIWeapons
04/17/2012 19:54:47	Loading extension: Extensions\Flamberg_Mercenaries
04/17/2012 19:54:47	Loading adventure desc: Extensions\GalacticMap
04/17/2012 19:54:47	Loading extension: Extensions\GodMod\ThePrivateer's GodMod
04/17/2012 19:54:47	Loading extension: Extensions\Gravity\Gravity
04/17/2012 19:54:47	Loading adventure desc: Extensions\Hell's Trinity\Hell's Trinity
04/17/2012 19:54:48	Loading extension: Extensions\Militia_mission_pay
04/17/2012 19:54:48	Loading extension: Extensions\Mod 3\SbkPlayershipsEIseries
04/17/2012 19:54:48	Loading extension: Extensions\Mod 3\SbkResource
04/17/2012 19:54:48	Loading extension: Extensions\Mod 3\Sbkwlf
04/17/2012 19:54:48	Loading extension: Extensions\NewWeapons
04/17/2012 19:54:48	Loading extension: Extensions\NoDockNavBeacon
04/17/2012 19:54:48	Loading extension: Extensions\osaka playership\osaka playership
04/17/2012 19:54:48	Loading extension: Extensions\Playable Ships\new ships
04/17/2012 19:54:48	Loading extension: Extensions\Playable Ships\NewPlayableStockShips-vol1 small
04/17/2012 19:54:48	Loading extension: Extensions\Playable Ships\NewPlayableStockShips-vol2 arena
04/17/2012 19:54:49	Loading extension: Extensions\Playable Ships\NewPlayableStockShips-vol3 capital
04/17/2012 19:54:49	Loading extension: Extensions\Playable Ships\NewPlayableStockShips-vol4 supercapital
04/17/2012 19:54:49	Loading extension: Extensions\Playable Ships\NewPlayableStockShips-vol5 megaships
04/17/2012 19:54:49	Loading extension: Extensions\Playable Ships\NewPlayableStockShips-vol6 autons
04/17/2012 19:54:49	Loading extension: Extensions\Playable Ships\NewPlayableStockShips-vol7 extras
04/17/2012 19:54:49	Loading extension: Extensions\Psionic idolknight\idolknight
04/17/2012 19:54:50	Loading extension: Extensions\Psionic idolknight\TestExtension\Test
04/17/2012 19:54:50	Loading extension: Extensions\Service912\EnhanceItem
04/17/2012 19:54:50	Loading extension: Extensions\Service912\UpComputer
04/17/2012 19:54:50	Loading extension: Extensions\Service912\UpLauncher
04/17/2012 19:54:50	Loading extension: Extensions\shield\shieldV.60
04/17/2012 19:54:50	Loading extension: Extensions\SI CMS\Battle Station
04/17/2012 19:54:50	Loading extension: Extensions\Stalwart\Stalwart
04/17/2012 19:54:50	Loading extension: Extensions\titanjumpdrive
04/17/2012 19:54:50	Loading extension: Extensions\Trans\Ranx Escourt Mod
04/17/2012 19:54:50	Loading extension: Extensions\Utility Items\Utility Items
04/17/2012 19:54:50	Loading extension: Extensions\WorstCaseScenario\WorstCaseScenario
04/17/2012 19:55:14	Loading adventure: Extensions\BattleZone\BattleZone
04/17/2012 19:55:24	Created new game
04/17/2012 19:55:31	Unknown function [dsf_ShowDockScreen]
04/17/2012 19:55:31	Unable to continue due to program error.

program state: OnAnimate
program state: updating object
obj class: CStation
obj name: Zone Service
obj pointer: 50dbdd8
m_pBase: none
m_pTarget: none
m_DockingPorts[3]: 26819a8 Omni TeV9-class gunship (CShip)
game state: in game


Please contact [email protected] with a copy of Debug.log and your save file. We are sorry for the inconvenience.

04/17/2012 19:55:38	End logging session
Matix's Revolutionary Repair Items! Get it here !
Stronger Centauri! Download it here
Matix's Weapon Pack!: Find it here!
Preview: Momentum Cannons! Get it here!

IRC (Love it! :D):
[10:54] * matix pokes Guest33555
[10:55] * matix thinks its dead....
[10:55] * Katami shoots Guest33555 in the foot
[10:55] <matix> O.o
[10:55] <Hatsya> don't worry, it's a water gun
matix
Militia Lieutenant
Militia Lieutenant
Posts: 198
Joined: Sun Apr 17, 2011 2:29 pm

the other two stations also crash with the exact same setup
Matix's Revolutionary Repair Items! Get it here !
Stronger Centauri! Download it here
Matix's Weapon Pack!: Find it here!
Preview: Momentum Cannons! Get it here!

IRC (Love it! :D):
[10:54] * matix pokes Guest33555
[10:55] * matix thinks its dead....
[10:55] * Katami shoots Guest33555 in the foot
[10:55] <matix> O.o
[10:55] <Hatsya> don't worry, it's a water gun
User avatar
alterecco
Fleet Officer
Fleet Officer
Posts: 1658
Joined: Wed Jan 14, 2009 3:08 am
Location: Previously enslaved by the Iocrym

You need to use the DSF version that you get from xelerus. You are using the version from Github.
Get your own Galactic Omni Device
Get it now. It's free!!
Image
matix
Militia Lieutenant
Militia Lieutenant
Posts: 198
Joined: Sun Apr 17, 2011 2:29 pm

oh, alright :oops: let me try that out
Matix's Revolutionary Repair Items! Get it here !
Stronger Centauri! Download it here
Matix's Weapon Pack!: Find it here!
Preview: Momentum Cannons! Get it here!

IRC (Love it! :D):
[10:54] * matix pokes Guest33555
[10:55] * matix thinks its dead....
[10:55] * Katami shoots Guest33555 in the foot
[10:55] <matix> O.o
[10:55] <Hatsya> don't worry, it's a water gun
Post Reply