logo logo

 Back to main page

The NWNX Community Forum

 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
NWNX_Areas question

 
Post new topic   Reply to topic    nwnx.org Forum Index -> Windows development
View previous topic :: View next topic  
Author Message
Sethan



Joined: 04 Oct 2008
Posts: 47

PostPosted: Mon Jun 13, 2011 5:47    Post subject: NWNX_Areas question Reply with quote

Just starting to poke around with this, and have a question:

Would it be possible to add the ability to rotate an area during the creation process, by 90º, 180º, or 270º?

The reason to do this is for use with a pool of random areas: it would effectively increase the variety of areas without having to create additional template areas.
Back to top
View user's profile Send private message
Baaleos



Joined: 02 Sep 2007
Posts: 830

PostPosted: Wed Jun 15, 2011 17:43    Post subject: Reply with quote

I dont think it is possible via scripting or even via the nwnx c++ coding.

The area orientation is determined by where you place the tiles in toolset, once placed, they are static as far as scripting goes.

Someone else with better knowledge would be able to answer more definitively than I can.

At the moment, my gut tells me the answer is 'No'
Back to top
View user's profile Send private message
virusman



Joined: 30 Jan 2005
Posts: 1020
Location: Russia

PostPosted: Wed Jun 15, 2011 20:47    Post subject: Reply with quote

It's possible, NWN Toolset does this (Edit -> Rotate Area).
The easiest way do do this is to use Ruby+nwn-lib to edit the .are and .git files, changing the coordinates of all tiles and objects. You can even generate a completely new area with GFF editor.
_________________
In Soviet Russia, NWN plays you!
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
Display posts from previous:   
Post new topic   Reply to topic    nwnx.org Forum Index -> Windows development All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot 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


Powered by phpBB © 2001, 2005 phpBB Group