• Welcome to Battlezone Universe.
 

News:

Welcome to the BZU Archive dated December 24, 2009. Topics and posts are in read-only mode. Those with accounts will be able to login and browse anything the account had access granted to at the time. No changes to permissions will be made to be given access to particular content. If you have any questions, please reach out to squirrelof09/Rapazzini.

Main Menu

I have a lil problem with my mortar.

Started by Clavin12, June 30, 2009, 06:07:15 PM

Previous topic - Next topic

Clavin12

I try to get in in game and it says that the turret objects defined are not valid. Here is the odf for it made after the isdf gun tower odf. Plz tell me what problems there are. Plz.

[GameObjectClass]
geometryName = "itmtrturr.xsi"
classLabel = "turret"
collisionRadius = 10.0
scrapCost = 10
scrapValue = 3
maxHealth = 5000
maxAmmo = 10000 // 0 is *not* treated as infinite ammo!
unitName = "Mortar Turret"
aiName = "MortarTurretFriend"
aiName2 = "MortarTurretEnemy"
heatSignature = 2.0
imageSignature = 1.0
radarSignature = 1.0
isAssault = 1

armorClass = L

requireCount = 0

weaponMask = 00011
weaponHard1 = "hp_mortar_1"
weaponName1 = "ghartill"
weaponAssault1 = 0

turretCount = 2
turretName1 = "turret_x"
turretName2 = "turret_y"


[BuildingClass]
soundAmbient = "igtow01.wav"

[CraftClass]
rangeScan = 200
periodScan = 0.0
velocJam = 0.0
weaponPitch = 1.5
steerFactor = 0.5
engageRange = 200

[TurretCraftClass]
omegaTurret = 2.0
detectRange = 200

ps i also need to know how to make it pilotable.
C l a v i n 1 2

bigbadbogie

aiName = "MortarTurretFriend"
aiName2 = "MortarTurretEnemy"

Not a valid AI process.
Others would merely say it was good humour.


My BZ2 mods:

QF2: Essence to a Thief - Development is underway.

Fleshstorm 2: The Harvest - Released on the 6th of November 2009. Got to www.bz2md.com for details.

QF Mod - My first mod, finished over a year ago. It can be found on BZ2MD.com

mrtwosheds

turretCount = 2
turretName1 = "turret_x"
turretName2 = "turret_y"

These entry's must be frame names in the xsi.
The first one, turretname1 will rotate on the y axis, any others will rotate on the x axis.

Warfreak

They are the framenames, i made PERFECTLY sure of that.

Clavin12

I tried the ones you sent to me. They didn't work.
C l a v i n 1 2

TheJamsh



BZII Expansion Pack Development Leader. Coming Soon.

AHadley

Change your AIProcesses back to GunTowerProcess or whatever it was before and it should work fine.

BNG Da BZ Fool

Also make sure there are not 2 hp_mortar points in the same model as I believe adding a second hp somehow disables the unit from actually firing a mortar round. I had problems with some of my units making this mistake in the past; must be some kind of glitch in BZII. Don't really have a clue why though. BNG.
When I'm not in hot water with the community I'm usually making models for BZII. I've made a few models for other peeps. BNG.

Warfreak

I made sure the model was rigged correctly, so that isnt the problem.

TheJamsh

The bug that BNG is referring to is that AI can struggle to fire twin mortars, i believe however this is fixed in the 1.3 patches.

In fact i KNOW it is, because assault tanks look dam cool firing mortars.


BZII Expansion Pack Development Leader. Coming Soon.

BNG Da BZ Fool

As I recall the assault tank never had any problems firing twin mortars. It was other units like the Mortar Bike that had this issue. So perhaps you could try using the atank.odf file to help get your mortar working?
When I'm not in hot water with the community I'm usually making models for BZII. I've made a few models for other peeps. BNG.

bigbadbogie

aiName = "MortarTurretFriend"
aiName2 = "MortarTurretEnemy"

THIS IS THE ONLY PROBLEM!!!

CHANGE IT TO:

aiName = "GunTowerFriend"
aiName2 = "GunTowerEnemy"
Others would merely say it was good humour.


My BZ2 mods:

QF2: Essence to a Thief - Development is underway.

Fleshstorm 2: The Harvest - Released on the 6th of November 2009. Got to www.bz2md.com for details.

QF Mod - My first mod, finished over a year ago. It can be found on BZ2MD.com

Clavin12

Thnx i thought that might be a problem
C l a v i n 1 2

VSMIT

Since he said that once already?  When you first posted about this problem?
I find that if I don't have a signature, some people disregard the last couple of lines of a long post.
Quote from: Lizard
IQ's have really dropped around here just recently, must be something in the water.

Clavin12

Nah i thought of it before then because of the look of the odf file.
C l a v i n 1 2