private double BuyPercentage
{
get
{
return 10.0 / 100.0;
}
}
This is C# ? No it's not. Write this kind of stuff in C# now. And then in Godot (using signals).
Great argument mate.
Well, I DID mod warband. I kicked my ass, learnt the stuff, and modded it. I didn't quit because "muh not to my standards"
+1 the amount of tuts is amazing.
Because I actually love coding more precisely, creating functions, and toy with randomness and variables. I don't know why, it gives me the giggles. This is why all my mods are so heavy on randomness. Random tests results, random encounters, random loot, random crafting... ! And in godot you have to code everything from the ground up. But then, I don't waste my time trying to learn whether a function should be static or serialized or whatever, but I waste my time creating neat little buggy random systems. As for Unity or unreal or lumberyard, I just can't get into it.
Well, my opinion was that I totally agree with OP unpopular opinion, and explained why
Sure whatever, you seem very smart, good on you. I am not a pro coder, so having 3 different decimals (float, double, decimals) types is beyond me. And for me, this is exactly what is wrong with this langage. Mostly having to define everything, then create it, then populate it, is overly complex for my small brain, furthermore because this doesn't exist in other langages I came across. Maybe, as I learn more, I will get to appreciate it, but so far, this is really humbling, and a total pain in the arse compared to other langages.
I am indeed a novice programmer, it's not my job to code, but from what I have seen so far, toying with python, lua , and other PL, C# is the most unintuitive, over complex, piece of I have come across. Now once you know it, or if you are very smart, or learnt it at school, or whatever, it is probably a great engine, and VB and intellisense are great, but it is, once again, imho, and overcomplex piece of . Just creating a function is freaking unintuitive. In what kind of freaking world is a PL so dumb that I have to create a var, and then tell again the PL I created a var. I am so mad after this piece of PL atm...
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Rigale2RoC;
using TaleWorlds.Core;
using TaleWorlds.Localization;
using TaleWorlds.MountAndBlade;
using TaleWorlds.CampaignSystem;
namespace Rigale2RoC.Systems
{
class Rigale2Systems
{
public int Rig2_getAttributeCheckResult(CharacterAttributesEnum attributeToCheck, String difficulty);
{
int result;
int AttributeValue = Hero.MainHero.GetAttributeValue(attributeToCheck);
int randomCheck = new Random().Next(1, 20);
result = randomCheck + AttributeValue;
return result;
}
}
}
well, once you know that {} is only meant for dictionnaries...and I really don't think that C# is meant to be casually read by anybody...And godot and other langages dic can store almost anything without having to define the types of values first...
<XmlNode>
<XmlName type="1" id="NPCCharacters" path="Rigalebandits"/>
</XmlNode>