Everyone Please READ!!! Modding at a new level??????

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
ernst
Sergeant
Posts: 52
Joined: Thu Aug 03, 2006 6:00 pm
Location: Windsor ON Canada
Contact:

Everyone Please READ!!! Modding at a new level??????

Post by ernst »

hello everyone,

this is an issue that im sure has plagued everyone from one time to the next....spawning objects and either walking through them or the clip takes the containing box size. big problem and looks sloppy

i have been searching for ways to overcome this and still keep the maps server side. and i found it!

first of all, i apologize to anyone who has achieved this already but i have searched and searched and found similar topics on it but nothing as to wha ti have done.

what i wanted to do was spawn a semi circle sandbag and be able to get inside the circle and have it solid and still protect from blasts and bullets and have the map remain server side... tried the clip and other hidden objects but it was messy and took way to much time.

so i had a thought...in radiant spawn my sandbag....so i did and loaded it up and there it was. when i went to my other pc to load the map it wasnt there of course however it was but it was invisible...

so i opened the .map file and found the entity, grabbed the coord and angles and respawned it in my script under level waittill spawn, made it notsolid, reloaded the maps and BAM!!!! it was on both pcs and you could go inside, were protected and it was SOLID!

i uploaded to my server and it was still working!!!!!!!!!!

now i have only tried this with the sandbag, but was so excited i had to let all of you know....

next i will be trying tanks, trucks, trees etc.... in theory the same concept should apply!

i realize this will not work with buildings but at least we are one step closer to cleaner server side maps with less scripting time and more playing time!

hope this helps


i should retype what i have done in a more readable manner...

open radiant and load any of the source maps.
spawn your sandbag
save and open up the .map file for the map
search for the sanbag and copy the coord and angles
create or open existing .scr for the map and spawn the exact same entity under level waittil spawn but make it NOTSOLID
save and compile the map!

again apologize for the haste and mess in which this is written after more testing i will write a more detailed and cleaner tutorial

ernst

if anyone has any suggestions on improving this method or has a quesiton on how exactly i did it, you are welcome in my teamspeak, voice.kleanservers.com:8784 no password
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

On the client (clean) machine, does it look like you're falling (weapon down in 1st person) when standing on top of the sandbag?
Image
ernst
Sergeant
Posts: 52
Joined: Thu Aug 03, 2006 6:00 pm
Location: Windsor ON Canada
Contact:

Post by ernst »

to a degree yes, what i mean is, if you jump on top of the sandbag or in the back of the truck there is minor shaking, very minor and your gun does go into 1st person view, however you do not sink and are still able to shoot targets

hope that made sense lol

im not sure if it is doing this because i have only compiled it using the fast settings, am going to do a final compile now, and see if the results have changed...also the lighting onthe entitys is jittery as well, hopefully the final compile will solve this
User avatar
tltrude
Chuck Norris
Posts: 4774
Joined: Sun Jul 07, 2002 4:03 am
Location: Oklahoma, USA
Contact:

download

Post by tltrude »

Wouldn't it be easier to just have the clients download the modified map?
Tom Trude,

Image
ernst
Sergeant
Posts: 52
Joined: Thu Aug 03, 2006 6:00 pm
Location: Windsor ON Canada
Contact:

Post by ernst »

lol, ive been asking the same question lol...it would in a sense however ive found not to many people are downloading the custom maps anymore i could be wrong, and im sorry if i am. but the reasoning ive heard from people is that they are tired of it and just want to hop on and play, lazy if you ask me because a lot of hard work and time go into the custom maps. so to help alleviate the problem and keep everything server-side this might be the way to go.

its just an alternative, and i thought i would share it. may not be the best solution but it works.
Post Reply