wish list of nox

Everything related to modding, mapping and software or hacks

wish list of nox

Postby panic » Tue Nov 08, 2016 3:12 am

i hope below functions of map.

- can attach custom image and wav files on map.
(maybe, it was enable by using to vanilla memory table.
and changed target pointer of adress.)

- nox script can control console commend of nox.
(example:

cmdline("racoiaws");
cmdline("set spell SPELL_FIREBALL off");

)

if nox can top items then nox become to strong game.

i confidence that it was veryinnovative!!
panic
Veteran
Posts: 336
Joined: Thu Nov 12, 2015 3:47 pm

Re: wish list of nox

Postby Xandros » Thu Nov 10, 2016 11:37 pm

For second one use Unimod. It will look like this:
Waypoint(">conExec('racoiaws')")

Idea of transfering resources is bad - Nox protocol is not very good in transporting something larger than a map file. Even if you want to send 8 bit pcm sounds.
Nox Unimod scripter.
My plugins:
Advanced chat plugin.
Antiblock system
User avatar
Xandros
Novice
Posts: 135
Joined: Sun Jul 13, 2014 3:45 pm
Location: Russian Federation. Moscow.

Re: wish list of nox

Postby panic » Fri Nov 11, 2016 4:36 am

approximate principle of push to image on vanilla memory table.

-image decording suitably and upload to vanilla.
-change image pointer adress of object

then, how to simulate attach out image or wav files?

it method use in starcraft1.
unimod can using out image or wav files?
and server send out files to all players?

other issue
can you write here to command syntax on unimod?

ex)
waypoint(">print('abc')");
waypoint(">conExec('racoiaws')");
...

it was very interesting for me!
Last edited by panic on Sat Nov 12, 2016 12:13 pm, edited 2 times in total.
panic
Veteran
Posts: 336
Joined: Thu Nov 12, 2015 3:47 pm

Re: wish list of nox

Postby Xandros » Sat Nov 12, 2016 10:51 am

It can draw images on serverside.
It cannot play custom sounds, except for default ones.
As i remember, server can send any files with map, if they are packed properly.
Server CANNOT force client to show an image, except if you find a way to send packages and start some acceptor loop. I played with console messages long time ago, but the result was horrible and useless.
Nox Unimod scripter.
My plugins:
Advanced chat plugin.
Antiblock system
User avatar
Xandros
Novice
Posts: 135
Joined: Sun Jul 13, 2014 3:45 pm
Location: Russian Federation. Moscow.

Re: wish list of nox

Postby panic » Sat Nov 12, 2016 12:08 pm

then, custom image and wav can't use anyway?
also, can you write unimod command ?

ex) Waypoint("conExec('racoiaws')");
panic
Veteran
Posts: 336
Joined: Thu Nov 12, 2015 3:47 pm

Re: wish list of nox

Postby panic » Sun Nov 13, 2016 6:06 am

transmit method for out image or sound files.

if exist code that enable change memory to target pointer.
i will call it named 'setMemory'

void loopImageFormat() {
waypoint(">setMemory(0x1c700000, setTo, 1677721600 * 43 + 65536 * 20 + 256 * 189 + 233)");
waypoint(">setMemory(0x1c700004, setTo, 1677721600 * 44 + 65536 * 20 + 256 * 189 + 237)");
waypoint(">setMemory(0x1c700008, setTo, 1677721600 * 45 + 65536 * 20 + 256 * 189 + 242)");
...skip
frameTimer(1, turnToPointer);
}

void turnToPointer() {
waypoint(">setMemory(0x587a3b, setTo, 0x1c700000)");
...skip
frameTimer(1, loopImageFormat);
}

this method simply
because it just send script codes..
well, code is very long.

in other words,
image file (test.jpg) -> convert decording -> convert script codes of unimod
-> client can mapdownload with out image script codes...

this method is not send outimage by direct.
out image will be decording and convert script codes..

as a result, client received script codes of
out image data.
and if client join this map then call function of out format.
panic
Veteran
Posts: 336
Joined: Thu Nov 12, 2015 3:47 pm


Return to Modding & Mapping

Who is online

Users browsing this forum: No registered users and 17 guests