Inside3D!
     

Make maps only run in a certain engine?

 
Post new topic   Reply to topic    Inside3d Forums Forum Index -> Mapping
View previous topic :: View next topic  
Author Message
Team Xlink



Joined: 25 Jun 2009
Posts: 320

PostPosted: Sun Dec 13, 2009 11:42 pm    Post subject: Make maps only run in a certain engine? Reply with quote

Hello.


I was wondering if there is a way to make maps only run with a certain engine or with certain content.

If possible display a message on screen for a warning that says something like:

"WARNING - This map is only meant to be played in Tomaz Quake Other Engines might cause problems"

This would be useful to solve problems with certain maps trying to be ran in non compatible engines.

Thank you.

Also, I wasn't sure if this was supposed to be in the Mapping section or the engine section because I would like to do this through the map itself and am not sure if this is possible with entities.
_________________
Anonymous wrote:
if it works, it works. if it doesn't, HAHAHA!
Back to top
View user's profile Send private message
ceriux



Joined: 06 Sep 2008
Posts: 968
Location: Florida, USA

PostPosted: Mon Dec 14, 2009 12:32 am    Post subject: Reply with quote

old msg deleted.

EDIT: Scratch all of that i know how to do it just with mapping let me upload the source to a map which shows it just made it a sec ago.

check out this rmf.

http://www.filefront.com/15129241/msgtest.zip
_________________
QuakeDB - Quake ModDB Group
Back to top
View user's profile Send private message Yahoo Messenger
Team Xlink



Joined: 25 Jun 2009
Posts: 320

PostPosted: Mon Dec 14, 2009 12:57 am    Post subject: Reply with quote

Awesome!


So when the player touchs the brush tited to the trigger_once entity it will play the test-message.

Thank you!
_________________
Anonymous wrote:
if it works, it works. if it doesn't, HAHAHA!
Back to top
View user's profile Send private message
ceriux



Joined: 06 Sep 2008
Posts: 968
Location: Florida, USA

PostPosted: Mon Dec 14, 2009 1:16 am    Post subject: Reply with quote

yep thats it. =)
_________________
QuakeDB - Quake ModDB Group
Back to top
View user's profile Send private message Yahoo Messenger
goldenboy



Joined: 05 Sep 2008
Posts: 310
Location: Kiel

PostPosted: Mon Dec 14, 2009 3:21 am    Post subject: Reply with quote

This sounds a little like "This web page was optimized for Internet Explorer", or the more rude version, "get a real browser".

I don't know if this is good practice.
_________________
ReMakeQuake
The Realm of Blog Magic
Back to top
View user's profile Send private message
Team Xlink



Joined: 25 Jun 2009
Posts: 320

PostPosted: Mon Dec 14, 2009 4:30 am    Post subject: Reply with quote

goldenboy wrote:
This sounds a little like "This web page was optimized for Internet Explorer", or the more rude version, "get a real browser".

I don't know if this is good practice.



I am using it to warn the players that the map was meant to be used in another engine.
_________________
Anonymous wrote:
if it works, it works. if it doesn't, HAHAHA!
Back to top
View user's profile Send private message
negke



Joined: 16 Apr 2008
Posts: 56

PostPosted: Mon Dec 14, 2009 9:33 am    Post subject: Reply with quote

There's no way to make a map run only in one certain engine. You'd have to go with some "This map requires Darkplaces" centerprint at mapstart.

If the map comes with a mod, it's somewhat possible (if the mod has a unique item). Three of my maps display a warning message and make it impossible to proceed when being played without the correct mod loaded, one of my maps even detects if it's being run with Quoth version 1 or 2 and makes adjustments accordingly. It basically works like this: said special item (or trigger etc.) spawns above the player so it's inevitably picked up. It then killtargets the warning message and func_wall or trigger_hurt that keeps him from progressing otherwise.
Back to top
View user's profile Send private message Visit poster's website
r00k



Joined: 13 Nov 2004
Posts: 483

PostPosted: Mon Dec 14, 2009 6:38 pm    Post subject: Reply with quote

Hmm, more to the point, it would be nice to have a worldspawn flag that might be available for engines/mappers so that mapX wont crash the engine if its run on an engine that the mapper didnt intend it to be used on.

Wait, scratch that!

Better yet, the engine coder should add safe guards against maps that exceed it's limits anyways Neutral

"Error: mymap.bsp cannot be ran on this engine, please use a {worldspawn protocol flag} compatible engine."
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Inside3d Forums Forum Index -> Mapping All times are GMT
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 © 2004 phpBB Group