Raised This Month: $ Target: $400
 0% 

Changelevel!


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
olari9
Senior Member
Join Date: May 2009
Old 07-21-2011 , 18:13   Changelevel!
Reply With Quote #1

Hi, i am just wondering is it somehow possible that i can script halflife trigger_changelevel for cs 1.6? So if you like step into trigger_changelevel it would change it.
__________________
olari9 is offline
Old 07-30-2011, 13:18
olari9
This message has been deleted by Exolent[jNr]. Reason: Don't bump until 2 weeks have passed since last post.
Hunter-Digital
Veteran Member
Join Date: Aug 2006
Location: In the Game [ro]
Old 07-30-2011 , 13:54   Re: Changelevel!
Reply With Quote #3

"trigger_changelevel" won't work on ANY multiplayer game, it would be stupid if it did.

I don't know if it triggers touch tough, you should hook touch on it and change the level... I mean a plugin, because this is scripting help for plugins.
__________________
Hunter-Digital is offline
bibu
Veteran Member
Join Date: Sep 2010
Old 07-30-2011 , 14:13   Re: Changelevel!
Reply With Quote #4

Quote:
Originally Posted by Hunter-Digital View Post
"trigger_changelevel" won't work on ANY multiplayer game, it would be stupid if it did.
It does work, why should it be stupid? It's a good entity to make maps a sort of for singleplayer.

Quote:
Originally Posted by Hunter-Digital View Post
I don't know if it triggers touch tough..
It does.
__________________
Selling tons of my own private works.
Accepting paid work for clans and communities.
Don't hesitate to contact me.
bibu is offline
Hunter-Digital
Veteran Member
Join Date: Aug 2006
Location: In the Game [ro]
Old 07-30-2011 , 14:26   Re: Changelevel!
Reply With Quote #5

Quote:
Originally Posted by bibu View Post
It does work, why should it be stupid? It's a good entity to make maps a sort of for singleplayer.
I meant on actual multiplayer mode, HL deathmatch for example, CS 1.6, CZ, etc... but if you start it as singleplayer it works, ofc... this is not a mapping forum section tough so I must assume stuff.

EDIT: yes I know what you meant, I gave HLDM as example because HL has maps with that entity already in it, and it would be logic to invalidate it on multiplayer mode to prevent the server from changing maps when players move into those areas.

Quote:
Originally Posted by olari9 View Post
Yeah, but how could i script it?
Hook the entity touch ? Search, it's been discussed serval times.
You can use server_cmd("changelevel mapname") to change map when trigger occurs.
__________________

Last edited by Hunter-Digital; 07-30-2011 at 14:36.
Hunter-Digital is offline
bibu
Veteran Member
Join Date: Sep 2010
Old 07-30-2011 , 14:34   Re: Changelevel!
Reply With Quote #6

Quote:
Originally Posted by Hunter-Digital View Post
I meant on actual multiplayer mode, HL deathmatch for example, CS 1.6, CZ, etc..
I meant for 1.6, so it should also work in CZ too.
__________________
Selling tons of my own private works.
Accepting paid work for clans and communities.
Don't hesitate to contact me.
bibu is offline
olari9
Senior Member
Join Date: May 2009
Old 07-30-2011 , 14:13   Re: Changelevel!
Reply With Quote #7

Yeah, but how could i script it?
BTW, it could be enabled client side by copy and paste halflife client.dll and the game dll to dlls folder and enable those in liblist.gam but i would want it to be enabled without it.
__________________

Last edited by olari9; 07-30-2011 at 14:40.
olari9 is offline
olari9
Senior Member
Join Date: May 2009
Old 07-30-2011 , 14:42   Re: Changelevel!
Reply With Quote #8

Yeah, but how could the script look like?
Like:
#if trigger_changelevel
server_cmd("changelevel mapname")
??
__________________
olari9 is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 07-30-2011 , 16:06   Re: Changelevel!
Reply With Quote #9

Quote:
Originally Posted by olari9 View Post
Yeah, but how could the script look like?
Like:
#if trigger_changelevel
server_cmd("changelevel mapname")
??
No. If you do not know how to write plugins then you will either need to learn first or post your request in the requests section.
__________________
fysiks is offline
olari9
Senior Member
Join Date: May 2009
Old 07-30-2011 , 17:40   Re: Changelevel!
Reply With Quote #10

Ofcourse i am terrbile in scripting, thats why i always ask help from my friend if he is online to fix my problems.
__________________
olari9 is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 00:56.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode