Modme

New Modme platform coming soon!
Enable to for platform
Viewed 96 time(s)
Topic created on 1533854685
Original post
Modme User
1 wins

is there an easy way to enable the player to ride with the platform whilst the platform is moving? I know ct has a script for moving players with entities but that is far too much for what im looking for... thank you

Reply #1 on 1533857816
Modme User
64 wins

by "ride" do you mean like lock the player down to it like in a vehicle? if so you can use: 

 

void <player> PlayerLinkTo(<linkto entity>,[tag],[view fraction],[right arc],[left arc],[top arc],[bottom arc],[use tag angles],[auto recenter]);

 

 

otherwise, players can normally walk on moving platforms alright, so I'm not sure what you're talking about.


Reply #2 on 1533864150
Modme User
1 wins

yes lock the player to the platform so the player will move with the platform but can still roam freely on the platform without falling off.

 

I will check this out thank you

Reply #3 on 1533866033
Modme User
136 wins

...

 

void SetMovingPlatformEnabled()
CATEGORY: 
CLIENT/SERVER: Server
SUMMARY: Enbles the moving platfrom.
EXAMPLE: platform SetMovingPlatformEnabled( true )

HarryBo21's BO3 Perks v2.2.1
LINK TO MODME POST
FX Library v1.0.2
LINK TO MODME POST
Black Ops 3 Gun Pack v2.4.1
LINK TO MODME POST
Black Ops 3 Napalm Zombie v3.0.1
LINK TO MODME POST
Black Ops 3 Shrieker Zombie v3.0.1
LINK TO MODME POST
Reply #4 on 1533866867
Modme User
1 wins

now I just feel like a complete idiot lol

Reply #5 on 1533871303
Modme User
1 wins

only problem now is the zombies wont walk on the platform and if you're standing on the platform they ignore you completely...


I've tried adding a clip ai where my platform stops but still the zombies ignore.. how do I fix this? dynamic pathing?

 

 

yupp that works :) thank you guys

Reply #6 on 1533874920
Modme User
136 wins

connect / disconnectpaths

 

beyond that theres some navmesh trigger that can be linked / delinked/ deleted and created

 

void  ConnectPaths()
CATEGORY: 
CLIENT/SERVER: Server
SUMMARY: Connects the paths that intersect with the entity. If the entity is a script_brushmodel then it must have DYNAMICPATH set to connect paths.
EXAMPLE: vehicle ConnectPaths()

void  DisconnectPaths([detailLevel],[moveAllowed])
[OPTIONAL] [detailLevel] how detailed the cut part matches the entity. 0 or omitted: box, 1: convex hull fitting rough shape, 2: [SUPER EXPENSIVE] use collision shape directly
[OPTIONAL] [moveAllowed] sets whether the silhouette moves with the entity (defaults to true)
CATEGORY: 
CLIENT/SERVER: Server
SUMMARY: Disconnects the paths that intersect with the entity. If the entity is a script_brushmodel then it must have DYNAMICPATH set to disconnect paths.
EXAMPLE: level.ArmoredCar DisconnectPaths()

 

 

y'all really need to try actually scrolling down the API for a change

 

not even trying to be offensive but literally ive scrolled up and down the entire API so many times - and just taken note of functions that look like they would be useful, and later searched using winrar through stock scripts for instances of them being used - or just tried them out myself

even beyond that just using ctrl + f and typing in keywords and scrolling through the list

no-one seems to bother even trying to look through the information you are literally "given" with the tools, its silly really. People always say "some of us are not just - born scripters- harry" - well guess what? nor was I - i used the tools we were given to find it

I dunno what you guys think i am, but i have never - in my entire life - been on any kind of course or training to learn this shit, and only got in to cod modding like 4 years ago ( even i had no idea where to start when i first got involved, despite my previous experience in other languages )

 

open the api in google - look through it - or use ctrl F ( or - better yet - both, reguarly )

AND

 

open winrar

navigate to root/share/raw/scripts

and use the search - and type in keywords

 

 

it will return any instance of a script "using" the function, or the script that "defines" the function so you can find out how it works ( assuming its a scripted function and not a engine function - if its a engine function its a) in the API and b) you can see how 3arc used it )

 

i think sublime even offers some batch file method to search multiple files - im sure your "lord icegrenade" will happily teach you how to use it, throw him another £300 for a gopro he hasnt bought and maybe hell pretend he knows what hes talking about and show you...

 

But what would i know, ive only been spoon feeding you all for 4 years for nothing sleeping.png


HarryBo21's BO3 Perks v2.2.1
LINK TO MODME POST
FX Library v1.0.2
LINK TO MODME POST
Black Ops 3 Gun Pack v2.4.1
LINK TO MODME POST
Black Ops 3 Napalm Zombie v3.0.1
LINK TO MODME POST
Black Ops 3 Shrieker Zombie v3.0.1
LINK TO MODME POST
Reply #7 on 1533876076
Modme User
64 wins

Harry Bo21

 i think sublime even offers some batch file method to search multiple files

 yeah Sublime has a very nice "find in files" option which I've started using more recently

 

 

 

Its pretty nice cause it lists every instance something is found, as well as some of the surrounding lines to give you more context of how its being used

 

 

For anyone trying to figure out how to use an engine function, or where in the Treyarch scripts a certain function/variable/notify/etc. is used, I would recommend using this and searching in ROOT\share\raw\scripts for examples.


Reply #8 on 1533928468
Modme User
1 wins

thank you guys for all the help you have provided me and I need to start looking for more stuff on my own I know... problem is some of the time Idk where to look or if I do find something im not experienced enough to know how to use it. I really do appreciate all of the guidance though, I wouldn't know what I know without the help from you guys