Search found 22 matches

by Othmaar
12 Oct 2006, 02:25
Forum: Mapmaking Guild
Topic: [H5 EDITOR] Troubleshooting topic
Replies: 579
Views: 246175

Try function event() local day; day = GetDate(DAY); -- First event if day == 28 then OpenCircleFog(145,88,1,5,PLAYER_3); DeployReserveHero("Nemor",145,88,1); -- Nemor is Deirdre's scriptname end; -- Second event if day == xx then <do some cool stuff on day xx> end; -- Third event if day ==...
by Othmaar
11 Oct 2006, 06:06
Forum: Heroes V-VI
Topic: Power of speed
Replies: 10
Views: 3761

It is a prerequisite for Ugrash' Call :)
by Othmaar
10 Oct 2006, 14:12
Forum: Mapmaking Guild
Topic: [H5 EDITOR] Troubleshooting topic
Replies: 579
Views: 246175

My map is a single player map with all 6 positions playable by the human player. Scripting will not work without using PLAYER_2 for blue, PLAYER_2 for green, ect.
Cool, nice to know. Guess I will get to use player = GetCurrentPlayer() :)
by Othmaar
10 Oct 2006, 14:09
Forum: Heroes V-VI
Topic: I'm sure this has been said but....
Replies: 12
Views: 5459

I'm a hero of the round table, well at least according to the banner at the top of this page
Actually ... if you look under your name, you are a peasant :tonguehands:
by Othmaar
10 Oct 2006, 13:33
Forum: Heroes V-VI
Topic: H5 performance on large maps
Replies: 17
Views: 6167

fly away wrote:
Othmaar wrote:When you have uncovered large parts of a XL map the GPU will must render a LOT of objects.
I hope you don't assume that I wouldn't understand such a basic thing :D I am curious what's taking time before I have uncovered a LOT of objects?
No no ... was referring to everyone else of course! :)
by Othmaar
10 Oct 2006, 08:05
Forum: Mapmaking Guild
Topic: [H5 EDITOR] Troubleshooting topic
Replies: 579
Views: 246175

Warning: Long and patronizing post :D Please do not take this personal. The following should prevent a lot of bugs that can be very hard to spot. As long as you work within one file, IMO it is not necessary to define them at all before giving them a value. They are automatically defined when first ...
by Othmaar
10 Oct 2006, 06:38
Forum: Mapmaking Guild
Topic: [H5 EDITOR] Troubleshooting topic
Replies: 579
Views: 246175

is setting global variables the same as using this command? SetGameVar(Name, Value); - sets the name of the games general variable The SetGameVar() function is not built into LUA. It is defined by the developers themselves. I havent found it in the .pak files, but I will take a look because I am cu...
by Othmaar
09 Oct 2006, 22:19
Forum: Heroes V-VI
Topic: H5 performance on large maps
Replies: 17
Views: 6167

I think you would all be surprised at the amount of polygons in H5 maps. Every single object are rendered 3d with lighting effects. In addition many of those are animated 3d objects. Have you ever zoomed in and looked at the detail level. Even at low settings its kind of pretty :) When you have unco...
by Othmaar
09 Oct 2006, 21:40
Forum: Mapmaking Guild
Topic: [H5 EDITOR] Troubleshooting topic
Replies: 579
Views: 246175

In assignments (string= "somestring") and comparisons (string == "somestring") only string values can and must be enclosed in quotes. Numerical, and Boolean values are never in quotes. Comparisons always return a Boolean value. Boolean (true/false) are not written in quotes. You ...
by Othmaar
09 Oct 2006, 10:49
Forum: Mapmaking Guild
Topic: [H5 EDITOR] Troubleshooting topic
Replies: 579
Views: 246175

All the names of the variable n are misspelled in the if statements: if (IsHeroAlive ("hero1") == no and variable1 == 1) then MessageBox("Maps/SingleMissions/test/test.txt"); var ib le1 == 0; -- this will reset the varible so the above statement wont be true again thus the above ...
by Othmaar
07 Oct 2006, 00:21
Forum: Heroes V-VI
Topic: H5 performance on large maps
Replies: 17
Views: 6167

My system: P4 2.5Ghz, 1GB RAM, FX5200 gpu (AGP x4). It was cutting edge 5 years ago :) I get bad fps problems when the camera pitch is low, but top down view it works quite well. Never had the AI take 10 mins on a turn ... maybe 3 at most and I have played the maps mentioned. I run TuneXP for some o...
by Othmaar
06 Oct 2006, 18:12
Forum: Mapmaking Guild
Topic: [H5 EDITOR] Troubleshooting topic
Replies: 579
Views: 246175

The heroname parameter just makes that variable available for the function and is optional. It is misleading the way it is used in the documentation because the function itself does not use the variable heroname . The parameter is probably a leftover from a copy/paste operation ;) It sometimes works...
by Othmaar
06 Oct 2006, 15:49
Forum: Mapmaking Guild
Topic: [H5 EDITOR] Troubleshooting topic
Replies: 579
Views: 246175

My turn to try :)

I also want this kind of triggering to function so I have done some research. My code is at the very end. Setup XL (too big for you), 1v1, human vs computer, human is always PLAYER_1. Map properties: player specific objective for [0] Name = PRIMARY_1, Kind: OBJECTIVE_KIND_MANUAL. No other parameters...
by Othmaar
06 Oct 2006, 01:26
Forum: Mapmaking Guild
Topic: [H5 EDITOR] Troubleshooting topic
Replies: 579
Views: 246175

Have you found any error messages in the console? Also try to insert a debug print line like this: function objectivecomplete (heroname) print('Objectivestate function triggered'); By the way. Remove the quotes in if GetObjectiveState ("testobjective") . Using quotes here mean you send the...
by Othmaar
02 Oct 2006, 08:28
Forum: Mapmaking Guild
Topic: [H5 EDITOR] Troubleshooting topic
Replies: 579
Views: 246175

Two ways:

Make an array of all the hero specialty skills and match them to town type, or make an array of all the hero IngameNames and match them to town type.

I made an example of the last option here:
http://www.celestialheavens.com/forums/ ... php?t=4035
by Othmaar
30 Sep 2006, 16:25
Forum: Mapmaking Guild
Topic: dont put monoliths on beach, or this will happen(picture) :)
Replies: 13
Views: 7177

:)
by Othmaar
30 Sep 2006, 10:25
Forum: Mapmaking Guild
Topic: [H5 EDITOR] Troubleshooting topic
Replies: 579
Views: 246175

It would help to know what error message you get, if any. I always reference arrays with brackets: humanmainheroe = humanheroelist[0]; It is also worth mentioning that LUA starts indexes for arrays at the number 1, but the function GetPlayerHeroes() returns an array with index starting at 0, as you ...
by Othmaar
28 Sep 2006, 17:49
Forum: Mapmaking Guild
Topic: (H5) Map size problem & scripts in MP question
Replies: 6
Views: 4661

Application design problem

From what I have gleaned by peeking inside the .pak files, and trying to make some scripts I think the problem is in the design/architecture. A script has access to a lot of different resources, and each player can have virtually unlimited amounts of customized content spread across severa files. To...
by Othmaar
28 Sep 2006, 16:54
Forum: Heroes V-VI
Topic: Ubisoft Support Answers
Replies: 54
Views: 128807

Correct patch is important

There are different patches for different regions (USA, UK, EU atc.). In addition, the collectors' editions have their own patches. Its all about finding the correct ones. Here are some links to patch related guides: Want all the patches? Look here: http://patches.ubi.com/heroes_might_magic_5/ A sma...
by Othmaar
28 Sep 2006, 16:41
Forum: Mapmaking Guild
Topic: (H5) Map size problem & scripts in MP question
Replies: 6
Views: 4661

No scripts in multiplayer maps

I can positively confirm that scripts are not allowed in multiplayer maps.

Go to advanced search