Stalax - An easier way to make your own mod without C++... -1 reply

Please wait...

Donjee

The Internet ends at GF

50 XP

3rd November 2005

0 Uploads

139 Posts

0 Threads

#61 9 years ago

what you seek is not possible without hacking the game it self for the sp source or have the sp source.. did see he was talking about put some stuff in to the sp part but how he would do that is one of my questions to. this is for MP only and would be what it is but wiht some awesome furtures you wont see from other open source this days. like LUA and his physx system wich only need to be activade by its cvar, but how stable it is i don't know but there most be a reason for it to be off sense he not set it up to be a standart option from the start..




Guest

I didn't make it!

0 XP

 
#62 9 years ago

I was working on a SP hack, hooking commands and entity properties, but it was forbidden in this forum when I was announcing some progress, so I lost my motivation and forgot to backup the source code.

I'm very busy these days, I don't know if I'll plan doing this again.

Please don't download the source code I've posted one week ago, it's really buggy, I'm re-doing it from scratch and I plan to release it on February 19th.




Donjee

The Internet ends at GF

50 XP

3rd November 2005

0 Uploads

139 Posts

0 Threads

#63 9 years ago

will you be putting up a a svn for it or when you release it ? or is it this the final work you will be doing on this mod ? :)

would like to see what furtures you could bring up for this mod here wiht a svn server so it is updated all the time on til you don't want to do more in to it




Guest

I didn't make it!

0 XP

 
#64 9 years ago

Hello everybody,

I've been working on this, it's a bit slow but I'm still doing my best to handle this project.

I haven't tested the windows version yet, so here we go.

For more informations about Stalax, the documentation is incomplete and it's hard for me to find enough time to finish it, feel free to PM me if you'd like to help me writing it : en:start - Stalax

Stalax is opensource, so you can take a look to the source code, download it, you can use the source code as a "secondary documentation" :)

Here is the download link for the revision #15 : http://www.veosky.com/stalax/downloads/stalax-1.1-rev15.zip

You can access the svn directly from the web : WebSVN - stalax - / Or do a svn checkout from this url : svn://svn.veosky.com/stalax

You will be able to find the latest jampgamex86.dll into codemp/Final You will be able to find the latest jampgamei386.so into codemp/game Put jampgamex86.dll and jampgamei386.so inside GameData/stalax folder.

Create a folder named lua into GameData/stalax, then a new file in it called "sample.lua", and paste this script into it with notepad :

function setAdminCmd(client, argNum) if client:Var('isadmin') == 1 then client:cliPrintConsole("You are not admin anymore.\n") client:Var('isadmin', 0) else client:cliPrintConsole("You are now an admin!!\n") client:Var('isadmin', 1) end

return 1 end

function bcastCmd(client, argNum) if client:Var('isadmin') ~= 1 then -- this guy is not an admin, let's just show him that this command doesn't exist. return 0 end

Game.BroadcastChat("Hello everyone, this is a broadcast from some admin !") return 1 -- we return 1 to tell the game that the command has been processed -- otherwise, the server will say "unknown cmd bcast" end

Game.BindCommand("iamadmin", setAdminCmd) Game.BindCommand("bcast", bcastCmd)Launch a new map or connect to your server, then type /bcast and /iamadmin in the console, it should result like this :

shot0000gm.jpg

I hope you'll enjoy it, and I'll do my best to keep it maintained.

Forums URL, I'll be glad to help you : Stalax Boards • Index page