• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

disabling object editor limits? and teams?

Status
Not open for further replies.

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,198
how do you give a unit more health then 100000?
Well, you could add behaviours with bonus HP or even use triggers to alter its data type via catalogue natives or even directly add to the units maximum health via the unit stat natives.

I however advise you consider wether 100000 HP is really needed on that unit. For example you might wish to divide everything by 10.

and how do you make preset unchangable teams
Try messing with the gameplay varients window. If that does not help use triggers.
 
Level 4
Joined
Jul 4, 2009
Messages
77
You can change team presets in a map in two ways.


1. Under the menu toolbar choose -> MAP -> "Game VARIENTS" and under DEFAULT varient, find the following options and setting them to the following.


Name / Player / Value / Locked
------
Locked Alliances / (ALL PLAYERS) / YES / LOCKED
TEAMS / (ALL PLAYERS) / (1,2,3, FFA) / LOCKED

setting to NOT locked, will allow the hosting player to alter these fields to what they want for that playthrough during the lobby creation.


OR



You can set them via triggers,
under MAP Initiation Event, set the trigger to

Set Alliance

Should look like this.
Player - Make player (X) and player X treat each other as Neutral/Enemy/Ally

This will have to be done for EACH player and each enemy. Can be a long copy/paste process.

Unless you select

"Set Alliance for player group", and set group to "ALL players" and make 5them enemies of eachother.



Not sure on the health.... you could mock something up with triggers to have the character utilize CUSTOM UNIT VALUES so that when a units life drops to say... 500 (to give room to prevent death) and its at CUSTOM VALUE 1, that it subtracts that 1 from the custom value and then resets the life at 100,000. ANd if custom value is 0, it dies from having no more life.

This way you could in essence have LAYERS of life.

You would have to also create a trigger if the unit GAINS life up to 100000 it would ADD 1 to custom unit value and set life at 500.

There would be no way to actively display the life in text on the command/status bar. unless you are using a custom UI.
 
Status
Not open for further replies.
Top