Uphax

Uphax

Joined Member # 3121613
0 Posts 3 Replies 8,440 Reputation

dont listen to obscenitor. he always looks out for things to complain about. listen to the people who tell you exactly what they dont like and what the would rather like to see. i think they are right when they say that its propably better to not concentrate on nerfs but on buffs for the weaker demigods. though a few nerfs might be ok since the usual fight length is already short. its true that you need one name thats popular in the community or no one plays your mod, even if its ok.<

36 Replies 8,382 Views

i think you need to completely understand how the buffing works an where it is done. i cant help you with that but i can tell you a way how you might find what you need. first add a custom attribute to the table that doesnt affect others (unique name). then go to a place in the code where you think that this information should be available somehow. then you use the function PrintInformation(1) from the script i posted here during the last days. this will print out every table and nest

13 Replies 52,938 Views

hm i dont know exactly but i think that blueprints are just normal lua files with only table definitions in it. i suggest you look into the mod that sorian made for the torchbearer. perhaps you can achieve something by setting merge=true... just look into his mod. the blueprint files are actually all loaded automatically and i dont know how the naming convention is. i think its also lua code that loads blueprints and that i have seen it somewhere when in added another type of angels s

8 Replies 35,177 Views

so you rather wait half a minute for the map to reload? i mean i dont care but believe me: if you want to be really productive and test many things, then half a minute is a loooong time and everytime you have to hit ctrl+f10 it just sucks! in 30 seconds i have testet 2 more things by changing the code and hitting the run button while youre still stuck at the loading screen. thats not always possible but when it is you really gotta use it...

9 Replies 2,151 Views

table.insert is a constant function is the tablename table.insert( , value) and table.insert( , key, value) are not quite comparable. its the same function but the use is different. table.insert appends a value to a table. its most often used when the table is an array! so you dont need to bother where to insert it, its just appended to the array and the key is the nummerical position of the value in the array. a different use of tables is

8 Replies 35,177 Views

debugging can be a pain. not just that there is no documentation for the whole demigod code out there but also the error messages have meaningless linenumbers when you hooked a file and then there is an error in your code. so thats why i played around with luas debugging interface and wrote this script. this interface has its limitations so there is not always a function name available but there is almost always a sourcefile and a line! keep that in mind when you read the messages. fi

0 Replies 1,269 Views

for learning lua modding is not a good start. get the lua sdk with scite. with this you can debug and you get an output in like seconds! you just press run and it runs your program.

9 Replies 2,151 Views

sry, no i cant. i dont know enough about notepad or installers to create one because i have never done that before. i uploaded a version that doesnt need to be installed and has everything onboard, but it seems to work only if notepad aint installed. else it tries to load the xml files from the installed version which of course doesnt work! i also included the user defined language made by tspauld notep

8 Replies 34,257 Views

tspaulds work is propably better because you dont need updated executables and it has almost the same functionality. i didnt know that notepad has this function. anyway, i fixed two bugs. 1. folding works now. it doesnt 'see' code which is outcomented anymore 2. the moholua files that were loaded last time you worked on are now being loaded with the right lexer on the next start Demigod

8 Replies 34,257 Views

this is the usual notepad++ with another lexer added (LexMohoLua.cxx). this could also be made as a plugin but the interface is too complex to simply create an addon so i recompiled the whole thing which was far easier. the lexer is just an edited LexLua.cxx to make # comments work and one other slight change so that the functions aren highlighted always (doesnt work 100% and cant be changed without completely changing the code). also all core functions are now being highlighted (like

8 Replies 34,257 Views

hey, deadmg thanks for the tip. i didnt look for exception handling yet because i was busy trying to recompile notepad++ or scite with an edited lua lexer. compiling worked but then it threw an error right at the start which i didnt investigage further. then i got back to textadept which supports dynamic lexing by lpeg (a lua lexing library) and now im using that. this editor is also very easy to mod because many parts are written in lua but the downside is that its really just a very simple

21 Replies 6,584 Views

the bejewled goggles will most certainly be taken by regulus players. how about something like this: generally give a range bonus of 2, remove fog of war for five seconds and give a 20% range bonus to all skills for that time. that would buff sniping.

65 Replies 188,452 Views

[quote who="Ptarth" reply="11" id="2455757"]You can freely edit existing mods while demigod is running and use the console and Ctrl+f10 to reload them (as Derog states). However, if you wish to add a new mod, you'll have to restart demigods.[/quote] that sometimes aint enough. i'm trying to build some really rudimentary form of a tower defense mod for others to go on with (because i dont have the time) and have to edit the conquest.lua. the problem is: if it cant be parsed, the game h

21 Replies 6,584 Views

in the lua code there is even a comment about that error, something like: "if [this and that] aint done, bad things happen after respawn". they already try to prevent that but it obviously didnt help at your computer ;)

1 Replies 1,363 Views

what the docent said certainly hadnt holes in it. its rather my brain that has the holes. btw. i wasnt talking about text for a commercial product but about sourcecode of a mod for another mod and i mentioned above that you should give credit. i think that sourcecode aint comparable to text but rather to the information a text would transport. so if one found out that the earth is a pizza and would scream that out into the world then i couldnt say that i was the one who found that out

18 Replies 7,084 Views

and there we are discussing intellectual property. the problem about most mods is that they are small. so small that there hardly is another way to achieve what the mod does (besides make it look different). some time ago we have learned at school that if you put something out into public without having a patent for it, it becomes "common knowledge" (dunno the word in english). that means if one just gives out something without explicitely saying how it should be used (license

18 Replies 7,084 Views