Technopolies

Started by rolz, October 21, 2004, 04:03:43 PM

Previous topic - Next topic

rolz

- added support for map viles created in MS Visio

visio allows custom property sets for objects and makes it possible to export the entire drawing to XML.


drawing map in Visio using custom stencils


same using the relief map as background
Regards,
Andrei

EgonOlsen

What a nice idea to simply use Visio as a level editor. That's something that i have to keep in mind...

rolz

1. google for 'visio.xsd' , download it (5 min)
2. use Apache XMLBeans to generate XML stubs for visio document schema (5 min)
3. create custom property set and a couple of simple objects (walls, buildings  and trees) - 10 min
4. write a testcase for loading templates and objects on map - accessing coordinates, bounds and custom property sets - 15 min.
Regards,
Andrei

rolz

Egon,

Would it be possible to assign multiple textures to a polygon ?

Basicaly, i would like to lay "road bricks" texture on top of some polygons of the terrain object
Regards,
Andrei

EgonOlsen

Quote from: "rolz"Would it be possible to assign multiple textures to a polygon ?
Currently not, i'm afraid. It's mainly a tribute to the software renderer that there is no kind of multi texturing in jPCT (not entirely true...the software renderer has this blended bump mapping, but that's all there is about it). If you want something like this, i suggest to use geometry instead or at least place some polygons with the needed texture on top of the landscape. That's something that you may have to do anyway, even if jPCT would allow for normal multi texturing, because what you want may not be normal multi texturing (i.e. multiplicative blending).

Hope this helps.

rolz

too busy on day job to work on techno :(

- modified server side calculations to use QuadTrees instead of portals
- Internal game model modifications - looks much better now
- added support for bean to text serialization. For most objects it works faster than regular serialization and the output is 50% to 80% smaller that serialized data.
- modified network model to be more lightweight and comprehensive

Visibility detection using QuadTree:


Bounding boxes, chains of commands:
Regards,
Andrei

rolz

- finished working on network code. The game now operates in realtime.

- added support for composite 2d objects on server (like buildings). collision detection with walls and moving objects works perfectly fast.

- started working on realtime 3d client.

a map generated in Visio, with some bots on it.


Same map, in 3d net client.


2d net client
Regards,
Andrei

rolz

After 2 months, now realtime.
There is not that much left from the former game though :)

- redesigned server/client
- added smooth movement transitions
- added picking/hiliting objects with mouse

client is available for download at
http://home.ripway.com/2005-5/312079/technopolies20050622.zip
server url: 195.91.144.195
usage: 3d.bat 195.91.144.195


Regards,
Andrei

Sarge

Looks terrific  :shock: ! When do you expect it will be ready :?:

EgonOlsen

A small flaw: The 3d.bat misses a ; after the %CLASSPATH%

rolz

Wops. I'll take a look
Regards,
Andrei

rolz

client download (~1Mb):
http://home.ripway.com/2005-5/312079/techno_2005-06-26.zip

new features:

- added attack command. It is now possible to slaughter NPCs ;)
- added portals which move player between locations. there are 2 locations so far on the server: Olbridge and Evergreen Forrest.
- fixed bug with movements which caused players to stuck at certain conditions.
- fixed bug with zooming in/out (thanks Helge)
Regards,
Andrei

EgonOlsen

Works fine (except for the bat directing to jre\...which doesn't work on my system), but i don't have a clue how to attack the NPCs. They are all standing around doing nothing (not even moving) but i don't know how to attack them... :?:

rolz

Regards,
Andrei

rolz

Helge,

Looks like the bug with stuck bots remained. I've added some corrections to movements that will "push back" player if the last movement did not succeeded. This should prevent stucking in trees, houses, etc.

As for attack, try holding CTRL and pointing mouse at bots. The player will pursue target and attack it untill the target is killed
Regards,
Andrei