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
regions

 
Post new topic   Reply to topic Printable version
 View previous topic  as3 won't come back up on zone list Post :: Post (default)  View next topic  
Author Message
BlueGoku
Novice


Age:39
Gender:Gender:Male
Joined: Jul 05 2005
Posts: 87
Location: Toronto
Offline

PostPosted: Sun Oct 16, 2005 1:33 pm    Post subject: regions Reply to topic Reply with quote

Is there an easy way of transfering regions from one map to another? To be more specific, here in HZ we use regions to determine if a goal is scored or whether the puck is shot in the crease, etc. This is very important for our league module because if the puck doesn't go through a specific region, it won't count as a goal, the timer won't stop, etc.

Right now what we'd have to do is copy the regions over to every map we're planning on using for league, and since every team gets a home arena, you can imagine how many maps that will be. All our maps, however, have the same rink. Meaning arenas themselves look like any other hockey maps we have, they just have different tiles/center LVZ, and sometimes people like to put stuff outside the rink, like rosters and stuff.

So ya, it would be a lot easier for us if there was some type of tool that will automatically copy regions over or something, since it's gonna be a bitch having to edit each map manually.

Thanks.
_________________
Owner of SSCE Hockey Zone.
SSC Billing Operator
Back to top
View users profile Send private message Add User to Ignore List Visit posters website Yahoo Messenger MSN Messenger
Dr Brain
Flip-flopping like a wind surfer


Age:39
Gender:Gender:Male
Joined: Dec 01 2002
Posts: 3502
Location: Hyperspace
Offline

PostPosted: Sun Oct 16, 2005 3:29 pm    Post subject: Reply to topic Reply with quote

Yes. There's a script in the scripts directory that'll help you out. Lets you import regions onto a map from a file.
_________________
Hyperspace Owner

Smong> so long as 99% deaths feel lame it will always be hyperspace to me
Back to top
View users profile Send private message Add User to Ignore List AIM Address Yahoo Messenger MSN Messenger
Bak
?ls -s
0 in


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

PostPosted: Sun Oct 16, 2005 3:46 pm    Post subject: Reply to topic Reply with quote

you can try to import regions from another lvl using CLLT
_________________
SubSpace Discretion: A Third Generation SubSpace Client
Back to top
View users profile Send private message Add User to Ignore List AIM Address
BlueGoku
Novice


Age:39
Gender:Gender:Male
Joined: Jul 05 2005
Posts: 87
Location: Toronto
Offline

PostPosted: Sun Oct 16, 2005 3:50 pm    Post subject: Reply to topic Reply with quote

Dr Brain wrote:
Yes. There's a script in the scripts directory that'll help you out. Lets you import regions onto a map from a file.


What about exporting them from an LVL to that file?
Back to top
View users profile Send private message Add User to Ignore List Visit posters website Yahoo Messenger MSN Messenger
Assassin2684
Server Help Squatter


Age:34
Gender:Not sure
Joined: Jul 27 2004
Posts: 990
Location: Florida
Offline

PostPosted: Sun Oct 16, 2005 5:34 pm    Post subject: Reply to topic Reply with quote

Just use clit it is much easyer.
Back to top
View users profile Send private message Add User to Ignore List AIM Address
Grelminar
Creator of Asss


Joined: Feb 26 2003
Posts: 378
Offline

PostPosted: Sun Oct 16, 2005 7:57 pm    Post subject: Reply to topic Reply with quote

I took a look at lvltool.py (because I haven't used it in a while), and it looks like it won't do exactly what you want. But: it's written using a set of python libraries for handling elvl files, and it should be easy for you to use those libraries to whip up a little script to do exactly what you want.

Download the source (with monotone) and look at scripts/lvltool/lvltool.py, and scripts/pythonlib/{bmp,chunks,lvl,region}.py.

Warning: that code is written straightforwardly and has not been optimized at all. So it can be very very very slow. Improvements are welcome.
Back to top
View users profile Send private message Add User to Ignore List Send email Visit posters website
Display posts from previous:   
Post new topic   Reply to topic    Server Help Forum Index -> ASSS 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: 26 page(s) served in previous 5 minutes.

phpBB Created this page in 0.446538 seconds : 31 queries executed (93.8%): GZIP compression disabled