-
Posts
778 -
Joined
-
Last visited
-
Days Won
6
Everything posted by nani
-
user.cfg or options->hotkeys
- 476 replies
-
- 1
-
- building hotkeys
- visible corpses limiter
- (and 9 more)
-
No permissions to view
-
No idea, ask in irc-dev they might know reason (som random change?)
-
Very interesting, could you link to where that decision was made?
-
see autociv/gui/gui.d.ts for more /** * Save a config value in the specified namespace. If the config variable * existed the value is replaced. * @param namespace - Configuration namespace * @param key - Name of the value * @param value - Value * @returns True if successful */ function ConfigDB_CreateValue(namespace: "default" | "mod" | "system" | "user" | "hwdetect", key: string, value: string): boolean /** * Remove a config value in the specified namespace. * @param namespace - Configuration namespace * @param key - Name of the value * @returns True if successful */ function ConfigDB_RemoveValue(namespace: "default" | "mod" | "system" | "user" | "hwdetect", key: string): boolean /** * Write the current state of the specified config namespace to the file * specified by 'path' * @param namespace - Configuration namespace * @param path - File path (file name included) * @returns True if successful */ function ConfigDB_WriteFile(namespace: "default" | "mod" | "system" | "user" | "hwdetect", path: string): boolean /** * Write a config value to the file specified by 'path' * @param namespace - Configuration namespace * @param key - Name of the value * @param value - Value * @param path - File path (file name included) * @returns True if successful */ function ConfigDB_WriteValueToFile(namespace: "default" | "mod" | "system" | "user" | "hwdetect", key: string, value: string, path: string): boolean
-
????¿??
-
The building doesn't know what you want to train, you must first train some units and then if autotrain is enabled for that building it will autotrain them again. (saying it will start to trains the same units again)
- 476 replies
-
- 2
-
- building hotkeys
- visible corpses limiter
- (and 9 more)
-
- 476 replies
-
- building hotkeys
- visible corpses limiter
- (and 9 more)
-
[POLL] Corpse Removal Option
nani replied to Stan`'s topic in Game Development & Technical Discussion
Problems it solves: - No corpses Problems it adds: - Blinking in the minimap would be clutter and hard to notice (very small) - Blinking circle in the ground would be out of place and would still not tell you what kind of unit died - Would be uglier than some random corpses disappearing and the least realistic option -
-.- good start
-
the mod is crashing 0ad when opening the map browser and chanign pages -> probably bad map preview file?
-
Look at the first function in gui/gamesetup/SenRegisterSatnza~autociv.js You only need that.
- 476 replies
-
- building hotkeys
- visible corpses limiter
- (and 9 more)
-
Yeah, the problem is to how best define the order and make it customizable. I'm thinking about giving the option to define the same hotkey as config option and then let the user write what other buildings wants to cycle between and the order. Probably not too difficult but don't want to hardcore things if possible
- 476 replies
-
- 1
-
- building hotkeys
- visible corpses limiter
- (and 9 more)
-
[POLL] Corpse Removal Option
nani replied to Stan`'s topic in Game Development & Technical Discussion
So how would these 2d icons look like (you can do some photoshop demo so I can get an idea) -
[POLL] Corpse Removal Option
nani replied to Stan`'s topic in Game Development & Technical Discussion
ezgif-7-301f82f6ff0b.webm @vladislavbelov ezgif-7-301f82f6ff0b.webm -
[POLL] Corpse Removal Option
nani replied to Stan`'s topic in Game Development & Technical Discussion
But people want to see the corpses not 2d icons. What's is worse than inconsistent visual effects is playing with literally 1 fps when there are big armies fights. :L -
Just so you know I JUST noticed this problem myself hours before and fixed it, will update some time later this week. Technical reason: when you save in hotkey editor it removes unused hotkeys from user.cfg but then at restart autociv checks for missing hotkeys then adds them with a messsage. Ideally the hotkey editor should just leave mod hotkeys in user.cfg but as empty string (as in alpha 23) seee: https://trac.wildfiregames.com/ticket/6093
- 476 replies
-
- 1
-
- building hotkeys
- visible corpses limiter
- (and 9 more)
-
That sounds very plausible (Engine.IsHotkeyPressed) is used very much in gui/session/ for interface
-
[POLL] Corpse Removal Option
nani replied to Stan`'s topic in Game Development & Technical Discussion
To be honest, people that choose off/on wouldn't choose it again if they would try to play with it. Having corpses, at least the most recent, is crucial to know what units you lost, especially at the beginning of the match where rushes and small attacks take place. Also it doesn't make any sense, you can just set corpse limit to 0 and have both options, all games have this, since forever, is a basic optimization, is not hard at all to implement, gives more fps and after all you can change it to whatever you want. What's so hard to understand? -
- 476 replies
-
- 1
-
- building hotkeys
- visible corpses limiter
- (and 9 more)
-
f(x) = (-0.123*x^2 + 1.293*x + 0.1342)/(x - 0.3472)
-
To be honest matlab curve fit toolbox is quite amazing, haven't found anything similar to it. Xd
-
1) f(x) = (0.6821*x - 0.6818)/(x - 0.6562) 2) f(x) = (0.7012*x - 0.6062)/(x - 0.4146)
-
A "psychic" shader mod; development begins...
nani replied to DanW58's topic in Applications and Contributions
That's what the global ambient light trick is for, in 0ad it works very well as maps are all open scenery you can combine it with the sun angle intensity.