Add terrain to buildings

Status
Not open for further replies.

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,241
Use triggers to modify the surrounding tile types to the appropriate lava. Be aware that this requires that lava be loaded as a tile type which will count towards your 16 tile type limit.

Another approach might be to cover the surrounding ground with lava like ubersplat images using triggers. One could also try lava like models in the form of special effects generated by triggers.
 
Level 3
Joined
Mar 8, 2017
Messages
76
[SIZE=4][B][URL='https://www.hiveworkshop.com/members/dr-super-good.116773/']Dr Super Good[/URL][/B][/SIZE] said:
Use triggers to modify the surrounding tile types to the appropriate lava. Be aware that this requires that lava be loaded as a tile type which will count towards your 16 tile type limit.

Another approach might be to cover the surrounding ground with lava like ubersplat images using triggers. One could also try lava like models in the form of special effects generated by triggers.

Hello Super Good, thanks by your attention, I'm thinking in some easier, my idea is to do like infestation terrain but with lava. I have tried to modify ability from undead buildings to generate infestation buty I can't or I don't know how do it. But if that doesn't possible I will have to do what you suggest me.
But althoug I put triggers I believe that should put an ability to my buildings... What ability should I put? I don't overwritte the ability from undead, only to paste and after to custom to my race
 

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,241
Hello Super Good, thanks by your attention, I'm thinking in some easier, my idea is to do like infestation terrain but with lava. I have tried to modify ability from undead buildings to generate infestation buty I can't or I don't know how do it. But if that doesn't possible I will have to do what you suggest me.
But althoug I put triggers I believe that should put an ability to my buildings... What ability should I put? I don't overwritte the ability from undead, only to paste and after to custom to my race
If you do not use blight you could try replacing the blight texture, but that is your only option that is not triggered. The blight spread abilities used by undead only spread blight which is a separate tile node flag from terrain type.
 
Level 3
Joined
Mar 8, 2017
Messages
76
Ok but I don't know how to start to make that.
Use triggers to modify the surrounding tile types to the appropriate lava. Be aware that this requires that lava be loaded as a tile type which will count towards your 16 tile type limit.

If I want to learn triggers Should I dowload any tool?? and... How do I start to learn triggers?
 
Last edited:

Chaosy

Tutorial Reviewer
Level 40
Joined
Jun 9, 2011
Messages
13,207
Triggers, often refered to as GUI does not require any tool.
Just use the trigger editor which is built in.

If you have prior programming knowledge learn wurst instead of GUI.

There are tutorials on this site to get you started. If you encounter problems post the triggers here in trigger tags. There is an old tutorial called How to easily post triggers

Which is still relevant and should not be graveyarded @Ralle @PurgeandFire @IcemanBo
It is annoying to google it ok
 
Level 3
Joined
Mar 8, 2017
Messages
76
Hello, I started with triggers but I have a problem. I created an event and after a condition, until there all well but then I tried to create lava terrain but I don't find "create terrain" or "create ground type" etc.
 

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,241
The action is there. Try environment section but honestly I do not use GUI so do not know. If you use JASS it is the following.
JASS:
native SetTerrainType takes real x,real y,integer terrainType,integer variation,integer area,integer shape returns nothing
 
Level 3
Joined
Mar 8, 2017
Messages
76
The action is there. Try environment section but honestly I do not use GUI so do not know. If you use JASS it is the following.
JASS:
native SetTerrainType takes real x,real y,integer terrainType,integer variation,integer area,integer shape returns nothing

Hello dr super good, I have been using tools from worldofeditors of warcraft III.

Do I need any program (like jass newgenpack) to use jass?? I don't know to open the previous program...

With worldofeditors I have a option to convert a text (gui to jass)... but I don't know if I have only what you have put there... or I should writte anything else
 
Last edited:

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,241
Do I need any program (like jass newgenpack) to use jass??
No you can either enter JASS as a custom script GUI action or convert the entire trigger to custom text using the one menu function.

That said I am fairly sure that native has a GUI action wrapper. You just need to find it in the mess called Warcraft III GUI.
I don't know to open the previous program...
Use WEX. It adds most of the features of JNGP at a fraction of the frustration. Even supports 1.29 PTR if I recall.
With worldofeditors I have a option to convert a text (gui to jass)...
Exactly.
but I don't know if I have only what you have put there... or I should writte anything else
Obviously something else. I gave you the native declaration you need to call it which is a function call.
 
Status
Not open for further replies.
Top