Server Help Forum Index Server Help
Community forums for Subgame, ASSS, and bots
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   StatisticsStatistics   RegisterRegister 
 ProfileProfile   Login to check your private messagesLogin to check your private messages   LoginLogin (SSL) 

Server Help | ASSS Wiki (0) | Shanky.com
How do I get my custom shipset into my arena?

 
Post new topic   Reply to topic Printable version
 View previous topic  LVZ Hell (part deux) Post :: Post Problem with getting victory music to ...  View next topic  
Author Message
Sharpflame
Newbie


Joined: Feb 17 2007
Posts: 5
Offline

PostPosted: Sun Feb 18, 2007 8:48 pm    Post subject: How do I get my custom shipset into my arena? Reply to topic Reply with quote

I cant find out so any help would be leet right now.
Back to top
View users profile Send private message Add User to Ignore List
Bak
?ls -s
0 in


Age:24
Gender:Gender:Male
Joined: Jun 11 2004
Posts: 1826
Location: USA
Offline

PostPosted: Sun Feb 18, 2007 9:43 pm    Post subject: Reply to topic Reply with quote

basicly, you can override any graphics in your continuum/graphics/ directory by using LVZ files. The files are .bm2 files, but don't worry, these are just bitmaps in disguise and will open normally in a program like paint.

For ships you can either make a file with all 8 ships and call it ships.png (or .bm2 or .bmp or any extention). You can, alternately, do it one ship at a time by naming the file ship1.png, ship2.png, ect. Your format of the image must match that of the ships.bm2 file (open it up and you'll understand this a litte more). That is, the file must be a series of ships, 4 rows and 10 columns with the initial ship facing straight up and the rest of them rotated 9 degrees per picture. If you have an image of your ship facing directly up, you can create the rotated image using a program like EZ Image Rotator.

You can do other images like exhaust by just naming it as the one in your graphics directory (so exhaust.png). Make sure your image has the same number of rows and columns as the default one, or the result won't be what you want.

Then you need to include your image(s) in a .lvz file. To do this you need an lvz toolkit such as X-LvzToolkit.
Detailed instructions on how to create a lvz file are included inside the toolkit and on the wiki page on lvz scripting.

Once you have the .lvz file created, you need to place it into the server folder. If the server is run off your computer this is easy: just put it in the folder. Otherwise, you need to upload it to the server through continuum. This isn't too bad either, but you need sysop access in your zone. First put the .lvz file in your continuum directory. Then go in to your zone and type *putfile <lvzname.lvz> where <lvzname.lvz> is the name of the file. Okay, one more step!

You need to tell the settings to use your lvz file. This is done by editing a setting, misc:levelfiles. You can do this by pressing ctrl + c in game and editing it... or simply typing ?set misc:levelfiles=<lvzname.lvz> where <lvzname.lvz> is the name of the file. Now reenter the arena and if all goes well you should see a downloading level screen and your lvz should work.

You can also do other neat things with lvz files, such as placing images on a map either over or under a ship. Read the sticky in the LVZ forum for more info on this sort of thing.
_________________
SubSpace Discretion: A Third Generation SubSpace Client
Back to top
View users profile Send private message Add User to Ignore List AIM Address
Animate Dreams
Gotta buy them all!
(Consumer whore)


Age:36
Gender:Gender:Male
Joined: May 01 2004
Posts: 821
Location: Middle Tennessee
Offline

PostPosted: Sun Feb 18, 2007 9:43 pm    Post subject: Reply to topic Reply with quote

Well, you'll have to make an LVZ. First off, name all your ships like "ship1.bm2", obviously changing the number to match what ship it is. then, make a file called shipset.ini, and put this in it:

Code: Show/Hide

Outfile=shipset.lvz

File=ship1.bm2
File=ship2.bm2
File=ship3.bm2
File=ship4.bm2
File=ship5.bm2
File=ship6.bm2
File=ship7.bm2
File=ship8.bm2


Again, only add what you need... for example, if you're only changing ships 2, 3, and 5, you wouldn't include a File entry for the other 5 ships. Anyway, you'll have to download the lvz tool kit from ssdl, then just open up BuildLevel.exe, find your shipset.ini, make sure the ships are in the same directory, and then doubleclick shipset.ini. Then, just copy over the shipset.lvz to your zone, and add that lvz to your LevelFiles like LevelFiles = shipset.lvz , and you're done.
Back to top
View users profile Send private message Add User to Ignore List Send email Visit posters website AIM Address MSN Messenger
Animate Dreams
Gotta buy them all!
(Consumer whore)


Age:36
Gender:Gender:Male
Joined: May 01 2004
Posts: 821
Location: Middle Tennessee
Offline

PostPosted: Sun Feb 18, 2007 9:44 pm    Post subject: Reply to topic Reply with quote

Dangit, Bak, you got in seconds before me. -.-
Back to top
View users profile Send private message Add User to Ignore List Send email Visit posters website AIM Address MSN Messenger
Sharpflame
Newbie


Joined: Feb 17 2007
Posts: 5
Offline

PostPosted: Mon Feb 19, 2007 5:56 pm    Post subject: Reply to topic Reply with quote

ok so i uploaded the file with putfile,and then i go to the settings and tell it warships.lvz (the file name) and then i save the settings and leave and come back but the shipset isnt there.
Back to top
View users profile Send private message Add User to Ignore List
tcsoccerman
Server Help Squatter


Age:31
Gender:Gender:Male
Joined: Jan 15 2007
Posts: 694
Location: Atlantis
Offline

PostPosted: Mon Feb 19, 2007 6:26 pm    Post subject: Reply to topic Reply with quote

you have to include it in arena.conf. actually, before i get into deep description is this subgame or asss?
Back to top
View users profile Send private message Add User to Ignore List Send email AIM Address
Chambahs
Power attack
Power attack


Joined: Jun 19 2005
Posts: 820
Offline

PostPosted: Mon Feb 19, 2007 6:47 pm    Post subject: Reply to topic Reply with quote

Sharp, if its for subgame like i think its for.

You said you did the following steps:

*putfile warships.lvz
Esc + c (To get settings)
In Misc:LevelFiles you entered warships.lvz
You pushed f10 and saved settings.

Is that correct?

If so, make sure and check your zone folder and MAKE SURE warships.lvz is in there. If it is, and if you havent used *recycle yet...please do. After you recycle, there should be no problems if you followed the steps correctly.
Back to top
View users profile Send private message Add User to Ignore List
Sharpflame
Newbie


Joined: Feb 17 2007
Posts: 5
Offline

PostPosted: Mon Feb 19, 2007 7:01 pm    Post subject: Reply to topic Reply with quote

Yes i did just as u said,even *recycle, but it doesent work. note this isnt my zone,but my arena and i am sysop of the zone.
Back to top
View users profile Send private message Add User to Ignore List
Samapico
No, these DO NOT look like penises, ok?


Joined: May 08 2003
Posts: 1252
Offline

PostPosted: Mon Feb 19, 2007 7:38 pm    Post subject: Reply to topic Reply with quote

hmm, either your lvz file is not compiled correctly (maybe post it here, or post your ini file so we can take a look)

also, if you want to be sure your file got to the server correctly, try *getfile warships.lvz, see if the server sends it to you

you might also want to take a look at the server log, it could give you a hint on the problem (I don't know exactly how to get server log through commands though, I'm used to running server on my own computer)
_________________
(Insert a bunch of dead links here)
Back to top
View users profile Send private message Add User to Ignore List
Bak
?ls -s
0 in


Age:24
Gender:Gender:Male
Joined: Jun 11 2004
Posts: 1826
Location: USA
Offline

PostPosted: Mon Feb 19, 2007 8:04 pm    Post subject: Reply to topic Reply with quote

attach the lvz to this forum and we'll see if it's made correctly
Back to top
View users profile Send private message Add User to Ignore List AIM Address
Sharpflamez
Guest


Offline

PostPosted: Mon Feb 19, 2007 8:25 pm    Post subject: Reply to topic Reply with quote

ok here it is



warships.lvz - 186.41 KB
LVZ Dump: INI
File downloaded or viewed 25 time(s)
Back to top
Chambahs
Power attack
Power attack


Joined: Jun 19 2005
Posts: 820
Offline

PostPosted: Mon Feb 19, 2007 9:00 pm    Post subject: Reply to topic Reply with quote

Code: Show/Hide
Outfile=warships.lvz

File=warships.bmp
; Filesize:  1244214     Compressed Size:   190851     Compression: 84.7%


That isnt correct. Each image has to be named Ship1.bmp, Ship2.bmp, ect ect. So that it can replace the current ship graphics. If you want to see what its supposed to look like, then ill show you here:

Code: Show/Hide
; This file was created by DeBuildLevel, version 0.02, created May 15 2003 19:07:30

Outfile=utships.lvz

File=ship1.png
;         Compression Info: FullSize:   28879  Compressed Size:   28879   Compression Percent:   0.0%
File=ship2.png
;         Compression Info: FullSize:   29958  Compressed Size:   29958   Compression Percent:   0.0%
File=ship3.png
;         Compression Info: FullSize:   33294  Compressed Size:   33294   Compression Percent:   0.0%
File=ship4.png
;         Compression Info: FullSize:   30209  Compressed Size:   30209   Compression Percent:   0.0%
File=ship5.png
;         Compression Info: FullSize:   26196  Compressed Size:   26196   Compression Percent:   0.0%
File=ship6.png
;         Compression Info: FullSize:   30314  Compressed Size:   30314   Compression Percent:   0.0%
File=Ship7.png
;         Compression Info: FullSize:   35822  Compressed Size:   35822   Compression Percent:   0.0%
; Bytes Saved in Compression: 0
; File Compression Percent:   0.0%

Back to top
View users profile Send private message Add User to Ignore List
Chambahs
Power attack
Power attack


Joined: Jun 19 2005
Posts: 820
Offline

PostPosted: Mon Feb 19, 2007 9:17 pm    Post subject: Reply to topic Reply with quote

Hey, i had a guess you didnt do the imaging right, so i double checked the lvz after i posted. And sure enough you didnt...you stacked the ships all on 1 file...i felt being nice today so i took the liberty to do the lvz for you. As you can see in this copy, there are 8 different files, each of 1 ship and check the INI to see how its supposed to be done.



Bingo

warships.lvz - 403.86 KB
LVZ Dump: INI
File downloaded or viewed 31 time(s)
Back to top
View users profile Send private message Add User to Ignore List
sharpflamezor
Guest


Offline

PostPosted: Mon Feb 19, 2007 10:23 pm    Post subject: Reply to topic Reply with quote

wow man ty lots thanks for taking ur time for me man idk wut to say.i know

-hugs u-

ty.
Back to top
Samapico
No, these DO NOT look like penises, ok?


Joined: May 08 2003
Posts: 1252
Offline

PostPosted: Mon Feb 19, 2007 10:23 pm    Post subject: Reply to topic Reply with quote

if your picture has all 8 ships in it (like default ships.bm2) , you can just include one file named ships.bm2 and it will work too

but that is not necessarly practical (updates need the whole thing redownloaded ; all ships have to be the same size ; harder to figure out frame placement when changing stuff... lots of problems)
So spliting them as chambahs did is the way to go
Back to top
View users profile Send private message Add User to Ignore List
Chambahs
Power attack
Power attack


Joined: Jun 19 2005
Posts: 820
Offline

PostPosted: Mon Feb 19, 2007 11:00 pm    Post subject: Reply to topic Reply with quote

Its no problem, as long as you learned something, thats all that really matters. Also, if you didnt know (im assuming you dont), whenever you make a lvz, the name has to be the same as the original gfx, unless your making mapobjects or screenobjects. Example: Ship1.bmp, Ship2.bmp ect, had to be named that to replace the ship gfx that was in your cont folder. Same thing needs to be done with repels, if you look in your cont/gfx folder, find the repel gfx, its called repel.bm2, so the lvz you make to override it, has to be called repel.(bm2, bmp, jpg, png, whatever).
Back to top
View users profile Send private message Add User to Ignore List
Samapico
No, these DO NOT look like penises, ok?


Joined: May 08 2003
Posts: 1252
Offline

PostPosted: Tue Feb 20, 2007 7:36 am    Post subject: Reply to topic Reply with quote

ships being some kind of exception to this... as the original gfx is called ships.bm2 , you can override single ships with ship#.png
Back to top
View users profile Send private message Add User to Ignore List
Display posts from previous:   
Post new topic   Reply to topic    Server Help Forum Index -> LVZ/LVL Questions All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum
View online users | View Statistics | View Ignored List


Software by php BB © php BB Group
Server Load: 675 page(s) served in previous 5 minutes.

phpBB Created this page in 0.441953 seconds : 44 queries executed (91.4%): GZIP compression disabled