Welcome, Guest. Please login or register.
Did you miss your activation email?
November 19, 2017, 10:49:08 am

Login with username, password and session length
Search:     Advanced search
Savage: XR is a new patch for Savage, created by the Newerth.com staff. The XR1.1 Client is out now! Download it now!
188623 Posts in 10884 Topics by 17943 Members
Latest Member: Yustus123321
* Home Forum Wiki Help Search Login Register
+  Newerth Forums
|-+  Archive
| |-+  Modding Forum
| | |-+  Savage Arena
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: 1 2 [3] 4 Go Down Print
Author Topic: Savage Arena  (Read 10991 times)
MiraculiX
Full Member
***
Posts: 193


xr_newerth


View Profile
« Reply #30 on: November 01, 2011, 08:07:15 pm »

What I actually meant is, if its possible to alter weapon model and attributes depending on the unit you have picked previously. Like having a different discharger for nomad, savage and lego units (only with melee this time). This way I would only have to use 3 lots for ALL the melee weapons instead of 3*4 (or maybe less).
Logged

Contact me if you want your map to be checked!
Hakugei
XR Coder
Legendary Member
***
Posts: 3745



View Profile
« Reply #31 on: November 01, 2011, 08:16:05 pm »

Sure:

@spawn
Check what unit the owner is, then !give them the altered version (of course, you need .object files for each).
Logged
Mohican
Order of the Stick
Former XR Dev
Legendary Member
*****
Posts: 2647



View Profile
« Reply #32 on: November 03, 2011, 01:08:26 am »

Here are the steps required for adding new Techs:

(1) Create the files for your Techs:
  - Object definitions: *.object
  - Models/Textures/Icons:  *.model, *.s2g...

(2) In the editor, go to "Config".
  - Add all the previous files to "Assets"
  - Add the following lines in both Server & Client configs:
Code:
       // Load Extra Techs
       exec assets/weapon1.object
       exec assets/weapon2.object
            ...

Notes:
 - Use the path assets/weapon1.model in your .object files (same for icons).
 - There is currently no way to add/modify .gs files, but I will fix this soon (.gs files in /assets will override /scripts).
 - You can modify standard techs by adding the following lines in both Server & Client configs:
Code:
    // Modify Standard Techs
    objEdit human_nomad
    objSet forceInventory1 "weapon1"
        ...
« Last Edit: November 03, 2011, 01:11:35 am by Mohican » Logged

Hakugei
XR Coder
Legendary Member
***
Posts: 3745



View Profile
« Reply #33 on: November 03, 2011, 01:56:35 am »

I thought this was an own mod with own mod folder and scripts? (Or did I missunderstand?)
Logged
MiraculiX
Full Member
***
Posts: 193


xr_newerth


View Profile
« Reply #34 on: November 03, 2011, 03:35:12 pm »

I dont know yet, I am currently writing a long list on what modifications I would make; this includes gs and gui changes, so not sure if i can pack it all in this new addition.

What Im currently interested is, if its possible to reset a maps instance to the initial one.
I would like to pack the map with dynamic objects, and reset the initial state after each round.
Also, this is map scripting, but is it possible to make a dynamic boulder spawn at a certain location, with same coords and orientation as the previous one (which would be removed after rolling downhills and idling for a few seconds) ?
Logged

Contact me if you want your map to be checked!
Faun
carn =/= hax
XR Dev Helper
Hero Member
*****
Posts: 925


Hear a flute in the forest...


View Profile
« Reply #35 on: November 03, 2011, 06:31:06 pm »

- There is currently no way to add/modify .gs files, but I will fix this soon (.gs files in /assets will override /scripts).

Isnt that something critical concerning hax?
Logged

Daemon
XR Main Developer
Legendary Member
****
Posts: 4723


beware, for this is the everbroken...


View Profile
« Reply #36 on: November 03, 2011, 06:46:54 pm »

Probably it's a map feature with gs files inside the map pack.
 
Logged

MiraculiX
Full Member
***
Posts: 193


xr_newerth


View Profile
« Reply #37 on: November 03, 2011, 08:02:07 pm »

- There is currently no way to add/modify .gs files, but I will fix this soon (.gs files in /assets will override /scripts).

Isnt that something critical concerning hax?

No, its map specific as Daemon said, thats the whole point of what Mohican has been doing - including the files for a certain mod in the map file.
Logged

Contact me if you want your map to be checked!
Hakugei
XR Coder
Legendary Member
***
Posts: 3745



View Profile
« Reply #38 on: November 03, 2011, 08:24:56 pm »

- There is currently no way to add/modify .gs files, but I will fix this soon (.gs files in /assets will override /scripts).

Isnt that something critical concerning hax?

GS files are run on the server; it doesn't matter if local clients edit them (or even have them). Players can't use it to hack; only server admins can, but in that case it's called "server customization". :p
Logged
MiraculiX
Full Member
***
Posts: 193


xr_newerth


View Profile
« Reply #39 on: November 03, 2011, 08:39:43 pm »

I have realised that I have gone a little bit too much in depth about minor details...
I would like to get a working "mod engine" running, in which then I can insert custom content step by step.
This is what I will try to do first:

Gui:
HP bar
Ammo bar
Weapon bar
Top bar (showing number of team members alive)
Possibly fps and other info
All other gui elements hidden and disabled

No commander
No restone or gold
No workers
No strongholds (is it even possible)

No xp
No gold and ammo drop
No warmup

1 minute time to select unit and weapons and everyone spawns automatically after that (using the spawn button as counter)
Game lasts until a team is completely eliminated
Modified award board

I would also like to ask, how exactly I add new files to the savage0.s2z archive ? I have been editing files so far with winrar, and im only able to modify stuff.
Sorry if this sounds dumb.
« Last Edit: November 03, 2011, 08:43:44 pm by MiraculiX » Logged

Contact me if you want your map to be checked!
Faun
carn =/= hax
XR Dev Helper
Hero Member
*****
Posts: 925


Hear a flute in the forest...


View Profile
« Reply #40 on: November 03, 2011, 08:44:17 pm »

sounds great!
especially the "no-respawning" part is interesting
Logged

MiraculiX
Full Member
***
Posts: 193


xr_newerth


View Profile
« Reply #41 on: November 03, 2011, 08:50:28 pm »

Well I want each match to last for 5 minutes more or less (not written in stone), and those who die would become spectators (either spectating alive teammates or become ghosts, so they can actually spectate what they want)
Logged

Contact me if you want your map to be checked!
Mohican
Order of the Stick
Former XR Dev
Legendary Member
*****
Posts: 2647



View Profile
« Reply #42 on: November 04, 2011, 06:11:39 am »

It sounds like you want to make extensive changes, so I recommend you develop a complete mod rather than pack the changes in the map file.

I would also like to ask, how exactly I add new files to the savage0.s2z archive ? I have been editing files so far with winrar, and im only able to modify stuff.

First, work on decompressed files:
 - Edit the file "au.cfg" (in same folder as silverback.exe).
 - Change line:  compressToS2z "0"
 - Delete sub-folder /autoupdater/
 - Run Savage.exe
This will keep the file savage0.s2z decompressed.
It is much easier to work on MODs this way!

Next, create the following subfolders:
 - game/gui/arena
 - game/script/arena

To get an idea of how mods work, check out:
 - game/gui/extreme
 - game/script/extreme

Finally, to load your mod in-game:
 - create the file:  game/mods/prefix/arena.cfg (check out the other files to see how it works)
 - edit game/server_maps_lookup.cfg, and add the following line:
     exec /mods/prefix/arena.cfg   (you will need to re-add this line each time the AU updates Savage)

Now each time you load a map named arena_***, your mod will automatically load.
« Last Edit: November 04, 2011, 06:26:50 am by Mohican » Logged

Mohican
Order of the Stick
Former XR Dev
Legendary Member
*****
Posts: 2647



View Profile
« Reply #43 on: November 04, 2011, 06:26:02 am »

No commander

In the files "game/script/arena/Arena_normal.cfg" and "game/script/arena/Arena_dev.cfg", add the following line:
  set sv_useCommanders 0

No restone or gold

Copy "game/script/standard/XR.objlist" to "game/script/arena/Arena.objlist"
Then remove mines from the object list.

No workers

In "game/script/arena/Arena.objlist", add the following lines:
  objEdit human_worker
  objSet spawnAtStartNum 0

No strongholds (is it even possible)

You need command centers for spawing.
But you could simply replace the stronghold models with flags, or tents, or whatever...

No xp
No gold and ammo drop
No warmup

1 minute time to select unit and weapons and everyone spawns automatically after that (using the spawn button as counter)
Game lasts until a team is completely eliminated
Modified award board

Will give you tips on this stuff later on
Logged

MiraculiX
Full Member
***
Posts: 193


xr_newerth


View Profile
« Reply #44 on: November 04, 2011, 10:32:33 am »

Following these steps, I got the folders which were previously inside savage0 both inside and outside the folder now, and seem to be duplicated. is that normal ?

Also, i cant seem to find what determines in which slot a certain weapon is shown in the unitselect_panel.
« Last Edit: November 04, 2011, 04:22:02 pm by MiraculiX » Logged

Contact me if you want your map to be checked!
Pages: 1 2 [3] 4 Go Up Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.20 | SMF © 2006-2007, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.047 seconds with 19 queries.