
Porting ToME2 to the T4 engine
Moderator: Moderator
Re: Porting ToME2 to the T4 engine
Put it in data/font and just use it 

[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning

Re: Porting ToME2 to the T4 engine
Yeah, it's very easy to use your own fonts. I have a couple of my own in Rogue Rage.
-
- Sher'Tul Godslayer
- Posts: 2512
- Joined: Thu Jan 23, 2003 8:13 pm
- Location: A shallow water area south of Bree
- Contact:
Re: Porting ToME2 to the T4 engine
Well, the font thing is shelved for now, after I realized that to do it properly, I'd need to implement a huge scrolling character table for the player to choose from (think "Interact with visuals" from T2, but with the entire Unicode character set to work with). For now, I decided to do something a little easier:
Release 0.0.4 "A Shopping Date with Destiny"
New in this release:
As always, the .team file for the release is available from my site, along with the Subversion repo and WebSVN frontend thereto. Now, I've got a couple other small projects that were kind of backed up behind this one, so don't be too worried if the next release takes a little longer than this one; as long as I'm still checking stuff into the repo, I'm still kicking.
Release 0.0.4 "A Shopping Date with Destiny"
New in this release:
- Migrate to T-Engine v0.9.42.
- Expanded implementation of stores. All Bree stores are now present and (mostly) implemented.
- Partial implementation of fates; they can be received, learned via the Soothsayer, and listed via new game menu entry View Fates, but are not yet taken into account in level generation.
- Fixed some object bugs, notably display and stacking handling for some objects.
- Fixed some character creation bugs:
- Spent stat points could be irretrievably lost if you changed your selected race/class.
- Starting items for certain races/subraces were not being given to the player.
- Starting items were not being properly identified.
- Implement gameplay option 'Allow weapons and armor to stack'.
As always, the .team file for the release is available from my site, along with the Subversion repo and WebSVN frontend thereto. Now, I've got a couple other small projects that were kind of backed up behind this one, so don't be too worried if the next release takes a little longer than this one; as long as I'm still checking stuff into the repo, I'm still kicking.

"Blessed are the yeeks, for they shall inherit Arda..."
Re: Porting ToME2 to the T4 engine
Yay!
But I realy dont believe you should port the options
But I realy dont believe you should port the options

[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning

-
- Sher'Tul Godslayer
- Posts: 2512
- Joined: Thu Jan 23, 2003 8:13 pm
- Location: A shallow water area south of Bree
- Contact:
Re: Porting ToME2 to the T4 engine
[We Apologize for the Delay;(TM) replacing three computers in rapid succession can be annoyingly time-consuming. Admittedly, only one of said computers needed to be replaced because it actually died, but that was my homebrew DVR box, and getting its successor properly set up and working was frustratingly difficult.]
Any-way:
Release 0.0.5 "Not Dead Yet"
New in this release:
Any-way:
Release 0.0.5 "Not Dead Yet"
New in this release:
- Migrate to T-Engine 0.9.43.
- Potions are mostly implemented, along with the 'q' command to quaff them.
- Implement object "flavors" for unidentified scrolls/potions/etc.
- Temporary effects are largely implemented, and what isn't implemented is at least stubbed out.
- Suppress the redundant character name dialog that was appearing before the usual birther dialog.
- Somewhat less clunky save/quit dialog.
- Assorted bug fixes and internal infrastructure rejiggering.
"Blessed are the yeeks, for they shall inherit Arda..."
Re: Porting ToME2 to the T4 engine
YAY !
[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning

-
- Sher'Tul Godslayer
- Posts: 2512
- Joined: Thu Jan 23, 2003 8:13 pm
- Location: A shallow water area south of Bree
- Contact:
Re: Porting ToME2 to the T4 engine
Heh. You remember I was talking before about small changes mushrooming into big changes? Well, I figured implementing monster spells would be a nice, simple next step. (Poor Novice mage in the Bree house quest without his magic missile spell and all...) Of course, implementing that requires implementing damage types, which requires disentangling the difference between the RBE_* damage types and the GF_* damage types and all the things those affect, which leaves me pretty much where I am now, trying to implement floor grids turning to lava when hit by a fire attack. And on further examination of the T4 code, I'm beginning to suspect that I may have been doing that wrong up to this point.madmonk wrote:Any more?

And speaking of non sequiturs, is there documentation anywhere for the particle system? Because ironlcally, that might actually be less complicated than what I'm currently working on...

"Blessed are the yeeks, for they shall inherit Arda..."
Re: Porting ToME2 to the T4 engine
My heart goes out to you! It sounds really hard.
Have a chatter to Lord Estraven and AnonymousHero. They have been working on T2... and may be able to assist.
Have a chatter to Lord Estraven and AnonymousHero. They have been working on T2... and may be able to assist.
Regards
Jon.
Jon.
-
- Uruivellas
- Posts: 718
- Joined: Tue Dec 13, 2005 12:35 am
Re: Porting ToME2 to the T4 engine
Umm *eep*
Unfortunately all of my experience is with T2, I have no idea how to implement anything for T4. Also I'm a fairly lousy programmer ATM, see for instance the mess that is Neoband.
That said, feel free to ask me stuff about T2; I'll see how much I can answer.
Unfortunately all of my experience is with T2, I have no idea how to implement anything for T4. Also I'm a fairly lousy programmer ATM, see for instance the mess that is Neoband.

That said, feel free to ask me stuff about T2; I'll see how much I can answer.
Re: Porting ToME2 to the T4 engine
Any news ?;)
Oh about the particle system, not really; but I urge you as before; particle system is nice and all but unimportant. Step1: get it playable; only then can you do step2: make it not suck gfx-wise
Oh about the particle system, not really; but I urge you as before; particle system is nice and all but unimportant. Step1: get it playable; only then can you do step2: make it not suck gfx-wise

[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning

-
- Sher'Tul Godslayer
- Posts: 2512
- Joined: Thu Jan 23, 2003 8:13 pm
- Location: A shallow water area south of Bree
- Contact:
Re: Porting ToME2 to the T4 engine
Currently fighting my way through applying damage types to items on the floor, and debating whether I need to rip out the Grid:projected() method I've been using for floor damage up to this point and try to do that handling into the default damage projector instead.darkgod wrote:Any news ?;)
[On that note, is there an easy way to make something happen at the end of the ActorProject:project() method or immediately thereafter? I figure trying to remove objects from the floor in the middle of a Map:checkAllEntities() call would pretty obviously be a Very Bad Idea(TM), so currently my Object:projected() method is marking floor objects that need to be destroyed, in anticipation of coming behind that with something to actually remove marked objects from the floor.]
Well, yeah, but as I said, being able to draw pretty lines when that Novice mage shoots a magic missile at the player (which, recall, was got me into this mess in the first place) would at least make me feel like I'm accomplishing something...darkgod wrote:Oh about the particle system, not really; but I urge you as before; particle system is nice and all but unimportant. Step1: get it playable; only then can you do step2: make it not suck gfx-wise

"Blessed are the yeeks, for they shall inherit Arda..."
Re: Porting ToME2 to the T4 engine
Lol 
Oh and come on now; join us up in #tome !
As for particles, well you probably found how to apply particles, as for how they work it's simple really, it just needs a different mindset to make them:
Each frame (for this purpose there is *always* 30FPS, even if it displays more or less) the emitter method is called (the one with ths emit() call inside).
A particle system lives as long as particles exist inside, if you keep on emitting it keeps on existing (that's why most particles systems have a limited number of emits).
When a particle must be emited the generator table or function is called which defines the parameters for that one particle. So if you tell it to emit 10 particles, the generator is called 10 times.
You could superload project(), but from your example it sounds more like a job for game:onTickEnd (look in tome's code)

Oh and come on now; join us up in #tome !
As for particles, well you probably found how to apply particles, as for how they work it's simple really, it just needs a different mindset to make them:
Each frame (for this purpose there is *always* 30FPS, even if it displays more or less) the emitter method is called (the one with ths emit() call inside).
A particle system lives as long as particles exist inside, if you keep on emitting it keeps on existing (that's why most particles systems have a limited number of emits).
When a particle must be emited the generator table or function is called which defines the parameters for that one particle. So if you tell it to emit 10 particles, the generator is called 10 times.
You could superload project(), but from your example it sounds more like a job for game:onTickEnd (look in tome's code)
[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning

Re: Porting ToME2 to the T4 engine
I tried to run the latest .team in T-Engine 0.9.34, and it first tells me it's incompatible before crashing.
Any ideas?
Any ideas?