logo   login
right
Home Forums Downloads Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Forum Info
Forum Members: 18,643
Total Threads: 8,744
Posts: 95,520

Administrators:
DeeZire, Redemption

There are currently 31 users online.
Partner Links

Free Credit Repair

Learn the Ticket Broker Secrets
Advertisements


Generals & Zero Hour Editing Discuss any modding related issues to do with Generals and Zero Hour here.

Reply
 
LinkBack Thread Tools
Old 06-30-2003, 09:00 PM   #1 (permalink)
Senior Member
 
Join Date: Jun 2003
Location: Texas
Posts: 709
Send a message via ICQ to Vanguard Send a message via AIM to Vanguard Send a message via MSN to Vanguard Send a message via Yahoo to Vanguard
Default Tank Squads

I want to make a unit like the Angry Mob except it spawns tanks and humvees instead of infantry, but everytime I start the game it encounters an error can someone help. PLEASE
Vanguard is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-30-2003, 09:40 PM   #2 (permalink)
Senior Member
 
Join Date: Feb 2003
Location: USA
Posts: 853
Send a message via AIM to mastermind2003 Send a message via MSN to mastermind2003
Default

Do you have the code? Maybe if you posted that it might help us debug it with you.
mastermind2003 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-30-2003, 09:57 PM   #3 (permalink)
Senior Member
 
Join Date: Jun 2003
Location: Texas
Posts: 709
Send a message via ICQ to Vanguard Send a message via AIM to Vanguard Send a message via MSN to Vanguard Send a message via Yahoo to Vanguard
Default

;------------------------------------------------------------------------------
;------------------------------------------------------------------------------
Object AmericaVehicleTankSquad

;**** ART Parameters **************************
SelectPortrait = SUAngryMob_L
ButtonImage = SUAngryMob

;UpgradeCameo1 = Upgrade_GLAArmTheMob
;UpgradeCameo2 = NONE
;UpgradeCameo3 = NONE
;UpgradeCameo4 = NONE
;UpgradeCameo5 = NONE

Draw = W3DModelDraw ModuleTag_01
OkToChangeModelColor = Yes
DefaultConditionState
Model = None
; Model = AVBomber_B
End
End


;****DESIGN parameters **************************

DisplayName = OBJECT:TankSquad
Side = America

RadarPriority = NOT_ON_RADAR

EditorSorting = VEHICLE
TransportSlotCount = 0 ;how many "slots" we take in a transport (0 == not transportable)

WeaponSet
Conditions = None
Weapon = PRIMARY GLAAngryMobNexusHarmlessWeapon
Weapon = SECONDARY GLAAngryMobNexusHarmlessWeapon
Weapon = TERTIARY GLAAngryMobNexusHarmlessWeapon
End

ArmorSet
Conditions = None
Armor = InvulnerableAllArmor
DamageFX = None
End

BuildCost = 2500
BuildTime = 15.0 ;in seconds
VisionRange = 150 ; it can scout for the spawn
ShroudClearingRange = 0

Prerequisites
Object = AmericaWeaponsFactory
End

ExperienceValue = 5 5 5 5 ;Experience point value at each level

IsTrainable = Yes



CommandSet = GLAInfantryAngryMobCommandSet;

;**** AUDIO Parameters *****************************
VoiceSelect = AngryMobVoiceSelect
VoiceMove = AngryMobVoiceMove
VoiceGuard = AngryMobVoiceMove
VoiceAttack = AngryMobVoiceAttack
SoundMoveStart = NoSound
SoundAmbient = AngryMobAmbientLoop
SoundAmbientRubble = NoSound
SoundDie = CivilianArabMaleDie
SoundDieFire = DieByFireGLA
SoundDieToxin = DieByToxinGLA
UnitSpecificSounds
VoiceCreate = AngryMobVoiceCreate
End


;**** ENGINEERING Parameters ******************************

RadarPriority = UNIT
KindOf = PRELOAD CAN_ATTACK INFANTRY MOB_NEXUS ATTACK_NEEDS_LINE_OF_SIGHT NO_COLLIDE SELECTABLE SCORE
Body = ImmortalBody ModuleTag_02
MaxHealth = 99999.0
InitialHealth = 99999.0
End

Behavior = AIUpdateInterface ModuleTag_03
AutoAcquireEnemiesWhenIdle = Yes
End

Locomotor = SET_NORMAL AngryMobNexusLocomotor ;Important! don't make the Nexus any faster!
Locomotor = SET_WANDER AngryMobNexusLocomotor ;Important! don't make the Nexus any faster!
Locomotor = SET_PANIC AngryMobNexusLocomotor ;Important! don't make the Nexus any faster!

; Locomotor = SET_NORMAL WanderHumanLocomotor ;Important! don't make the Nexus any faster!
; Locomotor = SET_WANDER WanderHumanLocomotor ;Important! don't make the Nexus any faster!
; Locomotor = SET_PANIC WanderHumanLocomotor ;Important! don't make the Nexus any faster!

Behavior = PhysicsBehavior ModuleTag_04
Mass = 50.0
End

Behavior = SpawnBehavior ModuleTag_05
SpawnNumber = 10
SpawnReplaceDelay = 30000 ; 30 seconds

SpawnTemplateName = AmericaTankCrusader ; Aladdin
SpawnTemplateName = AmericaVehicleHumvee ; Woman in the Gypsy Costume
SpawnTemplateName = AmericaTankPaladin ; The Lady with the hot sauce
SpawnTemplateName = AmericaTankCrusader ; Skinny Guy with the Green Beret
SpawnTemplateName = AmericaVehicleHumvee ; Fat guy with the tank top
SpawnTemplateName = AmericaTankPaladin ; The Lady with the hot sauce
SpawnTemplateName = AmericaVehicleHumvee ; The robed dude with the Man-Veil

ExitByBudding = Yes;!

InitialBurst = 5 ; the first set of 5 will not delay
OneShot = No
AggregateHealth = Yes
End

Behavior = QueueProductionExitUpdate ModuleTag_06
UnitCreatePoint = X: 0.0 Y: 0.0 Z:0.0
NaturalRallyPoint = X: 0.0 Y: 0.0 Z:0.0
ExitDelay = 5000 ; 5 sec
InitialBurst = 5 ; the first set of 5 will not delay
End

Behavior = DestroyDie ModuleTag_07
DeathTypes = ALL
End

Geometry = CYLINDER
GeometryMajorRadius = 1.0
GeometryMinorRadius = 1.0
GeometryHeight = 1.0
GeometryIsSmall = Yes
Shadow = SHADOW_VOLUME

End

The error occurred before the command button and command set were writen I always enter thoughs after testing the faction unit ini then i entered thoughs and i know i made know error there on account I have made hundreds of units but i think its the faction ini because the mob nexus is originaly an infantry unit
Vanguard is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-30-2003, 10:02 PM   #4 (permalink)
Senior Member
 
Join Date: Feb 2003
Location: USA
Posts: 853
Send a message via AIM to mastermind2003 Send a message via MSN to mastermind2003
Default

It could be that having the same units repeated causes the problem. I've never worked with the Nexus logic though so I'm not sure, you probably shouldn't have the tanks repeated over and over, and could you also post the releasecrash*.txt file info here. That'll help as well.
mastermind2003 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-30-2003, 10:43 PM   #5 (permalink)
rei
Junior Member
 
Join Date: Jun 2003
Posts: 17
Default

cause im a lazy type and all here's a link for you to the cncmatrix forum, a nice complete set of codes just sub the spawntemplate with the vehicle you want to get spawned

http://forums.cncmatrix.com/viewtopic.php?t=765
rei is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-01-2003, 12:10 AM   #6 (permalink)
Senior Member
 
Join Date: Apr 2003
Location: Canada
Posts: 968
Send a message via MSN to Eradicator
Default

Well, I think you need to put a nexus behavior for each unit you spawn. That unit TankSquad will just spawn some tanks like normal (or it should).
Eradicator is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-01-2003, 02:32 AM   #7 (permalink)
Senior Member
 
Join Date: Jun 2003
Location: Texas
Posts: 709
Send a message via ICQ to Vanguard Send a message via AIM to Vanguard Send a message via MSN to Vanguard Send a message via Yahoo to Vanguard
Default

Nvm I answered my own question and it works perfectly now
Vanguard is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-01-2003, 11:02 AM   #8 (permalink)
rei
Junior Member
 
Join Date: Jun 2003
Posts: 17
Default

the nexus is used to make all the unit act like one, much like a hive behaviour, you dont need to add it to each unit, there should be only one nexus for each swam

the nexus is an invisible object, it should be invincible, the nexus must have aggregate health, this will ensure it dies when all it's spawned unit dies

spawn templates should not have replication (it will automatically cycle to the beginning once it gets to the bottom of the list)

if you set exit budding to no then the tanks will appear from where the center of the nexus object is (the center of your swam in theory)

having implemented this code i think it should be used with caution, 9 of these mob units will equate to 45 vehicles !!!! each vehicle will posses exactly the same amour and health rating as it original template, instant tank rush anyone (i personally think that the spawn template should point to a new unit that has significantly reduced health over the original unit)
rei is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-01-2003, 05:14 PM   #9 (permalink)
Senior Member
 
Join Date: Jun 2003
Location: Texas
Posts: 709
Send a message via ICQ to Vanguard Send a message via AIM to Vanguard Send a message via MSN to Vanguard Send a message via Yahoo to Vanguard
Default

But this will be in my mod a special edition of my mod that will be given out for only a week
Vanguard is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-01-2003, 09:31 PM   #10 (permalink)
Senior Member
 
Join Date: Apr 2003
Location: Canada
Posts: 968
Send a message via MSN to Eradicator
Default

lol, a special edition only given out for a week? What is the point in that? Is your mod so good it has a special edition :P And how are you going to stop people from playing and distributing it after a week? Does it self destruct? :lol:
Eradicator is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Built in squads but not like Angry Mob... Indigo Generals & Zero Hour Editing 4 10-17-2005 01:37 PM
Infantry Squads need help debugging Kameiccillo Generals & Zero Hour Editing 10 02-17-2004 09:41 PM
choose your turret and or tank chasi. custom a current tank Vger Generals & Zero Hour Editing 18 02-14-2004 02:03 AM
Want to make a science that allows squads to be produced Kameiccillo Generals & Zero Hour Editing 6 01-29-2004 09:47 AM
New Tank: Futuristic Tank warlord Generals & Zero Hour Editing 9 04-28-2003 04:45 PM


All times are GMT -4. The time now is 06:35 PM.


Design By: Miner Skinz.com
Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.