Night

DR - Custom Mapvote

Recommended Posts

1 hour ago, darkie said:

How to use it?

Just thread it at the end of map.

For promod or deathrun?

Share this post


Link to post
Share on other sites
2 hours ago, tincxd said:

Just thread it at the end of map.

For promod or deathrun?

Is it not possible without mods? 

Share this post


Link to post
Share on other sites

no, i dont think so, maybe if you put it in main_shared it would work without mods.

Share this post


Link to post
Share on other sites
14 hours ago, tincxd said:

no, i dont think so, maybe if you put it in main_shared it would work without mods.

I tried it, it didn't work. Do i need to call it out somwhere?

Share this post


Link to post
Share on other sites
1 hour ago, darkie said:

I tried it, it didn't work. Do i need to call it out somwhere?

yes in globallogic script, endGame();

  • Like 1

Share this post


Link to post
Share on other sites
On 5/4/2020 at 12:08 PM, tincxd said:

yes in globallogic script, endGame();

Sir i don't have any globallogic script in my main shared.
I got some scripts that just allows fov,fps and promod.

Share this post


Link to post
Share on other sites
1 hour ago, darkie said:

Sir i don't have any globallogic script in my main shared.
I got some scripts that just allows fov,fps and promod.

Do you have modtools? I'v never run a server without a mod and run scripts on it so i dont know, but the easyiest way for you to get that mapvote in would be to download modtools, compile a mod and add mapvote to globballogic, i can do that for u if u wish...

Share this post


Link to post
Share on other sites
1 hour ago, tincxd said:

Do you have modtools? I'v never run a server without a mod and run scripts on it so i dont know, but the easyiest way for you to get that mapvote in would be to download modtools, compile a mod and add mapvote to globballogic, i can do that for u if u wish...

Unfortunately i have never used any modtools. I actually want mapvote for normal game instead of a mod. Like the one which is being used in Cod4x:NE (New Experience) but i don't have any idea how to add it and call for it. :(

Share this post


Link to post
Share on other sites
Posted (edited)
On 5/7/2020 at 1:22 PM, darkie said:

Unfortunately i have never used any modtools. I actually want mapvote for normal game instead of a mod. Like the one which is being used in Cod4x:NE (New Experience) but i don't have any idea how to add it and call for it. :(

doesn't matter, you must download script dump then make a folder with main_shared name in your cod4 directory

then put the globallogic.gsc and mapvote.gsc files in main_shared/maps/mp/gametypes/

then thread the mapvote.gsc in this function:

endGame(winner,endReasonText)

Edit:

also check this:

https://cod4x.me/index.php?/forums/topic/8-how-to-install-server-side-scripts/

Edited by [BT] SeldRiyo

Share this post


Link to post
Share on other sites
14 hours ago, [BT] SeldRiyo said:

doesn't matter, you must download script dump then make a folder with main_shared name in your cod4 directory

then put the globallogic.gsc and mapvote.gsc files in main_shared/maps/mp/gametypes/

then thread the mapvote.gsc in this function:

endGame(winner,endReasonText)

Edit:

also check this:

https://cod4x.me/index.php?/forums/topic/8-how-to-install-server-side-scripts/

Where can i find the globallogic.gsc? And i only have to write endGame(winner,endReasonText) in the globallogic.gcs file?

Share this post


Link to post
Share on other sites
2 hours ago, Viking said:

https://github.com/promod/CoD4-Mod-Tools/blob/master/raw/maps/mp/gametypes/_globallogic.gsc

 

Make sure that you keep the folders.

So the file belongs to main_shared/maps/mp /gametypes

Thanks, i gave up lol. Don't have any idea as because i used the NE mapvote and then called using the globallogic.gsc but too many errors in the script. Maybe when i learn coding it will try or ask someone to create it for some $$.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.