AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   HVP Beta Script Incomplete Good Idea though (https://forums.alliedmods.net/showthread.php?t=11851)

amxxsean 03-29-2005 20:15

HVP Beta Script Incomplete Good Idea though
 
1 Attachment(s)
Yeah I've pretty much given up on this script. I think it was a pretty good idea but my skill in small isnt quite good enough to complete this script. If anyone would like to finish the script or even explain to me what to do to complete it, that would be great but it's really up to you. I'm going to try something more simple later. I know the indents and stuff suck bad, hell, the whole thing sucks bad but for a first script, I tried. Here was my idea and the credits. Idea is "NAME OF THE GAME".
Code:

// H U M A N S versus P R E D A T O R -=====BETA VERSION=====-
// This is a predator mod that will make you have increased health,speed,make you invisible
// turn silent mode on for the predator, and gives nvgmode to predator
// NAME OF THE GAME: Everyone but the predator gets transferred to another team and try to kill the predator
// If the predator kills the opposing team, he wins. If the humans kill the predator, they win.
// BETA VERSION BETA VERSION BETA VERSION BETA VERSION BETA VERSION BETA VERSION BETA VERSION
// WARNING! UNTESTED! WARNING! UNTESTED! WARNING! UNTESTED! WARNING! UNTESTED! WARNING!
// *********************************************************************************************
// **************************************** CREDITS ********************************************
//**********************************************************************************************
// FireStorm for all his great help on storing player names and trying to help me make all people
// but the predator move to a certain team. Sadly, I got lost and decided to post it for some extra help
// THANKS FireStorm!
// AMXMODX forum members, w/o you I wouldn't have gotten this far (if you call this far :S)
// Some guy who posted the idea of AVP or something (main idea was edited however)
// The invisibility lines from PinkFarie's trashed plugin (they better work!)
// and last and least myself for wasting a bunch of hours trying to learn small and write this gay script


DiscoBBQ 03-29-2005 20:42

ehh
 
1 Attachment(s)
Yeah the invisablity works. It's not 100% invisablity. but close.
It dosn't work for ts. I know it works for CS, I havnt tested anything else?
for complete invisablity i think it's like this..
Example

Code:

public invis(id,alphaVal) {
set_user_rendering(id,kRenderFxGlowShell,0,0,0,kRenderTransAlpha,alphaVal)
}

EDIT- Here's the working one. You had a starting bracket at the end. and some other small stuff. Like for a client print you had..
client_print(uid, "sajlhdaljhfsfd")
when it should be...
client_print(uid, print_chat, "jdshfsjdfsfdsd")

then the maxspeed wouldn't work unless you send a server command to max the maxspeed...

And im not helping on indentiation.

amxxsean 03-29-2005 21:17

Yeah I don't know what happened. I must have deleted a space and it messed up the indents. BTW, I used uhhh, whats it... Crimson Editor.
And oh yeah, I didnt't want COMPLETE invisibility, just mostly invisible. So you may be able to barely see a light outline of the predator. Otherwise it would be impossible (nearly) to kill it.

DiscoBBQ 03-29-2005 21:40

ehh
 
k then the cmd you have works.

amxxsean 03-30-2005 19:09

Too bad hardy anything else does :?

v3x 03-30-2005 19:17

I'll be working on my old version of my predator plugin.

amxxsean 04-01-2005 13:13

Ok great. Any hints of what the main idea will be? :O

haimmaik 11-16-2005 10:00

http://forums.alliedmods.net/showthr...p?t=20492+mode


All times are GMT -4. The time now is 09:53.

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