Lua Unit Defs vs tdfs - Page 4

Lua Unit Defs vs tdfs

Classic game design, maintained to please you...

Moderator: Content Developer

trepan
Former Engine Dev
Posts: 1200
Joined: 17 Nov 2005, 00:52

Re: Lua Unit Defs vs tdfs

Post by trepan »

Actually, it's you who doesn't seem to get it. The output
from that program is in "static" form, it does not use any
PHP scripting features other than to define the arrays.
Maybe you'd better understand the concept if I took 2
minutes to convert it to output XML, TDF, or "static" lua;
but I doubt it.
User avatar
TradeMark
Posts: 4867
Joined: 17 Feb 2006, 15:58

Re: Lua Unit Defs vs tdfs

Post by TradeMark »

trepan wrote:Actually, it's you who doesn't seem to get it. The output
from that program is in "static" form, it does not use any
PHP scripting features other than to define the arrays.
Maybe you'd better understand the concept if I took 2
minutes to convert it to output XML, TDF, or "static" lua;
but I doubt it.
thats not what im talking about.
trepan
Former Engine Dev
Posts: 1200
Joined: 17 Nov 2005, 00:52

Re: Lua Unit Defs vs tdfs

Post by trepan »

What is it that you are trying to say?
trepan
Former Engine Dev
Posts: 1200
Joined: 17 Nov 2005, 00:52

Re: Lua Unit Defs vs tdfs

Post by trepan »

On a tangent, something that is missing from the modinfo
feature set is the ability to see what effects ModOptions.lua
has on the various definitions. It could get a little messy,
but I thought I'd throw it out there ;)
trepan
Former Engine Dev
Posts: 1200
Joined: 17 Nov 2005, 00:52

Re: Lua Unit Defs vs tdfs

Post by trepan »

TradeMark:
i cant open .diff files, can you send the whole
file link to me? if you cant, then forget about it
The .diff file that I attached is a text file. I would think
that someone with your obvious level of competence
would be able to open a text file. What might be eluding
you is the manner in which one applies a .diff file (aka:
.patch). The patch program is the easiest way to
do so on a *nix box.

To avoid bothering your head with such complications,
I've attached the full lua2php.cpp file to this post. You'll
want to copy it into the tools/unitsync/test/ directory
before running it.
Attachments
lua2php.cpp
(7.56 KiB) Downloaded 114 times
User avatar
Tribulex
A.N.T.S. Developer
Posts: 1894
Joined: 26 Sep 2009, 21:26

Re: Lua Unit Defs vs tdfs

Post by Tribulex »

trepan wrote:obvious level of competence
This sense of competence eludes me when i read Trademark's posts. Pretty much every one he has made on the whole forum too.
User avatar
TradeMark
Posts: 4867
Joined: 17 Feb 2006, 15:58

Re: Lua Unit Defs vs tdfs

Post by TradeMark »

trepan wrote:TradeMark:
i cant open .diff files, can you send the whole
file link to me? if you cant, then forget about it
The .diff file that I attached is a text file. I would think
that someone with your obvious level of competence
would be able to open a text file. What might be eluding
you is the manner in which one applies a .diff file (aka:
.patch). The patch program is the easiest way to
do so on a *nix box.

To avoid bothering your head with such complications,
I've attached the full lua2php.cpp file to this post. You'll
want to copy it into the tools/unitsync/test/ directory
before running it.
lol like every programmer would know all these linux tricks.

its just stupid to expect everyone to know your magical stuff, and you already knew i dont know, you just want to insult me.
Regret
Posts: 2086
Joined: 18 Aug 2007, 19:04

Re: Lua Unit Defs vs tdfs

Post by Regret »

TradeMark wrote:you just want to insult me.
Trepan is out to get you, TFC is out to get you, I'm out to get you with .fbi -> .lua change.

Paranoid much? :regret:
User avatar
Tribulex
A.N.T.S. Developer
Posts: 1894
Joined: 26 Sep 2009, 21:26

Re: Lua Unit Defs vs tdfs

Post by Tribulex »

if you dont know what a patch is you are a noob. officially.

yeah im out to get you too, and so is steve jobs.
User avatar
TradeMark
Posts: 4867
Joined: 17 Feb 2006, 15:58

Re: Lua Unit Defs vs tdfs

Post by TradeMark »

i know what a patch is.
Post Reply

Return to “Balanced Annihilation”