Jump to content


Problem with new made hordes


  • Please log in to reply
19 replies to this topic

#1 Guest_Dagalur Goth_*

Guest_Dagalur Goth_*
  • Guests

Posted 18 March 2005 - 06:25 PM

I made several new and bigger combohordes, and the last fault I have to take care of is the respawning.
You see whenever a unit gets killed, the horde ofcourse respawns it ( when there is a banner duhh ) , but these respawned units are then no longer part of the horde, they act as individuals and can be fully controlled, but the horde does save room for them so the horde ends up full of gaps when done respawning.

How can I make the respawners stick to the horde like they should ?

( every member of the horde ofcourse has his own position and the slots and initalunits have the right numbers behind them, the hordes are sized 20 members and 40 members )

#2 Extelleron

Extelleron
  • Members
  • 106 posts
  • Projects:Neutral Forces Mod

Posted 19 March 2005 - 12:53 PM

Its always best to check a working combo horde against yours, see whats different.
The Best Modder in the ... Not so Good Modders Club.

#3 Guest_Guest_*

Guest_Guest_*
  • Guests

Posted 19 March 2005 - 01:00 PM

Already did that, most of the code is the same exept for some minor stuff and ofcourse the slots/initialunits and the positions.

#4 Extelleron

Extelleron
  • Members
  • 106 posts
  • Projects:Neutral Forces Mod

Posted 19 March 2005 - 03:54 PM

I dont know then, I checked the Pikemen-Fighter combo horde there and there is no code for reviving units. Maybe Hostile or AdmiralGT will know more.
The Best Modder in the ... Not so Good Modders Club.

#5 Guest_Guest_*

Guest_Guest_*
  • Guests

Posted 19 March 2005 - 11:51 PM

I really hope somewhere someone will know what to do, because I`ve asked this question on 3 different forums already, and nobody can really help :(

#6 Extelleron

Extelleron
  • Members
  • 106 posts
  • Projects:Neutral Forces Mod

Posted 20 March 2005 - 12:43 AM

Why dont you check out the Epic Warfare mod? It has combo hordes with more units, and I believe they respawn correctly. Check it against yours.
You can download it over at the MEMW site.

Edited by Extelleron, 20 March 2005 - 12:56 AM.

The Best Modder in the ... Not so Good Modders Club.

#7 Guest_Guest_*

Guest_Guest_*
  • Guests

Posted 20 March 2005 - 11:09 AM

Hmm yeah I`ll try that next, right after I get the Dark Lord working alright, ( started that because I got stuck at the horde stuff ) , thx.

#8 Guest_Dagalur Goth_*

Guest_Dagalur Goth_*
  • Guests

Posted 20 March 2005 - 06:05 PM

K its all the same, exept for some things of course but those are not the problem.
What could make a respawning unit pop out of the horde ?

#9 Hostile

Hostile

    Benefitting Humanity Simply by Showing Up!

  • Veterans
  • 9,551 posts
  • Location:Washington DC
  •  T3A Founder
  • Division:Revora
  • Job:Global Administrator
  • Donated
  • Association

Posted 20 March 2005 - 07:07 PM

I'd save the code for the object on a text document, and another for the horde code on a seperate text document. Sign up for the forums and attach the two documents so we can have a look.

Maybe there is something we can spot.

#10 Guest_Dagalur Goth_*

Guest_Dagalur Goth_*
  • Guests

Posted 21 March 2005 - 09:29 PM

K but what do you mean with Object and Horde code ? whats the difference ? what I used now was only evilfactionunits.ini

#11 Hostile

Hostile

    Benefitting Humanity Simply by Showing Up!

  • Veterans
  • 9,551 posts
  • Location:Washington DC
  •  T3A Founder
  • Division:Revora
  • Job:Global Administrator
  • Donated
  • Association

Posted 22 March 2005 - 02:12 AM

Evil hordes

C:\Program Files\EA GAMES\The Battle for Middle-earth ™\data\ini\object\hordes

Evilfaction units describes how the unit itself behaves, the horde file explains what it should do when you have a horde of them. They are two seperate files.

Gondor soldier, and the gondor soldier horde code.

#12 Dagalur Goth

Dagalur Goth
  • Members
  • 10 posts

Posted 23 March 2005 - 08:52 PM

Aargh anyone know a place that will host my text files?, NOT my images NOT a website just txt, I looked around but you get smacked in the face with the ones you don`t need.

#13 pabtyf

pabtyf

    T3A Forum Moderator

  • Project Team
  • 209 posts
  • Location:wales, uk
  • Projects:Finally finished my degree!!!!
  • Division:T3A Staff

Posted 23 March 2005 - 08:59 PM

have you tried lycos I know it's website hosting but you can upload whatever you want.

Is it just to post them here?
If so just attach them to your reply under the icons at the bottom of the reply page is an option to attach stuff.

(I'm guessing that's what it's for anyway ) :sad:

#14 Dagalur Goth

Dagalur Goth
  • Members
  • 10 posts

Posted 23 March 2005 - 09:05 PM

I`m sure its me, I`m going blind, sorry but I can`t seem to find a button :sad:

#15 pabtyf

pabtyf

    T3A Forum Moderator

  • Project Team
  • 209 posts
  • Location:wales, uk
  • Projects:Finally finished my degree!!!!
  • Division:T3A Staff

Posted 23 March 2005 - 09:10 PM

If you click on the add reply button at the bottom here V

It'll open a new page to enter the reply, there should be a line of smilies at the bottom of your window, Below that is the attatch thing.

#16 Dagalur Goth

Dagalur Goth
  • Members
  • 10 posts

Posted 23 March 2005 - 09:14 PM

I could swear that wasn`t there last time I checked, but yeah that happens to me alot ( faulty memory ) , anyways, here it is.

O and since evilfactionunits apears way to big to attach, which parts should I attach ? I guess mosly the stuff about the orc warriors and archers for now right ?

- goes to bed, getting late

Attached Files


Edited by Dagalur Goth, 23 March 2005 - 09:48 PM.


#17 Hostile

Hostile

    Benefitting Humanity Simply by Showing Up!

  • Veterans
  • 9,551 posts
  • Location:Washington DC
  •  T3A Founder
  • Division:Revora
  • Job:Global Administrator
  • Donated
  • Association

Posted 23 March 2005 - 11:51 PM

Well I was assuming you would only attach the portion of code for the unit you actually added and not the whole evilfaction code... :sad:

How am I supposed to know what you changed in the horde code if I don't even know what unit to look for. Edit your post and attach just the relevant info.

#18 Dagalur Goth

Dagalur Goth
  • Members
  • 10 posts

Posted 24 March 2005 - 02:37 PM

The stuff in the hordes file I attached is only contains: original mordorfighter, mordorarcher and mordorfighterarcher combo for comparing code ( spelling ? ), and my new hordes.
Evilfactionunits coming soon

Edited by Dagalur Goth, 24 March 2005 - 03:04 PM.


#19 Hostile

Hostile

    Benefitting Humanity Simply by Showing Up!

  • Veterans
  • 9,551 posts
  • Location:Washington DC
  •  T3A Founder
  • Division:Revora
  • Job:Global Administrator
  • Donated
  • Association

Posted 24 March 2005 - 04:44 PM

The stuff in the hordes file I attached is only contains: original mordorfighter, mordorarcher and mordorfighterarcher combo for comparing code ( spelling ? ), and my new hordes.
Evilfactionunits coming soon

<{POST_SNAPBACK}>

Maybe you have somehow confused the game because you have 21 slots plotted.

;Positions for 20
  RankInfo = RankNumber:1 UnitType:MordorArcher Position:X:22 Y:-32	Position:X:22 Y:-10	Position:X:22 Y:10	Position:X:22 Y:32	
  RankInfo = RankNumber:2 UnitType:MordorArcher Position:X:2 Y:-32	Position:X:2 Y:-10	Position:X:2 Y:10	Position:X:2 Y:32  
  RankInfo = RankNumber:3 UnitType:MordorArcher    	Position:X:-22 Y:-10	Position:X:-22 Y:10  

  RankInfo = RankNumber:4 UnitType:MordorFighter Position:X:42 Y:-50	Position:X:42 Y:-32	Position:X:42 Y:-10	Position:X:42 Y:10	Position:X:42 Y:32	Position:X:42 Y:47	
  RankInfo = RankNumber:5 UnitType:MordorFighter Position:X:27 Y:-50	Position:X:22 Y:50    
  RankInfo = RankNumber:6 UnitType:MordorFighter Position:X:2 Y:-50	Position:X:2 Y:50    
;RankInfo = RankNumber:7 UnitType:MordorFighter Position:X:-27 Y:-50	Position:X:-22 Y:50

This is taken from you archer combo horde.

Also is this valid syntax to have four hordes in one? Or am I seeing this wrong and not understanding it?

ComboHorde = Target:MordorArcherArcherComboHorde  Result:MordorFighterFighterArcherArcherComboHorde  InitiateVoice:OrcFighterVoiceJoinArcher
  ComboHorde = Target:MordorFighterFighterComboHorde Result:MordorFighterFighterFighterFighterComboHorde InitiateVoice:OrcFighterVoiceJoinAnybody


#20 Dagalur Goth

Dagalur Goth
  • Members
  • 10 posts

Posted 25 March 2005 - 11:10 AM

Hmm if there really are 21 positions plotted that would explain why the double double hordes ( 40 ) don`t respawn their units right, but the double horde ( 20 ) doesn`t respawn right either.. :S

[checked] the hordes have the right numbers, 20 slots and 20 positions, and the big ones 40 slots and 40 positions.

And about the combo-ing code, for example the MordorArcherArcherComboHorde is a new horde I created, It itself is created by coupling to basic archerhordes, so its ONE horde on itself now, it works just fine coupling, thats not the problem.
The sound I used is just an existing one so no problems there either, do know that making the hordes couple is working ok, the problems I had was only the respawning,

O and another thing, the units don`t move away from the horde to melee attack, and yes I already increased the meleeattackleash but that didn`t help.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users