Last visit was: Sat Nov 23, 2024 10:46 pm It is currently Sat Nov 23, 2024 10:46 pm

All times are UTC




 [ 9 posts ] 
 modifying exiting maps 
Author Message
Champion in solo and duo and trio and quartet

Joined: Fri Aug 31, 2007 12:06 pm
Posts: 165
Post modifying exiting maps
i was wondering.. is it possible to modify exiting maps with bsp? i would like to do some cool maps from them :P

_________________
Playing: Vido gams
xRDVx wrote: "Put oil in your hands
and your hands around his wiener"


Sun May 25, 2008 11:34 am Profile

Joined: Thu Sep 06, 2007 11:22 pm
Posts: 81
Post Re: modifying exiting maps
It is possible, but only entities. It means you cant put walls, change textures, remove walls, etc. But only add/remove monsters, players, effects, objectives and sounds.

Note from moderator : you don't need to quote the entire previous message, we can read it.


Sun May 25, 2008 7:35 pm Profile
Champion in solo and duo and trio and quartet

Joined: Fri Aug 31, 2007 12:06 pm
Posts: 165
Post Re: modifying exiting maps
i know but how do i do it?

Note from moderator : you don't need to quote the entire previous message, we can read it.

_________________
Playing: Vido gams
xRDVx wrote: "Put oil in your hands
and your hands around his wiener"


Wed May 28, 2008 4:40 pm Profile

Joined: Thu Sep 06, 2007 11:22 pm
Posts: 81
Post Re: modifying exiting maps
Open one on QuArK... as easy as that.


Wed May 28, 2008 7:56 pm Profile
Admin

Joined: Sun Feb 17, 2002 7:07 pm
Posts: 628
Post Re: modifying exiting maps
I need to write an up to date guide describing the process, but you can actually read some discussion related to xmlrules in the forum:
Suggestion
About xmlrules (answer to fujiJuice)
Mapping for COOP or DIE

_________________
Playing : Tiny Attacks


Thu May 29, 2008 10:01 am Profile WWW

Joined: Thu Sep 06, 2007 11:22 pm
Posts: 81
Post Re: modifying exiting maps
I edited an original ID map, security complex and changed the entities, spawn points, added some lasers, etc. The thing that limits you are the trigger_once/trigger_multiple as you cannot place them on the map and depend entirely on where did the original author place them. This is fixed, however, by adding killtargets on idling monsters that are somehow trapped. I used Lazarus, so I had the misc_actors and target_monsterbattles so It was easy to trigger.


Fri May 30, 2008 1:42 am Profile
Admin

Joined: Sun Feb 17, 2002 7:07 pm
Posts: 628
Post Re: modifying exiting maps
For coopordie, trigger_once and trigger_multiple can be added through XmlRules. I don't remember if my xmlrulestool automatically does it, but in short these entities look like that in xmlrule file :
Code:
<entity>{ "classname" "trigger_once" "message" "Please fill your profile with geographic information...." "sounds" "2" "mins" "-928 264 -32" "maxs" "-536 424 200" }</entity>

"mins" and "maxs" define the bounding box.

_________________
Playing : Tiny Attacks


Fri May 30, 2008 9:22 pm Profile WWW

Joined: Thu Sep 06, 2007 11:22 pm
Posts: 81
Post Re: modifying exiting maps
So that means I could actually add triggers through xml rules? Do you have any tutorial anywhere so I could know how?


Sat May 31, 2008 4:32 am Profile
Admin

Joined: Sun Feb 17, 2002 7:07 pm
Posts: 628
Post Re: modifying exiting maps
Time time time ! I need more time ;)

Try the xmlruletool on the coopordie download page, I haven't used it since 2003, but the readme text said it manage triggers entities. You only have to add a custom field named "xmlrule", it take less than 10 seconds per entity with GtkRadiant.

Quote:
XmlRulesTool Version 1.0 - copyright 2003 Pat Aftermoon
Licenced under the term of the GNU GPL licence (see http://www.gnu.org)
Extract entities from a Quake2 map file
The XmlRules file can be used with COOP or DIE version 0.3a
Only entities with an "xmlrules" field are stored, even if this field is empty.

usage : XMLRULESTOOL map_filename [output_filename]

piece of a map file :
{
"xmlrules" "1"
"origin" "-2152 1504 -24"
"classname" "monster_parasite"
}

xml code generated :
<entity> { "classname" "monster_parasite" "origin" "-2152 1504 -24" } </entity>

Triggers are also managed :
{
"message" "simple trigger with a message"
"xmlrules" "1"
"classname" "trigger_once"
// brush 0
{
( -1928 1832 -48 ) ( -2000 1832 -48 ) ( -2000 1768 -48 ) unnamed 0 0 0 1 1 0 0 0
( -2000 1768 8 ) ( -2000 1832 8 ) ( -1928 1832 8 ) unnamed 0 0 0 1 1 0 0 0
( -2000 1768 8 ) ( -1928 1768 8 ) ( -1928 1768 -48 ) unnamed 0 0 0 1 1 0 0 0
( -1928 1768 8 ) ( -1928 1832 8 ) ( -1928 1832 -48 ) unnamed 0 0 0 1 1 0 0 0
( -1928 1832 8 ) ( -2000 1832 8 ) ( -2000 1832 -48 ) unnamed 0 0 0 1 1 0 0 0
( -2000 1832 8 ) ( -2000 1768 8 ) ( -2000 1768 -48 ) unnamed 0 0 0 1 1 0 0 0
}
}

become
<entity> { "classname" "trigger_once" "message" "simple trigger with a message" "mins" "-2000 1768 -48" "maxs" "-1928 1832 8" } </entity>

I have only tested it with qeradiant, so feel free to post here any comments or bug report (becareful about field name, it's case sensitive, all need to be lowercase)

_________________
Playing : Tiny Attacks


Sat May 31, 2008 8:45 am Profile WWW
Display posts from previous:  Sort by  
 [ 9 posts ] 

All times are UTC


Who is online

Users browsing this forum: claudebot [Bot 2024-04-20]


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 post attachments in this forum

Jump to:  
Powered by phpBB © phpBB Group.
Initial forum style by Vjacheslav Trushkin.