Author Topic: Remove unit limit map editor  (Read 27134 times)

Offline shesycompany

  • Death Knight
  • *********
  • Posts: 3587
  • retired, be in music section
    • View Profile

Offline Szwagier

  • Ogre Mage
  • ********
  • Posts: 1719
    • View Profile
Re: Remove unit limit map editor
« Reply #16 on: January 17, 2017, 05:10:38 PM »
ok  i see u dont understood ...
There are 4 basic ai LANDATTACK SEAATTACK AIRATTACK AND PASSIVE, and i want make for example
LAND ATTACK SEA ATTACK AIR ATTACK AND PASSIVE +LAND ATTACK2 LANDATTACK3 LANDATTACK4 SEAATTACK2
so it was 4 ai now i want to be 8 how to do it ?? (without replace ai from campaign)
Not replace LANDATTACK with new sets but make new ai and save it as new ai

This link show how to write new ai and save as LAND ATTACK SEA ATTACK AIR ATTACK AND PASSIVE
« Last Edit: January 17, 2017, 05:12:29 PM by Szwagier »
http://www.youtube.com/user/SzwagierR


Equinox - the dumbest person in this game, do not argue with an idiot, because he will bring you to his level and overcome with experience

Offline shesycompany

  • Death Knight
  • *********
  • Posts: 3587
  • retired, be in music section
    • View Profile
Re: Remove unit limit map editor
« Reply #17 on: January 17, 2017, 05:19:56 PM »
tupac usually post info,
i dont know  if anyone has messed with the ai besides you in a long while.

Offline Szwagier

  • Ogre Mage
  • ********
  • Posts: 1719
    • View Profile
Re: Remove unit limit map editor
« Reply #18 on: January 17, 2017, 05:53:45 PM »
i said would be nice if he try and he said its easy but he gave link how to replace not how to add new, its rlly hard when u got one ai for 3 enemies and they got the same ai and 2 of 3 get stuck cause they cant get ogres casue no mound but 1 can -_-(ofc i can give them also but it is not fun when there will be 3 the same ai, same time attack, same group etc)
http://www.youtube.com/user/SzwagierR


Equinox - the dumbest person in this game, do not argue with an idiot, because he will bring you to his level and overcome with experience

Offline shesycompany

  • Death Knight
  • *********
  • Posts: 3587
  • retired, be in music section
    • View Profile
Re: Remove unit limit map editor
« Reply #19 on: January 17, 2017, 07:44:33 PM »
ug following other people is never easy war2 isnt that easy .....like me u just gotta pop a beer get a joint and let it tell you how its made.

Offline Szwagier

  • Ogre Mage
  • ********
  • Posts: 1719
    • View Profile
Re: Remove unit limit map editor
« Reply #20 on: January 17, 2017, 08:30:19 PM »
mini map looks nice :P also i got question how to add mission? i understnad that must be wall of txt and some1 should say that :P but how to change that last wall of txt will be after 13 mission not 12?(dark portal got only 12 missions)
« Last Edit: January 17, 2017, 08:32:09 PM by Szwagier »
http://www.youtube.com/user/SzwagierR


Equinox - the dumbest person in this game, do not argue with an idiot, because he will bring you to his level and overcome with experience

Offline Delete mine too

  • Death Knight
  • *********
  • Posts: 2652
  • http://meatspin.com
    • View Profile
    • http://meatspin.com
Re: Remove unit limit map editor
« Reply #21 on: January 17, 2017, 09:21:18 PM »
i said would be nice if he try and he said its easy but he gave link how to replace not how to add new, its rlly hard when u got one ai for 3 enemies and they got the same ai and 2 of 3 get stuck cause they cant get ogres casue no mound but 1 can -_-(ofc i can give them also but it is not fun when there will be 3 the same ai, same time attack, same group etc)
Yes i understand you now. I'm sure those other AI are not new they are blizzards campaign AI with a different name. Correct me if I'm wrong but making a new AI and not modifying one. Should be as simple as changing the name and adding the new name to the MPQ file holding those names. Havent tried but I think that's how it would work or close to it.

When I have time I can try, maybe this weekend idk. Give it a shot and go explore it.

Offline Delete mine too

  • Death Knight
  • *********
  • Posts: 2652
  • http://meatspin.com
    • View Profile
    • http://meatspin.com
Re: Remove unit limit map editor
« Reply #22 on: January 17, 2017, 09:28:00 PM »
i said would be nice if he try and he said its easy but he gave link how to replace not how to add new, its rlly hard when u got one ai for 3 enemies and they got the same ai and 2 of 3 get stuck cause they cant get ogres casue no mound but 1 can -_-(ofc i can give them also but it is not fun when there will be 3 the same ai, same time attack, same group etc)

Did you use the map editor to set each player to the AI you created?

Offline Szwagier

  • Ogre Mage
  • ********
  • Posts: 1719
    • View Profile
Re: Remove unit limit map editor
« Reply #23 on: January 18, 2017, 04:40:32 AM »
Yes and no, 2 players got another ai but one got the same and he is going stuck, i used even land air sea and passive in my campaign
http://www.youtube.com/user/SzwagierR


Equinox - the dumbest person in this game, do not argue with an idiot, because he will bring you to his level and overcome with experience

Offline Lambchops

  • Ogre Mage
  • ********
  • Posts: 1541
    • View Profile
Re: Remove unit limit map editor
« Reply #24 on: January 18, 2017, 07:31:01 AM »
Mostly just to distract myself from more important stuff I should be doing, I made a little exe to patch/unpatch the map editor (any version).

Also the source code is attached if anyone's interested.

its gooder to hax hard and NEVER get caught!

Offline salvadorc17

  • Grunt
  • ***
  • Posts: 120
    • View Profile
Re: Remove unit limit map editor
« Reply #25 on: January 18, 2017, 04:37:26 PM »
The other war2 editors don't have a unit cap. I was bored one day and filled every spot with a cpu unit. When I load the map most units are gone. But open editor and they are in the map. I think we would have to hex war2 unit limit also for this to fully work.

Talking about this hack, will also alow to increase game population capacity??

Offline shesycompany

  • Death Knight
  • *********
  • Posts: 3587
  • retired, be in music section
    • View Profile
Re: Remove unit limit map editor
« Reply #26 on: January 19, 2017, 09:20:22 PM »
yes u can salv but i forgot loool u got to set something to -1 and it will keep going forever....welcome to the exe

Offline shesycompany

  • Death Knight
  • *********
  • Posts: 3587
  • retired, be in music section
    • View Profile
Re: Remove unit limit map editor
« Reply #27 on: January 19, 2017, 11:39:03 PM »
i did it in section 2 of that post "im back" ...but its still isnt really useful...until some one can make a big map.


in wargus u can..currently studying it.
--  All player food unit limit
SetAllPlayersUnitLimit(200)
« Last Edit: January 20, 2017, 01:33:22 PM by easycompany »

Offline Szwagier

  • Ogre Mage
  • ********
  • Posts: 1719
    • View Profile
Re: Remove unit limit map editor
« Reply #28 on: January 22, 2017, 12:45:33 PM »
did u try add ai?
http://www.youtube.com/user/SzwagierR


Equinox - the dumbest person in this game, do not argue with an idiot, because he will bring you to his level and overcome with experience

Offline shesycompany

  • Death Knight
  • *********
  • Posts: 3587
  • retired, be in music section
    • View Profile
Re: Remove unit limit map editor
« Reply #29 on: January 22, 2017, 06:55:25 PM »
ive not messed with ai,i played a map with custom ai..in wargus it is probably in the ai folder in scripts folder.