A Community discussion forum for Halo Custom Edition, Halo 2 Vista, Portal and Halo Machinima

Home  Search Register  Login Member ListRecent Posts
  
 
»Forums Index »Halo Custom Edition (Bungie/Gearbox) »Halo CE General Discussion »DarkZealot's "How to use Developer mode" and questions about dev topic

Page 1 of 3 Go to page: · [1] · 2 · 3 · Next
Author Topic: DarkZealot's "How to use Developer mode" and questions about dev topic (96 messages, Page 1 of 3)
Moderators: Dennis

DarkZealot
Joined: Jan 1, 2008

Time management: 40% Xbox, 30% PC, 30% Skating


Posted: Jun 10, 2008 12:47 PM    Msg. 1 of 96       
Jesus, that is one long name. Anyway, this topic is dedicated for people wanting to learn how to use developer mode.

What you'll need:
-Alldev (download at http://hce.halomaps.org/index.cfm?fid=1099)

First, let's talk what the dev commands are. They are special developer commands that Bungie used when testing Halo before its release. They were left in for Halo Custom Edition, but not Halo PC.

Referencing a Player as a "Unit"
Players are not units (ironically). Instead, they are part of a list. The players list. But what if the command called for a unit, and you wanted to use yourself?

unit is your best friend. Usage: unit (list_get (players) #)) This command tells the engine that the specified player is a unit, so it can do commands on it. Example:
unit_kill (unit (list_get (players) #)) - This would kill the specified player (#).
Useful Server Commands
There also some useful commands for use on a server.

cheat_spawn_warthog - Spawns a 'Hog next to you. On most MP maps, they have this, so you could get a Hog in levels like Beaver Creek, Derelict, etc.

rcon <password <command> - A useful command for non hosts. This command allows remote control (rcon) to the server, and when specified with a valid password, it executes the command. The password is set by sv_rcon_password <password>.

debug_camera_save/load - This is to access the "flycam" in Halo CE. The flycam removes all HUD elements, and allows you to freely look wherever you want. (Uh oh, don't get any wrong thoughts) Save is used first. It saves the camera position. Then, you type in load and it takes you in a 3rd person view, of the world, not just you.

camera_control 0 - Resets the camera to it's default first-person view.

camera_set_first_person <unit> - I use this for catching bots. It sets the camera to a specific unit. What they see, you see, basically. To turn it on, you type camera_control 1, and turning it off is just like the debug camera.

Feel free to post any commands you know, and I will post more commands and update them to this list.
Edited by DarkZealot on Jun 10, 2008 at 01:04 PM


Higuy
Joined: Mar 6, 2007

@lucasgovatos


Posted: Jun 10, 2008 12:49 PM    Msg. 2 of 96       
Mabey I'll finally learn.


DarkZealot
Joined: Jan 1, 2008

Time management: 40% Xbox, 30% PC, 30% Skating


Posted: Jun 10, 2008 12:52 PM    Msg. 3 of 96       
Here are some more fun commands I like to use.

object_set_scale <unit> <integer> <integer> - This will scale the specified object to the first integer (size), and how long it takes is specified by the second integer (time).

object_cannot_take_damage <list> - Want true deathless? This command literally eliminates all ways of killing the player. Use as so: object_cannot_take_damage (list_get (players) #).

object_can_take_damage <list> - Same as above, but removes the total god cheat.

object_create - Creates the specified object. The object must be named.


ODX
Joined: Jul 26, 2007

A rare sight, indeed.


Posted: Jun 10, 2008 12:52 PM    Msg. 4 of 96       


DarkZealot
Joined: Jan 1, 2008

Time management: 40% Xbox, 30% PC, 30% Skating


Posted: Jun 10, 2008 12:54 PM    Msg. 5 of 96       
Quote: --- Original message by: ODX
Tried this already:
http://forum.halomaps.org/index.cfm?page=topic&topicID=14450


Your topic is locked, and I didn't even notice that topic. Nevertheless, that doesn't discourage me from updating this topic.


ODX
Joined: Jul 26, 2007

A rare sight, indeed.


Posted: Jun 10, 2008 12:57 PM    Msg. 6 of 96       
No no, don't worry, I'm not trying to discourage you or anything, I'm just warning you it could get locked, or people could check my thread also.


DarkZealot
Joined: Jan 1, 2008

Time management: 40% Xbox, 30% PC, 30% Skating


Posted: Jun 10, 2008 12:59 PM    Msg. 7 of 96       
Ah ok. As for people posting, keep your posts on-topic. Do not go off-topic at all.

And as for more commands...

cheat_all_vehicles - Spawns every vehicle specified in the globals file. Danger, you most likely will get killed if deathless isn't on.

cheat_deathless_player <integer> - Makes players killable only by assassination (melee in the back). 1 is on, 0 is off.


Edited by DarkZealot on Jun 10, 2008 at 01:00 PM


Pingvinz
Joined: Dec 4, 2007


Posted: Jun 10, 2008 12:59 PM    Msg. 8 of 96       
Link is broken.


ODX
Joined: Jul 26, 2007

A rare sight, indeed.


Posted: Jun 10, 2008 01:03 PM    Msg. 9 of 96       


DarkZealot
Joined: Jan 1, 2008

Time management: 40% Xbox, 30% PC, 30% Skating


Posted: Jun 10, 2008 01:05 PM    Msg. 10 of 96       
Thank you for noting that. I fixed it now.

New command! Instant checkpoint in Singleplayer levels.
game_save - Forces a checkpoint.


Flash44x
Joined: Jan 3, 2007

What would you have your arbiter do?


Posted: Jun 10, 2008 01:11 PM    Msg. 11 of 96       
wel done


Advancebo
Joined: Jan 14, 2008


Posted: Jun 10, 2008 02:08 PM    Msg. 12 of 96       
i got some :D

game_won

causes the player to successfully finish the current campaign mission, and move on to the next mission. NOTE: Do not use this during multiplayer games, as it will cause exceptions on clients computer


DarkZealot
Joined: Jan 1, 2008

Time management: 40% Xbox, 30% PC, 30% Skating


Posted: Jun 10, 2008 03:37 PM    Msg. 13 of 96       
Quote: --- Original message by: Advancebo
i got some :D

game_won

causes the player to successfully finish the current campaign mission, and move on to the next mission. NOTE: Do not use this during multiplayer games, as it will cause exceptions on clients computer


Also, if you are incredibly stuck or just want to die but you can't kill yourself...

game_lost - Acts as if you just lost the game.


DarkZealot
Joined: Jan 1, 2008

Time management: 40% Xbox, 30% PC, 30% Skating


Posted: Jun 10, 2008 05:06 PM    Msg. 14 of 96       
Usually it is. But, sometimes it isn't, which is why you have to be careful.


Dhark
Joined: Feb 2, 2008

I believe in Dennis Powers


Posted: Jun 10, 2008 05:52 PM    Msg. 15 of 96       
it seems that when a player has died, the numbers temporarily go -1 or something, so if theres 3 people and player 0 dies, player 2 supposedly becomes 1 and player 1 becomes 0; I believe when player 0 revives, the numbrs go back to normal; i havent entirely tested this however and could be errornous


warturtle117
Joined: Jan 1, 2008

lighting is everything right? no? then wtf is?!?!


Posted: Jun 10, 2008 06:18 PM    Msg. 16 of 96       
when i type list_get doi need to type (players) with the parenthesis?


DarkZealot
Joined: Jan 1, 2008

Time management: 40% Xbox, 30% PC, 30% Skating


Posted: Jun 10, 2008 06:19 PM    Msg. 17 of 96       
Yes.


DarkZealot
Joined: Jan 1, 2008

Time management: 40% Xbox, 30% PC, 30% Skating


Posted: Jun 11, 2008 08:59 PM    Msg. 18 of 96       
Players' speed cannot be altered with dev, unfortunately. But, in the globals.globals file, you can set the walking speed near the "player information" section.


DarkZealot
Joined: Jan 1, 2008

Time management: 40% Xbox, 30% PC, 30% Skating


Posted: Jun 11, 2008 09:09 PM    Msg. 19 of 96       
You could have different mods (such as bg_slow , bg_normal , bg_fast) for each of the walking speeds. globals.globals does NOT take effect unless you compile a map.


DarkZealot
Joined: Jan 1, 2008

Time management: 40% Xbox, 30% PC, 30% Skating


Posted: Jun 11, 2008 09:22 PM    Msg. 20 of 96       
Quote: --- Original message by: Tankred
Quote: --- Original message by: DarkZealot
Players' speed cannot be altered with dev, unfortunately. But, in the globals.globals file, you can set the walking speed near the "player information" section.


Wrong, but you'd have to ask the HIV clan or something about that.


Eww, HIV. And no it is not possible, I freaking READ{/i] the Scripting Bible.


Nugga117
Joined: Nov 14, 2005


Posted: Jun 11, 2008 09:26 PM    Msg. 21 of 96       
Quote: --- Original message by: DarkZealot

Eww, HIV. And no it is not possible, I freaking READ the Scripting Bible.

Wrong. They have a server app that performs special functions.
Read more here:
http://www.hivclan.net/forums/portal_app.php
Edited by Nugga117 on Jun 11, 2008 at 09:27 PM


DarkZealot
Joined: Jan 1, 2008

Time management: 40% Xbox, 30% PC, 30% Skating


Posted: Jun 11, 2008 09:57 PM    Msg. 22 of 96       
Whoopie doo for HIV. I hate them. They are selfish *******s for not sharing their server app. They think they are so popular. My arse.


ODX
Joined: Jul 26, 2007

A rare sight, indeed.


Posted: Jun 11, 2008 09:58 PM    Msg. 23 of 96       
Agreed, and no, not just because I was 'caught' botting.


DarkZealot
Joined: Jan 1, 2008

Time management: 40% Xbox, 30% PC, 30% Skating


Posted: Jun 11, 2008 10:06 PM    Msg. 24 of 96       
This server app seems like one hell of a hoax, you would need to memory edit values to do the stuff it does, and over the net, there is NO way to edit someone else's name, it's impossible. I believe this application is a hoax.

Are there any videos of it? I could fake an app like this with about 4 minutes of using Visual Studio.


HDoan
Joined: Feb 19, 2007

"'Tis only happens to them Asians" - ODX 2008


Posted: Jun 11, 2008 10:14 PM    Msg. 25 of 96       
Quote: --- Original message by: DarkZealot
This server app seems like one hell of a hoax, you would need to memory edit values to do the stuff it does, and over the net, there is NO way to edit someone else's name, it's impossible. I believe this application is a hoax.

Are there any videos of it? I could fake an app like this with about 4 minutes of using Visual Studio.

Hoax my ass, awhile back when CMT released snowbound and made their own dedi's, people from HIV who are admins used this app, I was speedy then they made me normal and I was sad :(


DarkZealot
Joined: Jan 1, 2008

Time management: 40% Xbox, 30% PC, 30% Skating


Posted: Jun 11, 2008 10:30 PM    Msg. 26 of 96       
Whatever, HIV, has, and always will, suck. Back on topic.

unit_suspended <unit> <boolean> - Makes a unit non moveable, AKA, you can freeze them in midair, and all they can do is shoot. Moving is disabled.

And in case you don't follow programming language mumbo-jumbo, boolean is a "true or false" operand.


ODX
Joined: Jul 26, 2007

A rare sight, indeed.


Posted: Jun 11, 2008 10:53 PM    Msg. 27 of 96       
Zealot's sleeping, so you'll have to wait.


supersniper
Joined: Jul 28, 2007

fear the sniper


Posted: Jun 12, 2008 02:56 PM    Msg. 28 of 96       
Came across this little text file a long time ago. Thought it might be useful since you guys already posted the unit commands...
To keep it just copy the words in the quote and save it in a text file.

Quote: ___ ___ _ _ _ ___
/ _| / _ \ | \ | | || / __|
| / || || | \| | ' \ \
| \_ ||_|| | |\ | _\ \
\___| \___/ |_| |_| |___/

H4X TXT :D
=====================================================================
=====================================================================
CONTENTS

-Introduction
-Unit commands
-The consistant structure of unit commands
-Rcon and unit commands
-Exceptions
-Camera commands
-Object commands
-cinematic_screen_effects
=====================================================================
=====================================================================
INTRODUCTION

These codes are fun, but you should keep them to yourself. We dont need n00bs asking us how to hack and cheat and unit_kill. Keep it
exclusive to trusted people only! Also, you must have my permission as the host to use these commands in rcon or else the server wont
be as fun for the people getting killed, etc.
=====================================================================
=====================================================================
UNIT COMMANDS

Here are the usable unit commands that I have found:

unit_kill <unit>
Kills a unit.

unit_suspended <unit> <1/0>
Suspends the player, they cannot jump, walk, or fall from gravity.

units_set_desired_flashlight_state <unit> <1/0>
Turns on and off a players flashlight.

unit_get_shield <unit>
Displays the current shield amount of the player, from 0-1.

unit_get_health <unit>
Displays the players current health, from 0-1.

unit_get_total_grenade_count <unit>
Displays the total amount of grenades a player has.

unit_exit_vehicle <unit>
Forces the player to exit their vehicle, even if rider_ejection is 0.

unit_solo_player_intergrated_night_vision_is_active
Tells you if your night vision is on...just incase you cant tell.

<unit> will be explained in the next section, <1/0> means you put either 1 or 0 in that spot to make the command true, or false.
=====================================================================
=====================================================================
THE CONSISTANT STRUCTURE OF UNIT COMMANDS

You're probably wondering what the <unit> means right? It represents a very important part of unit commands. The <unit> stands for;

(unit (list_get (players) #))

Whats that mean and what is the # for? It is a group of commands in itself. For example, unit_kill needs a unit to kill. To get a unit for
the command, the above group of commands gets one for you, heres how it works:

(unit <object>)
This command is used to covert an object (players) into a unit so a unit command can use it.

(list_get <list> <short>)
Since the above command needs an <object>, this command will get one from a list you provide. The <short> is the value of something
on a list.

(players)
Players is a type of list, needed to get an object.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Now if you put these together you get the full unit fetching command. So a full unit command will look like this;

unit_kill (unit (list_get (players) #))

Take note of spaces and brackets. You still need to know what the # means, it's just sv_players, backwards, and counted from zero.
Heres a more visual representation;

sv_players # (players) #
-------------------------------
1: ={KAS}= Con 3
2:New001 2
3:={KAS}=Boba 1
4:{HI} KILLA 0
=====================================================================
=====================================================================
RCON AND UNIT COMMANDS

To use these commands in rcon you need to put them in quotation marks;

rcon <password> "unit_kill (unit (list_get (players) #))"
rcon <password> "unit_suspended (unit (list_get (players) #)) 1"

Some commands are too big to do through rcon, the maximum is 64 characters for a rcon command, so you wont be secretly turning
on peoples flashlights.
=====================================================================
=====================================================================
EXCEPTIONS

Improper use of unit commands could lead to an exception error for the host. The only command that I have found to have issues with
this is unit_kill and I'm assuming unit_kill_silent since its the same thing.

When you pick a # for a unit, make sure it is within the bounds of the (players) list.

sv_players # (players) #
-------------------------------
1: ={KAS}= Con 3
2:New001 2
3:={KAS}=Boba 1
4:{HI} KILLA 0

Only use 0-3 for your #. Always check the list out before doing a command, it will change when people join and quit the server. You
could be doing the hosts number (always at top of list) and he is #3 for example, then someone quits while you're typing. Now there is
less people, and the host is infact #2 not 3. This would lead to an exception by going over the limit.
=====================================================================
=====================================================================
CAMERA COMMANDS

There are some nifty commands you can put in to view the game through other players eyes, or do chase cam on them.

Since your camera will need to be under the influence of a command, and not your mouse, enter this code first;

camera_control 1
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
The chase cam is what you see when you die in a fight, your dead body, and it switches between players while you are waiting to
respawn. Since it is what you view when you are dead, the code is;

camera_set_dead <unit>

Yep, thats right, just pick a unit and you can chase them. You can go over the limit with this one.

You can also view from other peoples perspectives with this code;

camera_set_first_person <unit>
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Once you are done, just set camera_control to 0.
=====================================================================
=====================================================================
OBJECT COMMANDS

I have only really played with one, object_set_scale. It's pretty fun, it lets you change a players size,

The code calls for <object> and if you remember how we can convert objects to units, we can use (list_get (players) #) for object.

It works the same ans unit commands

sv_players # (players) #
-------------------------------
1: ={KAS}= Con 3
2:New001 2
3:={KAS}=Boba 1
4:{HI} KILLA 0

object_set_scale (list_get (players) #) <amount> 1

In place of amount, just stick the size you want, like 5, 0.5 or 20. Anything above 0.
=====================================================================
=====================================================================
CINEMATIC_SCREEN_EFFECTS

All screen effects need to be enabled first by the code cinematic_screen_effect_start 1

Then you can type these codes:

cinematic_screen_effect_set_video 1 1
This code makes it look like a marines recording, set the second 1 to 0 and it removes the black parts.

cinematic_screen_effect_set_convolution a a b c d
This is a cool one, it can make a zoom blur or a diamondy blur. Heres how to work it:
a=blur type, 1=diamondy blur, 2=zoom blur
b=amount of effect before transformation
c=amount of effect after transformation
d=time (seconds) to do transformation
=====================================================================
=====================================================================
Thats all so far folks!
By ={KAS]= Con

Edited by supersniper on Jun 12, 2008 at 02:57 PM


DarkZealot
Joined: Jan 1, 2008

Time management: 40% Xbox, 30% PC, 30% Skating


Posted: Jun 12, 2008 04:06 PM    Msg. 29 of 96       
Quote: --- Original message by: l283023
What can you tell me about the bind command?


Bind binds the selected key to the function. I.E. bind F Fire or something. I never understood it.

Thanks Cam man and supersniper for those excellent posts!


DarkZealot
Joined: Jan 1, 2008

Time management: 40% Xbox, 30% PC, 30% Skating


Posted: Jun 12, 2008 04:50 PM    Msg. 30 of 96       
Quote: --- Original message by: Lord Senax
oh i thought he said blind...my bad >_<

What does the magic-melee command do?


Makes the player melee. So, if you want to melee as a Hunter, type that in, and you will melee.


DarkZealot
Joined: Jan 1, 2008

Time management: 40% Xbox, 30% PC, 30% Skating


Posted: Jun 13, 2008 05:23 PM    Msg. 31 of 96       
As far as I know, it's not possible. Bind can only be used with the keyboard keys and/or gamepad keys.


Karrde
Joined: Jul 30, 2007

Power beyond containing


Posted: Jun 13, 2008 06:03 PM    Msg. 32 of 96       
Hey, wtf did you copy my av quote for?

You spelled existence wrong too! That's going too far.

And don't give me any bs about having it before I did.
Edited by Scorpio on Jun 13, 2008 at 06:13 PM


DarkZealot
Joined: Jan 1, 2008

Time management: 40% Xbox, 30% PC, 30% Skating


Posted: Jun 13, 2008 06:15 PM    Msg. 33 of 96       
Quote: --- Original message by: Scorpio
Hey, wtf did you copy my av quote for?

You spelled existence wrong too! That's going too far.

And don't give me any bs about having it before I did.
Edited by Scorpio on Jun 13, 2008 at 06:13 PM


You lie. Your's was (after I changed mine) "Come to the dark side, we got cookies."

And second, you are off-topic. Refrain from posting off topic messages in this thread please.

Now for some AI commands!

ai_place <AI> - Places the squad or encounter.
ai_go_to_vehicle <AI> <vehicle> <seatname> - Tells the AI specified to go to a vehicle, and what seat to get in.
ai_kill <AI> - Night night AI. (Kills the AI)


ODX
Joined: Jul 26, 2007

A rare sight, indeed.


Posted: Jun 13, 2008 06:19 PM    Msg. 34 of 96       
It would be a great addition to maybe make movies on request for people who don't understand commands alone. Could you do that?


DarkZealot
Joined: Jan 1, 2008

Time management: 40% Xbox, 30% PC, 30% Skating


Posted: Jun 13, 2008 06:24 PM    Msg. 35 of 96       
Of course! You can name requests and I will show you how to do that stuff. Limit to only 7 commands so I don't chew up disk space.

---VIDEO QUEUE---
>>

 
Page 1 of 3 Go to page: · [1] · 2 · 3 · Next

 
Previous Older Thread    Next newer Thread







Time: Wed August 12, 2020 5:49 PM 219 ms.
A Halo Maps Website