https://wiki.eduke32.com/w/api.php?action=feedcontributions&user=189.32.93.140&feedformat=atomEDukeWiki - User contributions [en]2024-03-29T15:49:55ZUser contributionsMediaWiki 1.42.0-alphahttps://wiki.eduke32.com/w/index.php?title=Crosshair&diff=7269Crosshair2008-09-09T00:47:52Z<p>189.32.93.140: </p>
<hr />
<div>This is set to 0 if the crosshair has been turned off, 1 if the crosshair is enabled.<br />
<br />
[[Category:Userdef structure members]]</div>189.32.93.140https://wiki.eduke32.com/w/index.php?title=Updatesector&diff=7268Updatesector2008-09-09T00:38:03Z<p>189.32.93.140: </p>
<hr />
<div>updatesector <x> <y> <gamevar><br />
<br />
Returns [[sector number]] of [[sector]] at (<x>,<y>) into [[gamevar]] <gamevar>. See [[updatesectorz]]. If it is not a valid sector (like outside the map or inside a column) it is set to -1.<br />
<br />
[[Category:EDuke32 specific commands]]<br />
[[Category:Sector manipulation]]</div>189.32.93.140https://wiki.eduke32.com/w/index.php?title=Cstat_(wall)&diff=7258Cstat (wall)2008-09-04T03:49:54Z<p>189.32.93.140: I am not sure, but every weapon doesn't always can be hit by weapons...?</p>
<hr />
<div>Sets flags for how to draw an wall, as well as a few flags for interaction. Add all together all wanted flag values.<br />
<br />
Flag values for wall cstat are:<br />
<br />
:'''1''' - Make wall blockable<br />
:'''2''' - Make bottoms of invisible walls swapped<br />
:'''4''' - Align picture on bottom<br />
:'''8''' - Flip wall around y-axis<br />
:'''16''' - Make masking wall<br />
:'''32''' - Make wall one sided<br />
:'''64''' - Hide a room in automap unless player is on the sector (while normally the room is revealed if the player can see a single wall)<br />
:'''128''' - Make wall transparent<br />
:'''256''' - Flip wall around x-axis<br />
:'''512''' - Second transparency level (combine with cstat '''128''')<br />
<br />
[[Category:Wall structure members]]</div>189.32.93.140https://wiki.eduke32.com/w/index.php?title=Xvel&diff=7242Xvel2008-08-31T14:19:19Z<p>189.32.93.140: </p>
<hr />
<div>xvel holds the forward/backward velocity of the sprite. Positive values are forward, negative are backward.<br />
<br />
A projectile doesn't move in the same rate as a normal actor, it is faster. If you want to make a actor move alongside a projectile (using [[define projecile]]), you will need to multiply the value by 2.5.<br />
<br />
[[Category:Sprite structure members]]</div>189.32.93.140https://wiki.eduke32.com/w/index.php?title=Player_par&diff=7199Player par2008-08-25T06:29:27Z<p>189.32.93.140: </p>
<hr />
<div>This is a simple counter that is used to display the player's time in the level.<BR><br />
This will give a count of how long the player has been in the level (in tics)... Maybe useful for triggering things only after a certain amount of time...... It's only currently used to display the 'par' times at the end of the level.<br />
<br />
[[Category:Player structure members]]</div>189.32.93.140https://wiki.eduke32.com/w/index.php?title=Gametext&diff=7198Gametext2008-08-24T03:45:08Z<p>189.32.93.140: </p>
<hr />
<div>gametext <tilenum> <x> <y> <quote> <shade> <pal> <[[orientation]]> <x1> <y1> <x2> <y2><br />
<br />
Prints a defined quote to the screen.<br />
<br />
<tilenum> is the first tile of a sequence of characters. See tile 2822 for an example. <br />
<br />
<x> and <y> are on-screen coordinates. <br />
<br />
<quote> is the quote to print, as defined by [[definequote]].<br />
<br />
<shade> and <pal> are obviously shade and palette. <br />
<br />
<[[orientation]]> controls the way the sprite is drawn (see entry). Note: it's recommended to you always set the bit 16 in order to the letters be placed correctly.<br />
<br />
<x1>, <y1>, <x2> and <y2> are boundaries on the screen that define where the text may be drawn.<br />
<br />
Example code:<br />
<br />
<pre><br />
setvar x 320 // "x=320" makes text be centered<br />
setvar y 100<br />
setvar shade 0<br />
setvar pal 0<br />
setvar tilenum STARTALPHANUM<br />
setvar orientation 26<br />
setvar TEMP 100<br />
redefinequote TEMP This is ^10red // makes the "red" word be tinted, 10 is red.<br />
<br />
gametext tilenum x y TEMP shade pal orientation ZERO ZERO xdim ydim<br />
</pre><br />
<br />
Please note that as with [[digitalnumber]], [[digitalnumberz]], [[gametextz]], [[minitext]] and friends, gametext only works during [[events]].<br />
<br />
[[Category:EDuke32 specific commands]]<br />
[[Category:Screen drawing commands]]</div>189.32.93.140https://wiki.eduke32.com/w/index.php?title=Yvel&diff=7184Yvel2008-08-21T17:47:44Z<p>189.32.93.140: </p>
<hr />
<div>In a sprite that happens to be a player, yvel is the player ID of that player (to be used in conjunction with [[getplayer]] and [[setplayer]], etc.).<br />
<br />
[[Category:Sprite structure members]]</div>189.32.93.140https://wiki.eduke32.com/w/index.php?title=EVENT_DISPLAYBONUSSCREEN&diff=7131EVENT DISPLAYBONUSSCREEN2008-08-10T16:06:50Z<p>189.32.93.140: </p>
<hr />
<div>This event is loaded during the between levels screen.<br />
<br />
Not much is know about how to control it. Rotatesprite seems to work after the texts are shown.</div>189.32.93.140https://wiki.eduke32.com/w/index.php?title=EVENT_DISPLAYBONUSSCREEN&diff=7130EVENT DISPLAYBONUSSCREEN2008-08-10T16:06:11Z<p>189.32.93.140: Nah, verified it, it's always like that</p>
<hr />
<div>This event is loaded during the between levels screen.<br />
<br />
Not much is know about how to control it.</div>189.32.93.140https://wiki.eduke32.com/w/index.php?title=EVENT_DISPLAYBONUSSCREEN&diff=7113EVENT DISPLAYBONUSSCREEN2008-08-09T20:01:25Z<p>189.32.93.140: New page: This event is loaded during the between levels screen. Nothing much is know about how to control it. Althougth INPUT_AIM_MODE bits structure is always set while running.</p>
<hr />
<div>This event is loaded during the between levels screen.<br />
<br />
Nothing much is know about how to control it. Althougth INPUT_AIM_MODE [[bits]] structure is always set while running.</div>189.32.93.140https://wiki.eduke32.com/w/index.php?title=Ifspawnedby&diff=7110Ifspawnedby2008-08-08T16:02:29Z<p>189.32.93.140: </p>
<hr />
<div>ifspawnedby <actor> { do something } else { do something else }<br />
<br />
[[If condition]] returning true if the current [[actor]] was spawned by <actor>. If the actor wasn't spawned by any actor and was loaded by the map, the value takes his own tile number.<br />
<br />
[[Category:Duke3D 1.3/1.5 commands]]<br />
[[Category:Sprite manipulation]]<br />
[[Category:If conditions]]</div>189.32.93.140https://wiki.eduke32.com/w/index.php?title=Members_of_the_player_structure&diff=7089Members of the player structure2008-08-03T08:55:10Z<p>189.32.93.140: </p>
<hr />
<div>The various members of the player structure affect various aspects of the player, and manipulating their values is a very important aspect of scripting in EDuke32. Values can be retrieved from the game's internal player structures and stored in a [[gamevar]] with the [[getplayer]] command, and the [[setplayer]] command allows you to set any of the player structure member's value to that of a gamevar.<br />
<br />
Here is the list of members of the player structure:<br />
<br />
{| cellpadding="0" cellspacing="0" border="0" width="100%"<br />
| width="33%" valign="top" style="border-right: none; padding: 0.6em;" |<br />
*[[access_incs]]<br />
*[[access_spritenum]]<br />
*[[access_wallnum]][1]<br />
*[[actors_killed]]<br />
*[[actorsqu]]<br />
*[[aim_mode]]<br />
*[[airleft]]<br />
*[[ammo_amount]]<br />
*[[ang]]<br />
*[[angvel]]<br />
*[[auto_aim]]<br />
*[[bobcounter]]<br />
*[[bobposx]]<br />
*[[bobposy]]<br />
*[[boot_amount]]<br />
*[[buttonpalette]]<br />
*[[cheat_phase]]<br />
*[[crack_time]]<br />
*[[curr_weapon]]<br />
*[[cursectnum]]<br />
*[[customexitsound]]<br />
*[[dead_flag]]<br />
*[[dummyplayersprite]]<br />
*[[exitx]][1]<br />
*[[exity]][1]<br />
*[[extra_extra8]]<br />
*[[falling_counter]]<br />
*[[firstaid_amount]]<br />
*[[fist_incs]]<br />
*[[footprintcount]]<br />
*[[footprintpal]]<br />
*[[footprintshade]]<br />
*[[frag]]<br />
*[[frag_ps]]<br />
*[[fraggedself]]<br />
*[[fta]]<br />
*[[ftq]]<br />
*[[gm]]<br />
*[[got_access]]<br />
*[[gotweapon]]<br />
*[[hard_landing]]<br />
*[[hbomb_hold_delay]]<br />
*[[hbomb_on]]<br />
*[[heat_amount]]<br />
*[[heat_on]]<br />
*[[holoduke_amount]]<br />
*[[holoduke_on]]<br />
*[[holster_weapon]]<br />
*[[horiz]]<br />
<br />
| width="33%" valign="top" style="border-right: none; border-left: none; padding: 0.6em;" |<br />
<br />
*[[horizoff]]<br />
*[[hurt_delay]]<br />
*[[i]]<br />
*[[interface_toggle_flag]]<br />
*[[invdisptime]]<br />
*[[inven_icon]]<br />
*[[jetpack_amount]]<br />
*[[jetpack_on]]<br />
*[[jumping_counter]]<br />
*[[jumping_toggle]]<br />
*[[kickback_pic]]<br />
*[[knee_incs]]<br />
*[[knuckle_incs]]<br />
*[[last_extra]]<br />
*[[last_pissed_time]]<br />
*[[lastrandomspot]][1]<br />
*[[last_full_weapon]]<br />
*[[last_weapon]]<br />
*[[loogcnt]]<br />
*[[loogiex]]<br />
*[[loogiey]]<br />
*[[look_ang]]<br />
*[[max_actors_killed]]<br />
*[[max_ammo_amount]]<br />
*[[max_player_health]]<br />
*[[max_secret_rooms]]<br />
*[[max_shield_amount]]<br />
*[[movement_lock]]<br />
*[[name]][1]<br />
*[[newowner]]<br />
*[[numloogs]]<br />
*[[oang]]<br />
*[[ohoriz]]<br />
*[[ohorizoff]]<br />
*[[on_crane]]<br />
*[[on_ground]]<br />
*[[on_warping_sector]]<br />
*[[one_eighty_count]]<br />
*[[one_parallax_sectnum]]<br />
*[[oposx]]<br />
*[[oposy]]<br />
*[[oposz]]<br />
*[[opyoff]]<br />
*[[over_shoulder_on]]<br />
*[[palette]]<br />
*[[palookup]]<br />
*[[pals]]<br />
*[[pals_time]]<br />
*[[player_par]]<br />
<br />
| width="33%" valign="top" style="border-left: none; padding: 0.6em;" |<br />
<br />
*[[posx]]<br />
*[[posxv]]<br />
*[[posy]]<br />
*[[posyv]]<br />
*[[posz]]<br />
*[[poszv]]<br />
*[[pycount]]<br />
*[[pyoff]]<br />
*[[quick_kick]]<br />
*[[random_club_frame]]<br />
*[[randomflamex]][1]<br />
*[[rapid_fire_hold]]<br />
*[[refresh_inventory]]<br />
*[[reloading]]<br />
*[[return_to_center]]<br />
*[[rotscrnang]]<br />
*[[runspeed]]<br />
*[[sbs]]<br />
*[[scuba_amount]]<br />
*[[scuba_on]]<br />
*[[secret_rooms]]<br />
*[[select_dir]][2]<br />
*[[shield_amount]]<br />
*[[show_empty_weapon]]<br />
*[[somethingonplayer]]<br />
*[[sound_pitch]]<br />
*[[spritebridge]]<br />
*[[steroids_amount]]<br />
*[[subweapon]]<br />
*[[team]]<br />
*[[timebeforeexit]]<br />
*[[tipincs]]<br />
*[[toggle_key_flag]]<br />
*[[transporter_hold]]<br />
*[[truefz]]<br />
*[[truecz]]<br />
*[[visibility]]<br />
*[[wackedbyactor]]<br />
*[[walking_snd_toggle]]<br />
*[[wantweaponfire]]<br />
*[[weapon_ang]][1]<br />
*[[weapon_pos]]<br />
*[[weapon_sway]]<br />
*[[weaponswitch]]<br />
*[[weaprecs]][2]<br />
*[[weapreccnt]]<br />
*[[zoom]]<br />
|}<br />
<br />
[1]Deprecated or unknown function commands.<br />
<br />
[2]The following commands may not be recognized by the latest version of Eduke32.<br />
<br />
[[Category:Player manipulation]]<br />
[[Category:Structure member documentation]]</div>189.32.93.140https://wiki.eduke32.com/w/index.php?title=Members_of_the_player_structure&diff=7088Members of the player structure2008-08-03T08:25:45Z<p>189.32.93.140: I was testing this around, I believe is a usefull information</p>
<hr />
<div>The various members of the player structure affect various aspects of the player, and manipulating their values is a very important aspect of scripting in EDuke32. Values can be retrieved from the game's internal player structures and stored in a [[gamevar]] with the [[getplayer]] command, and the [[setplayer]] command allows you to set any of the player structure member's value to that of a gamevar.<br />
<br />
Here is the list of members of the player structure:<br />
<br />
{| cellpadding="0" cellspacing="0" border="0" width="100%"<br />
| width="33%" valign="top" style="border-right: none; padding: 0.6em;" |<br />
<br />
*[[access_incs]]<br />
*[[access_spritenum]]<br />
*[[access_wallnum]]<br />
*[[actors_killed]]<br />
*[[actorsqu]]<br />
*[[aim_mode]]<br />
*[[airleft]]<br />
*[[ammo_amount]]<br />
*[[ang]]<br />
*[[angvel]]<br />
*[[auto_aim]]<br />
*[[bobcounter]]<br />
*[[bobposx]]<br />
*[[bobposy]]<br />
*[[boot_amount]]<br />
*[[buttonpalette]]<br />
*[[cheat_phase]]<br />
*[[crack_time]]<br />
*[[curr_weapon]]<br />
*[[cursectnum]]<br />
*[[customexitsound]]<br />
*[[dead_flag]]<br />
*[[dummyplayersprite]]<br />
*[[exitx]]<br />
*[[exity]]<br />
*[[extra_extra8]]<br />
*[[falling_counter]]<br />
*[[firstaid_amount]]<br />
*[[fist_incs]]<br />
*[[footprintcount]]<br />
*[[footprintpal]]<br />
*[[footprintshade]]<br />
*[[frag]]<br />
*[[frag_ps]]<br />
*[[fraggedself]]<br />
*[[fta]]<br />
*[[ftq]]<br />
*[[gm]]<br />
*[[got_access]]<br />
*[[gotweapon]]<br />
*[[hard_landing]]<br />
*[[hbomb_hold_delay]]<br />
*[[hbomb_on]]<br />
*[[heat_amount]]<br />
*[[heat_on]]<br />
*[[holoduke_amount]]<br />
*[[holoduke_on]]<br />
*[[holster_weapon]]<br />
*[[horiz]]<br />
<br />
| width="33%" valign="top" style="border-right: none; border-left: none; padding: 0.6em;" |<br />
<br />
*[[horizoff]]<br />
*[[hurt_delay]]<br />
*[[i]]<br />
*[[interface_toggle_flag]]<br />
*[[invdisptime]]<br />
*[[inven_icon]]<br />
*[[jetpack_amount]]<br />
*[[jetpack_on]]<br />
*[[jumping_counter]]<br />
*[[jumping_toggle]]<br />
*[[kickback_pic]]<br />
*[[knee_incs]]<br />
*[[knuckle_incs]]<br />
*[[last_extra]]<br />
*[[last_pissed_time]]<br />
*[[lastrandomspot]]<br />
*[[last_full_weapon]]<br />
*[[last_weapon]]<br />
*[[loogcnt]]<br />
*[[loogiex]]<br />
*[[loogiey]]<br />
*[[look_ang]]<br />
*[[max_actors_killed]]<br />
*[[max_ammo_amount]]<br />
*[[max_player_health]]<br />
*[[max_secret_rooms]]<br />
*[[max_shield_amount]]<br />
*[[movement_lock]]<br />
*[[name]]<br />
*[[newowner]]<br />
*[[numloogs]]<br />
*[[oang]]<br />
*[[ohoriz]]<br />
*[[ohorizoff]]<br />
*[[on_crane]]<br />
*[[on_ground]]<br />
*[[on_warping_sector]]<br />
*[[one_eighty_count]]<br />
*[[one_parallax_sectnum]]<br />
*[[oposx]]<br />
*[[oposy]]<br />
*[[oposz]]<br />
*[[opyoff]]<br />
*[[over_shoulder_on]]<br />
*[[palette]]<br />
*[[palookup]]<br />
*[[pals]]<br />
*[[pals_time]]<br />
*[[player_par]]<br />
<br />
| width="33%" valign="top" style="border-left: none; padding: 0.6em;" |<br />
<br />
*[[posx]]<br />
*[[posxv]]<br />
*[[posy]]<br />
*[[posyv]]<br />
*[[posz]]<br />
*[[poszv]]<br />
*[[pycount]]<br />
*[[pyoff]]<br />
*[[quick_kick]]<br />
*[[random_club_frame]]<br />
*[[randomflamex]]<br />
*[[rapid_fire_hold]]<br />
*[[refresh_inventory]]<br />
*[[reloading]]<br />
*[[return_to_center]]<br />
*[[rotscrnang]]<br />
*[[runspeed]]<br />
*[[sbs]]<br />
*[[scuba_amount]]<br />
*[[scuba_on]]<br />
*[[secret_rooms]]<br />
*[[shield_amount]]<br />
*[[show_empty_weapon]]<br />
*[[somethingonplayer]]<br />
*[[sound_pitch]]<br />
*[[spritebridge]]<br />
*[[steroids_amount]]<br />
*[[subweapon]]<br />
*[[team]]<br />
*[[timebeforeexit]]<br />
*[[tipincs]]<br />
*[[toggle_key_flag]]<br />
*[[transporter_hold]]<br />
*[[truefz]]<br />
*[[truecz]]<br />
*[[visibility]]<br />
*[[wackedbyactor]]<br />
*[[walking_snd_toggle]]<br />
*[[wantweaponfire]]<br />
*[[weapon_ang]]<br />
*[[weapon_pos]]<br />
*[[weapon_sway]]<br />
*[[weaponswitch]]<br />
*[[weapreccnt]]<br />
*[[zoom]]<br />
|}<br />
<br />
The following commands may not be recognized by the latest version of Eduke32:<br />
<br />
{| cellpadding="0" cellspacing="0" border="0" width="100%"<br />
| width="33%" valign="top" style="border-right: none; padding: 0.6em;" |<br />
<br />
*[[select_dir]]<br />
*[[weaprecs]]<br />
<br />
|}<br />
<br />
[[Category:Player manipulation]]<br />
[[Category:Structure member documentation]]</div>189.32.93.140https://wiki.eduke32.com/w/index.php?title=Weaprecs&diff=7087Weaprecs2008-08-03T08:19:50Z<p>189.32.93.140: </p>
<hr />
<div>These have something to do with picking up a (active?) handbomb sprite only once... It's used (only used and set) by the CON command [[ifgotweaponce]] (so weprecs[16] should actually be [MAXWEAPONS]...)<br />
<br />
[[Category:Player structure members]]</div>189.32.93.140https://wiki.eduke32.com/w/index.php?title=Weapreccnt&diff=7086Weapreccnt2008-08-03T08:19:47Z<p>189.32.93.140: </p>
<hr />
<div>These have something to do with picking up a (active?) handbomb sprite only once... It's used (only used and set) by the CON command [[ifgotweaponce]] (so weprecs[16] should actually be [MAXWEAPONS]...)<br />
<br />
[[Category:Player structure members]]</div>189.32.93.140https://wiki.eduke32.com/w/index.php?title=EVENT_FIRE&diff=7070EVENT FIRE2008-07-28T19:21:12Z<p>189.32.93.140: </p>
<hr />
<div>This event is called when the player fires ( default key is "CTRL" ). Setting the gamevar RETURN to positive values disable firing.<br />
<br />
The hard-coded [[gamevar]] [[WEAPON]] contains the variable for the player's current weapon.<br />
<br />
See also [[EVENT_PRESSEDFIRE]] and [[EVENT_DOFIRE]].<br />
<br />
[[Category:Events]]</div>189.32.93.140https://wiki.eduke32.com/w/index.php?title=Yvel&diff=7058Yvel2008-07-16T01:14:22Z<p>189.32.93.140: </p>
<hr />
<div>In a sprite that happens to be a player, yvel is the player ID of that player (to be used in conjunction with [[getplayer]] and [[setplayer]], etc.). <br />
<br />
In a projectile, yvel is the number of bounces that the projectile has left. Setting the yvel of a RPG-type projectile cause it to explode (simulate impact).<br />
<br />
[[Category:Sprite structure members]]</div>189.32.93.140https://wiki.eduke32.com/w/index.php?title=EVENT_RESETPLAYER&diff=7017EVENT RESETPLAYER2008-07-03T07:06:52Z<p>189.32.93.140: </p>
<hr />
<div>'''EVENT_RESETPLAYER''' is a Game Event.<br />
<br />
This event is called when the command [[resetplayer]] is used or after the player returns it's initial position in the map. Generally if you press USE botton (spacebar as default) after player's death and before another game loaded or started.<br />
<br />
[[Category:Events]]</div>189.32.93.140https://wiki.eduke32.com/w/index.php?title=Resetplayer&diff=6982Resetplayer2008-06-10T16:11:30Z<p>189.32.93.140: </p>
<hr />
<div>Reload the map (if in Single Player) and the player loses his inventory. See also [[EVENT_RESETPLAYER]].<br />
<br />
[[Category:Duke3D 1.3/1.5 commands]]<br />
[[Category:Player manipulation]]</div>189.32.93.140https://wiki.eduke32.com/w/index.php?title=EVENT_RESETPLAYER&diff=6981EVENT RESETPLAYER2008-06-10T16:09:17Z<p>189.32.93.140: </p>
<hr />
<div>'''EVENT_RESETPLAYER''' is a Game Event.<br />
<br />
This event is called when the command [[resetplayer]] is used. Generally if you press USE botton (spacebar as default) after player's death and before another game loaded or started.<br />
<br />
[[Category:Events]]</div>189.32.93.140